Branch Coverage

blib/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator/ScriptHelpers.pm
Criterion Covered Total %
branch 7 12 58.3


line true false branch
42 0 6 unless $opts and ref $opts and ref $opts eq 'HASH'
46 0 6 unless $opts->{'naming'}
50 0 6 if $opts->{'naming'} eq 'current' or ref $opts->{'naming'} eq 'HASH' and &first(sub { $_ eq 'current'; } , values %{$$opts{'naming'};})
53 0 6 if not exists $opts->{'debug'} and $ENV{'DBICDH_TRACE'}
74 1 0 if (/Can't find source for (.+?) at/)
76 1 1 (distance($_, $1))[0] < 3 ? :