Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 6.13.0.

Violations By Priority

Priority 1

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/AbstractSite.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_commandResult' doesn't match '[a-z][a-zA-Z0-9]*' 65

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/CommandResult.java

Rule Violation Ligne
FieldNamingConventions The static field name 'STATUS_ERROR' doesn't match '_[a-z][a-zA-Z0-9]*' 53
FieldNamingConventions The static field name 'STATUS_OK' doesn't match '_[a-z][a-zA-Z0-9]*' 54
FieldNamingConventions The static field name 'ERROR_TYPE_INFO' doesn't match '_[a-z][a-zA-Z0-9]*' 55
FieldNamingConventions The static field name 'ERROR_TYPE_STOP' doesn't match '_[a-z][a-zA-Z0-9]*' 56
FormalParameterNamingConventions The method parameter name '_mResultInformations' doesn't match '[a-z][a-zA-Z0-9]*' 171
FormalParameterNamingConventions The method parameter name '_nErrorType' doesn't match '[a-z][a-zA-Z0-9]*' 181

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FastDeployApplicationData.java

Rule Violation Ligne
FieldNamingConventions The field name 'strApplicationCode' doesn't match '_[a-z][a-zA-Z0-9]*' 15
FormalParameterNamingConventions The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' 42
FormalParameterNamingConventions The method parameter name '_strWebApp' doesn't match '[a-z][a-zA-Z0-9]*' 54
FormalParameterNamingConventions The method parameter name '_strUrlSite' doesn't match '[a-z][a-zA-Z0-9]*' 64
FormalParameterNamingConventions The method parameter name '_strApplicationType' doesn't match '[a-z][a-zA-Z0-9]*' 163
FormalParameterNamingConventions The method parameter name '_nIdApplication' doesn't match '[a-z][a-zA-Z0-9]*' 172

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FastDeployApplicationDemand.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' 55
FormalParameterNamingConventions The method parameter name '_strWebApp' doesn't match '[a-z][a-zA-Z0-9]*' 65
FormalParameterNamingConventions The method parameter name '_strUrlSite' doesn't match '[a-z][a-zA-Z0-9]*' 75

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FastDeployEnvironment.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' 45
FormalParameterNamingConventions The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' 55
FormalParameterNamingConventions The method parameter name '_strEnvType' doesn't match '[a-z][a-zA-Z0-9]*' 80

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FtpInfo.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_lKeepAliveTimeout' doesn't match '[a-z][a-zA-Z0-9]*' 128

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/ServerApplicationInstance.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' 97
FormalParameterNamingConventions The method parameter name '_strCodeEnvironment' doesn't match '[a-z][a-zA-Z0-9]*' 107
FormalParameterNamingConventions The method parameter name '_ftpInfo' doesn't match '[a-z][a-zA-Z0-9]*' 117
FormalParameterNamingConventions The method parameter name '_strType' doesn't match '[a-z][a-zA-Z0-9]*' 141
FormalParameterNamingConventions The method parameter name '_hashMavenProfile' doesn't match '[a-z][a-zA-Z0-9]*' 151
FormalParameterNamingConventions The method parameter name '_nStatus' doesn't match '[a-z][a-zA-Z0-9]*' 171
FormalParameterNamingConventions The method parameter name '_listServerApplicationAction' doesn't match '[a-z][a-zA-Z0-9]*' 181
FormalParameterNamingConventions The method parameter name '_strFtpDirectoryDumpFile' doesn't match '[a-z][a-zA-Z0-9]*' 196
FormalParameterNamingConventions The method parameter name '_strFtpDirectoryContext' doesn't match '[a-z][a-zA-Z0-9]*' 206
FormalParameterNamingConventions The method parameter name '_strFtpDirectoryScript' doesn't match '[a-z][a-zA-Z0-9]*' 216
FormalParameterNamingConventions The method parameter name '_mapComplementaryInfos' doesn't match '[a-z][a-zA-Z0-9]*' 226
FormalParameterNamingConventions The method parameter name '_strHostName' doesn't match '[a-z][a-zA-Z0-9]*' 236

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/SiteTag.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strTagName' doesn't match '[a-z][a-zA-Z0-9]*' 45
FormalParameterNamingConventions The method parameter name '_strNextVersion' doesn't match '[a-z][a-zA-Z0-9]*' 55
FormalParameterNamingConventions The method parameter name '_strTagVersion' doesn't match '[a-z][a-zA-Z0-9]*' 65
FormalParameterNamingConventions The method parameter name '_tagDate' doesn't match '[a-z][a-zA-Z0-9]*' 75

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/AbstractWorkflowDeployContext.java

Rule Violation Ligne
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 6466
FormalParameterNamingConventions The method parameter name '_commandResult' doesn't match '[a-z][a-zA-Z0-9]*' 87
FormalParameterNamingConventions The method parameter name '_fastDeployApplicationData' doesn't match '[a-z][a-zA-Z0-9]*' 181
FormalParameterNamingConventions The method parameter name '_strDiskRequiredFreespace' doesn't match '[a-z][a-zA-Z0-9]*' 211

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/WorkflowDeployAppContext.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strNextVersion' doesn't match '[a-z][a-zA-Z0-9]*' 37
FormalParameterNamingConventions The method parameter name '_strTagVersion' doesn't match '[a-z][a-zA-Z0-9]*' 47

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/WorkflowDeployScriptContext.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_bDoDump' doesn't match '[a-z][a-zA-Z0-9]*' 31
FormalParameterNamingConventions The method parameter name '_strDatabaseName' doesn't match '[a-z][a-zA-Z0-9]*' 41
FormalParameterNamingConventions The method parameter name '_scriptFileItemName' doesn't match '[a-z][a-zA-Z0-9]*' 51
FormalParameterNamingConventions The method parameter name '_scriptFileItem' doesn't match '[a-z][a-zA-Z0-9]*' 63
FormalParameterNamingConventions The method parameter name '_scriptFileSelected' doesn't match '[a-z][a-zA-Z0-9]*' 73

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/WorkflowInitDatabaseContext.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strDatabaseName' doesn't match '[a-z][a-zA-Z0-9]*' 19

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ActionHistory.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strI18nKeyName' doesn't match '[a-z][a-zA-Z0-9]*' 130
FormalParameterNamingConventions The method parameter name '_strServerType' doesn't match '[a-z][a-zA-Z0-9]*' 151
FormalParameterNamingConventions The method parameter name '_strServerName' doesn't match '[a-z][a-zA-Z0-9]*' 193
FormalParameterNamingConventions The method parameter name '_strActionData' doesn't match '[a-z][a-zA-Z0-9]*' 256

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ActionParameter.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' 47
FormalParameterNamingConventions The method parameter name '_strValue' doesn't match '[a-z][a-zA-Z0-9]*' 57

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/FastAction.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' 57
FormalParameterNamingConventions The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' 77
FormalParameterNamingConventions The method parameter name '_strI18nKeyName' doesn't match '[a-z][a-zA-Z0-9]*' 97
FormalParameterNamingConventions The method parameter name '_strStatus' doesn't match '[a-z][a-zA-Z0-9]*' 117
FormalParameterNamingConventions The method parameter name '_bUsedForStatus' doesn't match '[a-z][a-zA-Z0-9]*' 137
FormalParameterNamingConventions The method parameter name '_strIconCssClass' doesn't match '[a-z][a-zA-Z0-9]*' 152
FormalParameterNamingConventions The method parameter name '_listParameters' doesn't match '[a-z][a-zA-Z0-9]*' 173
FormalParameterNamingConventions The method parameter name '_strServerType' doesn't match '[a-z][a-zA-Z0-9]*' 183
FormalParameterNamingConventions The method parameter name '_bStopWorkflowIfExecutionError' doesn't match '[a-z][a-zA-Z0-9]*' 198
FormalParameterNamingConventions The method parameter name '_strTechnicalCode' doesn't match '[a-z][a-zA-Z0-9]*' 208

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/IAction.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_listParameters' doesn't match '[a-z][a-zA-Z0-9]*' 70
FormalParameterNamingConventions The method parameter name '_strServerType' doesn't match '[a-z][a-zA-Z0-9]*' 72
FormalParameterNamingConventions The method parameter name '_strIconCssClass' doesn't match '[a-z][a-zA-Z0-9]*' 92
FormalParameterNamingConventions The method parameter name '_bStopWorkflowIfExecutionError' doesn't match '[a-z][a-zA-Z0-9]*' 100

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/AbstractRequiredFreeSpaceParameters.java

Rule Violation Ligne
FieldNamingConventions The field name 'diskRequiredFreespace' doesn't match '_[a-z][a-zA-Z0-9]*' 8

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DefaultAction.java

Rule Violation Ligne
ReturnEmptyArrayRatherThanNull Return an empty array rather than null. 116120

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpParameters.java

Rule Violation Ligne
FieldNamingConventions The field name 'dbName' doesn't match '_[a-z][a-zA-Z0-9]*' 9

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpWithOptionsParameters.java

Rule Violation Ligne
FieldNamingConventions The field name 'commandOptions' doesn't match '_[a-z][a-zA-Z0-9]*' 9
FieldNamingConventions The field name 'sqlFileName' doesn't match '_[a-z][a-zA-Z0-9]*' 11
FieldNamingConventions The field name 'dbName' doesn't match '_[a-z][a-zA-Z0-9]*' 13

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/ExecuteActionParameters.java

Rule Violation Ligne
FieldNamingConventions The field name 'bdName' doesn't match '_[a-z][a-zA-Z0-9]*' 8
FieldNamingConventions The field name 'sqlFileName' doesn't match '_[a-z][a-zA-Z0-9]*' 10

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/WarInstalerParameters.java

Rule Violation Ligne
FieldNamingConventions The field name 'newWarName' doesn't match '_[a-z][a-zA-Z0-9]*' 14

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/DefaultAction.java

Rule Violation Ligne
ReturnEmptyArrayRatherThanNull Return an empty array rather than null. 116120

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/task/TaskRunServerActionConfig.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strActionCode' doesn't match '[a-z][a-zA-Z0-9]*' 49

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/vcs/SvnUser.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_mUserContex' doesn't match '[a-z][a-zA-Z0-9]*' 51

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/AbstractServerApplicationService.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_environmentService' doesn't match '[a-z][a-zA-Z0-9]*' 60
FormalParameterNamingConventions The method parameter name '_actionService' doesn't match '[a-z][a-zA-Z0-9]*' 70

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/MavenService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 69284

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/SFTPService.java

Rule Violation Ligne
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 68

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/WorkflowDeploySiteService.java

Rule Violation Ligne
AvoidThrowingRawExceptionTypes Avoid throwing raw exception types. 218
AvoidThrowingRawExceptionTypes Avoid throwing raw exception types. 235

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AWXExecuteResult.java

Rule Violation Ligne
FieldNamingConventions The field name 'errorCode' doesn't match '_[a-z][a-zA-Z0-9]*' 20
FieldNamingConventions The field name 'errorMessage' doesn't match '_[a-z][a-zA-Z0-9]*' 22
FieldNamingConventions The field name 'bServiceOn' doesn't match '_[a-z][a-zA-Z0-9]*' 24
FieldNamingConventions The field name 'databases' doesn't match '_[a-z][a-zA-Z0-9]*' 26
FormalParameterNamingConventions The method parameter name '_bExecutionFailed' doesn't match '[a-z][a-zA-Z0-9]*' 34
FormalParameterNamingConventions The method parameter name '_strStdout' doesn't match '[a-z][a-zA-Z0-9]*' 45
FormalParameterNamingConventions The method parameter name '_strStderr' doesn't match '[a-z][a-zA-Z0-9]*' 55

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AWXHost.java

Rule Violation Ligne
FieldNamingConventions The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 18
FieldNamingConventions The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' 21
FieldNamingConventions The field name 'variables' doesn't match '_[a-z][a-zA-Z0-9]*' 24

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AWXHostVariable.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strAnsibleHost' doesn't match '[a-z][a-zA-Z0-9]*' 19

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AWXJobResult.java

Rule Violation Ligne
FieldNamingConventions The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 12
FieldNamingConventions The field name 'url' doesn't match '_[a-z][a-zA-Z0-9]*' 13
FieldNamingConventions The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' 14
FieldNamingConventions The field name 'status' doesn't match '_[a-z][a-zA-Z0-9]*' 15
FieldNamingConventions The field name 'failed' doesn't match '_[a-z][a-zA-Z0-9]*' 16
FieldNamingConventions The field name 'finished' doesn't match '_[a-z][a-zA-Z0-9]*' 17
FieldNamingConventions The field name 'result' doesn't match '_[a-z][a-zA-Z0-9]*' 19

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AWXParameters.java

Rule Violation Ligne
FieldNamingConventions The field name 'limit' doesn't match '_[a-z][a-zA-Z0-9]*' 9
FieldNamingConventions The field name 'extraVars' doesn't match '_[a-z][a-zA-Z0-9]*' 11
FieldNamingConventions The field name 'inventory' doesn't match '_[a-z][a-zA-Z0-9]*' 13

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/DatabaseService.java

Rule Violation Ligne
FieldNamingConventions The field name 'JOB_SHOWDATABASES' doesn't match '_[a-z][a-zA-Z0-9]*' 53

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/FastDeployEnvironmentService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 4589

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/cloudmgr/FastDeployEnvironmentService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 52158

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/task/AbstractTaskRunServerActionComponent.java

Rule Violation Ligne
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 8488
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 9498

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/vcs/AbstractGitService.java

Rule Violation Ligne
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 160162

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/vcs/SvnService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 62274

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/ConstanteUtils.java

Rule Violation Ligne
FieldNamingConventions The public constant name 'CONSTANTE__SERVER_APPLICATION_INSTANCE_FTP_WEBAPP_Url' doesn't match '[A-Z][A-Z_0-9]*' 76
FieldNamingConventions The public constant name 'I18n_MESSAGE_ERROR_MAVEN_USER_IS_NOT_SET' doesn't match '[A-Z][A-Z_0-9]*' 369

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/DeploymentUtils.java

Rule Violation Ligne
ReturnEmptyArrayRatherThanNull Return an empty array rather than null. 564583

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/FTPUtils.java

Rule Violation Ligne
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 219

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/MapperJsonUtil.java

Rule Violation Ligne
FieldNamingConventions The constant name '_mapper' doesn't match '[A-Z][A-Z_0-9]*' 47

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/ReleaseSVNCheckoutClient.java

Rule Violation Ligne
FieldNamingConventions The field name 'bCancelled' doesn't match '_[a-z][a-zA-Z0-9]*' 46

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/ReleaseUtils.java

Rule Violation Ligne
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 160
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 183
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 200
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 217
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 225

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/GitSearchRepoItem.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' 18
FormalParameterNamingConventions The method parameter name '_strCloneUrl' doesn't match '[a-z][a-zA-Z0-9]*' 30
FormalParameterNamingConventions The method parameter name '_strContentsUrl' doesn't match '[a-z][a-zA-Z0-9]*' 42
FormalParameterNamingConventions The method parameter name '_strFullName' doesn't match '[a-z][a-zA-Z0-9]*' 54

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/GitUtils.java

Rule Violation Ligne
LocalVariableNamingConventions The final local variable name 'TOKEN' doesn't match '[a-z][a-zA-Z0-9]*' 433

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/ReleaseSVNCommitClient.java

Rule Violation Ligne
FieldNamingConventions The field name 'bCancelled' doesn't match '_[a-z][a-zA-Z0-9]*' 42

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/ReleaseSVNCopyClient.java

Rule Violation Ligne
FieldNamingConventions The field name 'bCancelled' doesn't match '_[a-z][a-zA-Z0-9]*' 42

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/SVNUtils.java

Rule Violation Ligne
FieldNamingConventions The constant name '_compareSvnEntries' doesn't match '[A-Z][A-Z_0-9]*' 73

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployXPage.java

