MetaSync_Sentry_WordPress A

Total Complexity 70
Dependencies 2
Dependents 1
Total lines 517
Lines of code 343
Logical lines of code 138
Comment lines 99
Methods 19
Properties 9

Methods 19

Method Rating Maintainability Complexity Lines of code
isLocalhost()
A
49 11 29
formatException()
A
44 10 40
sendToSentry()
A
43 9 48
__construct()
A
53 9 20
detectEnvironment()
S
60 6 13
getSystemContext()
S
48 3 32
testProxyConnection()
S
54 3 22
getContexts()
S
54 2 22
getTags()
S
55 2 19
isInApp()
S
67 3 7
getSentryAuthHeader()
S
61 2 13
getUserContext()
S
60 2 13
formatMessage()
S
54 1 22
normalizeLevel()
S
73 2 4
testConnection()
S
58 1 15
createSentryEnvelope()
S
60 1 13
captureException()
S
75 1 4
captureMessage()
S
75 1 4
generateEventId()
S
79 1 3