Coverage Report

Statementstmt 50.5% 219 / 433 Branchbran 30.2% 29 / 96 Conditioncond 38.1% 8 / 21 MC/DCmcdc 28.5% 4 / 14 Subroutinesub 56.2% 45 / 80 Podpod 84.0% 37 / 44 totaltotal 49.7% 342 / 688 CC 58 scar 27.5 CC 58 · cov 47% · CRAP 15.6
Prefix: blib/lib/VM/

Top SCAR

Dreamer/Util.pm 39.1
CC
17
Cov
13%
add_two_arrays
72.0
subtract_two_arrays
72.0
parse_next_instruction
12.0
CRAP 49.8
Dreamer/IO.pm 36.7
CC
8
Cov
19%
get_valid_input_from_user
72.0
add_input_to_inbox
2.0
shift_inbox_to_memory
2.0
CRAP 39.1
Dreamer/Dump.pm untested 17.5
CC
3
Cov
0%
dump_status
12.0
dump_memory
2.0
BEGIN
2.0
CRAP 5.8
Dreamer/Instructions.pm 15.0
CC
6
Cov
22%
branch_if_positive
12.0
load
6.0
branch_if_zero
6.0
CRAP 4.5
Dreamer.pm 14.3
CC
8
Cov
66%
load_program
6.7
get_next_instruction
6.0
execute_next_instruction
6.0
CRAP 4.2
4 4 files < 75%
2 2 files 75-90%
3 3 files 100%
2 2 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 71.4 40 / 5642.8 6 / 14n/a n/a 80.0 8 / 1040.0 2 / 565.8 56 / 858 14.3
CC
8
Cov
66%
CRAP 4.2
Dreamer.pm 71.4 40 / 5642.8 6 / 14n/a n/a 80.0 8 / 1040.0 2 / 565.8 56 / 858 14.3
CC
8
Cov
66%
load_program
6.7
get_next_instruction
6.0
execute_next_instruction
6.0
CRAP 4.2
Dreamer 49.7 179 / 36028.0 23 / 8238.1 8 / 2128.5 4 / 1456.9 37 / 6592.1 35 / 3849.3 286 / 58051 28.8
CC
51
Cov
45%
CRAP 17.9
Util.pm 20.0 13 / 650.0 0 / 280.0 0 / 60.0 0 / 437.5 3 / 8100 6 / 618.8 22 / 11717 39.1
CC
17
Cov
13%
add_two_arrays
72.0
subtract_two_arrays
72.0
parse_next_instruction
12.0
CRAP 49.8
IO.pm 24.1 14 / 580.0 0 / 14n/a n/a 37.5 3 / 8100 5 / 525.8 22 / 858 36.7
CC
8
Cov
19%
get_valid_input_from_user
72.0
add_input_to_inbox
2.0
shift_inbox_to_memory
2.0
CRAP 39.1
Dump.pm untested 0.0 0 / 280.0 0 / 4n/a n/a 0.0 0 / 60.0 0 / 20.0 0 / 403 17.5
CC
3
Cov
0%
dump_status
12.0
dump_memory
2.0
BEGIN
2.0
CRAP 5.8
Instructions.pm 26.1 17 / 650.0 0 / 80.0 0 / 30.0 0 / 226.6 4 / 15100 11 / 1130.7 32 / 1046 15.0
CC
6
Cov
22%
branch_if_positive
12.0
load
6.0
branch_if_zero
6.0
CRAP 4.5
Validate.pm 82.9 34 / 4178.5 11 / 14100 3 / 3100 2 / 287.5 7 / 875.0 3 / 483.3 60 / 7210 12.7
CC
10
Cov
83%
build_valid_line_regex
5.6
validate_definition
4.0
validate_term
4.0
CRAP 3.5
Init.pm 93.9 31 / 3375.0 6 / 833.3 2 / 60.0 0 / 4100 6 / 6100 4 / 480.3 49 / 618 11.9
CC
8
Cov
83%
total_width
4.6
greatest_number
4.3
init_counter
2.0
CRAP 3.3
Operation.pm 100 33 / 33100 6 / 6100 3 / 3100 2 / 2100 5 / 5100 2 / 2100 51 / 515 11.7
CC
5
Cov
100%
add_one_to_counter
5.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.2
Environment.pm 100 15 / 15n/a n/a n/a 100 4 / 4100 2 / 2100 21 / 211 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
get_restrictions
1.0
CRAP 1.0
Error.pm 100 22 / 22n/a n/a n/a 100 5 / 5100 2 / 2100 29 / 291 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Dreamer/Languages 0.0 0 / 17n/a n/a n/a 0.0 0 / 50.0 0 / 10.0 0 / 231 6.9
CC
1
Cov
0%
CRAP 2.0
Grasshopper.pm untested 0.0 0 / 17n/a n/a n/a 0.0 0 / 50.0 0 / 10.0 0 / 231 6.9
CC
1
Cov
0%
get_instruction_set
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0