blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/uc.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | 2 | 2 | 100.0 |
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 2 | 2 | 100.0 |
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package CGI::Application::Plugin::Authentication::Driver::Filter::uc; | ||||||
2 | $CGI::Application::Plugin::Authentication::Driver::Filter::uc::VERSION = '0.21'; | ||||||
3 | 1 | 1 | 55526 | use strict; | |||
1 | 3 | ||||||
1 | 37 | ||||||
4 | 1 | 1 | 6 | use warnings; | |||
1 | 2 | ||||||
1 | 94 | ||||||
5 | |||||||
6 | sub check { | ||||||
7 | 2 | 100 | 2 | 1 | 13 | return ( uc $_[2] eq $_[3] ) ? 1 : 0; | |
8 | } | ||||||
9 | |||||||
10 | sub filter { | ||||||
11 | 1 | 1 | 1 | 116 | return uc $_[2]; | ||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 | __END__ |