WPCode_Snippet_Execute B

Total Complexity 76
Dependencies 2
Dependents 1
Total lines 553
Lines of code 299
Logical lines of code 150
Comment lines 187
Methods 22
Properties 5

Methods 22

Method Rating Maintainability Complexity Lines of code
custom_error_message()
A
42 11 54
safe_execute_php()
A
48 8 36
get_mime_for_code_type()
S
54 7 23
maybe_disable_snippet()
S
54 7 21
is_error_from_wpcode()
S
61 7 12
find_snippet_from_line()
S
57 5 16
get_snippet_output()
S
59 5 15
load_types()
S
47 1 40
deactivate_last_snippet()
S
72 3 5
code_type_has_lint()
S
64 3 10
log_activation_errors()
S
70 3 6
get_code_type_options()
S
63 2 11
is_type_pro()
S
68 2 7
get_options()
S
68 2 7
get_type_label()
S
74 2 4
get_type_execute_class()
S
71 2 6
not_doing_activation()
S
81 1 3
__construct()
S
78 1 4
is_doing_activation()
S
82 1 3
doing_activation()
S
81 1 3
add_error_handling()
S
74 1 4
get_locations_to_auto_disable()
S
68 1 9