Branch Coverage

blib/lib/Bio/Metabolic/Substrate.pm
Criterion Covered Total %
branch 18 26 69.2


line true false branch
90 2 21 if ref $pkg
95 4 19 @_ ? :
117 0 1 unless ref $orig
132 0 329 if @_
145 0 127 if @_
213 109 0 unless keys %$attributes
217 0 0 unless $str =~ /\{$/
240 0 6 if @sub1_keys != @sub2_keys
242 2 4 unless @sub2_keys
246 2 2 if not defined $$sub2{$k} or $$sub2{$k} ne $$sub1{$k}
273 1 1 keys %$substrate ? :
284 5 0 ref $s1 ? :
286 4 1 ref $s2 ? :