Condition Coverage

blib/lib/Mail/Header/Generator.pm
Criterion Covered Total %
condition 12 17 70.5


and 3 conditions

line !l l&&!r l&&r condition
289 0 0 1 $data{'protocol'} =~ /e?smtp/i and $data{'sender'}

or 2 conditions

line l !l condition
102 15 0 $args ||= {}
176 2 1 $data{'hostname'} ||= 'localhost'
262 1 3 $data{'protocol'} ||= ''
386 2 2 $args ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
175 2 1 0 $data{'timestamp'} ||= time
263 2 2 0 $data{'timestamp'} ||= time