Branch Coverage

blib/lib/DBIx/Roles/Hook.pm
Criterion Covered Total %
branch 6 12 50.0


line true false branch
19 9 0 unless exists $$self{'attr'}{'Hooks'}{'connect'}
26 1 2 unless exists $$self{'attr'}{'Hooks'}{'disconnect'}
33 0 0 unless exists $$self{'attr'}{'Hooks'}{$method}
40 13 0 unless exists $$self{'attr'}{'Hooks'}{"rewrite_$method"}
47 0 12 unless exists $$self{'attr'}{'Hooks'}{$method}
54 17 0 if $key eq 'Hooks' or not exists $$self{'attr'}{'Hooks'}{'STORE'}