Branch Coverage

blib/lib/Brick.pm
Criterion Covered Total %
branch 9 28 32.1


line true false branch
82 0 0 if $@
169 0 3 unless (0 == $brick->profile_class->lint($profile || []))
184 0 2 if (eval { do { $method->isa(ref {}) } } or ref $method eq ref sub { } ) { }
2 0 elsif (my $code = eval { do { $bucket->$method($args) } }) { }
0 0 elsif ($@) { }
199 3 0 wantarray ? :
220 1 6 if (defined $args->{'external_packages'} and ref $args->{'external_packages'} eq ref []) { }
1 5 elsif (defined $args->{'external_packages'} and not $args->{'external_packages'} eq ref []) { }
293 0 1 unless eval { do { $profile->isa($brick->profile_class) } }
317 0 0 unless not ref $eval_error or ref $eval_error eq ref {}
320 0 0 if (defined $eval_error and ref $eval_error eq ref {}) { }
0 0 elsif (defined $eval_error) { }
324 0 0 unless exists $eval_error->{'handler'}
327 0 0 unless exists $eval_error->{'message'}