Abp01_AdminAjaxAction S

Total Complexity 33
Dependencies 11
Dependents 9
Total lines 195
Lines of code 123
Logical lines of code 54
Comment lines 12
Methods 26
Properties 8

Methods 26

Method Rating Maintainability Complexity Lines of code
execute()
S
66 4 9
executeAndSendJsonThenExit()
S
68 2 8
onlyForHttpMethod()
S
69 2 7
_isCurrentHttpMethodAllowed()
S
73 2 5
register()
S
64 2 10
__construct()
S
65 1 9
authorizeByCallback()
S
76 1 4
_currentUserCanExecute()
S
78 1 4
_isHttpMethodAllowed()
S
79 1 3
isNonceValid()
S
72 1 6
generateNonce()
S
72 1 6
getCurrentResourceId()
S
78 1 4
useAuthorizationProvider()
S
77 1 4
authorizeByCapability()
S
76 1 4
create()
S
79 1 3
setRequiresAuthentication()
S
77 1 4
useNonceProvider()
S
77 1 4
useDefaultNonceProvider()
S
75 1 4
allowAllHttpMethods()
S
80 1 3
onlyForHttpPut()
S
80 1 3
onlyForHttpDelete()
S
80 1 3
onlyForHttpPatch()
S
80 1 3
onlyForHttpPost()
S
80 1 3
onlyForHttpGet()
S
80 1 3
useCurrentResourceProvider()
S
77 1 4
_sendJsonAndExit()
S
80 1 3