Chrysalis - Pattern Test Coverage
pattern/
File: pattern/src/BaseInstruction.cpp
Date: 2026-08-27 18:35:18
Lines:
7/7
100.0%
Functions:
2/2
100.0%
Branches:
3/4
75.0%
Decisions:
1/2
50.0%
Calls:
18/18
100.0%
List of functions
Function (Line)
Call count
Block coverage
Chrysalis::BaseInstruction::ignore() (line 10)
called 213 times, returned 213 times
100.0%
Chrysalis::BaseInstruction::run() (line 5)
called 330 times, returned 330 times
94.0%
Line
Branch
Decision
Call
Exec
Source
1
#include
"instructions/BaseInstruction.h"
2
3
using
namespace
Chrysalis
;
4
5
330
void
BaseInstruction::run
()
{
6
3/4
✗ Branch 3 not taken.
✓ Branch 4 taken 330 times.
✓ Branch 5 taken 286 times.
✓ Branch 6 taken 44 times.
1/2
✓ Decision 'true' taken 330 times.
✗ Decision 'false' not taken.
10/10
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 7 invoked.
✓ Call 8 invoked.
✓ Call 9 invoked.
✓ Call 10 invoked.
✓ Call 11 invoked.
✓ Call 12 invoked.
✓ Call 13 invoked.
330
if
(
!
executed_
)
execute
();
7
4/4
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
330
executed_
=
true
;
8
330
}
9
10
213
void
BaseInstruction::ignore
()
{
11
4/4
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
213
executed_
=
true
;
12
213
}
13