Total Complexity | 34 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 263 |
Lines of code | 162 |
Logical lines of code | 85 |
Comment lines | 55 |
Methods | 14 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_single_term_with_color() | 43 | 10 | 46 | |
save_term_meta_color() | 59 | 5 | 14 | |
get_term_color() | 62 | 3 | 11 | |
manage_term_custom_column() | 64 | 3 | 10 | |
__construct() | 59 | 2 | 13 | |
get_term_color_taxonomies() | 62 | 2 | 12 | |
sanitize_hex() | 74 | 2 | 4 | |
taxonomy_add_edit_meta_field_color() | 63 | 1 | 12 | |
term_meta_color() | 79 | 1 | 3 | |
taxonomy_add_new_meta_field_color() | 68 | 1 | 9 | |
admin_enqueue_scripts() | 73 | 1 | 5 | |
term_colors_print_styles() | 100 | 1 | 9 | |
term_colors_print_scripts() | 100 | 1 | 10 | |
edit_term_columns() | 75 | 1 | 4 |