Coverage Report

Statementstmt 90.9% 161 / 177 Branchbran 67.3% 31 / 46 Conditioncond 50.0% 3 / 6 MC/DCmcdc 0.0% 0 / 3 Subroutinesub 97.1% 34 / 35 Podpod 100% 17 / 17 totaltotal 86.6% 246 / 284 CC 27 scar 10.3 CC 27 · cov 85% · CRAP 2.8
Prefix: blib/lib/Hadoop/

Top SCAR

Streaming/Reducer/Input/Iterator.pm 14.0
CC
7
Cov
76%
next
8.1
__ANON__
2.1
has_next
2.0
CRAP 4.1
Streaming/Reducer/Input/ValuesIterator.pm 11.2
CC
5
Cov
85%
has_next
4.0
next
2.2
BEGIN
1.0
CRAP 3.1
Streaming/Combiner.pm 10.2
CC
4
Cov
90%
run
4.1
BEGIN
1.0
BEGIN
1.0
CRAP 2.8
Streaming/Reducer.pm 10.2
CC
4
Cov
90%
run
4.1
BEGIN
1.0
BEGIN
1.0
CRAP 2.8
Streaming/Role/Emitter.pm 9.6
CC
5
Cov
75%
counter
4.2
emit
2.1
status
2.0
CRAP 2.6
1 1 file < 75%
2 2 files 75-90%
3 3 files 90-100%
2 2 files 100%
1 1 untested file
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 0.0 0 / 2n/a n/a n/a n/a n/a 0.0 0 / 2- -
Streaming.pm untested 0.0 0 / 2n/a n/a n/a n/a n/a 0.0 0 / 2- -
Streaming 96.7 59 / 6171.4 10 / 14n/a n/a 100 11 / 11100 3 / 393.2 83 / 898 9.1
CC
8
Cov
92%
CRAP 2.5
Combiner.pm 95.6 22 / 2366.6 4 / 6n/a n/a 100 4 / 4100 1 / 191.1 31 / 344 10.2
CC
4
Cov
90%
run
4.1
BEGIN
1.0
BEGIN
1.0
CRAP 2.8
Reducer.pm 95.6 22 / 2366.6 4 / 6n/a n/a 100 4 / 4100 1 / 191.1 31 / 344 10.2
CC
4
Cov
90%
run
4.1
BEGIN
1.0
BEGIN
1.0
CRAP 2.8
Mapper.pm 100 15 / 15100 2 / 2n/a n/a 100 3 / 3100 1 / 1100 21 / 212 4.1
CC
2
Cov
100%
run
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
Streaming/Reducer 96.8 31 / 3280.0 8 / 10n/a n/a 100 7 / 7100 5 / 594.4 51 / 546 7.0
CC
6
Cov
93%
CRAP 2.0
Input.pm 96.8 31 / 3280.0 8 / 10n/a n/a 100 7 / 7100 5 / 594.4 51 / 546 7.0
CC
6
Cov
93%
next_key
3.0
getline
2.1
each
2.0
CRAP 2.0
Streaming/Reducer/Input 86.5 45 / 5260.0 12 / 20n/a n/a 100 10 / 10100 5 / 582.7 72 / 8711 13.1
CC
11
Cov
79%
CRAP 3.7
Iterator.pm 84.8 28 / 3350.0 6 / 12n/a n/a 100 7 / 7100 3 / 380.0 44 / 557 14.0
CC
7
Cov
76%
next
8.1
__ANON__
2.1
has_next
2.0
CRAP 4.1
ValuesIterator.pm 89.4 17 / 1975.0 6 / 8n/a n/a 100 3 / 3100 2 / 287.5 28 / 325 11.2
CC
5
Cov
85%
has_next
4.0
next
2.2
BEGIN
1.0
CRAP 3.1
Streaming/Role 86.6 26 / 3050.0 1 / 250.0 3 / 60.0 0 / 385.7 6 / 7100 4 / 476.9 40 / 525 9.0
CC
5
Cov
79%
CRAP 2.5
Emitter.pm 83.3 20 / 2450.0 1 / 250.0 3 / 60.0 0 / 383.3 5 / 6100 4 / 473.3 33 / 455 9.6
CC
5
Cov
75%
counter
4.2
emit
2.1
status
2.0
CRAP 2.6
Iterator.pm 100 6 / 6n/a n/a n/a 100 1 / 1n/a 100 7 / 71 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0