Rule Violation Ligne
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1061

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/dto/AbstractDeployDTO.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strDiskRequiredFreespace' doesn't match '[a-z][a-zA-Z0-9]*' 61

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/dto/FormDeployInitDatabaseDTO.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strDatabaseCode' doesn't match '[a-z][a-zA-Z0-9]*' 60

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/dto/FormDeployScriptDTO.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strDatabaseCode' doesn't match '[a-z][a-zA-Z0-9]*' 80
FormalParameterNamingConventions The method parameter name '_bDoDump' doesn't match '[a-z][a-zA-Z0-9]*' 90
FormalParameterNamingConventions The method parameter name '_scriptFileItem' doesn't match '[a-z][a-zA-Z0-9]*' 100
FormalParameterNamingConventions The method parameter name '_scriptFileItemName' doesn't match '[a-z][a-zA-Z0-9]*' 110
FormalParameterNamingConventions The method parameter name '_scriptFileSelected' doesn't match '[a-z][a-zA-Z0-9]*' 119
FormalParameterNamingConventions The method parameter name '_scriptRemoteFileSelected' doesn't match '[a-z][a-zA-Z0-9]*' 128
FormalParameterNamingConventions The method parameter name '_bExecuteRemoteScript' doesn't match '[a-z][a-zA-Z0-9]*' 136

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/exception/AbstractFastDeployException.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 3639

Priority 2

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpAction.java

Rule Violation Ligne
IntegerInstantiation Avoid instantiating Integer objects. Call Integer.valueOf() instead. 107

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpWithOptionsAction.java

Rule Violation Ligne
IntegerInstantiation Avoid instantiating Integer objects. Call Integer.valueOf() instead. 109

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/ExecuteSqlAction.java

Rule Violation Ligne
IntegerInstantiation Avoid instantiating Integer objects. Call Integer.valueOf() instead. 109

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/WarInstallerAction.java

Rule Violation Ligne
IntegerInstantiation Avoid instantiating Integer objects. Call Integer.valueOf() instead. 80

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/DefaultAction.java

Rule Violation Ligne
BooleanInstantiation Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 86

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/DumpAction.java

Rule Violation Ligne
BooleanInstantiation Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 114

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/WarInstallerAction.java

Rule Violation Ligne
BooleanInstantiation Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 116

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/AbstractActionService.java

Rule Violation Ligne
BooleanInstantiation Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 51

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/MavenService.java

Rule Violation Ligne
AvoidReassigningParameters Avoid reassigning parameters such as 'strCustomCommand' 267

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/ServerApplicationService.java

Rule Violation Ligne
BooleanInstantiation Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 143
IntegerInstantiation Avoid instantiating Integer objects. Call Integer.valueOf() instead. 143

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/cloudmgr/ServerApplicationService.java

Rule Violation Ligne
BooleanInstantiation Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 173
IntegerInstantiation Avoid instantiating Integer objects. Call Integer.valueOf() instead. 173

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/FTPUtils.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 264

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/ReleaseUtils.java

Rule Violation Ligne
AvoidReassigningParameters Avoid reassigning parameters such as 'strVersion' 123

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/GitUtils.java

Rule Violation Ligne
AvoidReassigningParameters Avoid reassigning parameters such as 'strRepoUrl' 470

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployApplicationTaskComponent.java

Rule Violation Ligne
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 101

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployXPage.java

Rule Violation Ligne
BooleanInstantiation Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 291

Priority 3

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/AbstractSite.java

Rule Violation Ligne
CommentRequired Header comments are required 3874
CommentRequired Public method and constructor comments are required 4548
MissingOverride The method 'getCodeApplication()' is missing an @Override annotation. 4548
MissingOverride The method 'setCodeApplication(String)' is missing an @Override annotation. 5053
CommentRequired Public method and constructor comments are required 5053
MissingOverride The method 'getBaseSiteUrl()' is missing an @Override annotation. 5558
CommentRequired Public method and constructor comments are required 5558
MissingOverride The method 'setBaseSiteUrl(String)' is missing an @Override annotation. 6063
CommentRequired Public method and constructor comments are required 6063
MissingOverride The method 'setCommandResult(CommandResult)' is missing an @Override annotation. 6568
MissingOverride The method 'getCommandResult()' is missing an @Override annotation. 7073

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/CommandResult.java

Rule Violation Ligne
CommentRequired Header comments are required 40186
RedundantFieldInitializer Avoid using redundant field initializer for 'STATUS_ERROR' 53
RedundantFieldInitializer Avoid using redundant field initializer for 'ERROR_TYPE_INFO' 55
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 58
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 64
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 64
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 134143
CommentRequired Public method and constructor comments are required 166169
CommentRequired Public method and constructor comments are required 171174
CommentRequired Public method and constructor comments are required 176179
CommentRequired Public method and constructor comments are required 181184

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FastDeployApplicationData.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 4952
CommentRequired Public method and constructor comments are required 5457
CommentRequired Public method and constructor comments are required 5962
CommentRequired Public method and constructor comments are required 6467
CommentRequired Public method and constructor comments are required 127130
CommentRequired Public method and constructor comments are required 132135
CommentRequired Public method and constructor comments are required 158161
CommentRequired Public method and constructor comments are required 163166
CommentRequired Public method and constructor comments are required 168170
CommentRequired Public method and constructor comments are required 172174

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FastDeployApplicationDemand.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 22189
CommentRequired Public method and constructor comments are required 6063
CommentRequired Public method and constructor comments are required 6568
CommentRequired Public method and constructor comments are required 7073
CommentRequired Public method and constructor comments are required 7578
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 83
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 83
CommentRequired Public method and constructor comments are required 179181
CommentRequired Public method and constructor comments are required 183185

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FastDeployEnvironment.java

Rule Violation Ligne
CommentRequired Header comments are required 3686
CommentRequired Public method and constructor comments are required 4548
CommentRequired Public method and constructor comments are required 5053
CommentRequired Public method and constructor comments are required 5558
CommentRequired Public method and constructor comments are required 6063
CommentRequired Public method and constructor comments are required 6568
CommentRequired Public method and constructor comments are required 7073
CommentRequired Public method and constructor comments are required 7578
CommentRequired Public method and constructor comments are required 8083

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FtpInfo.java

Rule Violation Ligne
CommentRequired Header comments are required 36137
CommentRequired Public method and constructor comments are required 4851
CommentRequired Public method and constructor comments are required 5356
CommentRequired Public method and constructor comments are required 5861
CommentRequired Public method and constructor comments are required 6366
CommentRequired Public method and constructor comments are required 6871
CommentRequired Public method and constructor comments are required 7376
CommentRequired Public method and constructor comments are required 7881
CommentRequired Public method and constructor comments are required 8386
CommentRequired Public method and constructor comments are required 8891
CommentRequired Public method and constructor comments are required 9396
CommentRequired Public method and constructor comments are required 98101
CommentRequired Public method and constructor comments are required 103106
CommentRequired Public method and constructor comments are required 108111
CommentRequired Public method and constructor comments are required 113116
CommentRequired Public method and constructor comments are required 118121
CommentRequired Public method and constructor comments are required 123126
CommentRequired Public method and constructor comments are required 128131
CommentRequired Public method and constructor comments are required 133136

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/ISite.java

Rule Violation Ligne
CommentRequired Header comments are required 3653
CommentRequired Public method and constructor comments are required 38
CommentRequired Public method and constructor comments are required 40
CommentRequired Public method and constructor comments are required 42
CommentRequired Public method and constructor comments are required 44
CommentRequired Public method and constructor comments are required 46
CommentRequired Public method and constructor comments are required 48
CommentRequired Public method and constructor comments are required 50
CommentRequired Public method and constructor comments are required 52

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/InvalidRepositoryUrlException.java

Rule Violation Ligne
CommentRequired Header comments are required 3639
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3639

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/MavenGoals.java

Rule Violation Ligne
CommentRequired Enum comments are required 3953
CommentRequired Public method and constructor comments are required 4952

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/ServerApplicationInstance.java

Rule Violation Ligne
TooManyFields Too many fields 45240
CommentRequired Header comments are required 45240
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 61
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 65
CommentRequired Public method and constructor comments are required 6770
CommentRequired Public method and constructor comments are required 7275
CommentRequired Public method and constructor comments are required 7780
CommentRequired Public method and constructor comments are required 8285
CommentRequired Public method and constructor comments are required 8790
CommentRequired Public method and constructor comments are required 9295
CommentRequired Public method and constructor comments are required 97100
CommentRequired Public method and constructor comments are required 102105
CommentRequired Public method and constructor comments are required 107110
CommentRequired Public method and constructor comments are required 112115
CommentRequired Public method and constructor comments are required 127139
CollapsibleIfStatements These nested if statements could be combined 132135
CommentRequired Public method and constructor comments are required 141144
CommentRequired Public method and constructor comments are required 146149
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 151
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 156
CommentRequired Public method and constructor comments are required 161164
CommentRequired Public method and constructor comments are required 166169
CommentRequired Public method and constructor comments are required 171174
CommentRequired Public method and constructor comments are required 176179
CommentRequired Public method and constructor comments are required 191194
CommentRequired Public method and constructor comments are required 196199
CommentRequired Public method and constructor comments are required 201204
CommentRequired Public method and constructor comments are required 206209
CommentRequired Public method and constructor comments are required 211214
CommentRequired Public method and constructor comments are required 216219
CommentRequired Public method and constructor comments are required 231234
CommentRequired Public method and constructor comments are required 236239

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/SiteDeploy.java

Rule Violation Ligne
CommentRequired Header comments are required 38110
CommentRequired Public method and constructor comments are required 4649
CommentRequired Public method and constructor comments are required 5154
CommentRequired Public method and constructor comments are required 5659
CommentRequired Public method and constructor comments are required 6164
CommentRequired Public method and constructor comments are required 8689
CommentRequired Public method and constructor comments are required 9194

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/SiteTag.java

Rule Violation Ligne
CommentRequired Header comments are required 3898
CommentRequired Public method and constructor comments are required 4548
CommentRequired Public method and constructor comments are required 5053
CommentRequired Public method and constructor comments are required 5558
CommentRequired Public method and constructor comments are required 6063
CommentRequired Public method and constructor comments are required 6568
CommentRequired Public method and constructor comments are required 7073

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/AbstractWorkflowDeployContext.java

Rule Violation Ligne
CommentRequired Header comments are required 43217
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 52
UnusedPrivateField Avoid unused private fields such as '_strPermission'. 58
CommentRequired Public method and constructor comments are required 6466
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 69
CommentRequired Public method and constructor comments are required 7376
CommentRequired Public method and constructor comments are required 7881
CommentRequired Public method and constructor comments are required 99102
CommentRequired Public method and constructor comments are required 104107
CommentRequired Public method and constructor comments are required 109123
CommentRequired Public method and constructor comments are required 125133
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 129
CommentRequired Public method and constructor comments are required 186189
CommentRequired Public method and constructor comments are required 191194
CommentRequired Public method and constructor comments are required 196199
CommentRequired Public method and constructor comments are required 201204
CommentRequired Public method and constructor comments are required 206209
CommentRequired Public method and constructor comments are required 211214

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/WorkflowDeployAppContext.java

Rule Violation Ligne
CommentRequired Header comments are required 7150
UncommentedEmptyConstructor Document empty constructor 2325
CallSuperInConstructor It is a good practice to call super() in a constructor 2325
CommentRequired Public method and constructor comments are required 2325
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 2325
CommentRequired Public method and constructor comments are required 2730
CommentRequired Public method and constructor comments are required 3235
CommentRequired Public method and constructor comments are required 3740
CommentRequired Public method and constructor comments are required 4245
CommentRequired Public method and constructor comments are required 4750
CommentRequired Public method and constructor comments are required 5255
CommentRequired Public method and constructor comments are required 7780
CommentRequired Public method and constructor comments are required 8285
CommentRequired Public method and constructor comments are required 8790
CommentRequired Public method and constructor comments are required 9295
CommentRequired Public method and constructor comments are required 9799
CommentRequired Public method and constructor comments are required 101103
CommentRequired Public method and constructor comments are required 135138
CommentRequired Public method and constructor comments are required 140143
MissingOverride The method 'getPermission()' is missing an @Override annotation. 145147
CommentRequired Public method and constructor comments are required 145147

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/WorkflowDeployScriptContext.java

Rule Violation Ligne
CommentRequired Header comments are required 1093
CommentRequired Public method and constructor comments are required 2629
CommentRequired Public method and constructor comments are required 3134
CommentRequired Public method and constructor comments are required 3639
CommentRequired Public method and constructor comments are required 4144
CommentRequired Public method and constructor comments are required 9092
MissingOverride The method 'getPermission()' is missing an @Override annotation. 9092

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/WorkflowInitDatabaseContext.java

Rule Violation Ligne
CommentRequired Header comments are required 738
CommentRequired Public method and constructor comments are required 1417
CommentRequired Public method and constructor comments are required 1922
CommentRequired Public method and constructor comments are required 3537
MissingOverride The method 'getPermission()' is missing an @Override annotation. 3537

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/WorkflowInitTomcatContext.java

Rule Violation Ligne
CommentRequired Header comments are required 735
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 1517
UncommentedEmptyConstructor Document empty constructor 1517
CommentRequired Public method and constructor comments are required 1517
CallSuperInConstructor It is a good practice to call super() in a constructor 1517
MissingOverride The method 'getPermission()' is missing an @Override annotation. 3133
CommentRequired Public method and constructor comments are required 3133

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ActionHistory.java

Rule Violation Ligne
CommentRequired Header comments are required 39302

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ActionParameter.java

Rule Violation Ligne
CommentRequired Header comments are required 3866
CommentRequired Public method and constructor comments are required 4750
CommentRequired Public method and constructor comments are required 5255
CommentRequired Public method and constructor comments are required 5760
CommentRequired Public method and constructor comments are required 6265

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/FastAction.java

Rule Violation Ligne
CommentRequired Header comments are required 38212
CommentRequired Public method and constructor comments are required 5760
MissingOverride The method 'setCode(String)' is missing an @Override annotation. 5760
MissingOverride The method 'getCode()' is missing an @Override annotation. 6770
CommentRequired Public method and constructor comments are required 6770
MissingOverride The method 'setName(String)' is missing an @Override annotation. 7780
CommentRequired Public method and constructor comments are required 7780
CommentRequired Public method and constructor comments are required 8790
MissingOverride The method 'getName()' is missing an @Override annotation. 8790
MissingOverride The method 'setI18nKeyName(String)' is missing an @Override annotation. 97100
CommentRequired Public method and constructor comments are required 97100
MissingOverride The method 'getI18nKeyName()' is missing an @Override annotation. 107110
CommentRequired Public method and constructor comments are required 107110
MissingOverride The method 'setStatus(Integer)' is missing an @Override annotation. 117120
CommentRequired Public method and constructor comments are required 117120
MissingOverride The method 'getStatus()' is missing an @Override annotation. 127130
CommentRequired Public method and constructor comments are required 127130
CommentRequired Public method and constructor comments are required 137140
MissingOverride The method 'setUsedForStatus(boolean)' is missing an @Override annotation. 137140
CommentRequired Public method and constructor comments are required 147150
MissingOverride The method 'isUsedForStatus()' is missing an @Override annotation. 147150
MissingOverride The method 'setIconCssClass(String)' is missing an @Override annotation. 152155
CommentRequired Public method and constructor comments are required 152155
CommentRequired Public method and constructor comments are required 157160
MissingOverride The method 'getIconCssClass()' is missing an @Override annotation. 157160
MissingOverride The method 'isDisplay()' is missing an @Override annotation. 162166
CommentRequired Public method and constructor comments are required 162166
CommentRequired Public method and constructor comments are required 168171
MissingOverride The method 'setDisplay(boolean)' is missing an @Override annotation. 168171
MissingOverride The method 'setParameters(List)' is missing an @Override annotation. 173176
CommentRequired Public method and constructor comments are required 173176
CommentRequired Public method and constructor comments are required 178181
MissingOverride The method 'getParameters()' is missing an @Override annotation. 178181
MissingOverride The method 'setServerType(String)' is missing an @Override annotation. 183186
CommentRequired Public method and constructor comments are required 183186
CommentRequired Public method and constructor comments are required 188191
MissingOverride The method 'getServerType()' is missing an @Override annotation. 188191
MissingOverride The method 'isStopWorkflowIfExecutionError()' is missing an @Override annotation. 193196
CommentRequired Public method and constructor comments are required 193196
CommentRequired Public method and constructor comments are required 198201
MissingOverride The method 'setStopWorkflowIfExecutionError(boolean)' is missing an @Override annotation. 198201
CommentRequired Public method and constructor comments are required 203206
CommentRequired Public method and constructor comments are required 208211

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/IAction.java

