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 720 2242 if (exists $options{$fnm}) { }
480 2174 706 if ($$option_aref[$i])
497 1744 626 unless $in_list
515 234 1510 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 20 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 1146 2968 if ($option_spec =~ s/^dev://i)
930 1082 3032 if ($option_spec =~ /[\'\"](\w+)[\'\"]/)
941 972 3142 if ($spec =~ s/\=(.*)$//)
948 1082 3032 if (@fields > 1)
954 1082 1090 if $fld eq $field
957 1090 0 if $spec
963 16 4098 if ($arg =~ /([\@\%])/i)
969 972 3142 if ($arg =~ /([siof])/i)
972 544 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 536 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}