Chrysalis - Pattern Test Coverage


pattern/
File: pattern/include/instructions/ResetTransformationInstruction.h
Date: 2026-08-27 18:35:18
Lines:
1/1
100.0%
Functions:
4/4
100.0%
Branches:
3/8
37.5%
Decisions:
0/0
-%
Calls:
18/19
94.7%

Line Branch Decision Call Exec Source
1 #ifndef CHRYSALIS_RESETTRANSFORMATIONINSTRUCTION_H
2 #define CHRYSALIS_RESETTRANSFORMATIONINSTRUCTION_H
3
4 #include "BasePatternInstruction.h"
5
6 /** @defgroup Instructions Instructions
7 * @{
8 */
9 namespace Chrysalis {
10 class ResetTransformationInstruction: public BasePatternInstruction {
11 PROVIDE_SERIALIZATION_ACCESS(ResetTransformationInstruction)
12 public:
13 explicit ResetTransformationInstruction(ProjectSpace* space, args::patterns* patterns);
14
15 void execute() override;
16 };
17
3/8
✓ Branch 4 taken 2 times.
✗ Branch 5 not taken.
✓ Branch 8 taken 2 times.
✗ Branch 9 not taken.
✓ Branch 17 taken 2 times.
✗ Branch 18 not taken.
✗ Branch 20 not taken.
✗ Branch 21 not taken.
18/19
✓ 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 19 invoked.
✗ Call 22 not invoked.
20 SERIALIZE_DERIVED_CONSTRUCTION(ResetTransformationInstruction, BasePatternInstruction, space_, patterns_);
18 }
19 /**@}*/
20
21 #endif //CHRYSALIS_RESETTRANSFORMATIONINSTRUCTION_H
22