WPCode_Snippet D

Total Complexity 149
Dependencies 2
Dependents 19
Total lines 1,090
Lines of code 486
Logical lines of code 262
Comment lines 471
Methods 48
Properties 32

Methods 48

Method Rating Maintainability Complexity Lines of code
save()
D
28
39 122
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
force_deactivate()
S
54 2 24
get_shortcode_attributes()
S
64 3 10
get_generator()
S
67 3 7
get_device_type()
S
65 3 9
get_conditional_rules()
S
64 3 10
get_id()
S
70 3 6
is_active()
S
70 3 6
get_generator_data()
S
67 3 7
conditional_rules_enabled()
S
64 3 10
get_code()
S
70 3 6
get_title()
S
70 3 6
get_priority()
S
64 3 10
load_from_array()
S
66 3 8
get_auto_insert_number()
S
65 3 9
get_schedule()
S
62 2 12
get_data_for_caching()
S
58 1 16
get_note()
S
70 2 6
set_tags()
S
65 2 9
get_tags()
S
72 2 6
get_auto_insert()
S
70 2 6
get_location_extra()
S
70 2 6
load_from_id()
S
71 2 6
set_recently_deactivated()
S
70 2 6
is_scheduled()
S
74 2 4
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_custom_shortcode()
S
70 2 6
duplicate()
S
60 1 14
set_cloud_id()
S
81 1 3
get_recently_deactivated_error_line()
S
78 1 3
reset_recently_deactivated()
S
76 1 4
is_generated()
S
80 1 3
deactivate()
S
74 1 5
get_untitled_title()
S
79 1 3
activate()
S
74 1 5
set_attribute()
S
80 1 3
get_recently_deactivated_time()
S
79 1 3