Condition Coverage

blib/lib/ScriptX.pm
Criterion Covered Total %
condition 1 28 3.5


and 3 conditions

line !l l&&!r l&&r condition
103 0 0 0 $is_success and not $run_all_handlers
123 0 0 0 not $is_success and $stop_after_first_handler_failure
127 0 0 0 $is_success and $args{'on_success'}
0 0 0 not $is_success and $args{'on_failure'}
223 0 0 0 @_ && ref $_[0] eq 'HASH'
293 0 0 0 @_ and $_[0] =~ /\A-/

or 2 conditions

line l !l condition
28 0 0 $Handlers{$name} ||= []
31 0 0 $Handlers{$before_name} ||= []
34 0 0 $Handlers{$after_name} ||= []
185 0 0 $Handlers{$event} ||= []
231 0 6 $what ||= 'import'