blib/lib/Acme/Magpie/l33t.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 11 | 12 | 91.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Acme::Magpie::l33t; | ||||||
2 | 1 | 1 | 909 | use strict; | |||
1 | 2 | ||||||
1 | 51 | ||||||
3 | require Acme::Magpie; | ||||||
4 | 1 | 1 | 5 | use base qw(Acme::Magpie); | |||
1 | 2 | ||||||
1 | 617 | ||||||
5 | |||||||
6 | sub shiny { | ||||||
7 | 28 | 28 | 0 | 120 | local ($_) = $_[1] =~ /.*::(.*)/; | ||
8 | 28 | 165 | return tr/[0-9]// > tr/[a-z][A-Z]//;; | ||||
9 | } | ||||||
10 | 1; | ||||||
11 | __END__ |