Coverage Report

Statementstmt 96.6% 731 / 756 Branchbran 92.6% 380 / 410 Conditioncond 78.9% 191 / 242 MC/DCmcdc 66.4% 89 / 134 Subroutinesub 97.0% 133 / 137 Podpod 98.0% 49 / 50 totaltotal 90.9% 1573 / 1729 CC 300 scar 23.7 CC 300 · cov 92% · CRAP 10.7
Prefix: blib/lib/DBIO/PostgreSQL/

Top SCAR

PostGIS/Codec/WKT/Parser.pm 31.9
CC
66
Cov
96%
_geometry
42.0
_parse_point_str
7.0
parse
6.1
CRAP 24.4
PostGIS/Extension.pm 26.0
CC
33
Cov
95%
annotate
18.0
verdict
16.2
BEGIN
1.0
CRAP 13.5
PostGIS/Codec/WKB/Decoder.pm 22.5
CC
52
Cov
92%
_shortest_double
42.0
_read_geometry
11.0
_read_subgeom
10.0
CRAP 9.5
PostGIS/Codec/WKT/Builder.pm 22.3
CC
19
Cov
94%
_build_coords
11.0
build
9.1
BEGIN
1.0
CRAP 9.3
PostGIS/Geometry.pm 19.2
CC
82
Cov
91%
_point_ordinate
16.3
from_geojson
13.4
_dimension_flags
10.0
CRAP 6.8
4 4 files 75-90%
5 5 files 90-100%
2 2 files 100%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 100 51 / 5195.4 21 / 2270.5 12 / 1754.5 6 / 11100 10 / 1050.0 1 / 289.3 101 / 11318 16.6
CC
18
Cov
93%
CRAP 5.3
PostGIS.pm 100 51 / 5195.4 21 / 2270.5 12 / 1754.5 6 / 11100 10 / 1050.0 1 / 289.3 101 / 11318 16.6
CC
18
Cov
93%
register_column
7.0
__ANON__
7.0
__ANON__
6.1
CRAP 5.3
PostGIS 95.4 359 / 37691.2 166 / 18276.7 99 / 12961.9 44 / 7196.2 77 / 80100 39 / 3989.4 784 / 877142 20.2
CC
142
Cov
91%
CRAP 7.5
Extension.pm 100 58 / 58100 26 / 2684.0 37 / 4471.4 15 / 21100 12 / 12100 7 / 792.2 155 / 16833 26.0
CC
33
Cov
95%
annotate
18.0
verdict
16.2
BEGIN
1.0
CRAP 13.5
Geometry.pm 96.0 169 / 17689.3 109 / 12276.7 43 / 5663.6 21 / 3397.1 34 / 35100 24 / 2489.6 400 / 44682 19.2
CC
82
Cov
91%
_point_ordinate
16.3
from_geojson
13.4
_dimension_flags
10.0
CRAP 6.8
ResultSet.pm 94.5 70 / 7485.0 17 / 2052.6 10 / 1927.2 3 / 11100 15 / 15100 5 / 583.3 120 / 14418 17.7
CC
18
Cov
86%
_geom_arg
12.5
_col_ref
5.7
nearest_to
2.0
CRAP 5.9
Storage.pm 88.4 46 / 52100 14 / 1490.0 9 / 1083.3 5 / 685.7 12 / 14100 3 / 389.9 89 / 9912 12.0
CC
12
Cov
91%
ensure_postgis
7.0
_postgis_control_schema
3.0
_ensure_postgis_extension
3.0
CRAP 3.3
Deploy.pm 100 8 / 8n/a n/a n/a 100 2 / 2n/a 100 10 / 101 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Introspect.pm 100 8 / 8n/a n/a n/a 100 2 / 2n/a 100 10 / 101 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
PostGIS/Codec/WKB 94.9 131 / 13894.2 66 / 7079.4 31 / 3978.2 18 / 2395.2 20 / 21100 2 / 291.4 268 / 29352 22.5
CC
52
Cov
92%
CRAP 9.5
Decoder.pm 94.9 131 / 13894.2 66 / 7079.4 31 / 3978.2 18 / 2395.2 20 / 21100 2 / 291.4 268 / 29352 22.5
CC
52
Cov
92%
_shortest_double
42.0
_read_geometry
11.0
_read_subgeom
10.0
CRAP 9.5
PostGIS/Codec/WKT 99.3 161 / 16292.9 119 / 12888.2 45 / 5176.9 20 / 26100 18 / 18100 2 / 294.3 365 / 38784 30.5
CC
84
Cov
95%
CRAP 21.1
Parser.pm 100 118 / 11892.0 92 / 10092.5 37 / 4085.0 17 / 20100 14 / 14100 1 / 195.2 279 / 29366 31.9
CC
66
Cov
96%
_geometry
42.0
_parse_point_str
7.0
parse
6.1
CRAP 24.4
Builder.pm 97.7 43 / 4496.4 27 / 2872.7 8 / 1150.0 3 / 6100 4 / 4100 1 / 191.4 86 / 9419 22.3
CC
19
Cov
94%
_build_coords
11.0
build
9.1
BEGIN
1.0
CRAP 9.3
PostGIS/Topology 100 29 / 29100 8 / 866.6 4 / 633.3 1 / 3100 8 / 8100 5 / 593.2 55 / 598 11.4
CC
8
Cov
95%
CRAP 3.1
Extension.pm 100 29 / 29100 8 / 866.6 4 / 633.3 1 / 3100 8 / 8100 5 / 593.2 55 / 598 11.4
CC
8
Cov
95%
inspect
5.0
claims
4.0
BEGIN
1.0
CRAP 3.1