File Coverage

blib/lib/Text/Decorator/Filter/Test.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 1 1 100.0
total 11 11 100.0


line stmt bran cond sub pod time code
1             package Text::Decorator::Filter::Test;
2              
3 1     1   6 use base 'Text::Decorator::Filter';
  1         2  
  1         1219  
4              
5 1     1   6 use strict;
  1         3  
  1         74  
6              
7             =head2 filter_text
8              
9             This is a simple filter that will only really be used in tests.
10              
11             =cut
12              
13             sub filter_text {
14 1     1 1 10 s/\S/x/g;
15             }
16              
17             1;