blib/lib/App/Scaffolder/Template.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 35 | 45.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
26 | 0 | 0 | 16 | defined $path and ref $path eq 'ARRAY' |
43 | 0 | 0 | 1 | blessed $dir and $dir->isa('Path::Class::Dir') |
69 | 0 | 0 | 11 | defined $arg_ref and ref $arg_ref eq 'HASH' |
73 | 0 | 0 | 11 | blessed $target and $target->isa('Path::Class::Dir') |
77 | 0 | 0 | 11 | defined $variables and ref $variables eq 'HASH' |
96 | 10 | 2 | 2 | -e $output_file and not $$arg_ref{'overwrite'} |
116 | 0 | 0 | 14 | blessed $file and $file->isa('Path::Class::File') |
141 | 0 | 0 | 26 | blessed $path and $path->isa('Path::Class::File') |
line | l | !l | condition |
---|---|---|---|
119 | 13 | 1 | $variables ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
21 | 0 | 0 | 16 | not defined $name or $name eq '' |
145 | 0 | 0 | 26 | not defined $variables or ref $variables ne 'HASH' |
162 | 4 | 0 | 22 | scalar @parts > scalar 'File::Spec'->no_upwards(@parts) or scalar @parts < scalar @orig_parts |