Rule Violation Ligne
CommentRequired Header comments are required 44104
CommentRequired Public method and constructor comments are required 46
CommentRequired Public method and constructor comments are required 48
CommentRequired Public method and constructor comments are required 50
CommentRequired Public method and constructor comments are required 52
CommentRequired Public method and constructor comments are required 54
CommentRequired Public method and constructor comments are required 56
CommentRequired Public method and constructor comments are required 58
CommentRequired Public method and constructor comments are required 60
CommentRequired Public method and constructor comments are required 62
CommentRequired Public method and constructor comments are required 64
CommentRequired Public method and constructor comments are required 66
CommentRequired Public method and constructor comments are required 68
CommentRequired Public method and constructor comments are required 70
CommentRequired Public method and constructor comments are required 72
CommentRequired Public method and constructor comments are required 74
CommentRequired Public method and constructor comments are required 76
CommentRequired Public method and constructor comments are required 80
CommentRequired Public method and constructor comments are required 8485
CommentRequired Public method and constructor comments are required 87
CommentRequired Public method and constructor comments are required 89
CommentRequired Public method and constructor comments are required 92
CommentRequired Public method and constructor comments are required 94
CommentRequired Public method and constructor comments are required 96
CommentRequired Public method and constructor comments are required 98100
CommentRequired Public method and constructor comments are required 102

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/AbstractRequiredFreeSpaceParameters.java

Rule Violation Ligne
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 520
CommentRequired Header comments are required 520

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DefaultAction.java

Rule Violation Ligne
CommentRequired Header comments are required 52160
MissingOverride The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' is missing an @Override annotation. 5998
CommentRequired Public method and constructor comments are required 5998
CommentRequired Protected method constructor comments are required 123128
CommentRequired Public method and constructor comments are required 137154
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 143
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 149

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpAction.java

Rule Violation Ligne
CyclomaticComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has a cyclomatic complexity of 12. 76147
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 8598
ConfusingTernary Avoid if (x != y) ..; else ..; 107
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 155169
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 202
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 224

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpParameters.java

Rule Violation Ligne
CommentRequired Header comments are required 633
CommentRequired Public method and constructor comments are required 1419

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpWithOptionsAction.java

Rule Violation Ligne
UnusedPrivateField Avoid unused private fields such as 'CONSTANTE_DUMP_FILE_NAME_PREFIX'. 73
UnusedPrivateField Avoid unused private fields such as 'CONSTANTE_DUMP_FILE_NAME_SUFIX'. 74
CyclomaticComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has a cyclomatic complexity of 12. 79147
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 88101
ConfusingTernary Avoid if (x != y) ..; else ..; 109
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 155169
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 201
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 223

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpWithOptionsParameters.java

Rule Violation Ligne
CommentRequired Header comments are required 655
CommentRequired Public method and constructor comments are required 2026

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/ExecuteActionParameters.java

Rule Violation Ligne
CommentRequired Header comments are required 537
CommentRequired Public method and constructor comments are required 1217

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/ExecuteSqlAction.java

Rule Violation Ligne
CyclomaticComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has a cyclomatic complexity of 16. 69163
NPathComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has an NPath complexity of 306 69163
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 8199
ConfusingTernary Avoid if (x != y) ..; else ..; 109
ConfusingTernary Avoid if (x != y) ..; else ..; 136150
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 169
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 191

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/IAnsibleAction.java

Rule Violation Ligne
CommentRequired Header comments are required 58

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/InitAppContextAction.java

Rule Violation Ligne
CommentRequired Header comments are required 1843

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/InitMysqlDatabaseAction.java

Rule Violation Ligne
CommentRequired Header comments are required 59129
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 100
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 122

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/StatusAction.java

Rule Violation Ligne
ConfusingTernary Avoid if (x != y) ..; else ..; 7889

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/WarInstalerParameters.java

Rule Violation Ligne
CommentRequired Header comments are required 525
CommentRequired Public method and constructor comments are required 812
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 14

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/WarInstallerAction.java

Rule Violation Ligne
CyclomaticComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has a cyclomatic complexity of 10. 61115
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 6977
ConfusingTernary Avoid if (x != y) ..; else ..; 80
MissingOverride The method 'getActionParameters(T)' is missing an @Override annotation. 117133
CommentRequired Public method and constructor comments are required 117133
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 120
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 132

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/DefaultAction.java

Rule Violation Ligne
CommentRequired Header comments are required 51130
MissingOverride The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' is missing an @Override annotation. 5896
CommentRequired Public method and constructor comments are required 5896
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 70
ShortVariable Avoid variables with short names like jo 81
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 8691

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/DumpAction.java

Rule Violation Ligne
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 7785
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 99
ShortVariable Avoid variables with short names like jo 109
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 111121
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 138152
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 182
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 195

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/ExecuteSqlAction.java

Rule Violation Ligne
CyclomaticComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has a cyclomatic complexity of 13. 64145
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 7184
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 98
ShortVariable Avoid variables with short names like jo 105
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 108140
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 151
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 164

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/ICloudmgrAction.java

Rule Violation Ligne
CommentRequired Header comments are required 58

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/InitMysqlDatabaseAction.java

Rule Violation Ligne
CommentRequired Header comments are required 55111
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 66

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/WarInstallerAction.java

Rule Violation Ligne
CyclomaticComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has a cyclomatic complexity of 10. 59128
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 9195
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 101
ShortVariable Avoid variables with short names like jo 111
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 116122

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/task/TaskRunServerActionConfig.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 4951
CommentRequired Public method and constructor comments are required 5355

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/task/TaskRunServerActionConfigDAO.java

Rule Violation Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 6980

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/vcs/AbstractVCSUser.java

Rule Violation Ligne
CommentRequired Header comments are required 3665

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/vcs/DefaultVCSUser.java

Rule Violation Ligne
CommentRequired Header comments are required 3740

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/vcs/GitUser.java

Rule Violation Ligne
CommentRequired Header comments are required 3639

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/vcs/IVCSUser.java

Rule Violation Ligne
CommentRequired Header comments are required 3645
CommentRequired Public method and constructor comments are required 38
CommentRequired Public method and constructor comments are required 40
CommentRequired Public method and constructor comments are required 42
CommentRequired Public method and constructor comments are required 44

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/vcs/SvnUser.java

Rule Violation Ligne
CommentRequired Header comments are required 3960
CommentRequired Public method and constructor comments are required 4649
CallSuperInConstructor It is a good practice to call super() in a constructor 4649
CommentRequired Public method and constructor comments are required 5154
CommentRequired Public method and constructor comments are required 5659

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/AbstractActionService.java

Rule Violation Ligne
CommentRequired Header comments are required 1999
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 21
MissingOverride The method 'getListAction(Locale)' is missing an @Override annotation. 2339
CommentRequired Public method and constructor comments are required 2339
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 25
MissingOverride The method 'getAction(String, Locale)' is missing an @Override annotation. 8496
CommentRequired Public method and constructor comments are required 8496

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/AbstractDatabaseService.java

Rule Violation Ligne
CommentRequired Header comments are required 1047
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 24
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 36
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 38

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/AbstractFastDeployEnvironmentService.java

Rule Violation Ligne
CommentRequired Header comments are required 1378
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 18
MissingOverride The method 'initService()' is missing an @Override annotation. 2234
CommentRequired Public method and constructor comments are required 2234
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 25
CommentRequired Public method and constructor comments are required 4151
MissingOverride The method 'getEnvironment(String, Locale)' is missing an @Override annotation. 4151
MissingOverride The method 'getEnvironmentRefList(Locale)' is missing an @Override annotation. 5364
CommentRequired Public method and constructor comments are required 5364

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/AbstractServerApplicationService.java

Rule Violation Ligne
CommentRequired Header comments are required 1493
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 17
MissingOverride The method 'getHashServerApplicationInstance(FastDeployApplicationData, String, String, Locale, boolean, boolean, String)' is missing an @Override annotation. 3252
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 32
CommentRequired Public method and constructor comments are required 3252
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 35
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 44
MissingOverride The method 'initService()' is missing an @Override annotation. 7690
CommentRequired Public method and constructor comments are required 7690
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 79

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ActionHistoryService.java

Rule Violation Ligne
CommentRequired Header comments are required 59108
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 60108
CommentRequired Public method and constructor comments are required 6281
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 89
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 89
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 9094

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/DeploymentFactory.java

Rule Violation Ligne
CommentRequired Header comments are required 12199
CommentRequired Public method and constructor comments are required 3351
CommentRequired Public method and constructor comments are required 5372
CommentRequired Public method and constructor comments are required 7594
CommentRequired Public method and constructor comments are required 96114
CommentRequired Public method and constructor comments are required 116134
CommentRequired Public method and constructor comments are required 138148
NonThreadSafeSingleton Singleton is not thread safe 141145

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/FastDeployApplicationTask.java

Rule Violation Ligne
CommentRequired Header comments are required 2050
CommentRequired Public method and constructor comments are required 4449

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/FastDeployPermissionProvider.java

Rule Violation Ligne
CommentRequired Header comments are required 43104
AvoidDuplicateLiterals The String literal "ENV" appears 8 times in this file; the first occurrence is on line 56 56

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/FrontWorkflowProvider.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34727
UnusedPrivateField Avoid unused private fields such as '_resourceHistoryFactory'. 121
MissingOverride The method 'getActions(Collection, AdminUser)' is missing an @Override annotation. 135145
ConfusingTernary Avoid if (x != y) ..; else ..; 137144
MissingOverride The method 'getActions(Map, AdminUser)' is missing an @Override annotation. 151164
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 185
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 190
ConfusingTernary Avoid if (x != y) ..; else ..; 196225
CyclomaticComplexity The method 'getAuthorizedResourceList(String, int, List, Integer, AdminUser)' has a cyclomatic complexity of 11. 234303
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 237
ConfusingTernary Avoid if (x != y) ..; else ..; 248259
ConfusingTernary Avoid if (x != y) ..; else ..; 270281
MissingOverride The method 'getDisplayDocumentHistory(int, String, int, HttpServletRequest, Locale, String)' is missing an @Override annotation. 334342
MissingOverride The method 'getDisplayDocumentHistory(int, String, int, HttpServletRequest, Locale, Map, String)' is missing an @Override annotation. 365378
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 387
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 400
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 400
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 426
ConfusingTernary Avoid if (x != y) ..; else ..; 426
ConfusingTernary Avoid if (x != y) ..; else ..; 433463
MissingOverride The method 'canProcessAction(int, HttpServletRequest)' is missing an @Override annotation. 503521
ConfusingTernary Avoid if (x != y) ..; else ..; 510517
CyclomaticComplexity The method 'isAuthorized(int, String, int, AdminUser)' has a cyclomatic complexity of 11. 527585
ConfusingTernary Avoid if (x != y) ..; else ..; 533550
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 546
ConfusingTernary Avoid if (x != y) ..; else ..; 554580
MissingOverride The method 'doSaveTasksForm(int, String, int, Integer, HttpServletRequest, Locale, String)' is missing an @Override annotation. 615619
ConfusingTernary Avoid if (x != y) ..; else ..; 637644
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 668
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 668
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 670
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 675
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 683

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/FtpService.java

Rule Violation Ligne
CommentRequired Header comments are required 4682
CommentRequired Public method and constructor comments are required 5460
MissingOverride The method 'uploadFile(String, String, FtpInfo, String, CommandResult, boolean)' is missing an @Override annotation. 5460
MissingOverride The method 'uploadFile(String, InputStream, FtpInfo, String, CommandResult, boolean)' is missing an @Override annotation. 6268
CommentRequired Public method and constructor comments are required 6268
LinguisticNaming Linguistics Antipattern - The getter 'getFile' should not return void linguistically 7074
MissingOverride The method 'getFile(String, OutputStream, FtpInfo, String, CommandResult)' is missing an @Override annotation. 7074
CommentRequired Public method and constructor comments are required 7074

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/IActionService.java

Rule Violation Ligne
CommentRequired Header comments are required 4565
CommentRequired Public method and constructor comments are required 47
CommentRequired Public method and constructor comments are required 49
CommentRequired Public method and constructor comments are required 5152
CommentRequired Public method and constructor comments are required 5455
CommentRequired Public method and constructor comments are required 57
CommentRequired Public method and constructor comments are required 59
CommentRequired Public method and constructor comments are required 62
CommentRequired Public method and constructor comments are required 64

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/IDatabaseService.java

Rule Violation Ligne
CommentRequired Header comments are required 4285
UnnecessaryModifier Unnecessary modifier 'public' on method 'getDatabases': the method is declared in an interface type 56
UnnecessaryModifier Unnecessary modifier 'public' on method 'getDatabases': the method is declared in an interface type 71
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 80
UnnecessaryModifier Unnecessary modifier 'public' on method 'getHashDatabases': the method is declared in an interface type 8081
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 81

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/IFastDeployEnvironmentService.java

Rule Violation Ligne
CommentRequired Header comments are required 4253
CommentRequired Public method and constructor comments are required 44
CommentRequired Public method and constructor comments are required 46
CommentRequired Public method and constructor comments are required 48
CommentRequired Public method and constructor comments are required 50
CommentRequired Public method and constructor comments are required 52

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/IFtpService.java

Rule Violation Ligne
CommentRequired Header comments are required 4353
CommentRequired Public method and constructor comments are required 46
CommentRequired Public method and constructor comments are required 48
LinguisticNaming Linguistics Antipattern - The getter 'getFile' should not return void linguistically 50
CommentRequired Public method and constructor comments are required 50
CommentRequired Public method and constructor comments are required 52

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/IMavenService.java

Rule Violation Ligne
CommentRequired Header comments are required 3952
CommentRequired Public method and constructor comments are required 41
CommentRequired Public method and constructor comments are required 43
CommentRequired Public method and constructor comments are required 45
CommentRequired Public method and constructor comments are required 47
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 47
CommentRequired Public method and constructor comments are required 49
UnnecessaryModifier Unnecessary modifier 'public' on method 'runCustomMavenCommand': the method is declared in an interface type 51
CommentRequired Public method and constructor comments are required 51

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/IServerApplicationService.java

Rule Violation Ligne
CommentRequired Header comments are required 4361
CommentRequired Public method and constructor comments are required 4546
CommentRequired Public method and constructor comments are required 4950
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 4950
CommentRequired Public method and constructor comments are required 5253
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 52
CommentRequired Public method and constructor comments are required 55
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 55
CommentRequired Public method and constructor comments are required 59

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/IWorkflowDeploySiteService.java

