Subroutine Coverage

blib/lib/Test/MockObject.pm
Criterion Covered Total %
subroutine 61 61 100.0
pod 26 26 100.0


line count pod subroutine
3 11 n/a BEGIN
4 11 n/a BEGIN
6 11 n/a BEGIN
10 20 n/a import
22 11 n/a BEGIN
29 19 Yes new
36 23 Yes mock
37 1 n/a __ANON__
48 2 Yes set_isa
55 7 Yes set_always
56 9 n/a __ANON__
61 5 Yes set_true
65 8 n/a __ANON__
73 3 Yes set_false
77 6 n/a __ANON__
85 1 Yes set_list
86 4 n/a __ANON__
91 2 Yes set_series
92 7 n/a __ANON__
97 3 Yes set_bound
101 2 n/a __ANON__
102 1 n/a __ANON__
103 1 n/a __ANON__
114 11 n/a BEGIN
120 11 n/a BEGIN
125 59 n/a __ANON__
135 11 n/a BEGIN
144 1 Yes remove
151 9 Yes called
163 2 Yes clear
170 5 Yes call_pos
175 2 Yes call_args
180 15 n/a _call
189 3 Yes call_args_string
195 4 Yes call_args_pos
203 6 Yes next_call
215 40 n/a AUTOLOAD
230 40 Yes dispatch_mocked_method
250 45 Yes log_call
265 2 Yes called_ok
272 3 Yes called_pos_ok
284 1 Yes called_args_string_is
291 1 Yes called_args_pos_is
298 8 Yes fake_module
309 11 n/a BEGIN
311 11 n/a BEGIN
324 11 n/a BEGIN
331 30 Yes check_class_loaded
355 1 Yes fake_new
356 1 n/a __ANON__
361 18 n/a DESTROY
370 351 n/a _get_key
379 76 n/a _calls
384 18 n/a _clear_calls
393 117 n/a _subs
398 18 n/a _clear_subs
407 31 n/a _set_log
424 45 n/a _logs
431 18 n/a _clear_logs
440 10 n/a _isas
445 18 n/a _clear_isas