WPCode_Snippet_Execute B

Total Complexity 82
Dependencies 2
Dependents 2
Total lines 587
Lines of code 313
Logical lines of code 157
Comment lines 204
Methods 23
Properties 5

Methods 23

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
52 6 26
find_snippet_from_line()
S
57 5 16
get_snippet_output()
S
59 5 15
is_code_not_allowed()
S
63 4 11
load_types()
S
47 1 40
code_type_has_lint()
S
64 3 10
get_code_type_options()
S
63 2 11
get_options()
S
68 2 7
get_type_label()
S
74 2 4
get_type_execute_class()
S
71 2 6
is_type_pro()
S
68 2 7
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
__construct()
S
78 1 4