Rule Violation Ligne
CommentRequired Header comments are required 4461
CommentRequired Public method and constructor comments are required 46
CommentRequired Public method and constructor comments are required 48
CommentRequired Public method and constructor comments are required 50
CommentRequired Public method and constructor comments are required 52
CommentRequired Public method and constructor comments are required 54
CommentRequired Public method and constructor comments are required 56
CommentRequired Public method and constructor comments are required 58
CommentRequired Public method and constructor comments are required 60

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/MavenService.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 8091
NonThreadSafeSingleton Singleton is not thread safe 8389
CommentRequired Public method and constructor comments are required 9398
MissingOverride The method 'init()' is missing an @Override annotation. 9398
MissingOverride The method 'mvnSiteAssembly(String, String, AbstractVCSUser, CommandResult)' is missing an @Override annotation. 106116
CommentRequired Public method and constructor comments are required 106116
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 111
MissingOverride The method 'saveMvnProfilName(String, String, String, String)' is missing an @Override annotation. 118122
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 118
CommentRequired Public method and constructor comments are required 118122
CommentRequired Public method and constructor comments are required 124128
MissingOverride The method 'getMvnProfilSaved(String, String, String)' is missing an @Override annotation. 124128
MissingOverride The method 'getSiteWarName(String)' is missing an @Override annotation. 130149
CommentRequired Public method and constructor comments are required 130149
IdenticalCatchBranches 'catch' branch identical to 'FileNotFoundException' branch 143147
UnusedPrivateMethod Avoid unused private methods such as 'getGoalToString(List)'. 157
CommentRequired Public method and constructor comments are required 206209
MissingOverride The method 'consumeLine(String)' is missing an @Override annotation. 206209
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 208
ConfusingTernary Avoid if (x != y) ..; else ..; 216225
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 228
ShortVariable Avoid variables with short names like sw 230
ShortVariable Avoid variables with short names like pw 231

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/SFTPService.java

Rule Violation Ligne
CommentRequired Header comments are required 54187
AvoidDuplicateLiterals The String literal "Probleme de connexion SFTP,le compte SFTP n'est pas reconnu pour le compte " appears 6 times in this file; the first occurrence is on line 93 93
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 147
ReplaceVectorWithList Consider replacing this Vector with the newer java.util.List 165

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/WorkflowDeploySiteService.java

Rule Violation Ligne
CommentRequired Header comments are required 62270
DefaultPackage Use explicit scoping instead of the default package private level 64
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 64
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _mapWorkflowDeploySiteContext field if you want a default access modifier 64
CommentRequired Public method and constructor comments are required 7079
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 7079
MissingOverride The method 'addWorkflowDeploySiteContext(T)' is missing an @Override annotation. 7079
CommentRequired Public method and constructor comments are required 8184
MissingOverride The method 'getWorkflowDeploySiteContext(int)' is missing an @Override annotation. 8184
MissingOverride The method 'checkoutSite(WorkflowDeployAppContext, Locale)' is missing an @Override annotation. 86111
CommentRequired Public method and constructor comments are required 86111
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 98
CommentRequired Public method and constructor comments are required 115130
MissingOverride The method 'assemblySite(WorkflowDeployAppContext, Locale)' is missing an @Override annotation. 115130
MissingOverride The method 'deploySite(WorkflowDeployAppContext, Locale)' is missing an @Override annotation. 132154
CommentRequired Public method and constructor comments are required 132154
CommentRequired Public method and constructor comments are required 156181
MissingOverride The method 'deployScript(WorkflowDeployScriptContext, Locale)' is missing an @Override annotation. 156181
ConfusingTernary Avoid if (x != y) ..; else ..; 160161
MissingOverride The method 'executeServerAction(String, HttpServletRequest, T, Locale)' is missing an @Override annotation. 183227
CommentRequired Public method and constructor comments are required 183227
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 229

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AWXExecuteResult.java

Rule Violation Ligne
CommentRequired Header comments are required 1096
CommentRequired Public method and constructor comments are required 2932
CommentRequired Public method and constructor comments are required 3437
CommentRequired Public method and constructor comments are required 4043
CommentRequired Public method and constructor comments are required 4548
CommentRequired Public method and constructor comments are required 5053
CommentRequired Public method and constructor comments are required 5558
CommentRequired Public method and constructor comments are required 8082
CommentRequired Public method and constructor comments are required 8486

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AWXHost.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like id 18
ShortVariable Avoid variables with short names like id 41

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AWXHostVariable.java

Rule Violation Ligne
CommentRequired Header comments are required 723
CommentRequired Public method and constructor comments are required 1517
CommentRequired Public method and constructor comments are required 1921

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AWXJobResult.java

Rule Violation Ligne
DataClass The class 'AWXJobResult' is suspected to be a Data Class (WOC=7.692%, NOPA=0, NOAM=12, WMC=13) 783
CommentRequired Header comments are required 783
UnusedPrivateField Avoid unused private fields such as 'STATUS_SUCCESSFUL'. 9
UnusedPrivateField Avoid unused private fields such as 'STATUS_FAILED'. 10
ShortVariable Avoid variables with short names like id 12
ShortVariable Avoid variables with short names like id 25
CommentRequired Public method and constructor comments are required 6164

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AWXParameters.java

Rule Violation Ligne
CommentRequired Header comments are required 744
CommentRequired Public method and constructor comments are required 3843

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AWXService.java

Rule Violation Ligne
CommentRequired Header comments are required 31602
GodClass Possible God Class (WMC=49, ATFD=39, TCC=10.000%) 31602
CommentRequired Public method and constructor comments are required 6277
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 6277
CommentRequired Public method and constructor comments are required 7998
ConfusingTernary Avoid if (x != y) ..; else ..; 95
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'listHostsAutorized' 97
CommentRequired Public method and constructor comments are required 101120
ConfusingTernary Avoid if (x != y) ..; else ..; 116
ConfusingTernary Avoid if (x != y) ..; else ..; 119
DefaultPackage Use explicit scoping instead of the default package private level 127161
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the hostInFastDeployInventory method if you want a default access modifier 127161
CommentRequired Public method and constructor comments are required 164188
IdenticalCatchBranches 'catch' branch identical to 'HttpAccessException' branch 182184
CommentRequired Public method and constructor comments are required 190215
AvoidDuplicateLiterals The String literal "error calling AWXService.getStatusInfo Method" appears 4 times in this file; the first occurrence is on line 206 206
IdenticalCatchBranches 'catch' branch identical to 'HttpAccessException' branch 208210
CommentRequired Public method and constructor comments are required 217244
AvoidDuplicateLiterals The String literal "error calling AWXService.getDatabasesInfo Method" appears 4 times in this file; the first occurrence is on line 236 236
IdenticalCatchBranches 'catch' branch identical to 'HttpAccessException' branch 238240
CommentRequired Public method and constructor comments are required 246272
IdenticalCatchBranches 'catch' branch identical to 'HttpAccessException' branch 266268
CommentRequired Public method and constructor comments are required 275300
IdenticalCatchBranches 'catch' branch identical to 'HttpAccessException' branch 293295
CommentRequired Public method and constructor comments are required 304329
IdenticalCatchBranches 'catch' branch identical to 'HttpAccessException' branch 323325
CommentRequired Public method and constructor comments are required 331349
CommentRequired Public method and constructor comments are required 352357
CommentRequired Public method and constructor comments are required 359396
ConfusingTernary Avoid if (x != y) ..; else ..; 366379
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 399
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 402
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 427
CommentRequired Public method and constructor comments are required 453485

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/ActionService.java

Rule Violation Ligne
CommentRequired Header comments are required 4974
CommentRequired Public method and constructor comments are required 5357
MissingOverride The method 'getListActionByServerApplicationInstance(FastDeployApplicationData, ServerApplicationInstance, Locale)' is missing an @Override annotation. 5357
CommentRequired Public method and constructor comments are required 6173
MissingOverride The method 'initService()' is missing an @Override annotation. 6173
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 64

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AnsibleUtils.java

Rule Violation Ligne
CommentRequired Header comments are required 36

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/DatabaseService.java

Rule Violation Ligne
ImmutableField Private field 'JOB_SHOWDATABASES' could be made final; it is only initialized in the declaration or constructor. 53
ConfusingTernary Avoid if (x != y) ..; else ..; 8291

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/FastDeployEnvironmentService.java

Rule Violation Ligne
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 4589
CommentRequired Header comments are required 4589
CallSuperInConstructor It is a good practice to call super() in a constructor 4749
CommentRequired Public method and constructor comments are required 5576
MissingOverride The method 'getListEnvironments(String, Locale)' is missing an @Override annotation. 5576
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 57

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/InventoryAWXCacheService.java

Rule Violation Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 1518

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/JobTemplateAWXCacheService.java

Rule Violation Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 1417

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/ServerApplicationService.java

Rule Violation Ligne
CommentRequired Header comments are required 54191
CommentRequired Public method and constructor comments are required 5768
MissingOverride The method 'getListServerApplicationInstanceByEnvironment(FastDeployApplicationData, String, String, String, Locale, boolean, boolean)' is missing an @Override annotation. 5768
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 62
CommentRequired Public method and constructor comments are required 70110
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 7071
MissingOverride The method 'getServerApplicationInstance(FastDeployApplicationData, String, String, String, String, Locale, boolean, boolean)' is missing an @Override annotation. 70110
UnusedFormalParameter Avoid unused method parameters such as 'strCodeApplication'. 112
UnusedFormalParameter Avoid unused method parameters such as 'locale'. 128
CommentRequired Public method and constructor comments are required 151156
MissingOverride The method 'saveServerName(String, String, String, String, String)' is missing an @Override annotation. 151156
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 151152
CommentRequired Public method and constructor comments are required 158162
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 158

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/cloudmgr/ActionService.java

Rule Violation Ligne
CommentRequired Header comments are required 56115
CommentRequired Public method and constructor comments are required 6097
MissingOverride The method 'getListActionByServerApplicationInstance(FastDeployApplicationData, ServerApplicationInstance, Locale)' is missing an @Override annotation. 6097
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 63
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 74
MissingOverride The method 'initService()' is missing an @Override annotation. 102114
CommentRequired Public method and constructor comments are required 102114
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 105

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/cloudmgr/CloudmgrUtils.java

Rule Violation Ligne
CommentRequired Header comments are required 44185
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 45185
CommentRequired Public method and constructor comments are required 8187
CommentRequired Public method and constructor comments are required 8992
CommentRequired Public method and constructor comments are required 94101
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 9697
CommentRequired Public method and constructor comments are required 103108
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 107
CommentRequired Public method and constructor comments are required 110118
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 115
CommentRequired Public method and constructor comments are required 120125
CommentRequired Public method and constructor comments are required 127135
CommentRequired Public method and constructor comments are required 136144
CommentRequired Public method and constructor comments are required 147155
CommentRequired Public method and constructor comments are required 157165

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/cloudmgr/DatabaseService.java

Rule Violation Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 77
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 88
ShortVariable Avoid variables with short names like jo 97

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/cloudmgr/FastDeployEnvironmentService.java

Rule Violation Ligne
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 52158
CommentRequired Header comments are required 52158
CallSuperInConstructor It is a good practice to call super() in a constructor 5456
CommentRequired Public method and constructor comments are required 62121
MissingOverride The method 'getListEnvironments(String, Locale)' is missing an @Override annotation. 62121
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 65
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 79
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 86
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 90
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 97
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 108
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 108
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 111114

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/cloudmgr/ServerApplicationService.java

Rule Violation Ligne
CommentRequired Header comments are required 60190
CommentRequired Public method and constructor comments are required 67103
MissingOverride The method 'getListServerApplicationInstanceByEnvironment(FastDeployApplicationData, String, String, String, Locale, boolean, boolean)' is missing an @Override annotation. 67103
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 71
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 85
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 97
CommentRequired Public method and constructor comments are required 105136
MissingOverride The method 'getServerApplicationInstance(FastDeployApplicationData, String, String, String, String, Locale, boolean, boolean)' is missing an @Override annotation. 105136
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 105106
UnusedFormalParameter Avoid unused method parameters such as 'locale'. 158
CommentRequired Public method and constructor comments are required 181184
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 181
MissingOverride The method 'saveServerName(String, String, String, String, String)' is missing an @Override annotation. 181184
CommentRequired Public method and constructor comments are required 186189
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 186

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/task/AbstractTaskRunServerActionComponent.java

Rule Violation Ligne
CommentRequired Header comments are required 1999

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/task/TaskAssemblySite.java

Rule Violation Ligne
CommentRequired Header comments are required 5084

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/task/TaskCheckout.java

Rule Violation Ligne
CommentRequired Header comments are required 5080

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/task/TaskDeploySite.java

Rule Violation Ligne
CommentRequired Header comments are required 5080

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/task/TaskRunServerActionComponentAnsible.java

Rule Violation Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 81
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 81

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/task/TaskRunServerActionComponentCloudmgr.java

Rule Violation Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 81
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 81

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/vcs/AbstractGitService.java

Rule Violation Ligne
CommentRequired Header comments are required 58163
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 93
ShortVariable Avoid variables with short names like r 142
ShortVariable Avoid variables with short names like m 145
UncommentedEmptyMethodBody Document empty method body 161162

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/vcs/GithubService.java

Rule Violation Ligne
CommentRequired Header comments are required 3851

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/vcs/GitlabService.java

Rule Violation Ligne
CommentRequired Header comments are required 4767

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/vcs/IVCSService.java

Rule Violation Ligne
CommentRequired Header comments are required 43137
CommentRequired Public method and constructor comments are required 45
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 77

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/vcs/SvnService.java

Rule Violation Ligne
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 62274
CommentRequired Header comments are required 62274
MissingOverride The method 'init()' is missing an @Override annotation. 85100
CommentRequired Public method and constructor comments are required 85100
CommentRequired Public method and constructor comments are required 107125
MissingOverride The method 'getTagsSite(String, SvnUser, String)' is missing an @Override annotation. 107125
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 119
CommentRequired Public method and constructor comments are required 127176
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 127
MissingOverride The method 'doCheckoutSite(String, String, SvnUser, CommandResult, String, String)' is missing an @Override annotation. 127176
UnusedLocalVariable Avoid unused local variables such as 'strError'. 136
ConfusingTernary Avoid if (x != y) ..; else ..; 139146
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 152
EmptyIfStmt Avoid empty if statements 158173
CommentRequired Public method and constructor comments are required 221235
CommentRequired Public method and constructor comments are required 244247
CommentRequired Public method and constructor comments are required 249252

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/uploadhandler/DeploymentUploadHandler.java

Rule Violation Ligne
CommentRequired Header comments are required 57292
UseUnderscoresInNumericLiterals Number 2097152 should separate every third digit with an underscore 60
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 72
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 73
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 118
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 123
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 212
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 214
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 225
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 233

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/ConstanteUtils.java

