blib/lib/Commandable/Finder/Packages.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 20 | 60.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
212 | 3 | 15 | 1 | defined $name_method and not $pkg->can($name_method) |
line | l | !l | condition |
---|---|---|---|
163 | 0 | 9 | delete $args{'name_method'} // "COMMAND_NAME" |
164 | 0 | 9 | delete $args{'description_method'} // "COMMAND_DESC" |
165 | 0 | 9 | delete $args{'arguments_method'} // "COMMAND_ARGS" |
166 | 0 | 9 | delete $args{'options_method'} // "COMMAND_OPTS" |
167 | 0 | 9 | delete $args{'code_method'} // "run" |
199 | 0 | 9 | $self->{'cache_packages'} //= [$self->{'mp'}->plugins] |
220 | 17 | 0 | $pkg->can($self->{'methods'}{'desc'}) || (next) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
209 | 25 | 9 | 0 | $self->{'cache_commands'} //= do { |