Branch Coverage

blib/lib/Fukurama/Class.pm
Criterion Covered Total %
branch 30 44 68.1


line true false branch
47 0 0 unless defined $check_level
50 0 0 unless defined $level
52 0 0 if ($level > $ONLY_CHECK_COMPILETIME)
59 0 0 if ($level <= $ONLY_CHECK_COMPILETIME)
64 0 0 if ($level <= $DISABLE_ALL)
81 1 24 if @options % 2
86 1 23 if (scalar @options != scalar(keys %$options) * 2)
92 1 21 unless $def
108 2 19 if $option eq 'implements' and ref $value ne 'ARRAY'
113 5 16 if $option eq 'extends' and $value eq ''
115 1 20 $value_failure ? :
116 16 5 if ($$check{'is_class'})
119 1 20 if ref $evaluated_value eq 'ARRAY'
120 0 21 if (ref $evaluated_value eq 'HASH')
125 3 18 unless ($ok)
126 0 3 unless defined $evaluated_value
138 10 8 if ($option eq 'extends') { }
2 6 elsif ($option eq 'version') { }
4 2 elsif ($option eq 'implements') { }
2 0 elsif ($option eq 'abstract') { }
145 2 2 ref $value eq 'ARRAY' ? :
150 2 0 if $value