Branch Coverage

blib/lib/App/af.pm
Criterion Covered Total %
branch 23 34 67.6


line true false branch
30 0 0 $subcommand eq 'default' ? :
43 33 138 unless $attr->does('App::af::opt')
46 70 68 if $attr->short
47 82 56 if $attr->opt_type
48 6 132 if ($attr->is_array) { }
60 0 0 $subcommand eq 'default' ? :
0 33 unless &GetOptionsFromArray(\@args, @options)
74 1 2 defined $ARGV[0] && !($ARGV[0] =~ /^-/u) ? :
133 4 19 if ($self->class) { }
135 2 2 $self->class =~ /::/u ? :
139 4 0 if ($class->can('runtime_prop') and $class->runtime_prop) { }
144 0 4 if -d $patch
158 0 23 unless (-r $alienfile)
164 23 0 if (my $patch = $alienfile->parent->child('patch'))
166 0 23 if (-d $patch)
175 7 16 wantarray ? :
198 0 10 if (not $self->phase =~ /^(configure|any|all|share|system)$/u)