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   774 use v5.12.5;
  53         279  
8 53     53   336 use warnings;
  53         144  
  53         2764  
9              
10             our $VERSION = '1.14.3'; # VERSION
11              
12 53     53   452 use Fcntl;
  53         170  
  53         22075  
13              
14 53     53   523 use Rex::Helper::Run;
  53         227  
  53         15923  
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 318 shift;
53 139         2370 Fcntl::S_IMODE(@_);
54             }
55              
56             1;