WPAS_Product_Sync D

Total Complexity 137
Dependencies 2
Dependents 3
Total lines 1,059
Lines of code 511
Logical lines of code 310
Comment lines 326
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
map_args()
D
34 35 86
get_terms()
B
34 22 88
run_initial_sync()
A
44 8 45
create_term_object()
A
45 8 41
is_synced_term()
A
50 8 28
is_tax_screen()
S
54 6 20
sync_term()
S
55 6 19
get_the_terms()
S
56 6 18
__construct()
S
52 5 22
get_term()
S
52 4 25
unsync_term()
S
60 4 13
get_synced_term_by_slug()
S
56 2 19
notice_locked_tax()
S
65 3 8
lock_taxonomy()
S
67 3 6
is_multiple_products()
S
67 3 7
is_insert_protected()
S
71 2 6
set_post_type()
S
74 2 5
insert_term()
S
64 2 10
is_product_tax()
S
79 2 3
add_resync_tool()
S
64 1 11
add_delete_tool()
S
64 1 11
add_delete_unused_terms_tool()
S
64 1 11
unprotect_insert()
S
80 1 3
protect_insert()
S
78 1 3
get_valid_post_statuses()
S
78 1 3