Subroutine Coverage

lib/Ubic.pm
Criterion Covered Total %
subroutine 46 60 76.6
pod 33 33 100.0


line count pod subroutine
3 23 n/a BEGIN
4 23 n/a BEGIN
9 23 n/a BEGIN
10 23 n/a BEGIN
11 23 n/a BEGIN
12 23 n/a BEGIN
13 23 n/a BEGIN
14 23 n/a BEGIN
15 23 n/a BEGIN
17 23 n/a BEGIN
18 23 n/a BEGIN
19 23 n/a BEGIN
20 23 n/a BEGIN
21 23 n/a BEGIN
22 23 n/a BEGIN
23 23 n/a BEGIN
24 23 n/a BEGIN
33 412 n/a _obj
46 9 Yes new
75 10 Yes start
86 4 Yes stop
101 0 Yes restart
114 0 Yes try_restart
127 0 Yes reload
145 0 Yes force_reload
160 2 Yes status
168 11 Yes enable
181 9 Yes is_enabled
197 6 Yes disable
210 1 Yes cached_status
226 2 Yes do_custom_command
235 2 n/a __ANON__
240 113 Yes service
252 0 Yes has_service
260 1 Yes services
265 0 Yes service_names
270 29 Yes root_service
278 0 Yes compl_services
310 7 Yes set_cached_status
331 0 Yes get_data_dir
337 51 Yes set_data_dir
340 510 n/a __ANON__
365 51 Yes set_default_user
371 0 Yes get_service_dir
377 51 Yes set_service_dir
386 53 Yes status_file
392 24 Yes status_obj
398 12 Yes status_obj_ro
404 76 Yes access_guard
412 52 Yes lock
423 18 Yes do_sub
425 18 n/a __ANON__
427 1 n/a __ANON__
433 16 Yes do_cmd
435 16 n/a __ANON__
456 0 Yes forked_call
465 0 n/a __ANON__
468 0 n/a __ANON__
472 0 n/a __ANON__
479 0 n/a __ANON__