| Line |
Branch |
Decision |
Call |
Exec |
Source |
| 1 |
|
|
|
|
#include "proxies/PointProxy.h" |
| 2 |
|
|
|
|
|
| 3 |
|
|
|
|
|
| 4 |
|
|
|
|
#include "initializers/Instructions.h" |
| 5 |
|
|
|
|
#include "initializers/PatternInstructions.h" |
| 6 |
|
|
|
|
#include "instructions/MovePointInstruction.h" |
| 7 |
|
|
|
|
|
| 8 |
|
|
|
|
using namespace Chrysalis; |
| 9 |
|
|
|
|
|
| 10 |
|
|
0/1
✗ Call 0 not invoked.
|
✗ |
Proxy::Point::Point(const PatternPointArgument* point): point_(point) {} |
| 11 |
|
|
|
|
|
| 12 |
|
|
|
6 |
Proxy::Point::Vector::Vector(const PatternPointArgument* point, const args::vector* vector) |
| 13 |
|
|
3/3
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
|
6 |
: vector_(vector), point_(point) {} |
| 14 |
|
|
|
|
|
| 15 |
|
|
|
1 |
Proxy::Point::Vector::And::Vector::Vector(const PatternPointArgument* point, const args::vector* vector1, const args::vector* vector2) |
| 16 |
|
|
5/5
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
✓ Call 4 invoked.
|
1 |
: point_(point), vector1_(vector1), vector2_(vector2) {} |
| 17 |
|
|
|
|
|
| 18 |
|
|
|
✗ |
Proxy::Point::operator const PatternPointArgument*() const { |
| 19 |
|
|
0/1
✗ Call 0 not invoked.
|
✗ |
return point_; |
| 20 |
|
|
|
|
} |
| 21 |
|
|
|
|
|
| 22 |
|
|
|
1 |
Proxy::Point::Vector::And::Vector Proxy::Point::Vector::operator<<(const args::vector* vector) const { |
| 23 |
|
|
4/4
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
|
1 |
return And::Vector(point_, vector_, vector); |
| 24 |
|
|
|
|
} |
| 25 |
|
|
|
|
|
| 26 |
|
|
|
✗ |
Proxy::Number Proxy::Point::operator()(args::number&& number) const { |
| 27 |
|
|
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
|
✗ |
return Proxy::Number(std::move(number)); |
| 28 |
|
|
|
|
} |
| 29 |
|
|
|
|
|
| 30 |
|
|
|
5 |
Proxy::Point::Vector::operator MovePointInstruction*() const { |
| 31 |
|
|
|
|
return new MovePointInstruction( |
| 32 |
|
|
|
|
Composer::Instructions::space, |
| 33 |
1/2
✓ Branch 2 taken 5 times.
✗ Branch 3 not taken.
|
|
2/3
✓ Call 0 invoked.
✓ Call 1 invoked.
✗ Call 4 not invoked.
|
5 |
new args::patterns(*Composer::PatternInstructions::patterns), |
| 34 |
1/2
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
|
|
3/4
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✗ Call 5 not invoked.
|
5 |
point_, vector_, new args::optional<args::vector>() |
| 35 |
2/10
✓ Branch 3 taken 5 times.
✗ Branch 4 not taken.
✓ Branch 9 taken 5 times.
✗ Branch 10 not taken.
✗ Branch 11 not taken.
✗ Branch 12 not taken.
✗ Branch 13 not taken.
✗ Branch 14 not taken.
✗ Branch 15 not taken.
✗ Branch 16 not taken.
|
|
7/8
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 5 invoked.
✓ Call 6 invoked.
✓ Call 7 invoked.
✓ Call 8 invoked.
✗ Call 17 not invoked.
|
15 |
); |
| 36 |
|
|
|
|
} |
| 37 |
|
|
|
|
|
| 38 |
|
|
|
1 |
Proxy::Point::Vector::And::Vector::operator MovePointInstruction*() const { |
| 39 |
|
|
|
|
return new MovePointInstruction( |
| 40 |
|
|
|
|
Composer::Instructions::space, |
| 41 |
1/2
✓ Branch 2 taken 1 times.
✗ Branch 3 not taken.
|
|
2/3
✓ Call 0 invoked.
✓ Call 1 invoked.
✗ Call 4 not invoked.
|
1 |
new args::patterns(*Composer::PatternInstructions::patterns), |
| 42 |
1/2
✓ Branch 6 taken 1 times.
✗ Branch 7 not taken.
|
|
6/7
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
✓ Call 4 invoked.
✓ Call 5 invoked.
✗ Call 8 not invoked.
|
2 |
point_, vector1_, new args::optional(vector2_) |
| 43 |
2/10
✓ Branch 3 taken 1 times.
✗ Branch 4 not taken.
✓ Branch 9 taken 1 times.
✗ Branch 10 not taken.
✗ Branch 11 not taken.
✗ Branch 12 not taken.
✗ Branch 13 not taken.
✗ Branch 14 not taken.
✗ Branch 15 not taken.
✗ Branch 16 not taken.
|
|
7/8
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 5 invoked.
✓ Call 6 invoked.
✓ Call 7 invoked.
✓ Call 8 invoked.
✗ Call 17 not invoked.
|
4 |
); |
| 44 |
|
|
|
|
} |
| 45 |
|
|
|
|
|