| blib/lib/App/Greple/md.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 25 | 40.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 448 | 0 | 30 | 0 | defined $hm and $hm eq "" |
| 513 | 375 | 2 | 17 | exists $show{$label} and not $show{$label} |
| 531 | 704 | 0 | 0 | exists $cm->{'HASH'}{$label} and $cm->{'HASH'}{$label} ne "" |
| line | l | !l | condition |
|---|---|---|---|
| 416 | 0 | 0 | shift() // "light" |
| 461 | 19 | 10 | $config->{'mode'} || 'light' |
| 497 | 0 | 0 | $colors{$label} // "" |
| 555 | 758 | 0 | $protected[$1] // die("restore failed: index $1") |
| 836 | 41 | 0 | "Command::Run"->new->command(\&App::ansicolumn::ansicolumn, @args)->with("stdin", $text, $config->{'nofork'} ? ("nofork", 1, "raw", 1) : ())->update->data // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 473 | 29 | 0 | 0 | $base_color{$mode} || $base_color{'light'} |
| 756 | 0 | 0 | 0 | $hm eq 1 or $hm =~ /^all$/iu |