Branch Coverage

blib/lib/Crypt/HSXKPasswd/Helper.pm
Criterion Covered Total %
branch 24 58 41.3


line true false branch
71 0 332 $_DEBUG ? :
145 0 11564 unless ($host_class)
150 0 11564 unless (&ClassName()->check($test_class))
154 0 0 if ($calling_sub) { }
181 0 407 unless (defined $test_self and &blessed($test_self) and $test_self->isa($required_package))
227 0 3488 unless $package
230 3040 448 if ($package =~ /^$BASE_PACKAGE/sux) { }
284 0 448 unless (defined $severity and ref $severity eq '' and length $severity > 1)
287 0 448 unless (defined $message and ref $message eq '')
289 0 0 if ($_LOG_ERRORS)
291 0 0 if ($_CAN_STACK_TRACE)
298 0 448 if (defined $stack_increment) { }
299 0 0 unless (ref $stack_increment eq '' and $stack_increment =~ /^\d+$/sux)
310 0 448 unless ($calling_func =~ /^${_CLASS}[:]{2}((_debug)|(_warn)|(_error))$/sux)
318 448 0 if (@caller)
326 64 0 if (@next_caller) { }
332 0 448 if ($true_caller eq '')
338 64 384 if ($eval_depth > 0) { }
339 64 0 if ($eval_depth == 1) { }
348 446 2 if ($severity eq 'DEBUG') { }
0 2 elsif ($severity eq 'WARNING') { }
2 0 elsif ($severity eq 'ERROR') { }
350 0 446 if $_DEBUG
353 0 0 if ($_LOG_ERRORS)
359 0 2 if ($_LOG_ERRORS)
361 0 0 if ($_DEBUG and $_CAN_STACK_TRACE)
367 0 2 if ($_DEBUG) { }
374 0 0 if ($_LOG_ERRORS)
376 0 0 if ($_CAN_STACK_TRACE)