Branch Coverage

blib/lib/App/Framework/Feature/Options.pm
Criterion Covered Total %
branch 57 66 86.3


line true false branch
409 61 0 exists $options_href->{$option_name} ? :
431 12 194 if ($this->debug >= 2)
468 714 2247 if (exists $options{$fnm}) { }
480 2154 702 if ($option_aref->[$i])
497 1748 620 unless $in_list
515 234 1514 if defined $default_val
577 57 112 unless ($caller_pkg)
676 209 8 if (exists $option_fields_href->{$option_name})
698 4 12 unless defined $default
702 8 8 if ($opt_href)
749 3 0 if ($names_aref) { }
763 5 16 if (exists $vars{$option_name} and defined $vars{$option_name} and exists $option_fields_href->{$option_name})
799 6 0 if ($names_aref) { }
814 42 24 if (exists $vars{$option_name} and exists $option_fields_href->{$option_name})
823 6 0 if keys %set
847 85 353 if defined $options_href->{$opt}
878 85 353 if defined $options_href->{$opt}
923 1148 2968 if ($option_spec =~ s/^dev://i)
930 1084 3032 if ($option_spec =~ /[\'\"](\w+)[\'\"]/)
941 966 3150 if ($spec =~ s/\=(.*)$//)
948 1084 3032 if (@fields > 1)
954 1084 1092 if $fld eq $field
957 1092 0 if $spec
963 16 4100 if ($arg =~ /([\@\%])/i)
969 966 3150 if ($arg =~ /([siof])/i)
972 538 428 if ($arg_type eq 's') { }
420 8 elsif ($arg_type eq 'i') { }
8 0 elsif ($arg_type eq 'f') { }
0 0 elsif ($arg_type eq 'o') { }
974 8 530 if ($dest_type eq '%') { }
1030 88 363 if defined $options_href->{$opt}
1037 37 0 if ($app)
1059 88 363 if defined $options_href->{$opt}