Condition Coverage

blib/lib/TAP/DOM.pm
Criterion Covered Total %
condition 57 72 79.1


and 3 conditions

line !l l&&!r l&&r condition
201 1 13 3 defined $args{'tap'} and $args{'tap'} eq ""
13 0 1 defined $args{'source'} and -z $args{'source'}
267 605 18 28 $IGNORELINES and $result->raw =~ /$IGNORELINES/
14 12 2 $DONTIGNORELINES && $result->raw =~ /$DONTIGNORELINES/
623 2 26 $IGNORELINES and $result->raw =~ /$IGNORELINES/ and not $DONTIGNORELINES && $result->raw =~ /$DONTIGNORELINES/
301 58 0 0 $PUT_DANGLING_KV_DATA_UNDER_LAZY_PLAN and keys %dangling_kv_data
339 598 14 13 $result->has_todo && $result->is_actual_ok
346 597 0 28 $result->is_yaml and not $IGNORE{'data'}
348 315 241 69 $result->is_comment and $result->as_string =~ /$document_data_regex/
363 48 0 21 $DOC_DATA_IGNORE and $document_data_ignore
48 14 7 $DOC_DATA_IGNORE and $document_data_ignore and $key =~ /$document_data_ignore/
381 21 41 0 $lines[-1]->is_test and $DISABLE_GLOBAL_KV_DATA
401 287 1 309 $result->is_comment and @lines

or 2 conditions

line l !l condition
235 0 64 $args{'document_data_prefix'} || 'Test-'
495 2 0 $entry->{'explanation'} || ''
8 0 $entry->{'explanation'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
369 41 9 12 $lines[-1]->is_test or $lines[-1]->is_plan
50 2 10 $lines[-1]->is_test or $lines[-1]->is_plan or $lines[-1]->is_pragma
385 165 57 403 $entry->{'is_test'} or $entry->{'is_plan'}
401 28 309 288 $result->is_yaml or $result->is_comment and @lines
484 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'}
495 16 0 0 $entry->{'number'} || ()
10 6 0 $entry->{'description'} || ()