Branch Coverage

blib/lib/Test/Smoke/App/Base.pm
Criterion Covered Total %
branch 38 38 100.0


line true false branch
100 44 60 if exists $args{$key}
235 817 1 if (exists $opts->{$option})
237 39 778 if $is_main
240 718 60 if $is_general
246 59 27 if $is_special
259 21 432 if $oo
262 394 38 if $oo
268 38 24 if $oo
304 80 551 if $opt->name =~ /^(?:help|show_config)$/
386 92 361 unless defined $value
393 1 452 unless $oo->allowed($self->final_options->{$opt})
395 1 25 if (@errors)
400 1 25 if ($self->final_options->{'show_config'})
432 22 4 unless $cf_name
434 3 1 unless (-f $cf_name)
436 2 3 if (-f "$cf_name$ext")
440 3 1 if (-f $cf_name) { }
449 1 2 unless $conf
452 1 2 if exists $self->from_configfile->{'v'}