Branch Coverage

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


line true false branch
149 0 4 if (my $e = load_class("${path}::$plugin")) { }
150 0 0 if ref $e
360 0 0 unless $id
378 0 1 if $cfg->{'PLUGIN'}{'list'}
383 1 6 unless ref $sec eq "HASH"
385 17 0 unless ref $sec->{$key} eq "HASH" and $sec->{$key}{'_text'}
388 2 4 if ($section =~ /^PLUGIN:\s*(.+)/u)
405 1 0 if (exists $cfg->{'FRONTEND-COLORS'})
430 0 0 unless defined $prototype
446 0 0 unless XXX
455 0 0 unless $self->promiseDeath($obj->checkAccess)
499 0 0 if (not $len =~ /^[0-9a-f]{16}$/u or hex $len > length($string) - 16)
514 0 0 if -f $dumpfile
526 0 0 if (-r $file)
564 0 0 if (/^\{DATABASE\}$/u)
571 0 0 if (/^\{DATABASEDUMP\}$/u)
582 0 0 if (/^\{PLUGINSTATE\.([^.]+)\}(.+)/u)
585 0 0 unless ($stateFileCache{$plugin})
589 0 0 unless ($obj)
595 0 0 if ($stateFileCache{$plugin}{$file}) { }
616 0 0 unless (-f $secretFile)
642 0 0 if -f $cfg->{'BACKEND'}{'cfg_db'}
650 0 0 unless -f $file
655 0 0 if defined $cfg->{'BACKEND'}{'log_file'} and -f $cfg->{'BACKEND'}{'log_file'}
656 0 0 if -f $self->secretFile
669 0 0 if $value->blessed
0 0 if (eval { do { $value->isa("Mojo::Promise") if $value->blessed } })
684 0 0 if $value->blessed
0 0 if (eval { do { $value->isa("Mojo::Promise") if $value->blessed } })