MetaSync_WordPress_Error_Handler S

Total Complexity 42
Dependencies 0
Dependents 0
Total lines 382
Lines of code 208
Logical lines of code 68
Comment lines 121
Methods 16
Properties 6

Methods 16

Method Rating Maintainability Complexity Lines of code
send_to_sentry()
A
44 9 44
should_capture_error()
S
59 5 16
capture_php_error()
S
57 4 17
capture_exception()
S
58 4 15
capture_shutdown_error()
S
60 4 13
capture_fatal_error()
S
62 3 11
capture_plugin_activation()
S
61 2 12
get_error_level()
S
55 1 20
capture_plugin_deactivation()
S
64 2 10
cleanup_old_errors()
S
68 2 7
get_sentry_level()
S
61 1 13
generate_error_fingerprint()
S
62 1 11
__construct()
S
76 1 4
setup_error_handlers()
S
65 1 8
is_error_already_sent()
S
79 1 3
mark_error_as_sent()
S
76 1 4