Branch Coverage

blib/lib/Test2/Plugin/SpecDeclare.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
19 0 1 if ($arg =~ /^-(.+)$/)
26 4 1 if (delete $params{'spec'} or not @_)
28 84 0 if not $seen{$_}++
33 0 5 if keys %params
36 0 5 unless @keywords
69 1 62 if ($start eq '(') { }
1 61 elsif ($start eq '"' or $start eq q[']) { }
61 0 elsif ($name_len = Devel::Declare::toke_scan_word($offset, 1)) { }
94 14 48 if ($start eq '(')
101 0 14 if $meta =~ /\n/
111 7 55 unless $start eq '{'
116 14 41 if ($meta)