WPCode_Snippet D

Total Complexity 160
Dependencies 2
Dependents 19
Total lines 1,157
Lines of code 520
Logical lines of code 284
Comment lines 491
Methods 50
Properties 34

Methods 50

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