| blib/lib/Perl/Critic/Policy/Lax/RequireEndWithTrueConst.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 20 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 36 | 0 | 12 | if $doc->is_program |
| 41 | 0 | 12 | unless $match |
| 43 | 6 | 6 | if $self->_is_true_enough($match) |
| 52 | 6 | 6 | if ($element->isa("PPI::Statement::Break")) |
| 54 | 0 | 6 | unless $head eq "return" |
| 55 | 6 | 0 | if $tail[-1]->isa("PPI::Token::Structure") and $tail[-1] eq ";" |
| 60 | 6 | 6 | if ($element->isa("PPI::Statement") and $element->schildren < 3) |
| 66 | 0 | 2 | unless @list_elements |
| 70 | 5 | 7 | if ($element->isa("PPI::Token::Number")) |
| 74 | 3 | 4 | if ($element->isa("PPI::Token::Quote")) |