blib/lib/Tapper/Config.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 22 | 68.1 |
line | true | false | branch |
---|---|---|---|
32 | 10 | 0 | $ENV{'HOME'} ? : |
37 | 8 | 22 | if (-e $filename) |
40 | 0 | 8 | if $@ |
53 | 5 | 5 | $ENV{'TAPPER_DEVELOPMENT'} ? : |
4 | 10 | $ENV{'HARNESS_ACTIVE'} ? : | |
61 | 7 | 0 | if @_ and $_[0] and $_[0] eq 'Tapper::Config' |
65 | 0 | 10 | unless $env =~ /^test|live|development$/ |
81 | 10 | 0 | unless ($Config->{'files'}{'log4perl_cfg'} =~ m[^/]) |
87 | 4 | 6 | if ($dbms and _getenv() ne 'test') |
88 | 4 | 0 | if ($dbms =~ /^mysql|postgresql$/) { } |
90 | 4 | 0 | if defined $val |