Rule Violation Ligne
CommentRequired Header comments are required 36398

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/DeploymentUtils.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34754
CommentRequired Header comments are required 84754
CyclomaticComplexity The class 'DeploymentUtils' has a total cyclomatic complexity of 95 (highest 9). 84754
GodClass Possible God Class (WMC=95, ATFD=189, TCC=0.000%) 84754
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 85754
CommentRequired Public method and constructor comments are required 90103
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 92
ShortVariable Avoid variables with short names like jo 93
CommentRequired Public method and constructor comments are required 105119
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 107
ShortVariable Avoid variables with short names like jo 108
CommentRequired Public method and constructor comments are required 121126
ShortVariable Avoid variables with short names like jo 123
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'jo' 125
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 161
AssignmentInOperand Avoid assignments in operands 161
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 229
ConfusingTernary Avoid if (x != y) ..; else ..; 250262
CommentRequired Public method and constructor comments are required 307347
ConfusingTernary Avoid if (x != y) ..; else ..; 312344
CommentRequired Public method and constructor comments are required 349404
ShortVariable Avoid variables with short names like jo 351
ConfusingTernary Avoid if (x != y) ..; else ..; 369383
CommentRequired Public method and constructor comments are required 406445
ShortVariable Avoid variables with short names like jo 409
ConfusingTernary Avoid if (x != y) ..; else ..; 413
ConfusingTernary Avoid if (x != y) ..; else ..; 415
ConfusingTernary Avoid if (x != y) ..; else ..; 416
ConfusingTernary Avoid if (x != y) ..; else ..; 436
ConfusingTernary Avoid if (x != y) ..; else ..; 437
CommentRequired Public method and constructor comments are required 447487
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 447448
ShortVariable Avoid variables with short names like jo 450
ConfusingTernary Avoid if (x != y) ..; else ..; 454
ConfusingTernary Avoid if (x != y) ..; else ..; 480
CommentRequired Public method and constructor comments are required 489495
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'nIdWorkflow' 494
CommentRequired Public method and constructor comments are required 497503
CommentRequired Public method and constructor comments are required 505511
CommentRequired Public method and constructor comments are required 513516
CommentRequired Public method and constructor comments are required 518521
ShortVariable Avoid variables with short names like e 523
CommentRequired Public method and constructor comments are required 523542
ConfusingTernary Avoid if (x != y) ..; else ..; 526533
CommentRequired Public method and constructor comments are required 544547
CommentRequired Public method and constructor comments are required 549562
CommentRequired Public method and constructor comments are required 564583
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 568
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 579
CommentRequired Public method and constructor comments are required 587599
CommentRequired Public method and constructor comments are required 601612
CommentRequired Public method and constructor comments are required 614617
CommentRequired Public method and constructor comments are required 620633
SwitchStmtsShouldHaveDefault Switch statements should have a default label 644652
SwitchStmtsShouldHaveDefault Switch statements should have a default label 665673
CommentRequired Public method and constructor comments are required 725729
CommentRequired Public method and constructor comments are required 731735
CommentRequired Public method and constructor comments are required 737741
CommentRequired Public method and constructor comments are required 744753

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/FTPUtils.java

Rule Violation Ligne
CommentRequired Header comments are required 52300
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 53300
CyclomaticComplexity The method 'uploadFile(String, InputStream, FtpInfo, String, CommandResult, boolean)' has a cyclomatic complexity of 10. 55129
CommentRequired Public method and constructor comments are required 55129
ConfusingTernary Avoid if (x != y) ..; else ..; 61125
EmptyCatchBlock Avoid empty catch blocks 114117
CommentRequired Public method and constructor comments are required 131206
ConfusingTernary Avoid if (x != y) ..; else ..; 135202
EmptyCatchBlock Avoid empty catch blocks 191194
CommentRequired Public method and constructor comments are required 208230
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 211
UnusedLocalVariable Avoid unused local variables such as 'ftp'. 211
ConfusingTernary Avoid if (x != y) ..; else ..; 236243
EmptyCatchBlock Avoid empty catch blocks 288291

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/FileUtil.java

Rule Violation Ligne
CommentRequired Header comments are required 40108
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 41108
CommentRequired Public method and constructor comments are required 4568
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 62
CommentRequired Public method and constructor comments are required 7073
CommentRequired Public method and constructor comments are required 7578
CyclomaticComplexity The method 'list(String, String, boolean, boolean)' has a cyclomatic complexity of 10. 80106
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 82

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/MapperJsonUtil.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like t 73

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/MavenUtils.java

Rule Violation Ligne
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 3967
CommentRequired Header comments are required 3967
UnusedPrivateField Avoid unused private fields such as 'RELEASE_PREPARE_BASE'. 46
UnusedPrivateField Avoid unused private fields such as 'RELEASE_PREPARE_ARGS'. 47

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/ReleaseSVNCheckoutClient.java

Rule Violation Ligne
CommentRequired Header comments are required 4462
SingularField Perhaps 'bCancelled' could be replaced by a local variable. 46
UnusedPrivateField Avoid unused private fields such as 'bCancelled'. 46
CommentRequired Public method and constructor comments are required 4851
CommentRequired Public method and constructor comments are required 5356
CommentRequired Public method and constructor comments are required 5861

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/ReleaseUtils.java

Rule Violation Ligne
CommentRequired Header comments are required 63269
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 64269
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 81
CommentRequired Public method and constructor comments are required 100108
ShortVariable Avoid variables with short names like jc 103
ShortVariable Avoid variables with short names like u 104
CommentRequired Public method and constructor comments are required 110121
ShortVariable Avoid variables with short names like jc 116
ShortVariable Avoid variables with short names like m 117
CommentRequired Public method and constructor comments are required 123149
UseIndexOfChar String.indexOf(char) is faster than String.indexOf(String). 132
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 139
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 140
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 141
AvoidPrintStackTrace Avoid printStackTrace(); use a logger call instead. 145
ShortVariable Avoid variables with short names like is 160
ShortVariable Avoid variables with short names like is 183
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'strVersion' 188
ShortVariable Avoid variables with short names like is 200
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'strVersion' 205
CommentRequired Public method and constructor comments are required 208268
ConfusingTernary Avoid if (x != y) ..; else ..; 221249
AvoidPrintStackTrace Avoid printStackTrace(); use a logger call instead. 262

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/RepositoryUtils.java

Rule Violation Ligne
CommentRequired Header comments are required 50199
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 51199
CyclomaticComplexity The method 'checkRepository(FastDeployApplicationData)' has a cyclomatic complexity of 13. 60111
ConfusingTernary Avoid if (x != y) ..; else ..; 63110
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 81
CommentRequired Public method and constructor comments are required 187190
CommentRequired Public method and constructor comments are required 193196

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/SFTPUtils.java

Rule Violation Ligne
CommentRequired Header comments are required 1866
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 1866
CommentRequired Public method and constructor comments are required 2033
CommentRequired Public method and constructor comments are required 3546
CommentRequired Public method and constructor comments are required 4864
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'channelSftp' 63

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/URLUtils.java

Rule Violation Ligne
CommentRequired Header comments are required 42116
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 43116
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'url' 90
UnusedLocalVariable Avoid unused local variables such as 'url'. 109
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 113

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/GitSearchRepoItem.java

Rule Violation Ligne
CommentRequired Header comments are required 559
CommentRequired Public method and constructor comments are required 1316
CommentRequired Public method and constructor comments are required 1821
CommentRequired Public method and constructor comments are required 2427
CommentRequired Public method and constructor comments are required 3033
CommentRequired Public method and constructor comments are required 3639
CommentRequired Public method and constructor comments are required 4245
CommentRequired Public method and constructor comments are required 4851
CommentRequired Public method and constructor comments are required 5457

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/GitSearchResult.java

Rule Violation Ligne
CommentRequired Header comments are required 738
CommentRequired Public method and constructor comments are required 2730
CommentRequired Public method and constructor comments are required 3336

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/GitUtils.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 1529
GodClass Possible God Class (WMC=77, ATFD=44, TCC=2.614%) 53529
CommentRequired Header comments are required 53529
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 54529
CommentRequired Public method and constructor comments are required 6074
CommentRequired Public method and constructor comments are required 77106
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 79
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 80
CommentRequired Public method and constructor comments are required 108169
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 108
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 111
CollapsibleIfStatements These nested if statements could be combined 117121
IdenticalCatchBranches 'catch' branch identical to 'InvalidRemoteException' branch 150154
IdenticalCatchBranches 'catch' branch identical to 'InvalidRemoteException' branch 155158
IdenticalCatchBranches 'catch' branch identical to 'InvalidRemoteException' branch 159162
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 171
CommentRequired Public method and constructor comments are required 171222
IdenticalCatchBranches 'catch' branch identical to 'InvalidRemoteException' branch 204207
IdenticalCatchBranches 'catch' branch identical to 'InvalidRemoteException' branch 208211
IdenticalCatchBranches 'catch' branch identical to 'InvalidRemoteException' branch 212215
CommentRequired Public method and constructor comments are required 224247
IdenticalCatchBranches 'catch' branch identical to 'InvalidRemoteException' branch 236240
IdenticalCatchBranches 'catch' branch identical to 'InvalidRemoteException' branch 242245
CommentRequired Public method and constructor comments are required 249273
IdenticalCatchBranches 'catch' branch identical to 'InvalidRemoteException' branch 262266
IdenticalCatchBranches 'catch' branch identical to 'InvalidRemoteException' branch 268271
CommentRequired Public method and constructor comments are required 275306
IdenticalCatchBranches 'catch' branch identical to 'RefAlreadyExistsException' branch 289292
IdenticalCatchBranches 'catch' branch identical to 'RefAlreadyExistsException' branch 293296
IdenticalCatchBranches 'catch' branch identical to 'RefAlreadyExistsException' branch 297300
IdenticalCatchBranches 'catch' branch identical to 'RefAlreadyExistsException' branch 301304
CommentRequired Public method and constructor comments are required 308315
CommentRequired Public method and constructor comments are required 317323
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'pPullResult' 322
CommentRequired Public method and constructor comments are required 325341
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'mergeResult' 340
CommentRequired Public method and constructor comments are required 343356
ShortVariable Avoid variables with short names like i 346
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 351
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 352
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 353
CommentRequired Public method and constructor comments are required 358370
ShortVariable Avoid variables with short names like i 361
CommentRequired Public method and constructor comments are required 372411
CommentRequired Public method and constructor comments are required 413429
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 413
ShortVariable Avoid variables with short names like i 438
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 455464
IdenticalCatchBranches 'catch' branch identical to 'InvalidRemoteException' branch 518522
IdenticalCatchBranches 'catch' branch identical to 'InvalidRemoteException' branch 524527

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/ReleaseSVNCommitClient.java

Rule Violation Ligne
CommentRequired Header comments are required 4064
UnusedPrivateField Avoid unused private fields such as 'bCancelled'. 42
SingularField Perhaps 'bCancelled' could be replaced by a local variable. 42
CommentRequired Public method and constructor comments are required 4447
CommentRequired Public method and constructor comments are required 6063

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/ReleaseSVNCopyClient.java

Rule Violation Ligne
CommentRequired Header comments are required 4064
SingularField Perhaps 'bCancelled' could be replaced by a local variable. 42
UnusedPrivateField Avoid unused private fields such as 'bCancelled'. 42
CommentRequired Public method and constructor comments are required 4447
CommentRequired Public method and constructor comments are required 6063

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/SVNUtils.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34262
CommentRequired Header comments are required 71262
ShortVariable Avoid variables with short names like o2 76
ShortVariable Avoid variables with short names like o1 76
CommentRequired Public method and constructor comments are required 111208
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 114
CollapsibleIfStatements These nested if statements could be combined 119124
MissingOverride The method 'checkCancelled()' is missing an @Override annotation. 134137
CommentRequired Public method and constructor comments are required 134137
MissingOverride The method 'handleEvent(SVNEvent, double)' is missing an @Override annotation. 139142
CommentRequired Public method and constructor comments are required 139142
ShortVariable Avoid variables with short names like sw 156
ShortVariable Avoid variables with short names like pw 157
UnusedLocalVariable Avoid unused local variables such as 'errorLog'. 160
EmptyCatchBlock Avoid empty catch blocks 169173
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 180
ShortVariable Avoid variables with short names like sw 184
ShortVariable Avoid variables with short names like pw 185
UnusedLocalVariable Avoid unused local variables such as 'errorLog'. 188
EmptyCatchBlock Avoid empty catch blocks 197201
CommentRequired Public method and constructor comments are required 210244
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 215
CommentRequired Public method and constructor comments are required 222233
MissingOverride The method 'handleDirEntry(SVNDirEntry)' is missing an @Override annotation. 222233
UnusedLocalVariable Avoid unused local variables such as 'referenceItem'. 224
CollapsibleIfStatements These nested if statements could be combined 228231
CommentRequired Public method and constructor comments are required 246261

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployApplicationTaskComponent.java

Rule Violation Ligne
CommentRequired Header comments are required 33134
UnusedPrivateField Avoid unused private fields such as 'MESSAGE_MANDATORY_FIELD'. 40
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 51
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 51
UnusedLocalVariable Avoid unused local variables such as 'demand'. 117
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 117
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 120
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 120

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployApplicationsXPage.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 68198
CommentRequired Public method and constructor comments are required 96128
CommentRequired Public method and constructor comments are required 131172

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployDownloadXPage.java

Rule Violation Ligne
CommentRequired Header comments are required 2999
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 2999
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 43
ConfusingTernary Avoid if (x != y) ..; else ..; 52
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 69
EmptyCatchBlock Avoid empty catch blocks 9193
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 91
ReturnFromFinallyBlock Avoid returning from a finally block 96

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployEnvironmentXPage.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 1246
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 46246
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 70
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 74
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 132
UnusedLocalVariable Avoid unused local variables such as 'environment'. 132
EmptyCatchBlock Avoid empty catch blocks 139141
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 230231

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployResponseError.java

Rule Violation Ligne
CommentRequired Header comments are required 733
ImmutableField Private field '_listErrors' could be made final; it is only initialized in the declaration or constructor. 11

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployWorkflowActionXPage.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 36322
CommentRequired Header comments are required 36322
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 55
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 229
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 281
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 307
CommentRequired Public method and constructor comments are required 308320
ShortVariable Avoid variables with short names like jo 315

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployXPage.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 351254
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 1251254
GodClass Possible God Class (WMC=59, ATFD=163, TCC=21.154%) 1251254
ExcessiveClassLength Avoid really long classes. 1251254
TooManyMethods This class has too many methods, consider refactoring it. 1261254
UnusedPrivateField Avoid unused private fields such as 'JSP_MANAGE_APPLICATION'. 152
UnusedPrivateField Avoid unused private fields such as 'MARK_DEFAULT_URL_SITE'. 171
UnusedPrivateField Avoid unused private fields such as 'REPOSITORY_TYPE_SITE'. 186
CommentRequired Public method and constructor comments are required 200273
ConfusingTernary Avoid if (x != y) ..; else ..; 217267
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 284
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 288
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 289
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 290
ConfusingTernary Avoid if (x != y) ..; else ..; 291
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 291
SimplifiedTernary Ternary operators that can be simplified with || or && 291
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 293
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 326
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 330
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 331
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 332
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 334
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 359
CommentRequired Public method and constructor comments are required 360378
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 381
CommentRequired Public method and constructor comments are required 382401
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 404
CommentRequired Public method and constructor comments are required 405422
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 424
CommentRequired Public method and constructor comments are required 425442
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 444
CommentRequired Public method and constructor comments are required 445458
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 460
CommentRequired Public method and constructor comments are required 461477
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 490
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 519
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 672
ControlStatementBraces This statement should have braces 691
ShortVariable Avoid variables with short names like e 734
CommentRequired Protected method constructor comments are required 734754
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 736
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 736
CommentRequired Public method and constructor comments are required 756760
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 770
ConfusingTernary Avoid if (x != y) ..; else ..; 905912
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 918
CommentRequired Public method and constructor comments are required 919931
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 926
UnusedLocalVariable Avoid unused local variables such as 'environment'. 926
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 933
CommentRequired Public method and constructor comments are required 934945
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 954
CyclomaticComplexity The method 'updateWorkflowDeployScriptContextWithDTO(WorkflowDeployScriptContext, FormDeployScriptDTO, HttpServletRequest, List)' has a cyclomatic complexity of 13. 10371094
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 1134
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1147
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 1168
CommentRequired Protected method constructor comments are required 12361253
ConfusingTernary Avoid if (x != y) ..; else ..; 12441249

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/dto/AbstractDeployDTO.java

Rule Violation Ligne
CommentRequired Header comments are required 4065
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4065
CommentRequired Public method and constructor comments are required 4750
CommentRequired Public method and constructor comments are required 5255
CommentRequired Public method and constructor comments are required 5659
CommentRequired Public method and constructor comments are required 6164

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/dto/FormDeployAppDTO.java

Rule Violation Ligne
CommentRequired Header comments are required 3891
CommentRequired Public method and constructor comments are required 4952
CommentRequired Public method and constructor comments are required 5457
CommentRequired Public method and constructor comments are required 5962
CommentRequired Public method and constructor comments are required 6470
CommentRequired Public method and constructor comments are required 7275
CommentRequired Public method and constructor comments are required 7780
CommentRequired Public method and constructor comments are required 8284
CommentRequired Public method and constructor comments are required 8688

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/dto/FormDeployInitContextDTO.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 4851
CommentRequired Public method and constructor comments are required 5356

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/dto/FormDeployInitDatabaseDTO.java

