Chrysalis - Pattern Test Coverage


pattern/
File: pattern/include/instructions/UnfoldEdgeDartInstruction.h
Date: 2026-08-27 18:35:18
Lines:
1/1
100.0%
Functions:
4/4
100.0%
Branches:
6/14
42.9%
Decisions:
0/0
-%
Calls:
39/41
95.1%

Line Branch Decision Call Exec Source
1 #ifndef CHRYSALIS_UNFOLDEDGEDARTINSTRUCTION_H
2 #define CHRYSALIS_UNFOLDEDGEDARTINSTRUCTION_H
3
4 #include <boost/serialization/export.hpp>
5
6 #include "arguments/SegmentArgument.h"
7 #include "instructions/BasePatternInstruction.h"
8
9 /** @defgroup Instructions Instructions
10 * @{
11 */
12 namespace Chrysalis {
13 class UnfoldEdgeDartInstruction: public BasePatternInstruction {
14 PROVIDE_SERIALIZATION_ACCESS(UnfoldEdgeDartInstruction)
15 public:
16 explicit UnfoldEdgeDartInstruction(ProjectSpace* space, args::patterns* patterns,
17 const args::segment* edge, const args::segment* leg, args::number&& intake);
18 ~UnfoldEdgeDartInstruction() override;
19
20 void execute() override;
21 private:
22 const args::segment* edge_;
23 const args::segment* leg_;
24 args::number intake_;
25 };
26
6/14
✓ Branch 7 taken 2 times.
✗ Branch 8 not taken.
✓ Branch 11 taken 2 times.
✗ Branch 12 not taken.
✓ Branch 15 taken 2 times.
✗ Branch 16 not taken.
✓ Branch 19 taken 2 times.
✗ Branch 20 not taken.
✓ Branch 23 taken 2 times.
✗ Branch 24 not taken.
✓ Branch 38 taken 2 times.
✗ Branch 39 not taken.
✗ Branch 41 not taken.
✗ Branch 42 not taken.
39/41
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
✓ Call 4 invoked.
✓ Call 5 invoked.
✓ Call 6 invoked.
✓ Call 7 invoked.
✓ Call 8 invoked.
✓ Call 9 invoked.
✓ Call 10 invoked.
✓ Call 11 invoked.
✓ Call 12 invoked.
✓ Call 13 invoked.
✓ Call 14 invoked.
✓ Call 15 invoked.
✓ Call 16 invoked.
✓ Call 17 invoked.
✓ Call 18 invoked.
✓ Call 19 invoked.
✓ Call 20 invoked.
✓ Call 21 invoked.
✓ Call 22 invoked.
✓ Call 23 invoked.
✓ Call 24 invoked.
✓ Call 25 invoked.
✓ Call 26 invoked.
✓ Call 27 invoked.
✓ Call 28 invoked.
✓ Call 29 invoked.
✓ Call 30 invoked.
✓ Call 31 invoked.
✓ Call 32 invoked.
✓ Call 33 invoked.
✓ Call 34 invoked.
✓ Call 35 invoked.
✓ Call 36 invoked.
✓ Call 37 invoked.
✓ Call 40 invoked.
✗ Call 43 not invoked.
✗ Call 44 not invoked.
20 SERIALIZE_DERIVED_CONSTRUCTION(UnfoldEdgeDartInstruction, BasePatternInstruction, space_, patterns_, edge_, leg_, intake_)
27 }
28 /**@}*/
29
30 #endif //CHRYSALIS_UNFOLDEDGEDARTINSTRUCTION_H
31