Clerk_Realtime_Updates D

Total Complexity 234
Dependencies 6
Dependents 0
Total lines 1,039
Lines of code 748
Logical lines of code 512
Comment lines 158
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
add_product()
D
8
98 335
save_product()
C
37 23 77
save_blog_post()
B
41 17 49
pre_save_post()
A
50 13 27
query_custom_fields()
A
45 12 41
resolve_attribute_product()
A
54 8 20
clerk_get_contextual_options()
A
56 8 17
format_attribute()
S
57 8 15
pre_delete_post()
S
54 7 21
remove_product()
S
54 7 21
resolve_unit_measure()
S
53 7 21
trim_whitespace_in_attribute()
S
53 6 22
pre_save_product()
S
61 5 12
get_additional_fields_raw()
S
58 4 16
flatten_attribute()
S
60 3 13
get_additional_fields()
S
62 3 11
includes()
S
67 2 8
init_hooks()
S
65 1 8
clerk_friendly_attributes()
S
66 1 8
__construct()
S
71 1 6