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 34 n/a BEGIN
11 34 n/a BEGIN
14 34 n/a BEGIN
16 34 n/a BEGIN
18 34 n/a BEGIN
19 34 n/a BEGIN
22 34 n/a BEGIN
25 34 n/a BEGIN
28 34 n/a BEGIN
29 34 n/a BEGIN
30 34 n/a BEGIN
31 34 n/a BEGIN
32 34 n/a BEGIN
33 34 n/a BEGIN
35 34 n/a BEGIN
37 34 n/a BEGIN
39 34 n/a BEGIN
41 34 n/a BEGIN
59 34 n/a BEGIN
60 34 n/a BEGIN
62 34 n/a BEGIN
63 34 n/a BEGIN
64 34 n/a BEGIN
65 34 n/a BEGIN
66 34 n/a BEGIN
67 34 n/a BEGIN
68 34 n/a BEGIN
174 34 n/a BEGIN
175 34 n/a BEGIN
176 34 n/a BEGIN
177 34 n/a BEGIN
182 34 n/a BEGIN
190 49 n/a _upgrade_barewords
206 34 n/a BEGIN
235 68 Yes authorized_strict_mode_for_package
243 34 n/a BEGIN
262 32 Yes file_arg_position_for_command
287 34 n/a BEGIN
290 33 n/a _get_stack
364 11 Yes add_strict_rule
396 7 Yes clear_strict_rules
421 6 Yes add_strict_rule_for_filename
455 3 Yes add_strict_rule_for_command
486 2 Yes add_strict_rule_generic
498 84 Yes is_strict_mode
502 84 n/a _strict_mode_violation
552 31 n/a _validate_strict_rules
582 31 n/a import
633 70 Yes file
693 1 Yes file_from_disk
729 12 Yes symlink
755 227 n/a _validate_path
824 46 Yes dir
877 7 Yes new_dir
941 118 Yes new
1003 101 n/a _mock_stat
1049 128 n/a _is_path_mocked
1056 312 n/a _get_file_object
1067 625 n/a _find_file_or_fh
1105 633 n/a _fh_to_file
1123 132 n/a _files_in_dir
1133 741 n/a _abs_path_to_file
1184 118 n/a DESTROY
1217 270 Yes contents
1273 0 Yes filename
1285 214 Yes path
1298 9 Yes unlink
1339 6 Yes touch
1367 54 Yes stat
1387 118 n/a _unused_fileno
1400 27 Yes readlink
1422 1030 Yes is_link
1434 346 Yes is_dir
1446 281 Yes is_file
1458 113 Yes size
1478 141 Yes exists
1499 54 Yes blocks
1519 0 Yes chmod
1535 4 Yes permissions
1550 7 Yes mtime
1569 7 Yes ctime
1588 7 Yes atime
1622 0 Yes add_file_access_hook
1638 0 Yes clear_file_access_hooks
1646 84 n/a _real_file_access_hook
1721 57 n/a _goto_is_available
1732 10 n/a __glob
1750 59 n/a __open
1858 34 n/a BEGIN
1897 7 n/a __sysopen
1973 24 n/a __opendir
2006 34 n/a BEGIN
2022 28 n/a __readdir
2063 4 n/a __telldir
2090 1 n/a __rewinddir
2118 1 n/a __seekdir
2145 14 n/a __closedir
2163 11 n/a __unlink
2183 7 n/a __readlink
2212 28 n/a __mkdir
2250 14 n/a __rmdir
2297 13 n/a __chown
2374 6 n/a __chmod
2383 34 n/a BEGIN
2434 34 n/a BEGIN
2434 10 n/a __ANON__