File Coverage

blib/lib/Filesys/POSIX/VFS/Inode.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 11 12 91.6


line stmt bran cond sub pod time code
1             # Copyright (c) 2014, cPanel, Inc.
2             # All rights reserved.
3             # http://cpanel.net/
4             #
5             # This is free software; you can redistribute it and/or modify it under the same
6             # terms as Perl itself. See the LICENSE file for further details.
7              
8             package Filesys::POSIX::VFS::Inode;
9              
10 25     25   80 use strict;
  25         24  
  25         531  
11 25     25   73 use warnings;
  25         24  
  25         1357  
12              
13             sub new {
14 50     50 0 69 my ( $class, $mountpoint, $root ) = @_;
15              
16 50         390 return bless { %$root, 'parent' => $mountpoint->{'parent'} }, ref $root;
17             }
18              
19             1;