blib/lib/CGI/Application/Plugin/Authorization.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 26 | 92.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
258 | 2 | 33 | 1 | ref $$props{'DRIVER'} and &Scalar::Util::reftype($$props{'DRIVER'}) ne 'ARRAY' |
412 | 10 | 0 | 2 | ref $runmode_test and ref $runmode_test eq 'CODE' |
469 | 1 | 1 | 141 | defined $cgiapp and UNIVERSAL::isa($cgiapp, 'CGI::Application') |
line | l | !l | condition |
---|---|---|---|
158 | 3 | 139 | shift() || '__default__' |
371 | 16 | 18 | $$config{'AUTHZ_RUNMODES'} ||= [] |
467 | 142 | 1 | shift() || '' |
571 | 27 | 1 | _find_delegate_class('CGI::Application::Plugin::Authorization::Driver::' . $drivername, $drivername) || die('Driver ' . $drivername . ' can not be found') |
578 | 26 | 1 | $driver_class->new($self, @params) || die("Could not create new $driver_class object") |
771 | 13 | 32 | $__CONFIG{$name} || {} |
775 | 8 | 12 | $__CONFIG{$name} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
771 | 91 | 45 | 0 | $$self{'__CAP_AUTHORIZATION_CONFIG'} ||= $__CONFIG{$name} || {} |