blib/lib/Data/Sah/Compiler/perl.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 44 | 71 | 61.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
168 | 7653 | 0 | 0 | $cd->{'args'}{'whitelist_modules'} and grep {$_ eq $name;} @{$$cd{"args"}{"whitelist_modules"};} |
202 | 17 | 0 | 0 | $import_terms && @$import_terms |
209 | 17 | 17 | 5 | $mod->{'use_statement'} and $mod->{'use_statement'} eq $use_statement |
225 | 0 | 0 | 5020 | $import_terms && @$import_terms |
232 | 0 | 0 | 330 | $mod->{'use_statement'} and $mod->{'use_statement'} eq $use_statement |
line | l | !l | condition |
---|---|---|---|
26 | 0 | 9949 | $opts //= {} |
28 | 0 | 9949 | $opts->{'indent_blank_lines'} // 1 |
81 | 330 | 4730 | $args{'dump_module'} //= "Data::Dumper" |
83 | 0 | 4690 | ($PP // $ENV{'DATA_SAH_PP'}) // 0 |
84 | 0 | 4690 | ($CORE // $ENV{'DATA_SAH_CORE'}) // 0 |
85 | 0 | 4690 | ($CORE_OR_PP // $ENV{'DATA_SAH_CORE_OR_PP'}) // 0 |
86 | 0 | 4690 | ($NO_MODULES // $ENV{'DATA_SAH_NO_MODULES'}) // 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
29 | 0 | 9949 | 0 | $opts->{'first_line_indent'} // $indent |
30 | 0 | 9949 | 0 | $opts->{'subsequent_lines_indent'} // $indent |
34 | 221410 | 0 | 0 | $ibl || $1 |
83 | 40 | 0 | 4690 | $PP // $ENV{'DATA_SAH_PP'} |
330 | 40 | 4690 | $args{'pp'} //= ($PP // $ENV{'DATA_SAH_PP'}) // 0 | |
84 | 40 | 0 | 4690 | $CORE // $ENV{'DATA_SAH_CORE'} |
330 | 40 | 4690 | $args{'core'} //= ($CORE // $ENV{'DATA_SAH_CORE'}) // 0 | |
85 | 40 | 0 | 4690 | $CORE_OR_PP // $ENV{'DATA_SAH_CORE_OR_PP'} |
330 | 40 | 4690 | $args{'core_or_pp'} //= ($CORE_OR_PP // $ENV{'DATA_SAH_CORE_OR_PP'}) // 0 | |
86 | 40 | 0 | 4690 | $NO_MODULES // $ENV{'DATA_SAH_NO_MODULES'} |
330 | 40 | 4690 | $args{'no_modules'} //= ($NO_MODULES // $ENV{'DATA_SAH_NO_MODULES'}) // 0 | |
189 | 80 | 0 | 0 | $known_modules{$name}{'pp'} || $known_modules{$name}{'core'} |
248 | 40 | 40 | 1688 | $cd->{'args'}{'pp'} or $cd->{'args'}{'core_or_pp'} |
40 | 0 | 1688 | $cd->{'args'}{'pp'} or $cd->{'args'}{'core_or_pp'} or not eval { |