Coverage Report

Statementstmt 79.3% 383 / 483 Branchbran 65.8% 129 / 196 Conditioncond 49.3% 38 / 77 MC/DCmcdc 28.2% 13 / 46 Subroutinesub 82.4% 80 / 97 Podpod 94.5% 35 / 37 totaltotal 72.4% 678 / 936 CC 133 scar 20.5 CC 133 · cov 73% · CRAP 7.7
Prefix: blib/lib/DBIO/PostgreSQL/

Top SCAR

PostGIS/ResultSet.pm 30.4
CC
10
Cov
23%
_geom_arg
56.0
_spatial_search
6.0
nearest_to
6.0
CRAP 20.9
PostGIS/Codec/WKT/Parser.pm 22.3
CC
24
Cov
89%
parse
15.7
_split_by_top_level_commas
6.0
_split_multipolygon
6.0
CRAP 9.3
PostGIS/Codec/WKB/Decoder.pm 19.5
CC
18
Cov
73%
_read_geometry
18.7
decode_hex
9.1
_read_point
3.1
CRAP 7.0
PostGIS/Codec/WKT/Builder.pm 19.3
CC
11
Cov
74%
_build_coords
9.8
build
5.1
BEGIN
1.0
CRAP 6.9
PostGIS/Introspect.pm 18.9
CC
9
Cov
86%
_augment_geometry_columns
9.0
_build_model
2.0
BEGIN
1.0
CRAP 6.6
5 5 files < 75%
4 4 files 75-90%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 100 44 / 4494.4 17 / 1855.0 11 / 2033.3 4 / 12100 9 / 950.0 1 / 281.9 86 / 10517 16.8
CC
17
Cov
88%
CRAP 5.4
PostGIS.pm 100 44 / 4494.4 17 / 1855.0 11 / 2033.3 4 / 12100 9 / 950.0 1 / 281.9 86 / 10517 16.8
CC
17
Cov
88%
register_column
7.2
__ANON__
6.8
__ANON__
6.1
CRAP 5.4
PostGIS 71.9 187 / 26055.1 54 / 9842.1 16 / 3826.0 6 / 2374.6 47 / 6396.8 31 / 3266.3 341 / 51467 20.9
CC
67
Cov
65%
CRAP 8.1
ResultSet.pm 31.0 18 / 580.0 0 / 120.0 0 / 80.0 0 / 533.3 4 / 12100 5 / 527.0 27 / 10010 30.4
CC
10
Cov
23%
_geom_arg
56.0
_spatial_search
6.0
nearest_to
6.0
CRAP 20.9
Introspect.pm 83.3 20 / 24100 6 / 683.3 5 / 666.6 2 / 380.0 4 / 5n/a 84.0 37 / 449 18.9
CC
9
Cov
86%
_augment_geometry_columns
9.0
_build_model
2.0
BEGIN
1.0
CRAP 6.6
Geometry.pm 86.5 116 / 13456.7 42 / 7445.8 11 / 2426.6 4 / 1593.5 29 / 3195.8 23 / 2474.5 225 / 30247 18.4
CC
47
Cov
73%
from_geojson
20.9
geometry_type
10.8
z
6.0
CRAP 6.3
Storage.pm 66.6 20 / 30100 6 / 6n/a n/a 60.0 6 / 10100 3 / 371.4 35 / 494 6.5
CC
4
Cov
72%
_ensure_postgis_extension
3.0
ensure_postgis
2.0
__ANON__
2.0
CRAP 1.9
Deploy.pm 92.8 13 / 14n/a n/a n/a 80.0 4 / 5n/a 89.4 17 / 191 1.8
CC
1
Cov
93%
_introspect_class
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
PostGIS/Codec/WKB 78.2 61 / 7860.7 17 / 2860.0 3 / 533.3 1 / 391.6 11 / 12100 1 / 174.0 94 / 12718 19.5
CC
18
Cov
73%
CRAP 7.0
Decoder.pm 78.2 61 / 7860.7 17 / 2860.0 3 / 533.3 1 / 391.6 11 / 12100 1 / 174.0 94 / 12718 19.5
CC
18
Cov
73%
_read_geometry
18.7
decode_hex
9.1
_read_point
3.1
CRAP 7.0
PostGIS/Codec/WKT 90.1 91 / 10178.8 41 / 5257.1 8 / 1425.0 2 / 8100 13 / 13100 2 / 282.6 157 / 19034 21.5
CC
34
Cov
84%
CRAP 8.6
Parser.pm 94.2 66 / 7081.5 31 / 3866.6 4 / 633.3 1 / 3100 9 / 9100 1 / 188.1 112 / 12724 22.3
CC
24
Cov
89%
parse
15.7
_split_by_top_level_commas
6.0
_split_multipolygon
6.0
CRAP 9.3
Builder.pm 80.6 25 / 3171.4 10 / 1450.0 4 / 820.0 1 / 5100 4 / 4100 1 / 171.4 45 / 6311 19.3
CC
11
Cov
74%
_build_coords
9.8
build
5.1
BEGIN
1.0
CRAP 6.9