Branch Coverage

blib/lib/Test/Synopsis/Expectation.pm
Criterion Covered Total %
branch 30 36 83.3


line true false branch
26 0 1 if ref $ignorings ne 'ARRAY'
42 8 1 if ref $files ne 'ARRAY'
72 0 12 if ($@) { }
89 19 5 if ($method eq 'is') { }
1 4 elsif ($method eq 'isa') { }
1 3 elsif ($method eq 'like') { }
1 2 elsif ($method eq 'is_deeply') { }
2 0 elsif ($method eq 'success') { }
112 1 255 if $$_{'content'} eq '...'
1 43 if (grep {$_->isa('PPI::Token::Operator') if $$_{'content'} eq '...';} @$tokens)
123 4 250 if $$_{'content'} eq '{'
4 39 if grep {$_->isa('PPI::Token::Structure') if $$_{'content'} eq '{';} @$tokens
124 4 250 if $$_{'content'} eq '}'
4 39 if grep {$_->isa('PPI::Token::Structure') if $$_{'content'} eq '}';} @$tokens
128 24 19 if (my($comment) = grep({$_->isa('PPI::Token::Comment');} @$tokens))
133 0 24 unless $expectation
137 7 17 if ($expectation =~ s/^(?:(is|isa|is_deeply|like)\s|(success))//)
159 0 0 unless (-f $manifest)