File Coverage

blib/lib/App/UpdateCPANfile/CPANfileSnapshotParser.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 17 18 94.4


line stmt bran cond sub pod time code
1             package App::UpdateCPANfile::CPANfileSnapshotParser;
2 2     2   190331 use strict;
  2         8  
  2         55  
3 2     2   10 use warnings;
  2         4  
  2         53  
4 2     2   784 use Carton::Snapshot;
  2         331434  
  2         175  
5              
6             sub scan_deps {
7 16     16 0 5050 my ($class, $path) = @_;
8              
9 16         124 my $snapshot = Carton::Snapshot->new(path => $path);
10 16         1585 $snapshot->load;
11 16         182136 [ $snapshot->distributions ];
12             }
13              
14             1;