Condition Coverage

lib/Spoon/Formatter.pm
Criterion Covered Total %
condition 13 24 54.1


and 3 conditions

line !l l&&!r l&&r condition
82 0 2 6 @$units == 1 and not ref $$units[0]
2 2 4 @$units == 1 and not ref $$units[0] and @{$self->contains_phrases;}
298 6 0 0 defined $class and $class->isa($package)

or 3 conditions

line l !l&&r !l&&!r condition
21 15 1 0 $$self{'table'} ||= $self->create_table
32 5 1 0 $$self{'wafl_table'} ||= $self->create_wafl_table
116 2 0 0 not defined $match or $unit->start_offset < $match->start_offset
166 4 0 0 not defined $match or $unit->start_offset < $match->start_offset
184 4 0 0 not defined $match or $-[0] < $match->start_offset