WPCode_Snippet D

Total Complexity 165
Dependencies 2
Dependents 19
Total lines 1,199
Lines of code 538
Logical lines of code 293
Comment lines 508
Methods 52
Properties 35

Methods 52

Method Rating Maintainability Complexity Lines of code
save()
D
27
43 132
get_cloud_id()
S
58 6 15
__construct()
S
59 6 14
run_activation_checks()
S
55 4 22
force_deactivate()
S
52 3 27
execute()
S
67 4 8
get_single_term()
S
63 4 10
get_data_for_caching()
S
53 2 23
get_auto_insert_number()
S
65 3 9
get_conditional_rules()
S
64 3 10
get_priority()
S
64 3 10
load_from_array()
S
66 3 8
get_last_error()
S
68 3 7
get_device_type()
S
65 3 9
get_generator_data()
S
67 3 7
get_generator()
S
67 3 7
conditional_rules_enabled()
S
64 3 10
get_id()
S
70 3 6
get_shortcode_attributes()
S
64 3 10
is_active()
S
70 3 6
get_load_as_file()
S
64 3 9
get_code()
S
70 3 6
get_title()
S
70 3 6
get_schedule()
S
62 2 12
get_location_extra()
S
70 2 6
get_compiled_code()
S
70 2 6
get_custom_shortcode()
S
70 2 6
duplicate()
S
59 1 15
get_note()
S
70 2 6
is_scheduled()
S
74 2 4
get_snippet_author()
S
72 2 6
get_post_data()
S
79 2 3
get_tags()
S
72 2 6
get_location_term()
S
72 2 6
get_code_type_term()
S
72 2 6
set_location()
S
69 2 7
get_code_type()
S
72 2 6
set_code_type()
S
69 2 7
get_location()
S
72 2 6
set_last_error()
S
70 2 6
load_from_id()
S
71 2 6
get_auto_insert()
S
70 2 6
set_tags()
S
65 2 9
deactivate()
S
74 1 5
get_untitled_title()
S
79 1 3
is_generated()
S
80 1 3
set_cloud_id()
S
81 1 3
reset_last_error()
S
76 1 4
rebuild_cache()
S
82 1 3
activate()
S
74 1 5
set_attribute()
S
80 1 3
get_edit_url()
S
79 1 3