Branch Coverage

blib/lib/Metabase/Report.pm
Criterion Covered Total %
branch 25 34 73.5


line true false branch
30 1 4 unless $fact->creator
70 0 7 if $self->{'__closed'}
74 1 6 if (@args == 1 and $args[0]->isa('Metabase::Fact')) { }
85 2 5 if $self->creator
97 1 4 unless ($ok)
128 0 2 unless $self->{'__closed'}
132 0 2 if $@
138 0 3 if ref $string
145 0 5 unless my $fact = eval { do { $class->from_struct($struct) } }
160 0 12 unless ref $content eq 'ARRAY'
167 15 0 defined $1 ? :
168 2 13 defined $2 ? :
172 20 6 if ($content->[$i]->isa($k))
178 13 2 if ($exact) { }
179 4 9 if $found != $minimum
183 0 2 if $found < $minimum
190 0 8 if $unmatched