Branch Coverage

lib/App/oo_modulino_zsh_completion_helper.pm
Criterion Covered Total %
branch 51 68 75.0


line true false branch
56 0 5 unless my($targetClass, $has_shbang) = $self->load_module_from_pm($opts->{'pmfile'})
59 2 3 if defined $optionPrefix
64 1 4 if (defined $optionPrefix and $optionPrefix ne "")
70 6 0 if (not $universal_argument) { }
71 5 1 $implClass eq '' || $implClass ne $self->IGNORE_OPTIONS_FROM ? :
79 4 16 if (ref(my MOP4Import::FieldSpec $spec = $_)) { }
81 1 3 if ($spec->{'doc'})
84 0 4 if ($spec->{'zsh_completer'})
107 0 6 unless my($targetClass, $has_shbang, $is_class) = $self->load_module_from_pm($opts->{'pmfile'})
120 1 5 if ($methodPrefix or ($universal_argument || 0) >= 16) { }
123 1 4 $is_class ? :
130 2 4 if ($methodPrefix or $universal_argument)
138 1 5 if ($methodPrefix)
143 0 15 $targetClass->can("cmd_$_") ? :
144 2 13 if (defined(my $doc = $insp->info_method_doc_of($targetClass, $method, 1))) { }
155 8 3 unless ($opts->{'words'} and $opts->{'CURRENT'})
168 0 7 if (%opts)
177 1 24 if ($is_class and $_ eq "new")
181 0 24 if ($seenDict->{$_}++)
184 0 24 if (/^onconfigure_/)
187 0 24 if ($self->cli_inspector->info_code_attribute("MetaOnly", $code))
190 3 21 if ($all) { }
3 18 elsif ($meth_only) { }
194 1 2 unless $self->cli_inspector->info_code_attribute("method", $code)
198 2 16 if "MOP4Import::Base::Configure"->can($_)
200 18 0 if ($no_getter)
213 0 11 unless my($modname, $libpath, $has_shbang, $is_class) = $self->find_package_from_pm($pmFile)
222 11 0 wantarray ? :
229 1 11 -l $pmFile ? :
256 12 0 if (my $libprefix = $self->test_modname_with_path($modname, \@dir))
258 12 0 wantarray ? :
271 0 14 if (pop @copy ne pop @modpath)
275 0 12 if (@modpath) { }
12 0 elsif (@copy) { }