Rule Violation Ligne
CommentRequired Header comments are required 3865
CommentRequired Public method and constructor comments are required 4548
CommentRequired Public method and constructor comments are required 5053
CommentRequired Public method and constructor comments are required 5558
CommentRequired Public method and constructor comments are required 6063

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/dto/FormDeployScriptDTO.java

Rule Violation Ligne
CommentRequired Header comments are required 40141
CommentRequired Public method and constructor comments are required 5558
CommentRequired Public method and constructor comments are required 6063
CommentRequired Public method and constructor comments are required 6568
CommentRequired Public method and constructor comments are required 7073
CommentRequired Public method and constructor comments are required 7578
CommentRequired Public method and constructor comments are required 8083
CommentRequired Public method and constructor comments are required 8588
CommentRequired Public method and constructor comments are required 9093
CommentRequired Public method and constructor comments are required 132134
CommentRequired Public method and constructor comments are required 136138

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/exception/AbstractFastDeployException.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3639
CommentRequired Header comments are required 3639

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/exception/NoExistingFastDeployConfigException.java

Rule Violation Ligne
CommentRequired Header comments are required 3740
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3740

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/exception/VCSUserNotSignedException.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3639
CommentRequired Header comments are required 3639

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/exception/WrongFastDeployConfigRequiredException.java

Rule Violation Ligne
CommentRequired Header comments are required 3740
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3740

Priority 4

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FastDeployApplicationDemand.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.web.FastDeployApplicationsXPage' 12
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.datastore.DatastoreService' 13
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.ReferenceList' 15

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/WorkflowDeployScriptContext.java

Rule Violation Ligne
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 2629

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ActionHistory.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.List' 37
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 287290

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DefaultAction.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.util.ConstanteUtils' 48
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' 50

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpAction.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IDatabaseService' 51
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 55
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 58
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 60
UnusedImports Avoid unused imports such as 'net.sf.json.JSONObject' 63

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpWithOptionsAction.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IDatabaseService' 51
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 55
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 58
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 60
UnusedImports Avoid unused imports such as 'net.sf.json.JSONObject' 63

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/ExecuteSqlAction.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.Iterator' 37
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.ansible.AWXExecuteResult' 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 53
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 56
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' 57
UnusedImports Avoid unused imports such as 'net.sf.json.JSONArray' 58
UnusedImports Avoid unused imports such as 'net.sf.json.JSONObject' 59

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/InitMysqlDatabaseAction.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.context.WorkflowDeployScriptContext' 47
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.fastaction.IAction' 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IActionService' 51
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 53
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 55

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/StatusInFactsAction.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.ansible.AWXJobResult' 43
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.util.DeploymentUtils' 45

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/WarInstallerAction.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.context.WorkflowDeployScriptContext' 45

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/DumpAction.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IDatabaseService' 51
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 55

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/InitAppContextAction.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 47
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 49

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/InitMysqlDatabaseAction.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IActionService' 47
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 51

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/AbstractActionService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.util.DeploymentUtils' 15
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 17

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ActionHistoryService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.FastDeployApplicationData' 39
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.context.AbstractWorkflowDeployContext' 42
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.util.ConstanteUtils' 48
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 49
UnusedImports Avoid unused imports such as 'java.util.logging.Level' 55
UnusedImports Avoid unused imports such as 'java.util.logging.Logger' 56
UnusedImports Avoid unused imports such as 'org.bouncycastle.jcajce.provider.digest.GOST3411' 57
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 83

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/DeploymentFactory.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.util.ConstanteUtils' 9

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/FastDeployApplicationTask.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.sources.business.SourceUserData' 11
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.sources.business.SourceUserDemand' 12
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.sources.business.SourcesData' 13
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.sources.business.SourcesDatas' 14
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.sources.business.SourcesDemand' 15
UnusedImports Avoid unused imports such as 'java.util.ArrayList' 18

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/WorkflowDeploySiteService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'javax.inject.Inject' 40
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 60

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/AWXService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.stream.Collector' 7
UnusedImports Avoid unused imports such as 'org.antlr.runtime.tree.DOTTreeGenerator' 10
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.business.style.Theme' 23

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/DatabaseService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.util.DeploymentUtils' 41

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ansible/ServerApplicationService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 47

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/cloudmgr/ActionService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.Map.Entry' 40
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.CommandResult' 42
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.fastaction.ActionParameter' 45
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.i18n.I18nService' 51

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/cloudmgr/DatabaseService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.HashMap' 37
UnusedImports Avoid unused imports such as 'java.util.Map.Entry' 40

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/cloudmgr/FastDeployEnvironmentService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.HashMap' 37
UnusedImports Avoid unused imports such as 'java.util.stream.Collectors' 40
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.i18n.I18nService' 46
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 47
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.ReferenceList' 50

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/cloudmgr/ServerApplicationService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.HashMap' 37
UnusedImports Avoid unused imports such as 'javax.inject.Inject' 41
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.FastDeployEnvironment' 44
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IActionService' 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IFastDeployEnvironmentService' 50

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/task/TaskRunServerAction.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.context.WorkflowDeployAppContext' 38
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IActionService' 42

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/task/TaskRunServerActionComponentAnsible.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IActionService' 39
UnusedImports Avoid unused imports such as 'javax.inject.Inject' 46
UnusedImports Avoid unused imports such as 'org.apache.commons.lang.StringUtils' 49
UnusedImports Avoid unused imports such as 'com.fasterxml.jackson.databind.JsonMappingException.Reference' 51
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.workflow.utils.WorkflowUtils' 53
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.workflow.web.task.NoFormTaskComponent' 54
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService' 55
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.i18n.I18nService' 57
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.message.AdminMessage' 58
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.message.AdminMessageService' 59
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.ReferenceList' 61

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/task/TaskRunServerActionComponentCloudmgr.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IActionService' 39
UnusedImports Avoid unused imports such as 'javax.inject.Inject' 46
UnusedImports Avoid unused imports such as 'org.apache.commons.lang.StringUtils' 49
UnusedImports Avoid unused imports such as 'com.fasterxml.jackson.databind.JsonMappingException.Reference' 51
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.workflow.utils.WorkflowUtils' 53
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.workflow.web.task.NoFormTaskComponent' 54
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService' 55
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.i18n.I18nService' 57
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.message.AdminMessage' 58
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.message.AdminMessageService' 59
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.ReferenceList' 61

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/vcs/GitlabService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.UUID' 37
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppException' 43

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/vcs/SvnService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppException' 56

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/uploadhandler/DeploymentUploadHandler.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.regex.Matcher' 42
UnusedImports Avoid unused imports such as 'java.util.regex.Pattern' 43

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/DeploymentUtils.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.httpaccess.HttpAccess' 77
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.httpaccess.HttpAccessException' 78

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/MavenUtils.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.ArrayList' 36
UnusedImports Avoid unused imports such as 'java.util.List' 37

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/ReleaseSVNCheckoutClient.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'org.tmatesoft.svn.core.SVNCancelException' 36
UnusedImports Avoid unused imports such as 'org.tmatesoft.svn.core.SVNErrorCode' 37
UnusedImports Avoid unused imports such as 'org.tmatesoft.svn.core.SVNErrorMessage' 38

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/SFTPUtils.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.io.File' 3
UnusedImports Avoid unused imports such as 'java.io.FileInputStream' 4
UnusedImports Avoid unused imports such as 'java.io.FileNotFoundException' 5

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/util/vcs/GitUtils.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.nio.file.Files' 5
UnusedImports Avoid unused imports such as 'java.nio.file.Path' 6
UnusedImports Avoid unused imports such as 'java.nio.file.Paths' 7
UnusedImports Avoid unused imports such as 'org.apache.commons.io.FileUtils' 13
UnusedImports Avoid unused imports such as 'org.eclipse.jgit.attributes.AttributesNodeProvider' 47
UnusedImports Avoid unused imports such as 'org.eclipse.jgit.lib.ObjectDatabase' 48
UnusedImports Avoid unused imports such as 'org.eclipse.jgit.lib.RefDatabase' 49
UnusedImports Avoid unused imports such as 'org.eclipse.jgit.lib.ReflogReader' 50
UnusedImports Avoid unused imports such as 'org.eclipse.jgit.lib.StoredConfig' 51

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployDownloadXPage.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.FastDeployEnvironment' 13
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.admin.AccessDeniedException' 18

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployEnvironmentXPage.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'org.apache.commons.collections.CollectionUtils' 8
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.context.WorkflowDeployScriptContext' 16
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IDatabaseService' 20
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.web.dto.FormDeployScriptDTO' 23
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.admin.AccessDeniedException' 26
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.daemon.IDaemonScheduler' 27
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.util.mvc.commons.annotations.Action' 31
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.json.ErrorJsonResponse' 36
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.json.JsonResponse' 37
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.json.JsonUtil' 38
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'fr.paris.lutece.portal.util.mvc.commons.annotations.Action' due to existing import 'fr.paris.lutece.portal.util.mvc.commons.annotations.Action' 127

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployWorkflowActionXPage.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.business.Application' 11
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.web.AppCenterXPage' 18

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/FastDeployXPage.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.Iterator' 44
UnusedImports Avoid unused imports such as 'freemarker.core._ParserConfigurationWithInheritedFormat' 119

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/dto/AbstractDeployDTO.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'javax.validation.constraints.NotNull' 36

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/web/dto/FormDeployScriptDTO.java

Rule Violation Ligne
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 8588

Fichiers

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/AbstractSite.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3874
CommentRequired Public method and constructor comments are required 3 4548
MissingOverride The method 'getCodeApplication()' is missing an @Override annotation. 3 4548
MissingOverride The method 'setCodeApplication(String)' is missing an @Override annotation. 3 5053
CommentRequired Public method and constructor comments are required 3 5053
MissingOverride The method 'getBaseSiteUrl()' is missing an @Override annotation. 3 5558
CommentRequired Public method and constructor comments are required 3 5558
MissingOverride The method 'setBaseSiteUrl(String)' is missing an @Override annotation. 3 6063
CommentRequired Public method and constructor comments are required 3 6063
FormalParameterNamingConventions The method parameter name '_commandResult' doesn't match '[a-z][a-zA-Z0-9]*' 1 65
MissingOverride The method 'setCommandResult(CommandResult)' is missing an @Override annotation. 3 6568
MissingOverride The method 'getCommandResult()' is missing an @Override annotation. 3 7073

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/CommandResult.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 40186
FieldNamingConventions The static field name 'STATUS_ERROR' doesn't match '_[a-z][a-zA-Z0-9]*' 1 53
RedundantFieldInitializer Avoid using redundant field initializer for 'STATUS_ERROR' 3 53
FieldNamingConventions The static field name 'STATUS_OK' doesn't match '_[a-z][a-zA-Z0-9]*' 1 54
RedundantFieldInitializer Avoid using redundant field initializer for 'ERROR_TYPE_INFO' 3 55
FieldNamingConventions The static field name 'ERROR_TYPE_INFO' doesn't match '_[a-z][a-zA-Z0-9]*' 1 55
FieldNamingConventions The static field name 'ERROR_TYPE_STOP' doesn't match '_[a-z][a-zA-Z0-9]*' 1 56
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 3 58
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 64
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 64
CloneMethodReturnTypeMustMatchClassName The return type of the clone() method must be the class name when implements Cloneable 3 134143
CommentRequired Public method and constructor comments are required 3 166169
FormalParameterNamingConventions The method parameter name '_mResultInformations' doesn't match '[a-z][a-zA-Z0-9]*' 1 171
CommentRequired Public method and constructor comments are required 3 171174
CommentRequired Public method and constructor comments are required 3 176179
CommentRequired Public method and constructor comments are required 3 181184
FormalParameterNamingConventions The method parameter name '_nErrorType' doesn't match '[a-z][a-zA-Z0-9]*' 1 181

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FastDeployApplicationData.java

Rule Violation Priority Ligne
FieldNamingConventions The field name 'strApplicationCode' doesn't match '_[a-z][a-zA-Z0-9]*' 1 15
FormalParameterNamingConventions The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' 1 42
CommentRequired Public method and constructor comments are required 3 4952
CommentRequired Public method and constructor comments are required 3 5457
FormalParameterNamingConventions The method parameter name '_strWebApp' doesn't match '[a-z][a-zA-Z0-9]*' 1 54
CommentRequired Public method and constructor comments are required 3 5962
FormalParameterNamingConventions The method parameter name '_strUrlSite' doesn't match '[a-z][a-zA-Z0-9]*' 1 64
CommentRequired Public method and constructor comments are required 3 6467
CommentRequired Public method and constructor comments are required 3 127130
CommentRequired Public method and constructor comments are required 3 132135
CommentRequired Public method and constructor comments are required 3 158161
CommentRequired Public method and constructor comments are required 3 163166
FormalParameterNamingConventions The method parameter name '_strApplicationType' doesn't match '[a-z][a-zA-Z0-9]*' 1 163
CommentRequired Public method and constructor comments are required 3 168170
FormalParameterNamingConventions The method parameter name '_nIdApplication' doesn't match '[a-z][a-zA-Z0-9]*' 1 172
CommentRequired Public method and constructor comments are required 3 172174

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FastDeployApplicationDemand.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.web.FastDeployApplicationsXPage' 4 12
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.datastore.DatastoreService' 4 13
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.ReferenceList' 4 15
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 22189
FormalParameterNamingConventions The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' 1 55
CommentRequired Public method and constructor comments are required 3 6063
FormalParameterNamingConventions The method parameter name '_strWebApp' doesn't match '[a-z][a-zA-Z0-9]*' 1 65
CommentRequired Public method and constructor comments are required 3 6568
CommentRequired Public method and constructor comments are required 3 7073
FormalParameterNamingConventions The method parameter name '_strUrlSite' doesn't match '[a-z][a-zA-Z0-9]*' 1 75
CommentRequired Public method and constructor comments are required 3 7578
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 83
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 83
CommentRequired Public method and constructor comments are required 3 179181
CommentRequired Public method and constructor comments are required 3 183185

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FastDeployEnvironment.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3686
FormalParameterNamingConventions The method parameter name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 45
CommentRequired Public method and constructor comments are required 3 4548
CommentRequired Public method and constructor comments are required 3 5053
FormalParameterNamingConventions The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' 1 55
CommentRequired Public method and constructor comments are required 3 5558
CommentRequired Public method and constructor comments are required 3 6063
CommentRequired Public method and constructor comments are required 3 6568
CommentRequired Public method and constructor comments are required 3 7073
CommentRequired Public method and constructor comments are required 3 7578
FormalParameterNamingConventions The method parameter name '_strEnvType' doesn't match '[a-z][a-zA-Z0-9]*' 1 80
CommentRequired Public method and constructor comments are required 3 8083

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/FtpInfo.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 36137
CommentRequired Public method and constructor comments are required 3 4851
CommentRequired Public method and constructor comments are required 3 5356
CommentRequired Public method and constructor comments are required 3 5861
CommentRequired Public method and constructor comments are required 3 6366
CommentRequired Public method and constructor comments are required 3 6871
CommentRequired Public method and constructor comments are required 3 7376
CommentRequired Public method and constructor comments are required 3 7881
CommentRequired Public method and constructor comments are required 3 8386
CommentRequired Public method and constructor comments are required 3 8891
CommentRequired Public method and constructor comments are required 3 9396
CommentRequired Public method and constructor comments are required 3 98101
CommentRequired Public method and constructor comments are required 3 103106
CommentRequired Public method and constructor comments are required 3 108111
CommentRequired Public method and constructor comments are required 3 113116
CommentRequired Public method and constructor comments are required 3 118121
CommentRequired Public method and constructor comments are required 3 123126
CommentRequired Public method and constructor comments are required 3 128131
FormalParameterNamingConventions The method parameter name '_lKeepAliveTimeout' doesn't match '[a-z][a-zA-Z0-9]*' 1 128
CommentRequired Public method and constructor comments are required 3 133136

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/ISite.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3653
CommentRequired Public method and constructor comments are required 3 38
CommentRequired Public method and constructor comments are required 3 40
CommentRequired Public method and constructor comments are required 3 42
CommentRequired Public method and constructor comments are required 3 44
CommentRequired Public method and constructor comments are required 3 46
CommentRequired Public method and constructor comments are required 3 48
CommentRequired Public method and constructor comments are required 3 50
CommentRequired Public method and constructor comments are required 3 52

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/InvalidRepositoryUrlException.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3639
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 3639

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/MavenGoals.java

