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
548 31 n/a _validate_strict_rules
578 31 n/a import
629 70 Yes file
689 1 Yes file_from_disk
725 12 Yes symlink
751 227 n/a _validate_path
820 46 Yes dir
873 7 Yes new_dir
937 118 Yes new
999 101 n/a _mock_stat
1045 128 n/a _is_path_mocked
1052 312 n/a _get_file_object
1063 625 n/a _find_file_or_fh
1101 633 n/a _fh_to_file
1119 132 n/a _files_in_dir
1129 741 n/a _abs_path_to_file
1180 118 n/a DESTROY
1213 270 Yes contents
1269 0 Yes filename
1281 214 Yes path
1294 9 Yes unlink
1335 6 Yes touch
1363 54 Yes stat
1383 118 n/a _unused_fileno
1396 27 Yes readlink
1418 1030 Yes is_link
1430 346 Yes is_dir
1442 281 Yes is_file
1454 113 Yes size
1474 141 Yes exists
1495 54 Yes blocks
1515 0 Yes chmod
1531 4 Yes permissions
1546 7 Yes mtime
1565 7 Yes ctime
1584 7 Yes atime
1618 0 Yes add_file_access_hook
1634 0 Yes clear_file_access_hooks
1642 84 n/a _real_file_access_hook
1717 57 n/a _goto_is_available
1728 10 n/a __glob
1746 59 n/a __open
1854 34 n/a BEGIN
1893 7 n/a __sysopen
1969 24 n/a __opendir
2002 34 n/a BEGIN
2018 28 n/a __readdir
2059 4 n/a __telldir
2086 1 n/a __rewinddir
2114 1 n/a __seekdir
2141 14 n/a __closedir
2159 11 n/a __unlink
2179 7 n/a __readlink
2208 28 n/a __mkdir
2246 14 n/a __rmdir
2293 13 n/a __chown
2370 6 n/a __chmod
2379 34 n/a BEGIN
2430 34 n/a BEGIN
2430 10 n/a __ANON__