WP_Web_Fonts B

Total Complexity 94
Dependencies 1
Dependents 0
Total lines 684
Lines of code 332
Logical lines of code 182
Comment lines 266
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
validate_variation()
B
40 18 57
add_variation()
A
46 12 38
to_theme_json()
S
51 6 25
process_font_families_after_printing()
S
56 6 18
do_items()
S
52 5 26
prepare_handles_for_printing()
S
61 5 15
do_item()
S
57 4 18
add_font_family()
S
58 4 16
register_provider()
S
63 4 10
remove_variation()
S
61 3 14
get_font_properties_for_provider()
S
63 3 11
get_registered_font_families()
S
65 3 9
remove_font_family()
S
64 3 10
validate_handles()
S
67 2 8
is_variation_registered()
S
70 2 6
get_enqueued_fonts_for_provider()
S
65 2 10
get_provider_instance()
S
70 2 6
update_queues_for_printed_fonts()
S
72 2 6
set_as_done()
S
71 2 6
get_providers()
S
82 1 3
add_dependency()
S
80 1 3
get_registered()
S
80 1 3
get_enqueued()
S
82 1 3
remove_from_to_do_queues()
S
72 1 6
__construct()
S
71 1 5