WPCOM_JSON_API_Sharing_Button_Endpoint A

Total Complexity 54
Dependencies 4
Dependents 0
Total lines 226
Lines of code 118
Logical lines of code 67
Comment lines 77
Methods 8
Properties 2

Methods 8

Method Rating Maintainability Complexity Lines of code
update_button()
B
43 17 43
setup()
S
60 7 11
format_sharing_button()
S
52 6 24
is_button_input_for_custom()
S
69 7 5
validate_button_input()
S
62 7 9
create_custom_button()
S
59 6 12
get_button_visibility()
S
63 3 11
is_button_enabled()
S
79 1 3