Rule Violation Priority Ligne
CommentRequired Enum comments are required 3 3953
CommentRequired Public method and constructor comments are required 3 4952

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/ServerApplicationInstance.java

Rule Violation Priority Ligne
TooManyFields Too many fields 3 45240
CommentRequired Header comments are required 3 45240
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 61
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 65
CommentRequired Public method and constructor comments are required 3 6770
CommentRequired Public method and constructor comments are required 3 7275
CommentRequired Public method and constructor comments are required 3 7780
CommentRequired Public method and constructor comments are required 3 8285
CommentRequired Public method and constructor comments are required 3 8790
CommentRequired Public method and constructor comments are required 3 9295
CommentRequired Public method and constructor comments are required 3 97100
FormalParameterNamingConventions The method parameter name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 97
CommentRequired Public method and constructor comments are required 3 102105
FormalParameterNamingConventions The method parameter name '_strCodeEnvironment' doesn't match '[a-z][a-zA-Z0-9]*' 1 107
CommentRequired Public method and constructor comments are required 3 107110
CommentRequired Public method and constructor comments are required 3 112115
FormalParameterNamingConventions The method parameter name '_ftpInfo' doesn't match '[a-z][a-zA-Z0-9]*' 1 117
CommentRequired Public method and constructor comments are required 3 127139
CollapsibleIfStatements These nested if statements could be combined 3 132135
FormalParameterNamingConventions The method parameter name '_strType' doesn't match '[a-z][a-zA-Z0-9]*' 1 141
CommentRequired Public method and constructor comments are required 3 141144
CommentRequired Public method and constructor comments are required 3 146149
FormalParameterNamingConventions The method parameter name '_hashMavenProfile' doesn't match '[a-z][a-zA-Z0-9]*' 1 151
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 151
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 156
CommentRequired Public method and constructor comments are required 3 161164
CommentRequired Public method and constructor comments are required 3 166169
FormalParameterNamingConventions The method parameter name '_nStatus' doesn't match '[a-z][a-zA-Z0-9]*' 1 171
CommentRequired Public method and constructor comments are required 3 171174
CommentRequired Public method and constructor comments are required 3 176179
FormalParameterNamingConventions The method parameter name '_listServerApplicationAction' doesn't match '[a-z][a-zA-Z0-9]*' 1 181
CommentRequired Public method and constructor comments are required 3 191194
FormalParameterNamingConventions The method parameter name '_strFtpDirectoryDumpFile' doesn't match '[a-z][a-zA-Z0-9]*' 1 196
CommentRequired Public method and constructor comments are required 3 196199
CommentRequired Public method and constructor comments are required 3 201204
FormalParameterNamingConventions The method parameter name '_strFtpDirectoryContext' doesn't match '[a-z][a-zA-Z0-9]*' 1 206
CommentRequired Public method and constructor comments are required 3 206209
CommentRequired Public method and constructor comments are required 3 211214
CommentRequired Public method and constructor comments are required 3 216219
FormalParameterNamingConventions The method parameter name '_strFtpDirectoryScript' doesn't match '[a-z][a-zA-Z0-9]*' 1 216
FormalParameterNamingConventions The method parameter name '_mapComplementaryInfos' doesn't match '[a-z][a-zA-Z0-9]*' 1 226
CommentRequired Public method and constructor comments are required 3 231234
CommentRequired Public method and constructor comments are required 3 236239
FormalParameterNamingConventions The method parameter name '_strHostName' doesn't match '[a-z][a-zA-Z0-9]*' 1 236

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/SiteDeploy.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 38110
CommentRequired Public method and constructor comments are required 3 4649
CommentRequired Public method and constructor comments are required 3 5154
CommentRequired Public method and constructor comments are required 3 5659
CommentRequired Public method and constructor comments are required 3 6164
CommentRequired Public method and constructor comments are required 3 8689
CommentRequired Public method and constructor comments are required 3 9194

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/SiteTag.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3898
CommentRequired Public method and constructor comments are required 3 4548
FormalParameterNamingConventions The method parameter name '_strTagName' doesn't match '[a-z][a-zA-Z0-9]*' 1 45
CommentRequired Public method and constructor comments are required 3 5053
CommentRequired Public method and constructor comments are required 3 5558
FormalParameterNamingConventions The method parameter name '_strNextVersion' doesn't match '[a-z][a-zA-Z0-9]*' 1 55
CommentRequired Public method and constructor comments are required 3 6063
CommentRequired Public method and constructor comments are required 3 6568
FormalParameterNamingConventions The method parameter name '_strTagVersion' doesn't match '[a-z][a-zA-Z0-9]*' 1 65
CommentRequired Public method and constructor comments are required 3 7073
FormalParameterNamingConventions The method parameter name '_tagDate' doesn't match '[a-z][a-zA-Z0-9]*' 1 75

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/AbstractWorkflowDeployContext.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 43217
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 52
UnusedPrivateField Avoid unused private fields such as '_strPermission'. 3 58
CommentRequired Public method and constructor comments are required 3 6466
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 1 6466
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 69
CommentRequired Public method and constructor comments are required 3 7376
CommentRequired Public method and constructor comments are required 3 7881
FormalParameterNamingConventions The method parameter name '_commandResult' doesn't match '[a-z][a-zA-Z0-9]*' 1 87
CommentRequired Public method and constructor comments are required 3 99102
CommentRequired Public method and constructor comments are required 3 104107
CommentRequired Public method and constructor comments are required 3 109123
CommentRequired Public method and constructor comments are required 3 125133
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 129
FormalParameterNamingConventions The method parameter name '_fastDeployApplicationData' doesn't match '[a-z][a-zA-Z0-9]*' 1 181
CommentRequired Public method and constructor comments are required 3 186189
CommentRequired Public method and constructor comments are required 3 191194
CommentRequired Public method and constructor comments are required 3 196199
CommentRequired Public method and constructor comments are required 3 201204
CommentRequired Public method and constructor comments are required 3 206209
FormalParameterNamingConventions The method parameter name '_strDiskRequiredFreespace' doesn't match '[a-z][a-zA-Z0-9]*' 1 211
CommentRequired Public method and constructor comments are required 3 211214

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/WorkflowDeployAppContext.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 7150
UncommentedEmptyConstructor Document empty constructor 3 2325
CallSuperInConstructor It is a good practice to call super() in a constructor 3 2325
CommentRequired Public method and constructor comments are required 3 2325
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 2325
CommentRequired Public method and constructor comments are required 3 2730
CommentRequired Public method and constructor comments are required 3 3235
FormalParameterNamingConventions The method parameter name '_strNextVersion' doesn't match '[a-z][a-zA-Z0-9]*' 1 37
CommentRequired Public method and constructor comments are required 3 3740
CommentRequired Public method and constructor comments are required 3 4245
CommentRequired Public method and constructor comments are required 3 4750
FormalParameterNamingConventions The method parameter name '_strTagVersion' doesn't match '[a-z][a-zA-Z0-9]*' 1 47
CommentRequired Public method and constructor comments are required 3 5255
CommentRequired Public method and constructor comments are required 3 7780
CommentRequired Public method and constructor comments are required 3 8285
CommentRequired Public method and constructor comments are required 3 8790
CommentRequired Public method and constructor comments are required 3 9295
CommentRequired Public method and constructor comments are required 3 9799
CommentRequired Public method and constructor comments are required 3 101103
CommentRequired Public method and constructor comments are required 3 135138
CommentRequired Public method and constructor comments are required 3 140143
MissingOverride The method 'getPermission()' is missing an @Override annotation. 3 145147
CommentRequired Public method and constructor comments are required 3 145147

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/WorkflowDeployScriptContext.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 1093
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 2629
CommentRequired Public method and constructor comments are required 3 2629
FormalParameterNamingConventions The method parameter name '_bDoDump' doesn't match '[a-z][a-zA-Z0-9]*' 1 31
CommentRequired Public method and constructor comments are required 3 3134
CommentRequired Public method and constructor comments are required 3 3639
FormalParameterNamingConventions The method parameter name '_strDatabaseName' doesn't match '[a-z][a-zA-Z0-9]*' 1 41
CommentRequired Public method and constructor comments are required 3 4144
FormalParameterNamingConventions The method parameter name '_scriptFileItemName' doesn't match '[a-z][a-zA-Z0-9]*' 1 51
FormalParameterNamingConventions The method parameter name '_scriptFileItem' doesn't match '[a-z][a-zA-Z0-9]*' 1 63
FormalParameterNamingConventions The method parameter name '_scriptFileSelected' doesn't match '[a-z][a-zA-Z0-9]*' 1 73
CommentRequired Public method and constructor comments are required 3 9092
MissingOverride The method 'getPermission()' is missing an @Override annotation. 3 9092

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/WorkflowInitDatabaseContext.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 738
CommentRequired Public method and constructor comments are required 3 1417
CommentRequired Public method and constructor comments are required 3 1922
FormalParameterNamingConventions The method parameter name '_strDatabaseName' doesn't match '[a-z][a-zA-Z0-9]*' 1 19
CommentRequired Public method and constructor comments are required 3 3537
MissingOverride The method 'getPermission()' is missing an @Override annotation. 3 3537

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/context/WorkflowInitTomcatContext.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 735
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 1517
UncommentedEmptyConstructor Document empty constructor 3 1517
CommentRequired Public method and constructor comments are required 3 1517
CallSuperInConstructor It is a good practice to call super() in a constructor 3 1517
MissingOverride The method 'getPermission()' is missing an @Override annotation. 3 3133
CommentRequired Public method and constructor comments are required 3 3133

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ActionHistory.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'java.util.List' 4 37
CommentRequired Header comments are required 3 39302
FormalParameterNamingConventions The method parameter name '_strI18nKeyName' doesn't match '[a-z][a-zA-Z0-9]*' 1 130
FormalParameterNamingConventions The method parameter name '_strServerType' doesn't match '[a-z][a-zA-Z0-9]*' 1 151
FormalParameterNamingConventions The method parameter name '_strServerName' doesn't match '[a-z][a-zA-Z0-9]*' 1 193
FormalParameterNamingConventions The method parameter name '_strActionData' doesn't match '[a-z][a-zA-Z0-9]*' 1 256
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 287290

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ActionParameter.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3866
CommentRequired Public method and constructor comments are required 3 4750
FormalParameterNamingConventions The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' 1 47
CommentRequired Public method and constructor comments are required 3 5255
FormalParameterNamingConventions The method parameter name '_strValue' doesn't match '[a-z][a-zA-Z0-9]*' 1 57
CommentRequired Public method and constructor comments are required 3 5760
CommentRequired Public method and constructor comments are required 3 6265

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/FastAction.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 38212
FormalParameterNamingConventions The method parameter name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 57
CommentRequired Public method and constructor comments are required 3 5760
MissingOverride The method 'setCode(String)' is missing an @Override annotation. 3 5760
MissingOverride The method 'getCode()' is missing an @Override annotation. 3 6770
CommentRequired Public method and constructor comments are required 3 6770
FormalParameterNamingConventions The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' 1 77
MissingOverride The method 'setName(String)' is missing an @Override annotation. 3 7780
CommentRequired Public method and constructor comments are required 3 7780
CommentRequired Public method and constructor comments are required 3 8790
MissingOverride The method 'getName()' is missing an @Override annotation. 3 8790
FormalParameterNamingConventions The method parameter name '_strI18nKeyName' doesn't match '[a-z][a-zA-Z0-9]*' 1 97
MissingOverride The method 'setI18nKeyName(String)' is missing an @Override annotation. 3 97100
CommentRequired Public method and constructor comments are required 3 97100
MissingOverride The method 'getI18nKeyName()' is missing an @Override annotation. 3 107110
CommentRequired Public method and constructor comments are required 3 107110
FormalParameterNamingConventions The method parameter name '_strStatus' doesn't match '[a-z][a-zA-Z0-9]*' 1 117
MissingOverride The method 'setStatus(Integer)' is missing an @Override annotation. 3 117120
CommentRequired Public method and constructor comments are required 3 117120
MissingOverride The method 'getStatus()' is missing an @Override annotation. 3 127130
CommentRequired Public method and constructor comments are required 3 127130
CommentRequired Public method and constructor comments are required 3 137140
MissingOverride The method 'setUsedForStatus(boolean)' is missing an @Override annotation. 3 137140
FormalParameterNamingConventions The method parameter name '_bUsedForStatus' doesn't match '[a-z][a-zA-Z0-9]*' 1 137
CommentRequired Public method and constructor comments are required 3 147150
MissingOverride The method 'isUsedForStatus()' is missing an @Override annotation. 3 147150
MissingOverride The method 'setIconCssClass(String)' is missing an @Override annotation. 3 152155
FormalParameterNamingConventions The method parameter name '_strIconCssClass' doesn't match '[a-z][a-zA-Z0-9]*' 1 152
CommentRequired Public method and constructor comments are required 3 152155
CommentRequired Public method and constructor comments are required 3 157160
MissingOverride The method 'getIconCssClass()' is missing an @Override annotation. 3 157160
MissingOverride The method 'isDisplay()' is missing an @Override annotation. 3 162166
CommentRequired Public method and constructor comments are required 3 162166
CommentRequired Public method and constructor comments are required 3 168171
MissingOverride The method 'setDisplay(boolean)' is missing an @Override annotation. 3 168171
MissingOverride The method 'setParameters(List)' is missing an @Override annotation. 3 173176
CommentRequired Public method and constructor comments are required 3 173176
FormalParameterNamingConventions The method parameter name '_listParameters' doesn't match '[a-z][a-zA-Z0-9]*' 1 173
CommentRequired Public method and constructor comments are required 3 178181
MissingOverride The method 'getParameters()' is missing an @Override annotation. 3 178181
MissingOverride The method 'setServerType(String)' is missing an @Override annotation. 3 183186
CommentRequired Public method and constructor comments are required 3 183186
FormalParameterNamingConventions The method parameter name '_strServerType' doesn't match '[a-z][a-zA-Z0-9]*' 1 183
CommentRequired Public method and constructor comments are required 3 188191
MissingOverride The method 'getServerType()' is missing an @Override annotation. 3 188191
MissingOverride The method 'isStopWorkflowIfExecutionError()' is missing an @Override annotation. 3 193196
CommentRequired Public method and constructor comments are required 3 193196
CommentRequired Public method and constructor comments are required 3 198201
MissingOverride The method 'setStopWorkflowIfExecutionError(boolean)' is missing an @Override annotation. 3 198201
FormalParameterNamingConventions The method parameter name '_bStopWorkflowIfExecutionError' doesn't match '[a-z][a-zA-Z0-9]*' 1 198
CommentRequired Public method and constructor comments are required 3 203206
FormalParameterNamingConventions The method parameter name '_strTechnicalCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 208
CommentRequired Public method and constructor comments are required 3 208211

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/IAction.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 44104
CommentRequired Public method and constructor comments are required 3 46
CommentRequired Public method and constructor comments are required 3 48
CommentRequired Public method and constructor comments are required 3 50
CommentRequired Public method and constructor comments are required 3 52
CommentRequired Public method and constructor comments are required 3 54
CommentRequired Public method and constructor comments are required 3 56
CommentRequired Public method and constructor comments are required 3 58
CommentRequired Public method and constructor comments are required 3 60
CommentRequired Public method and constructor comments are required 3 62
CommentRequired Public method and constructor comments are required 3 64
CommentRequired Public method and constructor comments are required 3 66
CommentRequired Public method and constructor comments are required 3 68
CommentRequired Public method and constructor comments are required 3 70
FormalParameterNamingConventions The method parameter name '_listParameters' doesn't match '[a-z][a-zA-Z0-9]*' 1 70
CommentRequired Public method and constructor comments are required 3 72
FormalParameterNamingConventions The method parameter name '_strServerType' doesn't match '[a-z][a-zA-Z0-9]*' 1 72
CommentRequired Public method and constructor comments are required 3 74
CommentRequired Public method and constructor comments are required 3 76
CommentRequired Public method and constructor comments are required 3 80
CommentRequired Public method and constructor comments are required 3 8485
CommentRequired Public method and constructor comments are required 3 87
CommentRequired Public method and constructor comments are required 3 89
FormalParameterNamingConventions The method parameter name '_strIconCssClass' doesn't match '[a-z][a-zA-Z0-9]*' 1 92
CommentRequired Public method and constructor comments are required 3 92
CommentRequired Public method and constructor comments are required 3 94
CommentRequired Public method and constructor comments are required 3 96
CommentRequired Public method and constructor comments are required 3 98100
FormalParameterNamingConventions The method parameter name '_bStopWorkflowIfExecutionError' doesn't match '[a-z][a-zA-Z0-9]*' 1 100
CommentRequired Public method and constructor comments are required 3 102

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/AbstractRequiredFreeSpaceParameters.java

