Condition Coverage

blib/lib/Test2/Tools/EventDumper.pm
Criterion Covered Total %
condition 56 74 75.6


and 3 conditions

line !l l&&!r l&&r condition
64 1 0 12303 &blessed($event) and $event->isa('Test2::Event')
84 3 0 86041 $_ && &blessed($_) && $_->isa('Test2::Event')
146 0 135229 0 @rows and not @{$rows[0];}
149 130616 2305 2308 @rows == 1 and $settings->{'shorten_single_field'}
2305 0 2308 @rows == 1 and $settings->{'shorten_single_field'} and not $rows[0][3]
210 61442 55345 6148 $settings->{'clean_fail_messages'} and $val =~ /^\n?Failed test/
273 12288 12297 239819 exists $event->{$_} and defined $event->{$_}
294 242707 0 242884 $settings->{'call_when_can'} and $event->can($field)
303 242707 181395 61489 $settings->{'convert_trace'} and $field eq 'trace'
424102 0 61489 $settings->{'convert_trace'} and $field eq 'trace' and &blessed($val)
181395 0 61489 $settings->{'convert_trace'} and $field eq 'trace' and &blessed($val) and $val->isa('Test2::Util::Trace') || $val->isa('Test2::EventFacet::Trace')
318 67584 0 36885 &blessed($_) && $_->isa('Test2::Event')
61445 67584 12298 $ref eq 'ARRAY' and not grep({not &blessed($_) && $_->isa('Test2::Event');} @$val)

or 2 conditions

line l !l condition
270 135229 0 $settings->{'exclude_fields'} || {}
283 533246 18436 0 $av <=> $bv || $a cmp $b

or 3 conditions

line l !l&&r !l&&!r condition
138 67589 33797 33843 $settings->{'qualify_functions'} || $settings->{'paren_functions'}
182 12290 6146 6160 $settings->{'qualify_functions'} || $settings->{'paren_functions'}
241 5 184383 0 $QUOTE_MATCH{$s1} || $s1
245 5 0 184383 $QUOTE_MATCH{$s1} || $use_qq
256 67590 1 67641 $settings->{'use_full_event_type'} or not $type =~ /^Test2::Event::(.+)$/
271 43008 122959 528622 $seen{$_}++ || $exclude->{$_}
280 431843 43028 0 $settings->{'field_order'}{$a} || $settings->{'other_sort_order'}
281 391915 73739 0 $settings->{'field_order'}{$b} || $settings->{'other_sort_order'}
303 0 61489 0 $val->isa('Test2::Util::Trace') || $val->isa('Test2::EventFacet::Trace')
320 61445 67584 0 &blessed($val) || $ref