WPCode_Snippet D

Total Complexity 133
Dependencies 2
Dependents 18
Total lines 894
Lines of code 403
Logical lines of code 221
Comment lines 381
Methods 39
Properties 29

Methods 39

Method Rating Maintainability Complexity Lines of code
save()
D
30 37 114
run_activation_checks()
S
54 6 22
get_cloud_id()
S
58 6 15
__construct()
S
60 6 13
get_single_term()
S
63 4 10
get_generator_data()
S
67 3 7
get_conditional_rules()
S
64 3 10
conditional_rules_enabled()
S
64 3 10
load_from_array()
S
66 3 8
get_generator()
S
67 3 7
get_id()
S
70 3 6
get_priority()
S
64 3 10
is_active()
S
70 3 6
get_code()
S
70 3 6
get_title()
S
70 3 6
get_device_type()
S
65 3 9
get_auto_insert_number()
S
65 3 9
get_schedule()
S
62 2 12
get_tags()
S
72 2 6
get_custom_shortcode()
S
70 2 6
get_note()
S
70 2 6
set_tags()
S
65 2 9
is_scheduled()
S
74 2 4
get_auto_insert()
S
70 2 6
load_from_id()
S
71 2 6
set_code_type()
S
69 2 7
get_code_type()
S
72 2 6
get_code_type_term()
S
72 2 6
get_location_term()
S
72 2 6
get_post_data()
S
79 2 3
get_snippet_author()
S
72 2 6
set_location()
S
69 2 7
get_location()
S
72 2 6
get_data_for_caching()
S
60 1 14
deactivate()
S
74 1 5
activate()
S
74 1 5
set_cloud_id()
S
81 1 3
is_generated()
S
80 1 3
get_untitled_title()
S
79 1 3