File Coverage

blib/lib/Net/FTPTurboSync/FileNode.pm
Criterion Covered Total %
statement 6 8 75.0
branch n/a
condition 0 3 0.0
subroutine 2 3 66.6
pod 0 1 0.0
total 8 15 53.3


line stmt bran cond sub pod time code
1             package Net::FTPTurboSync::FileNode;
2              
3 1     1   5 use Net::FTPTurboSync::FileObject;
  1         2  
  1         19  
4              
5 1     1   4 use base qw(Net::FTPTurboSync::FileObject);
  1         1  
  1         104  
6             # parent of folder classes
7             sub equal {
8             # one of these is remote
9 0     0 0   my ($remotef, $localf) = Net::FTPTurboSync::FileObject->sortByLocation(@_);
10 0   0       return !($remotef->isNew()
11             or $remotef->getPerms() != $localf->getPerms());
12             }
13            
14             1;