Branch Coverage

blib/lib/Tapper/Config.pm
Criterion Covered Total %
branch 18 26 69.2


line true false branch
44 0 2 -e $global_config_file && !$ENV{'HARNESS_ACTIVE'} ? :
0 2 -e $user_config_file && !$ENV{'HARNESS_ACTIVE'} ? :
16 2 exists $ENV{'TAPPER_CONFIG_FILE'} ? :
50 16 2 if ($new_config_file)
52 0 16 if $@
61 13 13 $ENV{'TAPPER_DEVELOPMENT'} ? :
4 26 $ENV{'HARNESS_ACTIVE'} ? :
70 15 0 if @_ and $_[0] and $_[0] eq 'Tapper::Config'
74 0 18 unless $env =~ /^test|live|development$/
89 18 0 unless ($$Config{'files'}{'log4perl_cfg'} =~ m[^/])
95 12 6 if ($dbms and _getenv() ne 'test')
96 12 0 if ($dbms =~ /^mysql|postgresql$/) { }
99 36 0 if defined $val