File Coverage

blib/lib/Email/FolderType/Ezmlm.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition 2 3 66.6
subroutine 3 3 100.0
pod 0 1 0.0
total 13 15 86.6


line stmt bran cond sub pod time code
1 7     7   13379 use strict;
  7         17  
  7         1320  
2 7     7   649 use warnings;
  7         14  
  7         812  
3             package Email::FolderType::Ezmlm;
4             {
5             $Email::FolderType::Ezmlm::VERSION = '0.814';
6             }
7             # ABSTRACT: class to help Email::FolderType recognise ezmlm archives
8              
9             sub match {
10 12     12 0 25 my $folder = shift;
11 12   66     233 return ($folder =~ m{//$} || -d "$folder/archive");
12             }
13              
14             1;
15              
16             __END__