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
onlyForHttpMethod()
S
69 2 7
register()
S
64 2 10
_isCurrentHttpMethodAllowed()
S
73 2 5
executeAndSendJsonThenExit()
S
68 2 8
__construct()
S
65 1 9
create()
S
79 1 3
useCurrentResourceProvider()
S
77 1 4
onlyForHttpGet()
S
80 1 3
onlyForHttpPost()
S
80 1 3
onlyForHttpPatch()
S
80 1 3
onlyForHttpDelete()
S
80 1 3
onlyForHttpPut()
S
80 1 3
allowAllHttpMethods()
S
80 1 3
useDefaultNonceProvider()
S
75 1 4
useNonceProvider()
S
77 1 4
setRequiresAuthentication()
S
77 1 4
authorizeByCapability()
S
76 1 4
authorizeByCallback()
S
76 1 4
useAuthorizationProvider()
S
77 1 4
getCurrentResourceId()
S
78 1 4
generateNonce()
S
72 1 6
isNonceValid()
S
72 1 6
_isHttpMethodAllowed()
S
79 1 3
_currentUserCanExecute()
S
78 1 4
_sendJsonAndExit()
S
80 1 3