-
Home
-
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
-
2.1.7
-
Code
-
Classes
- WPCode_Snippet
| Total Complexity |
153 |
| Dependencies |
2 |
| Dependents |
20 |
| Total lines |
1,108 |
| Lines of code |
499 |
| Logical lines of code |
272 |
| Comment lines |
471 |
| Methods |
48 |
| Properties |
32 |
Methods 48
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| save() |
D |
28 |
40 |
126 |
| 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 |
| load_from_array() |
S |
66 |
3 |
8 |
| get_title() |
S |
70 |
3 |
6 |
| get_code() |
S |
70 |
3 |
6 |
| is_active() |
S |
70 |
3 |
6 |
| get_id() |
S |
70 |
3 |
6 |
| get_last_error() |
S |
68 |
3 |
7 |
| get_auto_insert_number() |
S |
65 |
3 |
9 |
| get_conditional_rules() |
S |
64 |
3 |
10 |
| conditional_rules_enabled() |
S |
64 |
3 |
10 |
| get_priority() |
S |
64 |
3 |
10 |
| get_device_type() |
S |
65 |
3 |
9 |
| get_generator_data() |
S |
67 |
3 |
7 |
| get_generator() |
S |
67 |
3 |
7 |
| get_shortcode_attributes() |
S |
64 |
3 |
10 |
| get_schedule() |
S |
62 |
2 |
12 |
| get_data_for_caching() |
S |
58 |
1 |
16 |
| load_from_id() |
S |
71 |
2 |
6 |
| get_location() |
S |
72 |
2 |
6 |
| set_location() |
S |
69 |
2 |
7 |
| get_snippet_author() |
S |
72 |
2 |
6 |
| get_post_data() |
S |
79 |
2 |
3 |
| get_location_term() |
S |
72 |
2 |
6 |
| get_code_type_term() |
S |
72 |
2 |
6 |
| get_code_type() |
S |
72 |
2 |
6 |
| set_code_type() |
S |
69 |
2 |
7 |
| set_last_error() |
S |
70 |
2 |
6 |
| get_auto_insert() |
S |
70 |
2 |
6 |
| get_tags() |
S |
72 |
2 |
6 |
| set_tags() |
S |
65 |
2 |
9 |
| get_note() |
S |
70 |
2 |
6 |
| get_custom_shortcode() |
S |
70 |
2 |
6 |
| is_scheduled() |
S |
74 |
2 |
4 |
| get_location_extra() |
S |
70 |
2 |
6 |
| duplicate() |
S |
59 |
1 |
15 |
| activate() |
S |
74 |
1 |
5 |
| get_untitled_title() |
S |
79 |
1 |
3 |
| deactivate() |
S |
74 |
1 |
5 |
| reset_last_error() |
S |
76 |
1 |
4 |
| set_cloud_id() |
S |
81 |
1 |
3 |
| is_generated() |
S |
80 |
1 |
3 |
| set_attribute() |
S |
80 |
1 |
3 |
| get_edit_url() |
S |
79 |
1 |
3 |