Coverage Report

Statementstmt 73.4% 2963 / 4037 Branchbran 59.9% 825 / 1376 Conditioncond 47.6% 390 / 819 MC/DCmcdc 27.0% 129 / 477 Subroutinesub 75.9% 344 / 453 Podpod 86.7% 163 / 188 totaltotal 65.5% 4814 / 7350 CC 1088 scar 34.1 CC 1088 · cov 67% · CRAP 30.4
Prefix: blib/lib/DBIx/

Top SCAR

Fast/Profile/MariaDB.pm 45.7
CC
81
Cov
16%
print_connection_monitor
272.0
print_index_analysis
210.0
_analyze_index_problems
110.0
CRAP 96.7
Fast/X.pm 42.5
CC
36
Cov
68%
class_for
116.1
constraint_from
6.6
throw
1.6
CRAP 70.3
Fast/Profile/Pg.pm 40.1
CC
18
Cov
15%
_validate_explainable_sql
132.0
print_stats
20.0
get_stats
12.0
CRAP 55.3
Fast/SQL.pm 36.5
CC
425
Cov
68%
page
462.0
stream
156.0
_observed
110.0
CRAP 38.4
Fast.pm 29.9
CC
205
Cov
75%
configure_file
182.0
metrics_text
90.0
_check_on_slow_query
72.0
CRAP 19.9
10 10 files < 75%
5 5 files 75-90%
1 1 file 90-100%
2 2 files 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) 82.2 584 / 71068.9 160 / 23254.2 90 / 16629.7 28 / 9485.9 67 / 78100 33 / 3373.2 962 / 1313205 29.9
CC
205
Cov
75%
CRAP 19.9
Fast.pm 82.2 584 / 71068.9 160 / 23254.2 90 / 16629.7 28 / 9485.9 67 / 78100 33 / 3373.2 962 / 1313205 29.9
CC
205
Cov
75%
configure_file
182.0
metrics_text
90.0
_check_on_slow_query
72.0
CRAP 19.9
Fast 79.9 2023 / 253261.0 590 / 96651.4 275 / 53528.6 91 / 31881.6 214 / 26284.7 89 / 10569.5 3282 / 4718730 33.4
CC
730
Cov
72%
CRAP 28.1
X.pm 85.5 77 / 9051.8 28 / 5438.1 8 / 217.6 1 / 1388.2 15 / 17100 4 / 466.8 133 / 19936 42.5
CC
36
Cov
68%
class_for
116.1
constraint_from
6.6
throw
1.6
CRAP 70.3
SQL.pm 76.9 967 / 125660.8 321 / 52848.7 171 / 35125.2 53 / 21076.6 82 / 10797.3 37 / 3865.5 1631 / 2490425 36.5
CC
425
Cov
68%
page
462.0
stream
156.0
_observed
110.0
CRAP 38.4
Transaction.pm 82.5 203 / 24662.7 64 / 10255.1 16 / 2931.2 5 / 1690.9 20 / 2255.5 5 / 973.8 313 / 42465 26.4
CC
65
Cov
75%
_apply_isolation
37.1
_restore_isolation
30.0
do
19.1
CRAP 14.0
Result.pm 25.0 16 / 640.0 0 / 160.0 0 / 70.0 0 / 420.0 2 / 1085.7 6 / 722.2 24 / 10812 25.6
CC
12
Cov
18%
all
30.0
array
12.0
finish
12.0
CRAP 12.9
Connector.pm 92.6 152 / 16469.2 36 / 5267.5 27 / 4057.1 12 / 21100 19 / 19100 2 / 283.2 248 / 29841 22.9
CC
41
Cov
84%
_neutralize_inherited
23.1
_dbh_check
18.0
dbh
7.0
CRAP 9.9
Profiler.pm 71.3 164 / 23041.8 31 / 7450.0 10 / 207.6 1 / 1380.7 21 / 2661.5 8 / 1362.5 235 / 37650 22.5
CC
50
Cov
63%
_get_query_type
37.1
get_stats
12.2
_get_stack_trace
12.0
CRAP 9.5
Schema.pm 87.8 108 / 12358.3 28 / 4827.7 5 / 180.0 0 / 12100 13 / 13100 7 / 772.8 161 / 22133 20.5
CC
33
Cov
75%
primary_keys
12.5
table_info
9.5
get_indexes
8.3
CRAP 7.7
Cache.pm 96.1 175 / 18291.0 51 / 5682.3 28 / 3471.4 15 / 2185.0 17 / 20100 12 / 1291.6 298 / 32552 20.2
CC
52
Cov
93%
set
13.0
get
11.0
_drop_key
9.1
CRAP 7.5
Cached.pm 88.7 63 / 7181.2 13 / 16n/a n/a 77.7 7 / 983.3 5 / 686.2 88 / 1029 12.3
CC
9
Cov
87%
flat
5.1
_execute
5.0
array
1.6
CRAP 3.4
Output.pm 90.9 80 / 8890.0 18 / 2066.6 10 / 1550.0 4 / 892.8 13 / 1433.3 2 / 684.1 127 / 15116 11.5
CC
16
Cov
88%
_valid_output
6.2
emit
4.0
out
3.0
CRAP 3.2
Base.pm 100 18 / 18n/a n/a n/a 100 5 / 5100 1 / 1100 24 / 241 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Fast/Cache 0.0 0 / 390.0 0 / 120.0 0 / 80.0 0 / 50.0 0 / 5n/a 0.0 0 / 691 6.9
CC
1
Cov
0%
CRAP 2.0
Redis.pm untested 0.0 0 / 390.0 0 / 120.0 0 / 80.0 0 / 50.0 0 / 5n/a 0.0 0 / 691 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
Fast/Profile 30.1 164 / 54421.0 21 / 1001.4 1 / 690.0 0 / 3743.9 29 / 6679.4 31 / 3928.7 246 / 855100 43.1
CC
100
Cov
26%
CRAP 74.4
MariaDB.pm 17.0 62 / 36322.3 17 / 761.7 1 / 580.0 0 / 3116.6 5 / 3073.6 14 / 1917.1 99 / 57781 45.7
CC
81
Cov
16%
print_connection_monitor
272.0
print_index_analysis
210.0
_analyze_index_problems
110.0
CRAP 96.7
Pg.pm 20.6 18 / 870.0 0 / 200.0 0 / 110.0 0 / 616.6 2 / 12100 9 / 920.0 29 / 14518 40.1
CC
18
Cov
15%
_validate_explainable_sql
132.0
print_stats
20.0
get_stats
12.0
CRAP 55.3
Base.pm 90.7 49 / 54100 4 / 4n/a n/a 92.3 12 / 1357.1 4 / 788.4 69 / 783 2.7
CC
3
Cov
91%
enabled
2.0
slow_query
2.0
_output_meta
1.6
CRAP 1.3
mysql.pm 70.5 12 / 17n/a n/a n/a 75.0 3 / 4n/a 71.4 15 / 211 1.4
CC
1
Cov
71%
_explain_sql
1.6
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
SQLite.pm 100 23 / 23n/a n/a n/a 100 7 / 7100 4 / 4100 34 / 341 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Fast/Test 90.5 192 / 21281.8 54 / 6658.5 24 / 4143.4 10 / 2380.9 34 / 4290.9 10 / 1182.0 324 / 39556 24.0
CC
56
Cov
85%
CRAP 11.0
Mock.pm 90.5 192 / 21281.8 54 / 6658.5 24 / 4143.4 10 / 2380.9 34 / 4290.9 10 / 1182.0 324 / 39556 24.0
CC
56
Cov
85%
_respond
33.1
execute
8.0
connect
6.1
CRAP 11.0