Condition Coverage

lib/Python/Decorator.pm
Criterion Covered Total %
condition 3 18 16.6


and 3 conditions

line !l l&&!r l&&r condition
79 0 0 1 ref $_[1] ne '' and $_[1]->parent == $_[0]
109 0 0 0 ref $prev eq 'PPI::Token::Comment' and $prev->content =~ /\#DECORATOR:/
156 0 0 0 ref $_[1] ne '' and $_[1]->parent == $_[0]

or 3 conditions

line l !l&&r !l&&!r condition
24 0 1 0 ref $class || $class
74 1 0 0 'PPI::Document'->new(\$_) || croak('failed to parse source with PPI:' . PPI::Document::errstr())
100 0 0 0 not defined $subname or $subname eq ''