Authentication/Driver/Filter/uc.pm

filter: Statementstmt 100% 10 / 10 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 2 / 2 totaltotal 100% 18 / 18 CC 2 SCAR 3.4
CC
2
Cov
100%
check
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« Authentication/Driver/Filter/lc.pm ↑ Summary Authentication/Driver/Filter/strip.pm »
1 package CGI::Application::Plugin::Authentication::Driver::Filter::uc;
2 1 $CGI::Application::Plugin::Authentication::Driver::Filter::uc::VERSION = '0.25';
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶sub check {
Subroutine check: called CC=2 SCAR=6.9
Pod documented
7 2 ▶ return ( uc $_[2] eq $_[3] ) ? 1 : 0;
Branch: 1 branch
BranchTrueFalseTotal
uc $_[2] eq $_[3] ? : 1 1 2
8 }
9  
10 1 ▶sub filter {
Subroutine filter: called CC=1 SCAR=0.0
Pod documented
11 1 return uc $_[2];
12 }
13  
14 1 1;
15 __END__
« Authentication/Driver/Filter/lc.pm ↑ Summary Authentication/Driver/Filter/strip.pm »