Apbd_WPS_API_Base S

Total Complexity 28
Dependencies 3
Dependents 0
Total lines 141
Lines of code 93
Logical lines of code 51
Comment lines 13
Methods 16
Properties 9

Methods 16

Method Rating Maintainability Complexity Lines of code
RegisterRestRoute()
S
51 6 26
LoadPayload()
S
57 5 17
filter_for_api()
S
79 2 4
SetPayload()
S
71 2 6
GetPayload()
S
78 2 3
__construct()
S
61 1 13
get_current_user_id()
S
83 1 3
AddError()
S
82 1 3
AddInfo()
S
82 1 3
AddDebug()
S
100 1 1
AddWarning()
S
82 1 3
routes()
S
100 1 0
setAPIBase()
S
100 1 0
__destruct()
S
80 1 3
SetResponse()
S
74 1 5
SetRoutePermission()
S
82 1 3