Condition Coverage

blib/lib/DBIx/SQLCrosstab/Format.pm
Criterion Covered Total %
condition 24 44 54.5


and 3 conditions

line !l l&&!r l&&r condition
37 0 26 684 $$self{'commify'} and $numeric
80 84 0 40 $node->descendants and $$self{'col_sub_total'}
331 0 16 2 $$rec[0] and $$rec[0] =~ /\bzz+\b/
338 342 0 36 defined $$self{'recs_formats'}{$_} and defined $$self{'recs_formats'}{$_}{$$rec[$_]}
351 0 26 342 defined $$rec[$_] and $$rec[$_] =~ /^[0-9.]+$/
576 0 0 5 $$self{'recs'} and $$self{'NAME'}
642 0 0 0 $$self{'recs'} and $$self{'NAME'}
661 0 0 0 $$self{'recs'} and $$self{'NAME'}

or 2 conditions

line l !l condition
92 124 4 scalar $node->ancestors || 0
383 2 0 $$self{'title'} || 'Crosstab'
532 0 0 shift() || 'straight'
575 5 0 shift() || 'lol'

or 3 conditions

line l !l&&r !l&&!r condition
33 430 342 0 $$self{'add_colors'} or $$self{'commify'}
36 668 42 62 $what eq 'data' or $what eq 'footer'
331 2 0 16 $$rec[0] and $$rec[0] =~ /\bzz+\b/ or $$rec[0] eq 'total'
513 0 180 342 $_[0]{'_label'} or $n->descendants