Branch Coverage

blib/lib/Catmandu/Fix/Has.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
22 20 55 unless exists $opts{'fix_arg'} or exists $opts{'fix_opt'}
29 268 55 if ($opts{'fix_arg'})
31 5 263 if $opts{'fix_arg'} eq "collect"
36 55 268 if ($opts{'fix_opt'})
37 14 41 if $opts{'fix_opt'} eq "collect"
52 0 661 unless @$fix_args or @$fix_opts
57 15 942 unless @_
59 13 929 if ($arg->{'collect'})
70 59 260 if ($arg->{'collect'}) { }
1 259 elsif (exists $$orig_args{"-$key"}) { }
77 182 elsif (exists $orig_args->{$key}) { }