Coverage Report

Statementstmt 73.3% 140 / 191 Branchbran 36.5% 19 / 52 Conditioncond 27.2% 3 / 11 MC/DCmcdc 0.0% 0 / 7 Subroutinesub 77.1% 27 / 35 Podpod 0.0% 0 / 10 totaltotal 61.7% 189 / 306 CC 33 scar 16.6 CC 33 · cov 64% · CRAP 5.3
Prefix: blib/lib/DBIx/

Top SCAR

SimpleMigration/Client/Pg.pm untested 20.6
CC
7
Cov
0%
_create_migrations_schema
12.0
_create_migrations_table
12.0
new
6.0
CRAP 7.8
SimpleMigration.pm 17.9
CC
12
Cov
79%
new
11.6
apply
5.1
BEGIN
1.0
CRAP 6.0
SimpleMigration/Migration.pm 16.9
CC
11
Cov
77%
apply
9.0
new
6.4
BEGIN
1.0
CRAP 5.4
SimpleMigration/Client.pm 6.1
CC
5
Cov
81%
_insert_migration
2.1
_create_migrations_table
2.0
new
2.0
CRAP 1.8
SimpleMigration/Client/SQLite.pm 4.1
CC
2
Cov
93%
_migrations_table_exists
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
3 3 files 75-90%
1 1 file 90-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) 92.7 51 / 5550.0 8 / 1633.3 2 / 60.0 0 / 4100 10 / 100.0 0 / 276.3 71 / 9312 17.9
CC
12
Cov
79%
CRAP 6.0
SimpleMigration.pm 92.7 51 / 5550.0 8 / 1633.3 2 / 60.0 0 / 4100 10 / 100.0 0 / 276.3 71 / 9312 17.9
CC
12
Cov
79%
new
11.6
apply
5.1
BEGIN
1.0
CRAP 6.0
SimpleMigration 88.5 77 / 8745.4 10 / 2233.3 1 / 30.0 0 / 293.3 14 / 150.0 0 / 377.2 102 / 13215 14.0
CC
15
Cov
79%
CRAP 4.1
Migration.pm 90.2 46 / 5143.7 7 / 1633.3 1 / 30.0 0 / 2100 8 / 80.0 0 / 275.6 62 / 8211 16.9
CC
11
Cov
77%
apply
9.0
new
6.4
BEGIN
1.0
CRAP 5.4
Client.pm 86.1 31 / 3650.0 3 / 6n/a n/a 85.7 6 / 70.0 0 / 180.0 40 / 505 6.1
CC
5
Cov
81%
_insert_migration
2.1
_create_migrations_table
2.0
new
2.0
CRAP 1.8
SimpleMigration/Client 24.4 12 / 497.1 1 / 140.0 0 / 20.0 0 / 130.0 3 / 100.0 0 / 519.7 16 / 818 18.5
CC
8
Cov
20%
CRAP 6.4
Pg.pm untested 0.0 0 / 370.0 0 / 120.0 0 / 20.0 0 / 10.0 0 / 70.0 0 / 50.0 0 / 647 20.6
CC
7
Cov
0%
_create_migrations_schema
12.0
_create_migrations_table
12.0
new
6.0
CRAP 7.8
SQLite.pm 100 12 / 1250.0 1 / 2n/a n/a 100 3 / 3n/a 94.1 16 / 172 4.1
CC
2
Cov
93%
_migrations_table_exists
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5