Coverage Report

Statementstmt 51.4% 257 / 500 Branchbran 16.6% 10 / 60 Conditioncond 4.5% 2 / 44 MC/DCmcdc 0.0% 0 / 17 Subroutinesub 59.3% 70 / 118 Podpod 69.5% 32 / 46 totaltotal 47.2% 371 / 785 CC 48 scar 24.9 CC 48 · cov 45% · CRAP 12.1
Prefix: blib/lib/Net/Frame/Layer/

Top SCAR

ICMPv6.pm 31.1
CC
23
Cov
63%
encapsulate
90.0
match
56.0
computeChecksums
56.0
CRAP 22.3
ICMPv6/Option.pm 16.5
CC
4
Cov
38%
unpack
12.0
pack
6.0
new
2.0
CRAP 5.2
ICMPv6/NeighborSolicitation.pm 15.6
CC
10
Cov
51%
_unpackOptions
12.0
getOptionsLength
6.0
print
6.0
CRAP 4.8
ICMPv6/NeighborAdvertisement.pm 14.7
CC
10
Cov
58%
_unpackOptions
12.0
getOptionsLength
6.0
print
6.0
CRAP 4.4
ICMPv6/RouterAdvertisement.pm untested 9.4
CC
2
Cov
0%
unpack
6.0
new
2.0
getOptionsLength
2.0
CRAP 2.6
4 4 files < 75%
1 1 file 75-90%
2 2 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 76.0 146 / 1926.6 2 / 300.0 0 / 140.0 0 / 986.5 45 / 52100 10 / 1066.1 203 / 30723 31.1
CC
23
Cov
63%
CRAP 22.3
ICMPv6.pm 76.0 146 / 1926.6 2 / 300.0 0 / 140.0 0 / 986.5 45 / 52100 10 / 1066.1 203 / 30723 31.1
CC
23
Cov
63%
encapsulate
90.0
match
56.0
computeChecksums
56.0
CRAP 22.3
ICMPv6 36.0 111 / 30826.6 8 / 306.6 2 / 300.0 0 / 837.8 25 / 6661.1 22 / 3635.1 168 / 47826 13.1
CC
26
Cov
33%
CRAP 3.7
Option.pm 45.1 14 / 310.0 0 / 6n/a n/a 37.5 3 / 8100 5 / 544.0 22 / 504 16.5
CC
4
Cov
38%
unpack
12.0
pack
6.0
new
2.0
CRAP 5.2
NeighborSolicitation.pm 56.3 31 / 5537.5 3 / 816.6 1 / 60.0 0 / 463.6 7 / 11100 6 / 653.3 48 / 9010 15.6
CC
10
Cov
51%
_unpackOptions
12.0
getOptionsLength
6.0
print
6.0
CRAP 4.8
NeighborAdvertisement.pm 63.6 42 / 6637.5 3 / 816.6 1 / 60.0 0 / 469.2 9 / 13100 6 / 659.2 61 / 10310 14.7
CC
10
Cov
58%
_unpackOptions
12.0
getOptionsLength
6.0
print
6.0
CRAP 4.4
RouterAdvertisement.pm untested 0.0 0 / 690.0 0 / 20.0 0 / 8n/a 0.0 0 / 130.0 0 / 70.0 0 / 992 9.4
CC
2
Cov
0%
unpack
6.0
new
2.0
getOptionsLength
2.0
CRAP 2.6
RouterSolicitation.pm untested 0.0 0 / 590.0 0 / 20.0 0 / 10n/a 0.0 0 / 130.0 0 / 70.0 0 / 912 9.4
CC
2
Cov
0%
unpack
6.0
new
2.0
getOptionsLength
2.0
CRAP 2.6
Echo.pm 85.7 24 / 2850.0 2 / 4n/a n/a 75.0 6 / 8100 5 / 582.2 37 / 453 4.7
CC
3
Cov
81%
pack
2.0
unpack
2.0
getLength
2.0
CRAP 1.6