WC_REST_System_Status_V2_Controller B

Total Complexity 100
Dependencies 5
Dependents 0
Total lines 1,270
Lines of code 988
Logical lines of code 206
Comment lines 189
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
get_item_schema()
C
19
1 471
get_environment_info_per_fields()
C
33 23 87
get_theme_info()
B
37 16 71
get_pages()
A
38 10 74
get_database_info()
A
39 7 70
get_settings()
S
48 5 31
get_inactive_plugins()
S
54 5 20
check_if_field_item_exists()
S
58 5 14
format_plugin_data()
S
53 4 23
get_active_plugins()
S
56 4 17
get_security_info()
S
65 5 7
get_dropins_mu_plugins()
S
53 3 25
register_routes()
S
60 1 15
get_post_type_counts()
S
71 2 5
get_items_permissions_check()
S
69 2 6
get_item_mappings_per_fields()
S
59 1 14
get_item_mappings()
S
60 1 14
add_db_table_prefix()
S
76 1 4
get_environment_info()
S
80 1 3
get_items()
S
70 1 6
get_collection_params()
S
73 1 5
prepare_item_for_response()
S
69 1 6