Condition Coverage

blib/lib/Text/Livedoor/Wiki/Plugin/Block/Toggle.pm
Criterion Covered Total %
condition 21 25 84.0


and 3 conditions

line !l l&&!r l&&r condition
27 203 20 22 my($mark) = $line =~ /^\[(\+|-)\]/ and not $processing
223 0 22 my($mark) = $line =~ /^\[(\+|-)\]/ and not $processing and not $on_next
20 0 22 my($mark) = $line =~ /^\[(\+|-)\]/ and not $processing and not $on_next and not $class->get_child($id)
70 31 122 not $on_next and $class->trigger_check($id, $line)
101 109 13 not $on_next and $class->trigger_check($id, $line) and $line =~ /^\[END\]$/
140 0 13 not $on_next and $class->trigger_check($id, $line) and $line =~ /^\[END\]$/ and $processing
140 68 2 $on_next and not $processing

or 2 conditions

line l !l condition
75 2 13 $$Text::Livedoor::Wiki::opts{'skip_catalog'} || 0
120 0 7 $$Text::Livedoor::Wiki::opts{'skip_catalog'} || 0