| blib/lib/Perl/Critic/Policy/Compatibility/Gtk2Constants.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 22 | 90.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 100 | 1 | 1 | 4 | $class_elem and $class_elem->isa('PPI::Token::Word') |
| 117 | 6 | 2 | 14 | defined $got_version and ref $got_version |
| 123 | 6 | 2 | 5 | defined $got_version && ref $got_version |
| line | l | !l | condition |
|---|---|---|---|
| 76 | 32 | 41 | $constants{$elem_basename} || (return) |
| 145 | 2 | 4 | $document->find('PPI::Statement::Include') || (return) |
| 147 | 2 | 0 | $_->module || '' |
| 168 | 16 | 6 | $document->find('PPI::Statement::Include') || (return) |
| 170 | 16 | 0 | $_->module || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 80 | 10 | 14 | 8 | $elem->isa('PPI::Token::Symbol') or is_function_call($elem) |