Coverage Report

Statementstmt 37.5% 758 / 2018 Branchbran 30.2% 170 / 562 Conditioncond 21.1% 50 / 237 MC/DCmcdc 21.5% 14 / 65 Subroutinesub 34.5% 138 / 400 Podpod 34.4% 96 / 279 totaltotal 34.4% 1226 / 3561 CC 355 scar 25.3 CC 355 · cov 35% · CRAP 12.5

Top SCAR

blib/lib/Geo/ShapeFile.pm untested 32.1
CC
68
Cov
0%
shapes_in_area
132.0
_read_dbf_header
72.0
new
56.0
CRAP 24.7
blib/lib/Geo/ShapeFile/Point.pm untested 29.7
CC
27
Cov
0%
_mathemagic
90.0
eq
56.0
angle_to
12.0
CRAP 19.5
blib/lib/Geo/ShapeFile/Shape.pm untested 26.6
CC
43
Cov
0%
contains_point
56.0
_contains_point_use_index
56.0
get_part
30.0
CRAP 14.3
lib/Geo/ShapeFile/Shape.pm 21.0
CC
74
Cov
68%
dump
56.0
has_point
20.0
area_centroid
20.0
CRAP 8.2
lib/Geo/ShapeFile/Point.pm 20.9
CC
42
Cov
52%
eq
24.8
_add_point_point
12.0
_multiply_point_point
12.0
CRAP 8.0
2 2 files < 75%
2 2 files 75-90%
4 4 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
blib/lib/Geo 0.0 0 / 4030.0 0 / 1360.0 0 / 55n/a 0.0 0 / 720.0 0 / 610.0 0 / 72768 32.1
CC
68
Cov
0%
CRAP 24.7
ShapeFile.pm untested 0.0 0 / 4030.0 0 / 1360.0 0 / 55n/a 0.0 0 / 720.0 0 / 610.0 0 / 72768 32.1
CC
68
Cov
0%
shapes_in_area
132.0
_read_dbf_header
72.0
new
56.0
CRAP 24.7
blib/lib/Geo/ShapeFile 0.0 0 / 5420.0 0 / 1360.0 0 / 64n/a 0.0 0 / 1110.0 0 / 960.0 0 / 94969 28.0
CC
69
Cov
0%
CRAP 16.4
Point.pm untested 0.0 0 / 1510.0 0 / 520.0 0 / 39n/a 0.0 0 / 470.0 0 / 410.0 0 / 33027 29.7
CC
27
Cov
0%
_mathemagic
90.0
eq
56.0
angle_to
12.0
CRAP 19.5
Shape.pm untested 0.0 0 / 3910.0 0 / 840.0 0 / 25n/a 0.0 0 / 640.0 0 / 550.0 0 / 61943 26.6
CC
43
Cov
0%
contains_point
56.0
_contains_point_use_index
56.0
get_part
30.0
CRAP 14.3
blib/lib/Geo/ShapeFile/Shape 0.0 0 / 780.0 0 / 80.0 0 / 4n/a 0.0 0 / 160.0 0 / 100.0 0 / 1165 14.6
CC
5
Cov
0%
CRAP 4.3
Index.pm untested 0.0 0 / 780.0 0 / 80.0 0 / 4n/a 0.0 0 / 160.0 0 / 100.0 0 / 1165 14.6
CC
5
Cov
0%
query_point
12.0
new
6.0
snap_to_index
6.0
CRAP 4.3
lib/Geo 84.8 331 / 39063.6 84 / 13246.0 23 / 5026.9 7 / 2679.7 59 / 7491.6 44 / 4876.1 548 / 72094 19.0
CC
94
Cov
77%
CRAP 6.7
ShapeFile.pm 84.8 331 / 39063.6 84 / 13246.0 23 / 5026.9 7 / 2679.7 59 / 7491.6 44 / 4876.1 548 / 72094 19.0
CC
94
Cov
77%
__ANON__
30.0
get_dbf_field_info
20.0
shapes_in_area
18.9
CRAP 6.7
lib/Geo/ShapeFile 67.0 354 / 52857.0 81 / 14240.0 24 / 6016.2 6 / 3759.4 66 / 11178.1 43 / 5561.5 574 / 933115 20.9
CC
115
Cov
63%
CRAP 8.1
Shape.pm 70.7 268 / 37962.2 56 / 9047.6 10 / 2130.7 4 / 1370.3 45 / 6482.7 24 / 2968.2 407 / 59674 21.0
CC
74
Cov
68%
dump
56.0
has_point
20.0
area_centroid
20.0
CRAP 8.2
Point.pm 57.7 86 / 14948.0 25 / 5235.9 14 / 398.3 2 / 2444.6 21 / 4773.0 19 / 2649.5 167 / 33742 20.9
CC
42
Cov
52%
eq
24.8
_add_point_point
12.0
_multiply_point_point
12.0
CRAP 8.0
lib/Geo/ShapeFile/Shape 94.8 73 / 7762.5 5 / 875.0 3 / 450.0 1 / 281.2 13 / 16100 9 / 989.6 104 / 1169 7.7
CC
9
Cov
91%
CRAP 2.2
Index.pm 94.8 73 / 7762.5 5 / 875.0 3 / 450.0 1 / 281.2 13 / 16100 9 / 989.6 104 / 1169 7.7
CC
9
Cov
91%
new
4.0
query_point
3.2
get_x_min
2.0
CRAP 2.2