Condition Coverage

lib/Graph/Easy/Parser.pm
Criterion Covered Total %
condition 93 141 65.9


and 3 conditions

line !l l&&!r l&&r condition
161 8 0 33 $target and $target eq 'parent'
193 41 0 0 $$self{'debug'} and $$self{'debug'} > 1
493 0 6 0 defined $13 and $13 eq '['
494 0 6 0 defined $13 and $13 eq '('
518 0 0 6 defined $13 and $13 eq ')'
559 61 379 0 (ref $self || $self) eq 'Graph::Easy::Parser' and $txt =~ m[^(\s*|\s*/\*.*?\*/\s*)(strict)?$o_cmt(di)?graph$o_cmt("[^"]*"|[\w_]+)$o_cmt\{]im || $txt =~ m[^(\s*|\s*/\*.*?\*/\s*)(strict)?${o_cmt}digraph$o_cmt\{]im || $txt =~ m[^(\s*|\s*/\*.*?\*/\s*)strict$o_cmt(di)?graph$o_cmt\{]im
581 102 325 13 (ref $self || $self) eq 'Graph::Easy::Parser' and $txt =~ m[^([\s\n\t]*|\s*/\*.*?\*/\s*)graph\s*:\s*\{]m
635 133 2196 3573 @lines > 0 and $handled == 0
650 3883 0 0 $$self{'debug'} and $$self{'debug'} > 2
651 3883 0 0 $$self{'debug'} and $$self{'debug'} > 2
664 18676 0 0 $$self{'debug'} and $$self{'debug'} > 3
669 2693 0 0 $$self{'debug'} and $$self{'debug'} > 2
676 2514 0 0 $$self{'debug'} and $$self{'debug'} > 2
678 2514 0 0 $$self{'debug'} and $$self{'debug'} > 2
691 2514 1357 12 $handled == 0 and @lines == 0
700 12 312 115 not $$self{'error'} and $$self{'scope_stack'}
324 115 0 not $$self{'error'} and $$self{'scope_stack'} and @{$$self{'scope_stack'};} > 0
702 427 12 0 $$self{'error'} and $$self{'fatal_errors'}
926 2 121 65 $add == 0 and $remaining eq ''
123 63 2 $add == 0 and $remaining eq '' and $sep =~ /\|\|?/
935 45 131 12 $allow_empty and $part eq ' '
1042 321 1507 50 ref $self eq 'Graph::Easy::Parser' and $name =~ /[^\\]\|/
1082 1898 2 0 exists $$att{'basename'} and not $autosplit
1277 844 4 28 $done == 0 and $qr_satt
848 0 28 $done == 0 and $qr_satt and $text =~ s/^$qr_satt//
1289 662 0 0 $$self{'debug'} and $$self{'debug'} > 1
1359 1010 66 0 $n->attribute('offset') ne '0,0' and $n->attribute('origin') eq ''

or 2 conditions

line l !l condition
179 41 0 $1 || ''
234 122 607 $2 || ''
332 16 20 $1 || ''
367 98 0 $1 || ''
368 98 0 $2 || ''
394 7 56 $2 || ''
438 69 711 $11 || ''
441 95 685 $13 || ''
489 0 6 $11 || ''
915 185 3 $1 || ' '
1274 844 32 $text =~ s/^$qr_att// || 0
1313 1 40 $multiples || 1

or 3 conditions

line l !l&&r !l&&!r condition
172 0 22 0 not $stack or @$stack <= 1
430 21 0 759 $2 || $4
432 699 0 81 defined $2 or defined $5
436 68 0 13 $3 || $5 || $1
481 0 0 6 $2 || $4
483 6 0 0 defined $2 or defined $5
487 0 0 0 $3 || $5 || $1
559 431 9 0 ref $self || $self
40 1 338 $txt =~ m[^(\s*|\s*/\*.*?\*/\s*)(strict)?$o_cmt(di)?graph$o_cmt("[^"]*"|[\w_]+)$o_cmt\{]im || $txt =~ m[^(\s*|\s*/\*.*?\*/\s*)(strict)?${o_cmt}digraph$o_cmt\{]im || $txt =~ m[^(\s*|\s*/\*.*?\*/\s*)strict$o_cmt(di)?graph$o_cmt\{]im
581 432 8 0 ref $self || $self
603 0 1 439 not defined $txt or $txt =~ /^\s*\z/
632 5769 133 427 @lines > 0 or $backbuffer ne ''