File Coverage

lib/Rex/Helper/File/Stat/Unix.pm
Criterion Covered Total %
statement 13 27 48.1
branch n/a
condition n/a
subroutine 5 12 41.6
pod 0 8 0.0
total 18 47 38.3


line stmt bran cond sub pod time code
1             #
2             # (c) Jan Gehring
3             #
4              
5             package Rex::Helper::File::Stat::Unix;
6              
7 53     53   881 use v5.12.5;
  53         314  
8 53     53   454 use warnings;
  53         223  
  53         2953  
9              
10             our $VERSION = '1.14.2.3'; # TRIAL VERSION
11              
12 53     53   536 use Fcntl;
  53         214  
  53         22707  
13              
14 53     53   529 use Rex::Helper::Run;
  53         233  
  53         16747  
15              
16             sub S_ISDIR {
17 0     0 0 0 shift;
18 0         0 Fcntl::S_ISDIR(@_);
19             }
20              
21             sub S_ISREG {
22 0     0 0 0 shift;
23 0         0 Fcntl::S_ISREG(@_);
24             }
25              
26             sub S_ISLNK {
27 0     0 0 0 shift;
28 0         0 Fcntl::S_ISLNK(@_);
29             }
30              
31             sub S_ISBLK {
32 0     0 0 0 shift;
33 0         0 Fcntl::S_ISBLK(@_);
34             }
35              
36             sub S_ISCHR {
37 0     0 0 0 shift;
38 0         0 Fcntl::S_ISCHR(@_);
39             }
40              
41             sub S_ISFIFO {
42 0     0 0 0 shift;
43 0         0 Fcntl::S_ISFIFO(@_);
44             }
45              
46             sub S_ISSOCK {
47 0     0 0 0 shift;
48 0         0 Fcntl::S_ISSOCK(@_);
49             }
50              
51             sub S_IMODE {
52 139     139 0 417 shift;
53 139         2678 Fcntl::S_IMODE(@_);
54             }
55              
56             1;