-
Home
-
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
-
2.1.7
-
Code
-
Classes
- WPCode_Snippet_Execute
| Total Complexity |
77 |
| Dependencies |
2 |
| Dependents |
1 |
| Total lines |
563 |
| Lines of code |
299 |
| Logical lines of code |
149 |
| Comment lines |
196 |
| Methods |
22 |
| Properties |
5 |
Methods 22
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| maybe_disable_snippet() |
A |
47 |
14 |
36 |
| custom_error_message() |
A |
42 |
11 |
54 |
| is_error_from_wpcode() |
S |
60 |
8 |
12 |
| get_mime_for_code_type() |
S |
54 |
7 |
23 |
| safe_execute_php() |
S |
53 |
5 |
23 |
| find_snippet_from_line() |
S |
57 |
5 |
16 |
| get_snippet_output() |
S |
59 |
5 |
15 |
| load_types() |
S |
47 |
1 |
40 |
| code_type_has_lint() |
S |
64 |
3 |
10 |
| get_code_type_options() |
S |
63 |
2 |
11 |
| get_type_execute_class() |
S |
71 |
2 |
6 |
| get_type_label() |
S |
74 |
2 |
4 |
| get_options() |
S |
68 |
2 |
7 |
| is_type_pro() |
S |
68 |
2 |
7 |
| __construct() |
S |
78 |
1 |
4 |
| add_error_handling() |
S |
74 |
1 |
4 |
| snippet_location_disable() |
S |
78 |
1 |
3 |
| doing_activation() |
S |
81 |
1 |
3 |
| is_doing_activation() |
S |
82 |
1 |
3 |
| not_doing_activation() |
S |
81 |
1 |
3 |
| get_locations_to_auto_disable() |
S |
68 |
1 |
9 |
| should_auto_disable() |
S |
73 |
1 |
6 |