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 86 Yes new
69 341 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 39 Yes override
278 5 Yes set
284 182 Yes current
291 17 Yes orig
310 2 Yes track
317 1 Yes clear_call_tracking
320 2 Yes clear_sub_tracking
335 147 n/a _parse_inject
386 12 n/a __ANON__
393 111 n/a _inject
425 5 n/a __ANON__
432 156 n/a BEGIN
433 156 n/a BEGIN
441 129 n/a _set_or_unset
450 156 n/a BEGIN
451 156 n/a BEGIN
456 4 Yes restore
477 129 Yes reset
497 58 Yes reset_all
508 7 n/a _purge
514 80 n/a DESTROY