Subroutine Coverage

blib/lib/cPanel/TaskQueue.pm
Criterion Covered Total %
subroutine 66 70 94.2
pod 32 32 100.0


line count pod subroutine
37 34 n/a BEGIN
40 34 n/a BEGIN
41 34 n/a BEGIN
42 34 n/a BEGIN
49 34 n/a BEGIN
55 34 n/a BEGIN
70 24 n/a import
95 1 n/a _load_serializer_module
106 1 n/a _valid_serializer
114 30 n/a _get_serializer
115 18 n/a BEGIN
124 155 n/a _first
144 6 Yes get_name
145 3 Yes get_default_timeout
146 3 Yes get_max_timeout
147 3 Yes get_max_running
148 3 Yes get_default_child_timeout
152 1 Yes pause_processing
160 1 Yes resume_processing
166 3 Yes is_paused
172 67 Yes register_task_processor
196 5 Yes unregister_task_processor
212 33 Yes new
294 14 Yes throw
299 1 Yes warn
304 1 Yes info
311 181 n/a _serializer
316 1 n/a _state_file
323 9 Yes load_from_cache
352 15 n/a _clean_task_list
365 172 Yes save_to_cache
383 99 Yes queue_task
411 15 Yes unqueue_task
429 20 n/a _is_task_in_list
437 21 n/a __ANON__
440 17 Yes is_task_queued
441 3 Yes is_task_processing
442 0 Yes is_task_deferred
445 16 n/a _list_of_all_tasks
450 5 Yes find_task
454 14 n/a __ANON__
461 7 Yes find_command
465 24 n/a __ANON__
472 4 Yes find_commands
483 118 n/a _how_many
490 48 Yes how_many_queued
491 35 Yes how_many_deferred
492 35 Yes how_many_in_process
495 7 Yes has_work_to_do
508 14 Yes peek_next_task
518 33 Yes process_next_task
525 86 n/a __ANON__
576 22 n/a __ANON__
620 0 Yes finish_all_processing
631 0 n/a __ANON__
645 8 Yes snapshot_task_lists
661 396 n/a _get_task_processor
667 94 n/a _is_duplicate_command
670 144 n/a __ANON__
674 94 n/a _process_overrides
686 96 n/a _queue_the_task
723 22 n/a _timeout
734 73 n/a _clean_completed_tasks
755 36 n/a _remove_completed_tasks_from_list
762 22 n/a _add_task_to_deferral_object
771 2 n/a _remove_task_from_deferral_object
783 36 n/a _process_deferrals
819 33 n/a _handle_already_running_tasks
830 0 n/a __ANON__
842 35 n/a _is_valid_uuid