Rule Violation Priority Ligne
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 520
CommentRequired Header comments are required 3 520
FieldNamingConventions The field name 'diskRequiredFreespace' doesn't match '_[a-z][a-zA-Z0-9]*' 1 8

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DefaultAction.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.util.ConstanteUtils' 4 48
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 4 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' 4 50
CommentRequired Header comments are required 3 52160
MissingOverride The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' is missing an @Override annotation. 3 5998
CommentRequired Public method and constructor comments are required 3 5998
ReturnEmptyArrayRatherThanNull Return an empty array rather than null. 1 116120
CommentRequired Protected method constructor comments are required 3 123128
CommentRequired Public method and constructor comments are required 3 137154
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 143
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 149

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpAction.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IDatabaseService' 4 51
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 4 55
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 4 58
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 4 60
UnusedImports Avoid unused imports such as 'net.sf.json.JSONObject' 4 63
CyclomaticComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has a cyclomatic complexity of 12. 3 76147
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 8598
IntegerInstantiation Avoid instantiating Integer objects. Call Integer.valueOf() instead. 2 107
ConfusingTernary Avoid if (x != y) ..; else ..; 3 107
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 155169
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 202
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 224

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpParameters.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 633
FieldNamingConventions The field name 'dbName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 9
CommentRequired Public method and constructor comments are required 3 1419

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpWithOptionsAction.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IDatabaseService' 4 51
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 4 55
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 4 58
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 4 60
UnusedImports Avoid unused imports such as 'net.sf.json.JSONObject' 4 63
UnusedPrivateField Avoid unused private fields such as 'CONSTANTE_DUMP_FILE_NAME_PREFIX'. 3 73
UnusedPrivateField Avoid unused private fields such as 'CONSTANTE_DUMP_FILE_NAME_SUFIX'. 3 74
CyclomaticComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has a cyclomatic complexity of 12. 3 79147
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 88101
IntegerInstantiation Avoid instantiating Integer objects. Call Integer.valueOf() instead. 2 109
ConfusingTernary Avoid if (x != y) ..; else ..; 3 109
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 155169
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 201
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 223

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/DumpWithOptionsParameters.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 655
FieldNamingConventions The field name 'commandOptions' doesn't match '_[a-z][a-zA-Z0-9]*' 1 9
FieldNamingConventions The field name 'sqlFileName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 11
FieldNamingConventions The field name 'dbName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 13
CommentRequired Public method and constructor comments are required 3 2026

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/ExecuteActionParameters.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 537
FieldNamingConventions The field name 'bdName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 8
FieldNamingConventions The field name 'sqlFileName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 10
CommentRequired Public method and constructor comments are required 3 1217

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/ExecuteSqlAction.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'java.util.Iterator' 4 37
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.ansible.AWXExecuteResult' 4 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 4 53
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 4 56
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' 4 57
UnusedImports Avoid unused imports such as 'net.sf.json.JSONArray' 4 58
UnusedImports Avoid unused imports such as 'net.sf.json.JSONObject' 4 59
CyclomaticComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has a cyclomatic complexity of 16. 3 69163
NPathComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has an NPath complexity of 306 3 69163
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 8199
IntegerInstantiation Avoid instantiating Integer objects. Call Integer.valueOf() instead. 2 109
ConfusingTernary Avoid if (x != y) ..; else ..; 3 109
ConfusingTernary Avoid if (x != y) ..; else ..; 3 136150
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 169
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 191

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/IAnsibleAction.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 58

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/InitAppContextAction.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 1843

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/InitMysqlDatabaseAction.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.context.WorkflowDeployScriptContext' 4 47
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.fastaction.IAction' 4 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IActionService' 4 51
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 4 53
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 4 55
CommentRequired Header comments are required 3 59129
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 100
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 122

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/StatusAction.java

Rule Violation Priority Ligne
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7889

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/StatusInFactsAction.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.ansible.AWXJobResult' 4 43
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.util.DeploymentUtils' 4 45

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/WarInstalerParameters.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 525
CommentRequired Public method and constructor comments are required 3 812
FieldNamingConventions The field name 'newWarName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 14
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 14

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/ansible/WarInstallerAction.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.context.WorkflowDeployScriptContext' 4 45
CyclomaticComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has a cyclomatic complexity of 10. 3 61115
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 6977
IntegerInstantiation Avoid instantiating Integer objects. Call Integer.valueOf() instead. 2 80
ConfusingTernary Avoid if (x != y) ..; else ..; 3 80
MissingOverride The method 'getActionParameters(T)' is missing an @Override annotation. 3 117133
CommentRequired Public method and constructor comments are required 3 117133
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 120
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 132

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/DefaultAction.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 51130
MissingOverride The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' is missing an @Override annotation. 3 5896
CommentRequired Public method and constructor comments are required 3 5896
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 70
ShortVariable Avoid variables with short names like jo 3 81
BooleanInstantiation Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 2 86
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 8691
ReturnEmptyArrayRatherThanNull Return an empty array rather than null. 1 116120

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/DumpAction.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IDatabaseService' 4 51
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 4 55
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 7785
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 99
ShortVariable Avoid variables with short names like jo 3 109
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 111121
BooleanInstantiation Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 2 114
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 138152
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 182
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 195

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/ExecuteSqlAction.java

Rule Violation Priority Ligne
CyclomaticComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has a cyclomatic complexity of 13. 3 64145
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 7184
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 98
ShortVariable Avoid variables with short names like jo 3 105
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 108140
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 151
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 164

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/ICloudmgrAction.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 58

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/InitAppContextAction.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 4 47
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 4 49

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/InitMysqlDatabaseAction.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.IActionService' 4 47
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.service.cloudmgr.CloudmgrUtils' 4 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 4 51
CommentRequired Header comments are required 3 55111
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 66

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/fastaction/cloudmgr/WarInstallerAction.java

Rule Violation Priority Ligne
CyclomaticComplexity The method 'run(FastDeployApplicationData, ServerApplicationInstance, CommandResult, ActionParameter...)' has a cyclomatic complexity of 10. 3 59128
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 9195
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 101
ShortVariable Avoid variables with short names like jo 3 111
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 116122
BooleanInstantiation Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 2 116

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/task/TaskRunServerActionConfig.java

Rule Violation Priority Ligne
FormalParameterNamingConventions The method parameter name '_strActionCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 49
CommentRequired Public method and constructor comments are required 3 4951
CommentRequired Public method and constructor comments are required 3 5355

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/task/TaskRunServerActionConfigDAO.java

Rule Violation Priority Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 6980

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/vcs/AbstractVCSUser.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3665

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/vcs/DefaultVCSUser.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3740

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/vcs/GitUser.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3639

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/vcs/IVCSUser.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3645
CommentRequired Public method and constructor comments are required 3 38
CommentRequired Public method and constructor comments are required 3 40
CommentRequired Public method and constructor comments are required 3 42
CommentRequired Public method and constructor comments are required 3 44

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/business/vcs/SvnUser.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3960
CommentRequired Public method and constructor comments are required 3 4649
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4649
FormalParameterNamingConventions The method parameter name '_mUserContex' doesn't match '[a-z][a-zA-Z0-9]*' 1 51
CommentRequired Public method and constructor comments are required 3 5154
CommentRequired Public method and constructor comments are required 3 5659

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/AbstractActionService.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.util.DeploymentUtils' 4 15
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 4 17
CommentRequired Header comments are required 3 1999
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 21
MissingOverride The method 'getListAction(Locale)' is missing an @Override annotation. 3 2339
CommentRequired Public method and constructor comments are required 3 2339
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 25
BooleanInstantiation Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 2 51
MissingOverride The method 'getAction(String, Locale)' is missing an @Override annotation. 3 8496
CommentRequired Public method and constructor comments are required 3 8496

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/AbstractDatabaseService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 1047
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 24
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 36
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 38

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/AbstractFastDeployEnvironmentService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 1378
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 18
MissingOverride The method 'initService()' is missing an @Override annotation. 3 2234
CommentRequired Public method and constructor comments are required 3 2234
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 25
CommentRequired Public method and constructor comments are required 3 4151
MissingOverride The method 'getEnvironment(String, Locale)' is missing an @Override annotation. 3 4151
MissingOverride The method 'getEnvironmentRefList(Locale)' is missing an @Override annotation. 3 5364
CommentRequired Public method and constructor comments are required 3 5364

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/AbstractServerApplicationService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 1493
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 17
MissingOverride The method 'getHashServerApplicationInstance(FastDeployApplicationData, String, String, Locale, boolean, boolean, String)' is missing an @Override annotation. 3 3252
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 32
CommentRequired Public method and constructor comments are required 3 3252
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 35
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 44
FormalParameterNamingConventions The method parameter name '_environmentService' doesn't match '[a-z][a-zA-Z0-9]*' 1 60
FormalParameterNamingConventions The method parameter name '_actionService' doesn't match '[a-z][a-zA-Z0-9]*' 1 70
MissingOverride The method 'initService()' is missing an @Override annotation. 3 7690
CommentRequired Public method and constructor comments are required 3 7690
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 79

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/ActionHistoryService.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.FastDeployApplicationData' 4 39
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.business.context.AbstractWorkflowDeployContext' 4 42
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.util.ConstanteUtils' 4 48
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.spring.SpringContextService' 4 49
UnusedImports Avoid unused imports such as 'java.util.logging.Level' 4 55
UnusedImports Avoid unused imports such as 'java.util.logging.Logger' 4 56
UnusedImports Avoid unused imports such as 'org.bouncycastle.jcajce.provider.digest.GOST3411' 4 57
CommentRequired Header comments are required 3 59108
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 60108
CommentRequired Public method and constructor comments are required 3 6281
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 83
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 89
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 89
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 9094

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/DeploymentFactory.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.fastdeployapplication.util.ConstanteUtils' 4 9
CommentRequired Header comments are required 3 12199
CommentRequired Public method and constructor comments are required 3 3351
CommentRequired Public method and constructor comments are required 3 5372
CommentRequired Public method and constructor comments are required 3 7594
CommentRequired Public method and constructor comments are required 3 96114
CommentRequired Public method and constructor comments are required 3 116134
CommentRequired Public method and constructor comments are required 3 138148
NonThreadSafeSingleton Singleton is not thread safe 3 141145

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/FastDeployApplicationTask.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.sources.business.SourceUserData' 4 11
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.sources.business.SourceUserDemand' 4 12
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.sources.business.SourcesData' 4 13
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.sources.business.SourcesDatas' 4 14
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appcenter.modules.sources.business.SourcesDemand' 4 15
UnusedImports Avoid unused imports such as 'java.util.ArrayList' 4 18
CommentRequired Header comments are required 3 2050
CommentRequired Public method and constructor comments are required 3 4449

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/FastDeployPermissionProvider.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 43104
AvoidDuplicateLiterals The String literal "ENV" appears 8 times in this file; the first occurrence is on line 56 3 56

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/FrontWorkflowProvider.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34727
UnusedPrivateField Avoid unused private fields such as '_resourceHistoryFactory'. 3 121
MissingOverride The method 'getActions(Collection, AdminUser)' is missing an @Override annotation. 3 135145
ConfusingTernary Avoid if (x != y) ..; else ..; 3 137144
MissingOverride The method 'getActions(Map, AdminUser)' is missing an @Override annotation. 3 151164
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 185
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 190
ConfusingTernary Avoid if (x != y) ..; else ..; 3 196225
CyclomaticComplexity The method 'getAuthorizedResourceList(String, int, List, Integer, AdminUser)' has a cyclomatic complexity of 11. 3 234303
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 237
ConfusingTernary Avoid if (x != y) ..; else ..; 3 248259
ConfusingTernary Avoid if (x != y) ..; else ..; 3 270281
MissingOverride The method 'getDisplayDocumentHistory(int, String, int, HttpServletRequest, Locale, String)' is missing an @Override annotation. 3 334342
MissingOverride The method 'getDisplayDocumentHistory(int, String, int, HttpServletRequest, Locale, Map, String)' is missing an @Override annotation. 3 365378
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 387
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 400
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 400
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 426
ConfusingTernary Avoid if (x != y) ..; else ..; 3 426
ConfusingTernary Avoid if (x != y) ..; else ..; 3 433463
MissingOverride The method 'canProcessAction(int, HttpServletRequest)' is missing an @Override annotation. 3 503521
ConfusingTernary Avoid if (x != y) ..; else ..; 3 510517
CyclomaticComplexity The method 'isAuthorized(int, String, int, AdminUser)' has a cyclomatic complexity of 11. 3 527585
ConfusingTernary Avoid if (x != y) ..; else ..; 3 533550
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 546
ConfusingTernary Avoid if (x != y) ..; else ..; 3 554580
MissingOverride The method 'doSaveTasksForm(int, String, int, Integer, HttpServletRequest, Locale, String)' is missing an @Override annotation. 3 615619
ConfusingTernary Avoid if (x != y) ..; else ..; 3 637644
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 668
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 668
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 670
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 675
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 683

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/FtpService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4682
CommentRequired Public method and constructor comments are required 3 5460
MissingOverride The method 'uploadFile(String, String, FtpInfo, String, CommandResult, boolean)' is missing an @Override annotation. 3 5460
MissingOverride The method 'uploadFile(String, InputStream, FtpInfo, String, CommandResult, boolean)' is missing an @Override annotation. 3 6268
CommentRequired Public method and constructor comments are required 3 6268
LinguisticNaming Linguistics Antipattern - The getter 'getFile' should not return void linguistically 3 7074
MissingOverride The method 'getFile(String, OutputStream, FtpInfo, String, CommandResult)' is missing an @Override annotation. 3 7074
CommentRequired Public method and constructor comments are required 3 7074

fr/paris/lutece/plugins/appcenter/modules/fastdeployapplication/service/IActionService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4565
CommentRequired Public method and constructor comments are required 3 47
CommentRequired Public method and constructor comments are required 3 49
CommentRequired Public method and constructor comments are required 3 5152
CommentRequired Public method and constructor comments are required 3 5455
CommentRequired Public method and constructor comments are required 3 57
CommentRequired Public method and constructor comments are required 3 59