Condition Coverage

blib/lib/Test/CallFlow.pm
Criterion Covered Total %
condition 52 118 44.0


and 3 conditions

line !l l&&!r l&&r condition
415 0 5 0 not exists $self{'debug'} and exists $ENV{'DEBUG'}
514 4 2 0 $$self{'state'} != $Test::CallFlow::state{'execute'} and $$self{'state'} != $Test::CallFlow::state{'failed'}
792 0 0 2 @_ and $_[0] =~ /^\d+$/
793 0 0 2 @_ and $_[0] =~ /^\d+$/
817 0 14 0 exists $$self{'packages'}{$package_name} and exists $$self{'packages'}{$package_name}{'save'} ? $$self{'packages'}{$package_name}{'save'} : $$self{'save'}
885 0 100 100 --$depth and $text =~ s/#{($embeddable_keys)}/$embeddable{$1}/g
918 0 11 0 $$self{'packages'}{$package} and $$self{'packages'}{$package}{'subs'}{$sub}

or 2 conditions

line l !l condition
414 0 5 $self{'packages'} ||= {}
450 0 0 $$self{'state'} or 0
458 0 1 $Test::CallFlow::running || 0
459 1 0 $Test::CallFlow::planning || 0
491 6 8 $Test::CallFlow::planning || 0
510 0 6 $Test::CallFlow::planning || 0
511 6 0 $Test::CallFlow::running || 0
512 1 5 $Test::CallFlow::recording || 0
563 4 0 $$package{'subs'} || {}
564 1 3 $$package{'original_subs'} || {}
584 3 1 $Test::CallFlow::running || 0
585 0 4 $Test::CallFlow::recording || 0
720 1 0 $$self{'state'} or 0
49 0 $$self{'state'} or 0
770 0 3 $checker{'min'} ||= 1
771 3 0 $checker{'min'} || 1
772 4 0 ref $checker{'test'} || 'equals'
851 21 0 $$self{'packages'}{$package_name}{'subs'} || {}
922 0 12 $$self{'debug'} || ''
929 0 7 $$self{'debug'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
446 1 0 0 $Test::CallFlow::recording || $Test::CallFlow::planning || instance()
450 1 0 0 $$self{'state'} == $Test::CallFlow::state{'plan'} or $$self{'state'} == $Test::CallFlow::state{'record'}
476 6 8 0 $Test::CallFlow::planning || instance()
508 6 0 0 $Test::CallFlow::running || instance()
553 0 1 0 $Test::CallFlow::running || $Test::CallFlow::planning || $Test::CallFlow::recording || instance()
599 0 8 0 shift() || instance()
617 6 1 0 $Test::CallFlow::planning || instance()
632 0 1 0 $$self{'packages'}{$name}{'original_subs'}{$sub_name} ||= $sub
655 0 4 0 $Test::CallFlow::planning || instance()
689 0 0 0 $Test::CallFlow::planning || instance()
715 0 0 0 $Test::CallFlow::planning || $Test::CallFlow::running || instance()
738 0 0 0 $Test::CallFlow::recording || $Test::CallFlow::planning || $Test::CallFlow::running || instance()
771 1 3 0 $checker{'max'} ||= $checker{'min'} || 1
811 0 0 0 $Test::CallFlow::planning || instance()
853 21 37 0 $$subs{$_} || $$self{'sub_template'}
858 21 0 0 $$self{'package_template'} || $$self{'sub_template'}
879 0 0 0 $Test::CallFlow::planning || instance()
898 6 8 0 $Test::CallFlow::planning || instance()
929 5 7 0 $$self{'plan'} ||= 'Test::CallFlow::Plan'->new(($$self{'debug'} || '') =~ /\bPlan\b/ ? ('debug', $$self{'debug'}) : ())