Subroutine Coverage

lib/Wireguard/WGmeta/Wrapper/Config.pm
Criterion Covered Total %
subroutine 40 43 93.0
pod 22 25 88.0


line count pod subroutine
42 5 n/a BEGIN
44 5 n/a BEGIN
45 5 n/a BEGIN
46 5 n/a BEGIN
47 5 n/a BEGIN
48 5 n/a BEGIN
49 5 n/a BEGIN
50 5 n/a BEGIN
51 5 n/a BEGIN
55 5 n/a BEGIN
56 5 n/a BEGIN
108 10 Yes new
131 10 n/a _read_configs_from_folder2
207 42 Yes set
285 40 Yes attr_value_is_valid
291 8 n/a _update_alias_map
325 3 Yes disable
334 7 Yes enable
339 10 n/a _toggle
365 60 Yes is_valid_interface
375 2 Yes is_valid_alias
402 52 Yes is_valid_identifier
430 63 Yes try_translate_alias
458 10 Yes get_all_conf_files
496 7 Yes commit
536 4 Yes get_interface_list
563 3 Yes get_interface_section
593 5 Yes get_section_list
602 0 No get_wg_meta_prefix
606 0 No get_disabled_prefix
647 1 Yes add_interface
708 5 Yes add_peer
764 2 Yes remove_peer
818 3 Yes remove_interface
850 3 Yes get_peer_count
896 149 Yes may_reload_from_disk
955 4 No create_config
963 40 n/a _has_changed
967 49 n/a _set_changed
971 17 n/a _reset_changed
1007 1 Yes register_on_reload_listener
1040 0 Yes remove_on_reload_listener
1050 29 n/a _call_reload_listeners