Coverage Report

Statementstmt 62.9% 555 / 882 Branchbran 28.1% 53 / 188 Conditioncond 21.0% 41 / 195 MC/DCmcdc 6.1% 7 / 113 Subroutinesub 64.2% 97 / 151 Podpod 95.0% 58 / 61 totaltotal 51.0% 811 / 1590 CC 185 scar 45.4 CC 185 · cov 51% · CRAP 93.6
Prefix: blib/lib/DBIx/

Top SCAR

OnlineDDL.pm 48.7
CC
149
Cov
60%
_fk_info_to_hash
600.0
BUILD
429.4
_fk_to_sql
42.0
CRAP 130.3
OnlineDDL/Helper/MySQL.pm 39.3
CC
25
Cov
14%
post_fk_add_cleanup_stmts
156.0
foreign_key_info
90.0
rename_fks_in_table_sql
12.0
CRAP 51.1
OnlineDDL/Helper/Base.pm 18.2
CC
12
Cov
33%
remove_fks_from_child_tables_stmts
20.0
add_fks_back_to_child_tables_stmts
20.0
rename_fks_back_to_original_stmts
12.0
CRAP 6.1
OnlineDDL/Helper/SQLite.pm 0.9
CC
2
Cov
98%
post_connection_stmts
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
3 3 files < 75%
1 1 file 90-100%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 78.0 427 / 54734.9 51 / 14623.6 40 / 1697.2 7 / 9782.6 57 / 6992.3 12 / 1357.0 594 / 1041149 48.7
CC
149
Cov
60%
CRAP 130.3
OnlineDDL.pm 78.0 427 / 54734.9 51 / 14623.6 40 / 1697.2 7 / 9782.6 57 / 6992.3 12 / 1357.0 594 / 1041149 48.7
CC
149
Cov
60%
_fk_info_to_hash
600.0
BUILD
429.4
_fk_to_sql
42.0
CRAP 130.3
OnlineDDL/Helper 38.2 128 / 3354.7 2 / 423.8 1 / 260.0 0 / 1648.7 40 / 8295.8 46 / 4839.5 217 / 54937 32.7
CC
37
Cov
33%
CRAP 26.2
MySQL.pm 17.9 29 / 1620.0 0 / 320.0 0 / 140.0 0 / 825.8 8 / 31100 15 / 1519.8 52 / 26225 39.3
CC
25
Cov
14%
post_fk_add_cleanup_stmts
156.0
foreign_key_info
90.0
rename_fks_in_table_sql
12.0
CRAP 51.1
Base.pm 37.2 44 / 11812.5 1 / 88.3 1 / 120.0 0 / 838.7 12 / 3190.9 20 / 2239.2 78 / 19912 18.2
CC
12
Cov
33%
remove_fks_from_child_tables_stmts
20.0
add_fks_back_to_child_tables_stmts
20.0
rename_fks_back_to_original_stmts
12.0
CRAP 6.1
SQLite.pm 100 55 / 5550.0 1 / 2n/a n/a 100 20 / 20100 11 / 1198.8 87 / 882 0.9
CC
2
Cov
98%
post_connection_stmts
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1