Branch Coverage

blib/lib/WebAPI/DBIC/Resource/Role/DBICException.pm
Criterion Covered Total %
branch 0 16 0.0


line true false branch
29 0 0 unless $exception
33 0 0 if (blessed $exception and $exception->can('as_psgi'))
48 0 0 if ($exception =~ /DBD::.*? \s+ failed:.*? \s+ column:? \s+ "?(.*?)"? \s+ (.*)/x) { }
0 0 elsif ($exception =~ /The \s '(\w+)' \s parameter \s \(.*?\) \s to \s (\S+) \s did \s not \s pass/x) { }
64 0 0 unless $error_data
0 0 if $ENV{'WEBAPI_DBIC_DEBUG'}
67 0 0 if ($error_data) { }
73 0 0 if $ENV{'PLACK_ENV'} ne 'production'