Condition Coverage

blib/lib/TAP/DOM.pm
Criterion Covered Total %
condition 68 83 81.9


and 3 conditions

line !l l&&!r l&&r condition
201 2 16 3 defined $args{'tap'} and $args{'tap'} eq ""
16 1 1 defined $args{'source'} and -z $args{'source'}
269 621 18 28 $IGNORELINES and $result->raw =~ /$IGNORELINES/
14 12 2 $DONTIGNORELINES && $result->raw =~ /$DONTIGNORELINES/
639 2 26 $IGNORELINES and $result->raw =~ /$IGNORELINES/ and not $DONTIGNORELINES && $result->raw =~ /$DONTIGNORELINES/
303 60 0 0 $PUT_DANGLING_KV_DATA_UNDER_LAZY_PLAN and keys %dangling_kv_data
341 614 14 13 $result->has_todo && $result->is_actual_ok
348 613 0 28 $result->is_yaml and not $IGNORE{'data'}
350 327 241 73 $result->is_comment and $result->as_string =~ /$document_data_regex/
365 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/
383 21 45 0 $lines[-1]->is_test and $DISABLE_GLOBAL_KV_DATA
413 299 1 313 $result->is_comment and @lines
424 64 3 2 not $count_tap_lines || $found_pragma_tapdom_error and $NOEMPTY_TAP

or 2 conditions

line l !l condition
235 0 69 $args{'document_data_prefix'} || 'Test-'
465 0 2 $error_entry->{'_children'} //= []
554 2 0 $entry->{'explanation'} || ''
8 0 $entry->{'explanation'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
371 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
387 170 59 412 $entry->{'is_test'} or $entry->{'is_plan'}
398 7 24 610 $entry->{'is_pragma'} or $entry->{'is_unknown'}
413 28 313 300 $result->is_yaml or $result->is_comment and @lines
424 59 5 5 $count_tap_lines || $found_pragma_tapdom_error
543 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'}
554 16 0 0 $entry->{'number'} || ()
10 6 0 $entry->{'description'} || ()