Condition Coverage

blib/lib/CGI/Application/Plugin/Output/XSV.pm
Criterion Covered Total %
condition 29 30 96.6


and 3 conditions

line !l l&&!r l&&r condition
67 11 1 35 $opts{'values'} and ref $opts{'values'} eq 'ARRAY'
3 1 8 $opts{'iterator'} and ref $opts{'iterator'} eq 'CODE'
71 8 34 1 $opts{'values'} and $opts{'iterator'}
109 6 3 24 $opts{'values'} and @{$opts{'values'};}
137 1 1 20 $opts{'headers_cb'} && ref $opts{'headers_cb'} eq 'CODE'
247 1 1 88 $fields and ref $fields eq 'ARRAY'

or 2 conditions

line l !l condition
31 47 1 shift() || {}
203 8 1 $args ||= {}
251 87 1 $line_ending ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
67 35 0 12 $opts{'values'} and ref $opts{'values'} eq 'ARRAY' or $opts{'iterator'} and ref $opts{'iterator'} eq 'CODE'
146 9 19 1 $opts{'headers'} || $opts{'headers_cb'}($fields)