Condition Coverage

blib/lib/TAP/DOM.pm
Criterion Covered Total %
condition 86 105 81.9


and 3 conditions

line !l l&&!r l&&r condition
220 2 16 3 defined $args{'tap'} and $args{'tap'} eq ""
16 1 1 defined $args{'source'} and -z $args{'source'}
334 764 18 28 $IGNORELINES and $result->raw =~ /$IGNORELINES/
14 12 2 $DONTIGNORELINES && $result->raw =~ /$DONTIGNORELINES/
782 2 26 $IGNORELINES and $result->raw =~ /$IGNORELINES/ and not $DONTIGNORELINES && $result->raw =~ /$DONTIGNORELINES/
335 761 21 2 $IGNOREUNKNOWN and $result->is_unknown
355 4 0 4 $result->$_ and not $IGNORE{$_}
373 68 0 0 $PUT_DANGLING_KV_DATA_UNDER_LAZY_PLAN and keys %dangling_kv_data
384 12 0 2 $result->$_ and not $IGNORE{$_}
400 49 0 7 $result->$_ and not $IGNORE{$_}
417 733 33 16 $result->has_todo && $result->is_actual_ok
427 752 0 30 $result->is_yaml and not $IGNORE{'data'}
429 427 282 73 $result->is_comment and $result->as_string =~ /$document_data_regex/
444 52 0 21 $DOC_DATA_IGNORE and $document_data_ignore
52 14 7 $DOC_DATA_IGNORE and $document_data_ignore and $key =~ /$document_data_ignore/
462 21 45 0 $lines[-1]->is_test and $DISABLE_GLOBAL_KV_DATA
492 397 1 354 $result->is_comment and @lines
503 72 3 2 not $count_tap_lines || $found_pragma_tapdom_error and $NOEMPTY_TAP

or 2 conditions

line l !l condition
162 257 0 $1 // ""
295 0 77 $args{'document_data_prefix'} || 'Test-'
474 29 291 $entry->{'has_skip'} or 0
15 305 $entry->{'is_actual_ok'} or 0
47 273 $entry->{'has_todo'} or 0
235 85 $entry->{'is_ok'} or 0
548 0 2 $error_entry->{'_children'} //= []
638 2 0 $entry->{'explanation'} || ''
8 0 $entry->{'explanation'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
450 45 9 12 $lines[-1]->is_test or $lines[-1]->is_plan
54 2 10 $lines[-1]->is_test or $lines[-1]->is_plan or $lines[-1]->is_pragma
466 253 67 462 $entry->{'is_test'} or $entry->{'is_plan'}
477 7 26 749 $entry->{'is_pragma'} or $entry->{'is_unknown'}
492 30 354 398 $result->is_yaml or $result->is_comment and @lines
503 67 5 5 $count_tap_lines || $found_pragma_tapdom_error
627 2 16 6 $entry->{'is_pragma'} or $entry->{'is_comment'}
16 0 6 $entry->{'is_pragma'} or $entry->{'is_comment'} or $entry->{'is_bailout'}
0 0 6 $entry->{'is_pragma'} or $entry->{'is_comment'} or $entry->{'is_bailout'} or $entry->{'is_yaml'}
638 16 0 0 $entry->{'number'} || ()
10 6 0 $entry->{'description'} || ()