Branch Coverage

lib/Class/Promise.pm
Criterion Covered Total %
branch 6 14 42.8


line true false branch
32 0 6 if ($_[$i] eq "debug" or $_[$i] eq "debug_code" or $_[$i] eq "debug_file" or $_[$i] eq "no_filter")
48 7 0 unless exists $hash->{'debug'}
49 7 0 unless exists $hash->{'no_filter'}
50 7 0 unless exists $hash->{'debug_code'}
60 3 0 if ($attr eq "Promise_shared")
63 0 3 unless ($type =~ /^(array|hash|scalar)$/)
65 0 0 if warnings::enabled() or $DEBUG