Branch Coverage

blib/lib/Class/MakeMethods/Composite.pm
Criterion Covered Total %
branch 31 42 73.8


line true false branch
98 7 1 if (not scalar @_) { }
1 0 elsif (scalar @_ == 1) { }
101 0 4 ref $$Class::MakeMethods::Composite::Method{'result'} eq 'ARRAY' ? :
3 4 !$$Class::MakeMethods::Composite::Method{'result'} ? :
121 0 12 unless my $fragment = $$fragments{$value}
134 60 56 if ($rule =~ s/\A\+//) { }
0 56 elsif ($rule =~ s/\+\Z//) { }
56 0 elsif ($rule =~ /\A\w+\Z/) { }
149 52 0 if (my $subs = $$method{'init_rules'})
164 9 103 if (my $subs = $$Class::MakeMethods::Composite::Method{'pre_rules'})
170 0 110 unless my $subs = $$Class::MakeMethods::Composite::Method{'do_rules'}
172 24 86 if (not defined $$Class::MakeMethods::Composite::Method{'wantarray'}) { }
83 3 elsif (not $$Class::MakeMethods::Composite::Method{'wantarray'}) { }
174 0 24 if $$Class::MakeMethods::Composite::Method{'result'}
179 0 83 if $$Class::MakeMethods::Composite::Method{'result'}
181 73 10 if (defined $value)
187 0 3 if $$Class::MakeMethods::Composite::Method{'result'}
189 3 0 if (scalar @value)
195 5 105 if (my $subs = $$Class::MakeMethods::Composite::Method{'post_rules'})
203 3 73 ref $$Class::MakeMethods::Composite::Method{'result'} eq 'ARRAY' ? :
34 76 !$$Class::MakeMethods::Composite::Method{'result'} ? :