Branch Coverage

lib/CallBackery/Config.pm
Criterion Covered Total %
branch 8 58 13.7


line true false branch
154 0 4 if (my $e = load_class("${path}::$plugin")) { }
155 0 0 if ref $e
368 0 0 unless $id
386 0 1 if $cfg->{'PLUGIN'}{'list'}
391 1 6 unless ref $sec eq "HASH"
393 17 0 unless ref $sec->{$key} eq "HASH" and $sec->{$key}{'_text'}
396 2 4 if ($section =~ /^PLUGIN:\s*(.+)/u)
413 1 0 if (exists $cfg->{'FRONTEND-COLORS'})
438 0 0 unless defined $prototype
459 0 0 if $access
470 0 0 unless $self->promiseDeath($obj->checkAccess)
514 0 0 if (not $len =~ /^[0-9a-f]{16}$/u or hex $len > length($string) - 16)
529 0 0 if -f $dumpfile
541 0 0 if (-r $file)
579 0 0 if (/^\{DATABASE\}$/u)
586 0 0 if (/^\{DATABASEDUMP\}$/u)
597 0 0 if (/^\{PLUGINSTATE\.([^.]+)\}(.+)/u)
600 0 0 unless ($stateFileCache{$plugin})
604 0 0 unless ($obj)
610 0 0 if ($stateFileCache{$plugin}{$file}) { }
631 0 0 unless (-f $secretFile)
657 0 0 if -f $cfg->{'BACKEND'}{'cfg_db'}
665 0 0 unless -f $file
670 0 0 if defined $cfg->{'BACKEND'}{'log_file'} and -f $cfg->{'BACKEND'}{'log_file'}
671 0 0 if -f $self->secretFile
684 0 0 if builtin::blessed($value)
0 0 if (eval { do { $value->isa("Mojo::Promise") if builtin::blessed($value) } })
700 0 0 if builtin::blessed($value)
0 0 if (eval { do { $value->isa("Mojo::Promise") if builtin::blessed($value) } })