Abp01_AdminAjaxAction S

Total Complexity 39
Dependencies 13
Dependents 10
Total lines 241
Lines of code 156
Logical lines of code 74
Comment lines 15
Methods 27
Properties 9

Methods 27

Method Rating Maintainability Complexity Lines of code
execute()
S
60 4 13
executeAndSendJsonThenExit()
S
61 3 13
_currentUserCanExecute()
S
60 3 13
onlyForHttpMethod()
S
69 2 7
_isHttpMethodAllowed()
S
64 2 10
_isCurrentHttpMethodAllowed()
S
73 2 5
register()
S
64 2 10
isNonceValid()
S
65 2 10
__construct()
S
64 1 10
useAuthorizationProvider()
S
77 1 4
_sendJsonAndExit()
S
80 1 3
generateNonce()
S
72 1 6
getCurrentResourceId()
S
78 1 4
authorizeByCapability()
S
76 1 4
authorizeByCallback()
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
getActionCode()
S
82 1 3