blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/lc.pm

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