File Coverage

blib/lib/Directory/Iterator/XS.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 18 18 100.0


line stmt bran cond sub pod time code
1             package Directory::Iterator::XS;
2              
3 1     1   37396 use 5.006002;
  1         3  
  1         36  
4 1     1   6 use strict;
  1         2  
  1         30  
5 1     1   6 use warnings;
  1         7  
  1         72  
6              
7              
8             our $VERSION = '1.001002';
9              
10 1     1   1879 use overload '<>' => sub{$_[0]->next};
  1     5   1133  
  1         9  
  5         8139  
11              
12             require XSLoader;
13             XSLoader::load('Directory::Iterator::XS', $VERSION);
14              
15             # Preloaded methods go here.
16              
17             1;
18             __END__