Branch Coverage

blib/lib/Mail/Log/Trace.pm
Criterion Covered Total %
branch 35 42 83.3


line true false branch
177 378 0 if $_ ne ''
237 108 308 if $private
245 23 393 if (defined $action) { }
254 5 0 if ($new_id ne '____INVALID__VALUE____') { }
278 0 416 if $private
300 0 144 if $private
316 86 3 if (defined $new_id) { }
333 163 13 if (not defined reftype($new_id)) { }
12 1 elsif (reftype $new_id eq 'ARRAY') { }
334 155 8 unless (grep {$_ eq $new_id;} @{$message_info{$$self}{$attribute};})
409 4 1 if ($new_id =~ /Mail::Log::Parse::/) { }
431 1 36 unless (defined $new_name)
437 34 2 if (-e $new_name) { }
438 34 0 if (-r $new_name) { }
580 66 0 if defined $all_setters{$$self}{$parameter}
728 332 3665 if exists $$argref{$parameter}
733 642 0 if defined $all_setters{$$self}{$parameter}
735 1 68 $$argref{'from_start'} ? :
738 3 66 if exists $$argref{'parser_class'}
742 30 38 if ($throw_error)
744 1 29 if (grep({defined $args{$_};} keys %args) == 1)