Branch Coverage

blib/lib/Archer.pm
Criterion Covered Total %
branch 24 42 57.1


line true false branch
24 7 0 unless ($$opts{'write_config'})
29 1 6 if ($$self{'log_level'}) { }
43 0 6 if ($$self{'shell'}) { }
0 6 elsif ($$self{'write_config'}) { }
50 0 0 if $$self{'role'} and $$self{'role'} ne $role
71 0 0 if $@
93 0 24 if ($$self{'skips'}{$$plugin{'name'}})
98 3 21 if ($hook =~ /^(?:process|ready)$/ and $$self{'only'}) { }
99 2 1 if ($$self{'only'} ne $$plugin{'name'})
104 0 21 if ($$plugin{'skip_default'} and not $$self{'withs'}{$$plugin{'name'}})
110 0 44 if (my $data = $$plugin{$filter})
111 0 0 ref $data eq 'ARRAY' ? :
112 0 0 unless (grep {$_ eq $$args{$filter};} @datas)
121 20 2 $$plugin{'module'} =~ /^\+(.+)$/ ? :
123 0 22 unless $class->use
125 16 6 if ($$args{'server'}) { }
146 0 5 unless $parallel->use
152 1 6 if $$self{'role'} and $$self{'role'} ne $role
181 0 98 unless $self->should_log($level)
186 98 0 unless ($caller)
189 98 18 unless $c =~ /Plugin|Rule/