Branch Coverage

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


line true false branch
176 378 0 if $_ ne ''
236 108 308 if $private
244 23 393 if (defined $action) { }
253 5 0 if ($new_id ne '____INVALID__VALUE____') { }
277 0 416 if $private
298 0 36 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}
669 332 3665 if exists $argref->{$parameter}
674 642 0 if defined $all_setters{$$self}{$parameter}
676 1 68 $argref->{'from_start'} ? :
679 3 66 if exists $argref->{'parser_class'}
683 30 38 if ($throw_error)
685 1 29 if (grep({defined $args{$_};} keys %args) == 1)