-
Home
-
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
-
2.2.4.1 (latest)
-
Code
-
Classes
- WPCode_Error
Total Complexity |
44 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
327 |
Lines of code |
148 |
Logical lines of code |
75 |
Comment lines |
132 |
Methods |
17 |
Properties |
4 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
track_snippet_error() |
A |
50 |
10 |
28 |
track_errors() |
S |
54 |
6 |
21 |
get_error_message() |
S |
65 |
5 |
9 |
gather_errors() |
S |
54 |
2 |
22 |
get_error_count() |
S |
68 |
3 |
7 |
write_error_to_log() |
S |
67 |
3 |
7 |
call_previous_exception_handler() |
S |
68 |
2 |
8 |
get_snippets_with_errors() |
S |
71 |
2 |
6 |
get_error_message_short() |
S |
68 |
2 |
7 |
get_last_error_message() |
S |
69 |
2 |
7 |
set_error_count() |
S |
81 |
1 |
3 |
set_snippets_with_errors() |
S |
80 |
1 |
3 |
clear_snippets_errors() |
S |
71 |
1 |
6 |
add_error() |
S |
76 |
1 |
4 |
clear_errors() |
S |
81 |
1 |
3 |
has_error() |
S |
80 |
1 |
3 |
__construct() |
S |
74 |
1 |
4 |