Subroutine Coverage

blib/lib/Test/MockFile.pm
Criterion Covered Total %
subroutine 102 106 96.2
pod 34 34 100.0


line count pod subroutine
10 37 n/a BEGIN
11 37 n/a BEGIN
14 37 n/a BEGIN
16 37 n/a BEGIN
18 37 n/a BEGIN
19 37 n/a BEGIN
22 37 n/a BEGIN
25 37 n/a BEGIN
28 37 n/a BEGIN
29 37 n/a BEGIN
30 37 n/a BEGIN
31 37 n/a BEGIN
32 37 n/a BEGIN
33 37 n/a BEGIN
35 37 n/a BEGIN
37 37 n/a BEGIN
39 37 n/a BEGIN
41 37 n/a BEGIN
59 37 n/a BEGIN
60 37 n/a BEGIN
62 37 n/a BEGIN
63 37 n/a BEGIN
64 37 n/a BEGIN
65 37 n/a BEGIN
66 37 n/a BEGIN
67 37 n/a BEGIN
68 37 n/a BEGIN
174 37 n/a BEGIN
175 37 n/a BEGIN
176 37 n/a BEGIN
177 37 n/a BEGIN
182 37 n/a BEGIN
190 49 n/a _upgrade_barewords
206 37 n/a BEGIN
235 74 Yes authorized_strict_mode_for_package
243 37 n/a BEGIN
262 45 Yes file_arg_position_for_command
287 37 n/a BEGIN
290 46 n/a _get_stack
364 13 Yes add_strict_rule
396 7 Yes clear_strict_rules
421 6 Yes add_strict_rule_for_filename
455 5 Yes add_strict_rule_for_command
490 2 Yes add_strict_rule_generic
502 97 Yes is_strict_mode
506 97 n/a _strict_mode_violation
556 42 n/a _validate_strict_rules
586 34 n/a import
637 70 Yes file
697 1 Yes file_from_disk
733 12 Yes symlink
759 227 n/a _validate_path
828 46 Yes dir
881 7 Yes new_dir
945 118 Yes new
1007 111 n/a _mock_stat
1053 128 n/a _is_path_mocked
1060 325 n/a _get_file_object
1071 651 n/a _find_file_or_fh
1109 659 n/a _fh_to_file
1127 132 n/a _files_in_dir
1137 778 n/a _abs_path_to_file
1188 118 n/a DESTROY
1221 270 Yes contents
1277 0 Yes filename
1289 214 Yes path
1302 9 Yes unlink
1343 6 Yes touch
1371 54 Yes stat
1391 118 n/a _unused_fileno
1404 27 Yes readlink
1426 1030 Yes is_link
1438 346 Yes is_dir
1450 281 Yes is_file
1462 113 Yes size
1482 141 Yes exists
1503 54 Yes blocks
1523 0 Yes chmod
1539 4 Yes permissions
1554 7 Yes mtime
1573 7 Yes ctime
1592 7 Yes atime
1626 0 Yes add_file_access_hook
1642 0 Yes clear_file_access_hooks
1650 97 n/a _real_file_access_hook
1725 59 n/a _goto_is_available
1736 10 n/a __glob
1754 62 n/a __open
1862 37 n/a BEGIN
1901 7 n/a __sysopen
1977 24 n/a __opendir
2010 37 n/a BEGIN
2026 28 n/a __readdir
2067 4 n/a __telldir
2094 1 n/a __rewinddir
2122 1 n/a __seekdir
2149 14 n/a __closedir
2167 11 n/a __unlink
2187 7 n/a __readlink
2216 28 n/a __mkdir
2254 14 n/a __rmdir
2301 13 n/a __chown
2378 6 n/a __chmod
2387 37 n/a BEGIN
2438 37 n/a BEGIN
2438 10 n/a __ANON__