WPCode_Snippet_Execute B

Total Complexity 95
Dependencies 2
Dependents 2
Total lines 711
Lines of code 393
Logical lines of code 181
Comment lines 235
Methods 27
Properties 6

Methods 27

Method Rating Maintainability Complexity Lines of code
maybe_disable_snippet()
A
47 14 36
custom_error_message()
A
42 11 54
get_mime_for_code_type()
A
53 8 26
is_error_from_wpcode()
S
60 8 12
safe_execute_php()
S
52 6 26
dont_load_edited_snippet()
S
61 6 12
find_snippet_from_line()
S
57 5 16
get_snippet_output()
S
59 5 15
is_code_not_allowed()
S
63 4 11
load_snippet_types_on_demand()
S
45 1 47
load_types()
S
49 1 37
get_types()
S
70 3 6
code_type_has_lint()
S
64 3 10
get_code_type_options()
S
63 2 11
get_code_types()
S
63 2 11
get_type_execute_class()
S
69 2 7
get_type_label()
S
74 2 4
is_type_pro()
S
66 2 8
get_options()
S
66 2 8
add_error_handling()
S
71 1 5
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
__construct()
S
78 1 4