Subroutine Coverage

blib/lib/Test2/Mock.pm
Criterion Covered Total %
subroutine 46 46 100.0
pod 22 22 100.0


line count pod subroutine
2 156 n/a BEGIN
3 156 n/a BEGIN
7 156 n/a BEGIN
10 156 n/a BEGIN
11 156 n/a BEGIN
12 156 n/a BEGIN
13 156 n/a BEGIN
16 156 n/a BEGIN
19 78 Yes new
69 317 n/a _check
74 12 Yes purge_on_destroy
80 21 Yes stash
85 20 Yes file
91 9 Yes block_load
106 1 n/a __ANON__
132 6 Yes override_constructor
143 9 Yes add_constructor
154 13 Yes autoload
222 2 Yes before
226 1 n/a __ANON__
230 1 Yes after
235 3 n/a __ANON__
258 1 Yes around
262 1 n/a __ANON__
266 63 Yes add
272 31 Yes override
278 5 Yes set
284 174 Yes current
291 17 Yes orig
310 2 Yes track
317 1 Yes clear_call_tracking
320 2 Yes clear_sub_tracking
335 139 n/a _parse_inject
386 12 n/a __ANON__
393 103 n/a _inject
425 5 n/a __ANON__
432 156 n/a BEGIN
433 156 n/a BEGIN
441 121 n/a _set_or_unset
450 156 n/a BEGIN
451 156 n/a BEGIN
456 4 Yes restore
477 121 Yes reset
497 50 Yes reset_all
508 7 n/a _purge
514 72 n/a DESTROY