Branch Coverage

lib/UR/Namespace/Command/RunsOnModulesInTree.pm
Criterion Covered Total %
branch 5 50 10.0


line true false branch
29 0 0 if $class eq 'UR::Namespace::Command::RunsOnModulesInTree'
58 0 1 unless ($namespace)
64 1 0 if ($self->can('for_each_class_object') ne 'UR::Namespace::Command::RunsOnModulesInTree'->can('for_each_class_object')) { }
0 0 elsif ($self->can('for_each_class_name') ne 'UR::Namespace::Command::RunsOnModulesInTree'->can('for_each_class_name')) { }
0 0 elsif ($self->can('for_each_module_file') ne 'UR::Namespace::Command::RunsOnModulesInTree'->can('for_each_module_file')) { }
0 0 elsif ($self->can('for_each_module_file_in_parallel') ne 'UR::Namespace::Command::RunsOnModulesInTree'->can('for_each_module_file_in_parallel')) { }
68 0 1 unless ($self->before(\@classes))
73 0 1 unless ($self->for_each_class_object($class))
81 0 0 unless ($self->before(\@class_names))
86 0 0 unless ($self->for_each_class_name($class))
94 0 0 unless ($self->before(\@modules))
99 0 0 unless ($self->for_each_module_file($module))
107 0 0 unless ($self->before(\@modules))
120 0 0 unless $module
127 0 0 if ($child_pid) { }
134 0 0 unless ($self->for_each_module_file_in_parallel($module))
145 0 0 if ($child_pid == -1)
155 0 1 unless ($self->after)
195 0 0 if ($self->can($method) ne 'UR::Namespace::Command::RunsOnModulesInTree'->can($method))
207 0 0 if grep {/class/;} @loop_methods
208 0 0 if grep {/modul/;} @loop_methods
211 0 0 if ($takes_classes and $takes_modules) { }
0 0 elsif ($takes_classes) { }
0 0 elsif ($takes_modules) { }
226 0 0 if ($self->is_sub_command_delegator)