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 266 55 if ($opts{'fix_arg'})
31 5 261 if $opts{'fix_arg'} eq "collect"
36 55 266 if ($opts{'fix_opt'})
37 14 41 if $opts{'fix_opt'} eq "collect"
52 0 660 unless @$fix_args or @$fix_opts
57 15 940 unless @_
59 13 927 if ($arg->{'collect'})
70 59 260 if ($arg->{'collect'}) { }
1 259 elsif (exists $$orig_args{"-$key"}) { }
77 182 elsif (exists $orig_args->{$key}) { }