Apollo

##### Parent Project

- Ctrip Framework Parent

##### Modules

- Apollo BuildTools
- Apollo Core
- Apollo Client
- Apollo Common
- Apollo Biz
- Apollo ConfigService
- Apollo AdminService
- Apollo Portal
- Apollo Demo

##### Project Documentation

- Project Information
- Project Reports
  - Checkstyle
  - PMD
  - Cobertura Test Coverage

## Checkstyle Results

The following document contains the results of Checkstyle 6.17 with google_checks.xml ruleset.

## Summary

Files | Info | Warnings | Errors
--- | --- | --- | ---
118 | 0 | 588 | 0

## Files

File | I | W | E
--- | --- | --- | ---
ApolloConfigDemo.java | 0 | 2 | 0
com/ctrip/apollo/AdminServiceApplication.java | 0 | 2 | 0
com/ctrip/apollo/ConfigService.java | 0 | 4 | 0
com/ctrip/apollo/ConfigServiceApplication.java | 0 | 1 | 0
com/ctrip/apollo/adminservice/AdminServiceHealthIndicator.java | 0 | 1 | 0
com/ctrip/apollo/adminservice/controller/AppController.java | 0 | 25 | 0
com/ctrip/apollo/adminservice/controller/ClusterController.java | 0 | 19 | 0
com/ctrip/apollo/adminservice/controller/ItemController.java | 0 | 19 | 0
com/ctrip/apollo/adminservice/controller/ItemSetController.java | 0 | 3 | 0
com/ctrip/apollo/adminservice/controller/NamespaceController.java | 0 | 26 | 0
com/ctrip/apollo/adminservice/controller/ReleaseController.java | 0 | 18 | 0
com/ctrip/apollo/biz/datasource/TitanCondition.java | 0 | 1 | 0
com/ctrip/apollo/biz/datasource/TitanEntityManager.java | 0 | 5 | 0
com/ctrip/apollo/biz/entity/App.java | 0 | 2 | 0
com/ctrip/apollo/biz/entity/AppNamespace.java | 0 | 2 | 0
com/ctrip/apollo/biz/entity/BaseEntity.java | 0 | 1 | 0
com/ctrip/apollo/biz/entity/Cluster.java | 0 | 2 | 0
com/ctrip/apollo/biz/entity/Item.java | 0 | 2 | 0
com/ctrip/apollo/biz/entity/Namespace.java | 0 | 2 | 0
com/ctrip/apollo/biz/entity/Privilege.java | 0 | 2 | 0
com/ctrip/apollo/biz/repository/AppNamespaceRepository.java | 0 | 2 | 0
com/ctrip/apollo/biz/repository/AppRepository.java | 0 | 4 | 0
com/ctrip/apollo/biz/repository/ItemRepository.java | 0 | 2 | 0
com/ctrip/apollo/biz/repository/NamespaceRepository.java | 0 | 3 | 0
com/ctrip/apollo/biz/repository/PrivilegeRepository.java | 0 | 1 | 0
com/ctrip/apollo/biz/repository/ReleaseRepository.java | 0 | 4 | 0
com/ctrip/apollo/biz/service/AdminService.java | 0 | 13 | 0
com/ctrip/apollo/biz/service/AppService.java | 0 | 9 | 0
com/ctrip/apollo/biz/service/ClusterService.java | 0 | 4 | 0
com/ctrip/apollo/biz/service/ConfigService.java | 0 | 3 | 0
com/ctrip/apollo/biz/service/ItemService.java | 0 | 4 | 0
com/ctrip/apollo/biz/service/ItemSetService.java | 0 | 6 | 0
com/ctrip/apollo/biz/service/NamespaceService.java | 0 | 4 | 0
com/ctrip/apollo/biz/service/PrivilegeService.java | 0 | 4 | 0
com/ctrip/apollo/biz/service/ReleaseService.java | 0 | 13 | 0
com/ctrip/apollo/biz/service/ViewService.java | 0 | 18 | 0
com/ctrip/apollo/common/controller/GlobalDefaultExceptionHandler.java | 0 | 7 | 0
com/ctrip/apollo/common/controller/WebMvcConfig.java | 0 | 7 | 0
com/ctrip/apollo/common/utils/BeanUtils.java | 0 | 29 | 0
com/ctrip/apollo/configservice/ConfigServiceHealthIndicator.java | 0 | 1 | 0
com/ctrip/apollo/configservice/controller/ConfigController.java | 0 | 4 | 0
com/ctrip/apollo/core/MetaDomainConsts.java | 0 | 2 | 0
com/ctrip/apollo/core/dto/ApolloConfig.java | 0 | 1 | 0
com/ctrip/apollo/core/dto/AppConfigVO.java | 0 | 15 | 0
com/ctrip/apollo/core/dto/AppDTO.java | 0 | 1 | 0
com/ctrip/apollo/core/dto/ClusterDTO.java | 0 | 1 | 0
com/ctrip/apollo/core/dto/ItemChangeSets.java | 0 | 1 | 0
com/ctrip/apollo/core/dto/ItemDTO.java | 0 | 13 | 0
com/ctrip/apollo/core/dto/NamespaceDTO.java | 0 | 1 | 0
com/ctrip/apollo/core/dto/ReleaseDTO.java | 0 | 1 | 0
com/ctrip/apollo/core/dto/ServiceDTO.java | 0 | 1 | 0
com/ctrip/apollo/core/exception/AbstractBaseException.java | 0 | 4 | 0
com/ctrip/apollo/core/exception/BadRequestException.java | 0 | 1 | 0
com/ctrip/apollo/core/exception/NotFoundException.java | 0 | 1 | 0
com/ctrip/apollo/core/exception/ServiceException.java | 0 | 1 | 0
com/ctrip/apollo/core/utils/ApolloThreadFactory.java | 0 | 2 | 0
com/ctrip/apollo/core/utils/ClassLoaderUtil.java | 0 | 1 | 0
com/ctrip/apollo/core/utils/DNSUtil.java | 0 | 2 | 0
com/ctrip/apollo/core/utils/ResourceUtils.java | 0 | 3 | 0
com/ctrip/apollo/core/utils/StringUtils.java | 0 | 28 | 0
com/ctrip/apollo/internals/AbstractConfig.java | 0 | 1 | 0
com/ctrip/apollo/internals/AbstractConfigRepository.java | 0 | 1 | 0
com/ctrip/apollo/internals/ConfigServiceLocator.java | 0 | 2 | 0
com/ctrip/apollo/internals/DefaultConfig.java | 0 | 4 | 0
com/ctrip/apollo/internals/DefaultConfigManager.java | 0 | 2 | 0
com/ctrip/apollo/internals/LocalFileConfigRepository.java | 0 | 6 | 0
com/ctrip/apollo/internals/RemoteConfigRepository.java | 0 | 7 | 0
com/ctrip/apollo/internals/SimpleConfig.java | 0 | 3 | 0
com/ctrip/apollo/metaservice/controller/ServiceController.java | 0 | 3 | 0
com/ctrip/apollo/model/ConfigChangeEvent.java | 0 | 1 | 0
com/ctrip/apollo/portal/PortalApplication.java | 0 | 1 | 0
com/ctrip/apollo/portal/PortalSettings.java | 0 | 3 | 0
com/ctrip/apollo/portal/api/API.java | 0 | 3 | 0
com/ctrip/apollo/portal/api/AdminServiceAPI.java | 0 | 38 | 0
com/ctrip/apollo/portal/controller/AppController.java | 0 | 9 | 0
com/ctrip/apollo/portal/controller/ConfigController.java | 0 | 8 | 0
com/ctrip/apollo/portal/entity/ClusterNavTree.java | 0 | 25 | 0
com/ctrip/apollo/portal/entity/NamespaceVO.java | 0 | 4 | 0
com/ctrip/apollo/portal/entity/SimpleMsg.java | 0 | 1 | 0
com/ctrip/apollo/portal/entity/form/NamespaceReleaseModel.java | 0 | 1 | 0
com/ctrip/apollo/portal/entity/form/NamespaceTextModel.java | 0 | 4 | 0
com/ctrip/apollo/portal/service/AppService.java | 0 | 14 | 0
com/ctrip/apollo/portal/service/ClusterService.java | 0 | 3 | 0
com/ctrip/apollo/portal/service/ConfigService.java | 0 | 37 | 0
com/ctrip/apollo/portal/service/ServiceLocator.java | 0 | 11 | 0
com/ctrip/apollo/portal/service/txtresolver/PropertyResolver.java | 0 | 22 | 0
com/ctrip/apollo/spi/DefaultConfigFactory.java | 0 | 3 | 0
com/ctrip/apollo/spi/DefaultConfigFactoryManager.java | 0 | 2 | 0
com/ctrip/apollo/spi/DefaultConfigRegistry.java | 0 | 2 | 0
com/ctrip/apollo/util/http/HttpRequest.java | 0 | 3 | 0
com/ctrip/apollo/util/http/HttpResponse.java | 0 | 2 | 0
com/ctrip/apollo/util/http/HttpUtil.java | 0 | 1 | 0

## Rules

Category | Rule | Violations | Severity
--- | --- | --- | ---
blocks | NeedBraces | 18 | Warning
imports | CustomImportOrder sortImportsInGroupAlphabetically: `"true"` specialImportsRegExp: `"com.google"` customImportOrderRules: `"STATIC###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE"` | 232 | Warning
indentation | Indentation throwsIndent: `"4"` arrayInitIndent: `"2"` caseIndent: `"2"` basicOffset: `"2"` braceAdjustment: `"0"` lineWrappingIndentation: `"4"` | 20 | Warning
javadoc | JavadocMethod scope: `"public"` allowMissingThrowsTags: `"true"` allowThrowsTagsForSubclasses: `"true"` allowMissingReturnTag: `"true"` allowMissingParamTags: `"true"` minLineCount: `"2"` allowedAnnotations: `"Override, Test"` | 71 | Warning
| JavadocParagraph | 6 | Warning
| NonEmptyAtclauseDescription | 9 | Warning
| SingleLineJavadoc ignoreInlineTags: `"false"` | 4 | Warning
| SummaryJavadoc forbiddenSummaryFragments: `"^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"` | 20 | Warning
misc | UpperEll | 3 | Warning
naming | AbbreviationAsWordInName ignoreFinal: `"false"` allowedAbbreviationLength: `"1"` | 31 | Warning
| CatchParameterName format: `"^[a-z][a-z0-9][a-zA-Z0-9]*$"` | 15 | Warning
| LocalVariableName format: `"^[a-z][a-z0-9][a-zA-Z0-9]*$"` allowOneCharVarInForLoop: `"true"` tokens: `"VARIABLE_DEF"` | 1 | Warning
| MemberName format: `"^[a-z][a-z0-9][a-zA-Z0-9]*$"` | 39 | Warning
| ParameterName format: `"^[a-z][a-z0-9][a-zA-Z0-9]*$"` | 1 | Warning
sizes | LineLength max: `"100"` ignorePattern: `"^package.*|^import.*|a href|href|http://|https://|ftp://"` | 54 | Warning
whitespace | EmptyLineSeparator allowNoEmptyLineBetweenFields: `"true"` | 3 | Warning
| GenericWhitespace | 1 | Warning
| OperatorWrap tokens: `"BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "` option: `"NL"` | 19 | Warning
| SeparatorWrap tokens: `"COMMA"` option: `"EOL"` | 1 | Warning
| SeparatorWrap tokens: `"DOT"` option: `"nl"` | 1 | Warning
| WhitespaceAround allowEmptyConstructors: `"true"` allowEmptyMethods: `"true"` allowEmptyLoops: `"true"` allowEmptyTypes: `"true"` | 40 | Warning

## Details

### ApolloConfigDemo.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 33
Warning | indentation | Indentation | 'if' child have incorrect indentation level 7, expected level should be 8. | 41

### com/ctrip/apollo/AdminServiceApplication.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 14
Warning | sizes | LineLength | Line is longer than 100 characters (found 115). | 15

### com/ctrip/apollo/ConfigService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_container' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 19
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 62
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 80
Warning | naming | ParameterName | Parameter name 'm_container' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 90

### com/ctrip/apollo/ConfigServiceApplication.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 19

### com/ctrip/apollo/adminservice/AdminServiceHealthIndicator.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.service.AppService' import. Should be before 'org.springframework.stereotype.Component'. | 9

### com/ctrip/apollo/adminservice/controller/AppController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.data.domain.Pageable' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 6
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.HttpStatus' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.ResponseEntity' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.PathVariable' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestBody' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 10
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestMapping' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 11
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestMethod' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 12
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestParam' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 13
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RestController' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.App' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.service.AdminService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 17
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.service.AppService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 18
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.common.utils.BeanUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 19
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.dto.AppDTO' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 20
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.exception.NotFoundException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 21
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.utils.StringUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 22
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 32
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 40
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 43
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 47
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 59
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 62
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 66
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 73

### com/ctrip/apollo/adminservice/controller/ClusterController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.HttpStatus' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 6
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.ResponseEntity' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.PathVariable' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestBody' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestMapping' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 10
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestMethod' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 11
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RestController' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 12
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Cluster' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.service.ClusterService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.service.ViewService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.common.utils.BeanUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 17
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.dto.ClusterDTO' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 18
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.exception.NotFoundException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 19
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 30
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 39
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 43
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 61
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 69

### com/ctrip/apollo/adminservice/controller/ItemController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.HttpStatus' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 6
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.ResponseEntity' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.PathVariable' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestBody' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestMapping' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 10
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestMethod' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 11
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RestController' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 12
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Item' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.service.ItemService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.service.ViewService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.common.utils.BeanUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 17
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.dto.ItemDTO' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 18
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.exception.NotFoundException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 19
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 30
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 38
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 41
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 59
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 62

### com/ctrip/apollo/adminservice/controller/ItemSetController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.service.ItemSetService' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 11
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ItemChangeSets' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 12
Warning | sizes | LineLength | Line is longer than 100 characters (found 128). | 20

### com/ctrip/apollo/adminservice/controller/NamespaceController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.HttpStatus' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 6
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.ResponseEntity' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.PathVariable' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestBody' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestMapping' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 10
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestMethod' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 11
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RestController' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 12
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Namespace' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.service.NamespaceService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.service.ViewService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.common.utils.BeanUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 17
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.dto.NamespaceDTO' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 18
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.exception.NotFoundException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 19
Warning | sizes | LineLength | Line is longer than 100 characters (found 104). | 30
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 30
Warning | sizes | LineLength | Line is longer than 100 characters (found 122). | 47
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 47
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 52
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 64
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 67
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 72
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 77
Warning | sizes | LineLength | Line is longer than 100 characters (found 119). | 82
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 82
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 100

### com/ctrip/apollo/adminservice/controller/ReleaseController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.PathVariable' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 6
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestMapping' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestMethod' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestParam' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RestController' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 10
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Release' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 12
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.service.ConfigService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 13
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.service.ReleaseService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.service.ViewService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.common.utils.BeanUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.dto.ReleaseDTO' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 17
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.exception.NotFoundException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 18
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 32
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 35
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 48
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 55
Warning | sizes | LineLength | Line is longer than 100 characters (found 129). | 61

### com/ctrip/apollo/biz/datasource/TitanCondition.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.utils.StringUtils' import. Should be before 'org.springframework.core.type.AnnotatedTypeMetadata'. | 7

### com/ctrip/apollo/biz/datasource/TitanEntityManager.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.context.annotation.Bean' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.context.annotation.Conditional' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.stereotype.Component' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 10
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 19

### com/ctrip/apollo/biz/entity/App.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.hibernate.annotations.SQLDelete' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.hibernate.annotations.Where' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8

### com/ctrip/apollo/biz/entity/AppNamespace.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.hibernate.annotations.SQLDelete' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.hibernate.annotations.Where' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8

### com/ctrip/apollo/biz/entity/BaseEntity.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 89

### com/ctrip/apollo/biz/entity/Cluster.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.hibernate.annotations.SQLDelete' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.hibernate.annotations.Where' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8

### com/ctrip/apollo/biz/entity/Item.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.hibernate.annotations.SQLDelete' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.hibernate.annotations.Where' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8

### com/ctrip/apollo/biz/entity/Namespace.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.hibernate.annotations.SQLDelete' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.hibernate.annotations.Where' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8

### com/ctrip/apollo/biz/entity/Privilege.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.hibernate.annotations.SQLDelete' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.hibernate.annotations.Where' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8

### com/ctrip/apollo/biz/repository/AppNamespaceRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.entity.AppNamespace' import. Should be before 'org.springframework.data.repository.PagingAndSortingRepository'. | 5
Warning | whitespace | GenericWhitespace | GenericWhitespace '>' should followed by whitespace. | 7

### com/ctrip/apollo/biz/repository/AppRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.data.jpa.repository.Query' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.data.repository.PagingAndSortingRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 6
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.data.repository.query.Param' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.App' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9

### com/ctrip/apollo/biz/repository/ItemRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.data.repository.PagingAndSortingRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Item' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7

### com/ctrip/apollo/biz/repository/NamespaceRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.data.repository.PagingAndSortingRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Namespace' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | sizes | LineLength | Line is longer than 100 characters (found 110). | 13

### com/ctrip/apollo/biz/repository/PrivilegeRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.entity.Privilege' import. Should be before 'org.springframework.data.repository.PagingAndSortingRepository'. | 5

### com/ctrip/apollo/biz/repository/ReleaseRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.data.repository.PagingAndSortingRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.data.repository.query.Param' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 6
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Release' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | sizes | LineLength | Line is longer than 100 characters (found 141). | 15

### com/ctrip/apollo/biz/service/AdminService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.entity.App' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 7
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.entity.AppNamespace' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 8
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.entity.Cluster' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 9
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.entity.Namespace' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 10
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.repository.AppNamespaceRepository' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 11
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.repository.AppRepository' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 12
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.repository.ClusterRepository' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 13
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.repository.NamespaceRepository' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 14
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.ConfigConsts' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 15
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 35
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 50
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 61
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 71

### com/ctrip/apollo/biz/service/AppService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.data.domain.Page' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 6
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.data.domain.Pageable' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.stereotype.Service' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.transaction.annotation.Transactional' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.App' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 11
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.repository.AppRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 12
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.common.utils.BeanUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 13
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 44

### com/ctrip/apollo/biz/service/ClusterService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.entity.Cluster' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 7
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.repository.ClusterRepository' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 8
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.common.utils.BeanUtils' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 9
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 31

### com/ctrip/apollo/biz/service/ConfigService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | sizes | LineLength | Line is longer than 100 characters (found 135). | 33
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 37
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 53

### com/ctrip/apollo/biz/service/ItemService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.entity.Item' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 7
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.repository.ItemRepository' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 8
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.common.utils.BeanUtils' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 9
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 32

### com/ctrip/apollo/biz/service/ItemSetService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.entity.Item' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 7
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.repository.ItemRepository' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 8
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.common.utils.BeanUtils' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 9
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ItemChangeSets' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 10
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ItemDTO' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 11
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 19

### com/ctrip/apollo/biz/service/NamespaceService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.entity.Namespace' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 7
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.repository.NamespaceRepository' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 8
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.common.utils.BeanUtils' import. Should be before 'org.springframework.transaction.annotation.Transactional'. | 9
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 36

### com/ctrip/apollo/biz/service/PrivilegeService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 22
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 36
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 46
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 50

### com/ctrip/apollo/biz/service/ReleaseService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.stereotype.Service' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.transaction.annotation.Transactional' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 10
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Item' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 12
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Namespace' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 13
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Release' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.repository.ItemRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.repository.NamespaceRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.repository.ReleaseRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 17
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.exception.NotFoundException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 18
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.utils.StringUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 19
Warning | imports | CustomImportOrder | Import statement for 'com.google.gson.Gson' is in the wrong order. Should be in the 'SPECIAL_IMPORTS' group, expecting not assigned imports on this line. | 20
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 44

### com/ctrip/apollo/biz/service/ViewService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 6
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.stereotype.Service' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Cluster' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Namespace' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 10
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Item' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 11
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.entity.Release' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 12
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.repository.ClusterRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 13
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.repository.NamespaceRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.repository.ItemRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.biz.repository.ReleaseRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16
Warning | imports | CustomImportOrder | Import statement for 'com.google.common.base.Strings' is in the wrong order. Should be in the 'SPECIAL_IMPORTS' group, expecting not assigned imports on this line. | 17
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 19
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 37
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 49
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 57
Warning | sizes | LineLength | Line is longer than 100 characters (found 103). | 58
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 67
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 75

### com/ctrip/apollo/common/controller/GlobalDefaultExceptionHandler.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.exception.AbstractBaseException' import. Should be before 'org.springframework.web.bind.annotation.ExceptionHandler'. | 11
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.exception.BadRequestException' import. Should be before 'org.springframework.web.bind.annotation.ExceptionHandler'. | 12
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.exception.NotFoundException' import. Should be before 'org.springframework.web.bind.annotation.ExceptionHandler'. | 13
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.HttpStatus.BAD_REQUEST' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. | 23
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.HttpStatus.INTERNAL_SERVER_ERROR' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. | 24
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.HttpStatus.NOT_FOUND' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. | 25
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.MediaType.APPLICATION_JSON' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. | 26

### com/ctrip/apollo/common/controller/WebMvcConfig.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.context.annotation.Configuration' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.data.domain.PageRequest' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 6
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.data.web.PageableHandlerMethodArgumentResolver' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.MediaType' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.method.support.HandlerMethodArgumentResolver' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 10
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 11

### com/ctrip/apollo/common/utils/BeanUtils.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.BeanWrapper' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 13
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.BeanWrapperImpl' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.util.CollectionUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15
Warning | javadoc | SingleLineJavadoc | Javadoc comment at column 14 has parse error. Missed HTML close tag 'UserDTO'. Sometimes it means that close tag missed for one of previous tags. | 23
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 53
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 67
Warning | javadoc | SingleLineJavadoc | Javadoc comment at column 22 has parse error. Details: no viable alternative at input '<pre>\r\n * List<UserDTO> userList = userService.queryUsers();\r\n * Map<Integer,' while parsing HTML_TAG | 78
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 92
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 97
Warning | javadoc | SingleLineJavadoc | Javadoc comment at column 23 has parse error. Details: no viable alternative at input '<pre>\r\n * List<ShopDTO> shopList = shopService.queryShops();\r\n * Map<Integer,' while parsing HTML_TAG | 108
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 114
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 120
Warning | naming | LocalVariableName | Local variable name 'k' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 123
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 129
Warning | javadoc | SingleLineJavadoc | Javadoc comment at column 13 has parse error. Missed HTML close tag 'Integer'. Sometimes it means that close tag missed for one of previous tags. | 140
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 146
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 152
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 157
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 172
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 179
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 189
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 195
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 205
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 210
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 212
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 213
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 219
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 222
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 223

### com/ctrip/apollo/configservice/ConfigServiceHealthIndicator.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.biz.service.AppService' import. Should be before 'org.springframework.stereotype.Component'. | 9

### com/ctrip/apollo/configservice/controller/ConfigController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | sizes | LineLength | Line is longer than 100 characters (found 115). | 30
Warning | sizes | LineLength | Line is longer than 100 characters (found 104). | 32
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 36
Warning | sizes | LineLength | Line is longer than 100 characters (found 115). | 39

### com/ctrip/apollo/core/MetaDomainConsts.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.enums.Env' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.utils.ResourceUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8

### com/ctrip/apollo/core/dto/ApolloConfig.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 22

### com/ctrip/apollo/core/dto/AppConfigVO.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'AppConfigVO' must contain no more than '1' capital letters. | 9
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 15
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 20
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 25
Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 36
Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 39
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 48
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 87
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 172
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 173
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 174
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 175
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 176
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 177
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 178

### com/ctrip/apollo/core/dto/AppDTO.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'AppDTO' must contain no more than '1' capital letters. | 5

### com/ctrip/apollo/core/dto/ClusterDTO.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'ClusterDTO' must contain no more than '1' capital letters. | 3

### com/ctrip/apollo/core/dto/ItemChangeSets.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 6

### com/ctrip/apollo/core/dto/ItemDTO.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'ItemDTO' must contain no more than '1' capital letters. | 5
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 5
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 118
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 119
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 120
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 121
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 122
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 123
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 124
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 125
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 126
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 127
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 128

### com/ctrip/apollo/core/dto/NamespaceDTO.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'NamespaceDTO' must contain no more than '1' capital letters. | 3

### com/ctrip/apollo/core/dto/ReleaseDTO.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'ReleaseDTO' must contain no more than '1' capital letters. | 3

### com/ctrip/apollo/core/dto/ServiceDTO.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'ServiceDTO' must contain no more than '1' capital letters. | 3

### com/ctrip/apollo/core/exception/AbstractBaseException.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 3
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 5
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 16
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 20

### com/ctrip/apollo/core/exception/BadRequestException.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 5

### com/ctrip/apollo/core/exception/NotFoundException.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 4

### com/ctrip/apollo/core/exception/ServiceException.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 5

### com/ctrip/apollo/core/utils/ApolloThreadFactory.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 32
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 84

### com/ctrip/apollo/core/utils/ClassLoaderUtil.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 36

### com/ctrip/apollo/core/utils/DNSUtil.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'DNSUtil' must contain no more than '1' capital letters. | 8
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 10

### com/ctrip/apollo/core/utils/ResourceUtils.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.slf4j.Logger' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 12
Warning | imports | CustomImportOrder | Import statement for 'org.slf4j.LoggerFactory' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 13
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 19

### com/ctrip/apollo/core/utils/StringUtils.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | sizes | LineLength | Line is longer than 100 characters (found 128). | 24
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 35
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 35
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 36
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 40
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 41
Warning | whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 64
Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 78
Warning | javadoc | JavadocParagraph | Redundant <p> tag. | 78
Warning | sizes | LineLength | Line is longer than 100 characters (found 128). | 79
Warning | sizes | LineLength | Line is longer than 100 characters (found 127). | 83
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 96
Warning | javadoc | JavadocParagraph | <p> tag should be placed immediately before the first word, with no space after. | 105
Warning | javadoc | JavadocParagraph | Redundant <p> tag. | 105
Warning | sizes | LineLength | Line is longer than 100 characters (found 131). | 106
Warning | sizes | LineLength | Line is longer than 100 characters (found 127). | 110
Warning | sizes | LineLength | Line is longer than 100 characters (found 118). | 132
Warning | sizes | LineLength | Line is longer than 100 characters (found 127). | 137
Warning | sizes | LineLength | Line is longer than 100 characters (found 131). | 166
Warning | sizes | LineLength | Line is longer than 100 characters (found 129). | 193
Warning | sizes | LineLength | Line is longer than 100 characters (found 131). | 220
Warning | sizes | LineLength | Line is longer than 100 characters (found 110). | 234
Warning | sizes | LineLength | Line is longer than 100 characters (found 131). | 269
Warning | sizes | LineLength | Line is longer than 100 characters (found 112). | 283
Warning | sizes | LineLength | Line is longer than 100 characters (found 113). | 293
Warning | sizes | LineLength | Line is longer than 100 characters (found 114). | 297
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 331
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 340

### com/ctrip/apollo/internals/AbstractConfig.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_listeners' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 25

### com/ctrip/apollo/internals/AbstractConfigRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_listeners' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 16

### com/ctrip/apollo/internals/ConfigServiceLocator.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_httpUtil' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 21
Warning | naming | MemberName | Member name 'm_configUtil' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 23

### com/ctrip/apollo/internals/DefaultConfig.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_namespace' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 27
Warning | naming | MemberName | Member name 'm_resourceProperties' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 28
Warning | naming | MemberName | Member name 'm_configProperties' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 29
Warning | naming | MemberName | Member name 'm_configRepository' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 30

### com/ctrip/apollo/internals/DefaultConfigManager.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_factoryManager' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 20
Warning | naming | MemberName | Member name 'm_configs' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 22

### com/ctrip/apollo/internals/LocalFileConfigRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_container' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 28
Warning | naming | MemberName | Member name 'm_namespace' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 29
Warning | naming | MemberName | Member name 'm_baseDir' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 30
Warning | naming | MemberName | Member name 'm_configUtil' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 31
Warning | naming | MemberName | Member name 'm_fileProperties' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 32
Warning | naming | MemberName | Member name 'm_fallback' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 33

### com/ctrip/apollo/internals/RemoteConfigRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_container' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 31
Warning | naming | MemberName | Member name 'm_serviceLocator' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 32
Warning | naming | MemberName | Member name 'm_httpUtil' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 33
Warning | naming | MemberName | Member name 'm_configUtil' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 34
Warning | naming | MemberName | Member name 'm_configCache' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 35
Warning | naming | MemberName | Member name 'm_namespace' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 36
Warning | naming | MemberName | Member name 'm_executorService' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 37

### com/ctrip/apollo/internals/SimpleConfig.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_namespace' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 21
Warning | naming | MemberName | Member name 'm_configRepository' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 22
Warning | naming | MemberName | Member name 'm_configProperties' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 23

### com/ctrip/apollo/metaservice/controller/ServiceController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 23
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 41
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 59

### com/ctrip/apollo/model/ConfigChangeEvent.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_namespace' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 11

### com/ctrip/apollo/portal/PortalApplication.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 12

### com/ctrip/apollo/portal/PortalSettings.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Value' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.stereotype.Component' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.enums.Env' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 11

### com/ctrip/apollo/portal/api/API.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'API' must contain no more than '1' capital letters. | 10
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 17
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 22

### com/ctrip/apollo/portal/api/AdminServiceAPI.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.AppDTO' import. Should be before 'com.ctrip.apollo.core.enums.Env'. | 5
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ClusterDTO' import. Should be before 'com.ctrip.apollo.core.enums.Env'. | 6
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ItemChangeSets' import. Should be before 'com.ctrip.apollo.core.enums.Env'. | 7
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ItemDTO' import. Should be before 'com.ctrip.apollo.core.enums.Env'. | 8
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.NamespaceDTO' import. Should be before 'com.ctrip.apollo.core.enums.Env'. | 9
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ReleaseDTO' import. Should be before 'com.ctrip.apollo.core.enums.Env'. | 10
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'AdminServiceAPI' must contain no more than '1' capital letters. | 30
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'AppAPI' must contain no more than '1' capital letters. | 35
Warning | sizes | LineLength | Line is longer than 100 characters (found 106). | 40
Warning | sizes | LineLength | Line is longer than 100 characters (found 105). | 44
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'NamespaceAPI' must contain no more than '1' capital letters. | 50
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 52
Warning | sizes | LineLength | Line is longer than 100 characters (found 105). | 59
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 63
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 68
Warning | sizes | LineLength | Line is longer than 100 characters (found 109). | 69
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'ItemAPI' must contain no more than '1' capital letters. | 75
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 77
Warning | sizes | LineLength | Line is longer than 100 characters (found 114). | 83
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 88
Warning | sizes | LineLength | Line is longer than 100 characters (found 118). | 93
Warning | sizes | LineLength | Line is longer than 100 characters (found 117). | 94
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'ClusterAPI' must contain no more than '1' capital letters. | 102
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 104
Warning | sizes | LineLength | Line is longer than 100 characters (found 112). | 110
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'ReleaseAPI' must contain no more than '1' capital letters. | 116
Warning | sizes | LineLength | Line is longer than 100 characters (found 102). | 118
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 118
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'releaseDTO' must contain no more than '1' capital letters. | 123
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 127
Warning | sizes | LineLength | Line is longer than 100 characters (found 130). | 129
Warning | sizes | LineLength | Line is longer than 100 characters (found 108). | 135
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 135
Warning | sizes | LineLength | Line is longer than 100 characters (found 105). | 142
Warning | whitespace | SeparatorWrap | '.' should be on a new line. | 142
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 146
Warning | whitespace | WhitespaceAround | WhitespaceAround: 'else' is not preceded with whitespace. | 148
Warning | whitespace | WhitespaceAround | WhitespaceAround: '}' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 148

### com/ctrip/apollo/portal/controller/AppController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.AppDTO' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 10
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.exception.BadRequestException' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 11
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.utils.StringUtils' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 12
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.portal.entity.ClusterNavTree' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 13
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.portal.service.AppService' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 14
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 23
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 32
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 34
Warning | sizes | LineLength | Line is longer than 100 characters (found 110). | 42

### com/ctrip/apollo/portal/controller/ConfigController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ReleaseDTO' import. Should be before 'com.ctrip.apollo.core.enums.Env'. | 5
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.portal.entity.NamespaceVO' import. Should be before 'com.ctrip.apollo.portal.entity.form.NamespaceTextModel'. | 9
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.portal.entity.form.NamespaceReleaseModel' import. Should be before 'com.ctrip.apollo.portal.entity.form.NamespaceTextModel'. | 10
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 29
Warning | sizes | LineLength | Line is longer than 100 characters (found 149). | 39
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 39
Warning | sizes | LineLength | Line is longer than 100 characters (found 152). | 60
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 60

### com/ctrip/apollo/portal/entity/ClusterNavTree.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ClusterDTO' import. Should be before 'com.ctrip.apollo.core.enums.Env'. | 4
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 13
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 13
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 14
Warning | indentation | Indentation | 'class def modifier' have incorrect indentation level 4, expected level should be 2. | 21
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 21
Warning | indentation | Indentation | 'member def modifier' have incorrect indentation level 6, expected level should be 4. | 22
Warning | indentation | Indentation | 'member def modifier' have incorrect indentation level 6, expected level should be 4. | 23
Warning | indentation | Indentation | 'ctor def modifier' have incorrect indentation level 6, expected level should be 4. | 25
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 25
Warning | indentation | Indentation | 'ctor def' child have incorrect indentation level 8, expected level should be 6. | 26
Warning | indentation | Indentation | 'ctor def rcurly' have incorrect indentation level 6, expected level should be 4. | 27
Warning | indentation | Indentation | 'method def modifier' have incorrect indentation level 6, expected level should be 4. | 29
Warning | indentation | Indentation | 'method def' child have incorrect indentation level 8, expected level should be 6. | 30
Warning | indentation | Indentation | 'method def rcurly' have incorrect indentation level 6, expected level should be 4. | 31
Warning | indentation | Indentation | 'method def modifier' have incorrect indentation level 6, expected level should be 4. | 33
Warning | indentation | Indentation | 'method def' child have incorrect indentation level 8, expected level should be 6. | 34
Warning | indentation | Indentation | 'method def rcurly' have incorrect indentation level 6, expected level should be 4. | 35
Warning | indentation | Indentation | 'method def modifier' have incorrect indentation level 6, expected level should be 4. | 37
Warning | indentation | Indentation | 'method def' child have incorrect indentation level 8, expected level should be 6. | 38
Warning | indentation | Indentation | 'method def rcurly' have incorrect indentation level 6, expected level should be 4. | 39
Warning | indentation | Indentation | 'method def modifier' have incorrect indentation level 6, expected level should be 4. | 41
Warning | indentation | Indentation | 'method def' child have incorrect indentation level 8, expected level should be 6. | 42
Warning | indentation | Indentation | 'method def rcurly' have incorrect indentation level 6, expected level should be 4. | 43
Warning | indentation | Indentation | 'class def rcurly' have incorrect indentation level 4, expected level should be 2. | 44

### com/ctrip/apollo/portal/entity/NamespaceVO.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | EmptyLineSeparator | 'import' should be separated from previous statement. | 2
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'NamespaceVO' must contain no more than '1' capital letters. | 7
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'ItemVO' must contain no more than '1' capital letters. | 37
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 37

### com/ctrip/apollo/portal/entity/SimpleMsg.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 7

### com/ctrip/apollo/portal/entity/form/NamespaceReleaseModel.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 7

### com/ctrip/apollo/portal/entity/form/NamespaceTextModel.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 7
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 18
Warning | sizes | LineLength | Line is longer than 100 characters (found 120). | 19
Warning | whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 21

### com/ctrip/apollo/portal/service/AppService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.slf4j.Logger' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 6
Warning | imports | CustomImportOrder | Import statement for 'org.slf4j.LoggerFactory' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.stereotype.Service' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.enums.Env' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 11
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.dto.AppDTO' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 12
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.exception.ServiceException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 13
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.portal.PortalSettings' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.portal.api.AdminServiceAPI' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.portal.entity.ClusterNavTree' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'appAPI' must contain no more than '1' capital letters. | 30
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 32
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 44
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 51

### com/ctrip/apollo/portal/service/ClusterService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ClusterDTO' import. Should be before 'com.ctrip.apollo.core.enums.Env'. | 4
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'clusterAPI' must contain no more than '1' capital letters. | 16
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 18

### com/ctrip/apollo/portal/service/ConfigService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.enums.Env' import. Should be before 'org.springframework.stereotype.Service'. | 8
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ItemChangeSets' import. Should be before 'org.springframework.stereotype.Service'. | 9
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ItemDTO' import. Should be before 'org.springframework.stereotype.Service'. | 10
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.NamespaceDTO' import. Should be before 'org.springframework.stereotype.Service'. | 11
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.dto.ReleaseDTO' import. Should be before 'org.springframework.stereotype.Service'. | 12
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.exception.ServiceException' import. Should be before 'org.springframework.stereotype.Service'. | 13
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.core.utils.StringUtils' import. Should be before 'org.springframework.stereotype.Service'. | 14
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.portal.api.AdminServiceAPI' import. Should be before 'org.springframework.stereotype.Service'. | 15
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.portal.entity.form.NamespaceTextModel' import. Should be before 'org.springframework.stereotype.Service'. | 16
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.portal.entity.NamespaceVO' import. Should be before 'org.springframework.stereotype.Service'. | 17
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.portal.entity.form.NamespaceReleaseModel' import. Should be before 'org.springframework.stereotype.Service'. | 18
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.portal.service.txtresolver.ConfigTextResolver' import. Should be before 'org.springframework.stereotype.Service'. | 19
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.fasterxml.jackson.databind.ObjectMapper' import. Should be before 'org.springframework.stereotype.Service'. | 20
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'groupAPI' must contain no more than '1' capital letters. | 36
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemAPI' must contain no more than '1' capital letters. | 38
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'releaseAPI' must contain no more than '1' capital letters. | 40
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 47
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 50
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 51
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 52
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 53
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'namespaceVO' must contain no more than '1' capital letters. | 65
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 69
Warning | sizes | LineLength | Line is longer than 100 characters (found 105). | 80
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'namespaceVO' must contain no more than '1' capital letters. | 81
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 95
Warning | sizes | LineLength | Line is longer than 100 characters (found 106). | 96
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemDTO' must contain no more than '1' capital letters. | 105
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemVO' must contain no more than '1' capital letters. | 107
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemDTO' must contain no more than '1' capital letters. | 120
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'parseItemVO' must contain no more than '1' capital letters. | 120
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemVO' must contain no more than '1' capital letters. | 122
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 134
Warning | javadoc | JavadocMethod | Unused Javadoc tag. | 137
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 153
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 165
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 168

### com/ctrip/apollo/portal/service/ServiceLocator.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.slf4j.Logger' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.slf4j.LoggerFactory' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.stereotype.Service' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.client.RestTemplate' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 10
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.enums.Env' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 12
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.MetaDomainConsts' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 13
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.dto.ServiceDTO' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.apollo.core.exception.ServiceException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 17
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 29
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 37

### com/ctrip/apollo/portal/service/txtresolver/PropertyResolver.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.apollo.common.utils.BeanUtils' import. Should be before 'com.ctrip.apollo.core.utils.StringUtils'. | 7
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 31
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 43
Warning | sizes | LineLength | Line is longer than 100 characters (found 115). | 48
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 79
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 83
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 84
Warning | whitespace | WhitespaceAround | WhitespaceAround: 'else' is not preceded with whitespace. | 89
Warning | whitespace | WhitespaceAround | WhitespaceAround: '}' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 89
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 99
Warning | sizes | LineLength | Line is longer than 100 characters (found 135). | 111
Warning | misc | UpperEll | Should use uppercase 'L'. | 115
Warning | sizes | LineLength | Line is longer than 100 characters (found 111). | 119
Warning | misc | UpperEll | Should use uppercase 'L'. | 121
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 125
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 139
Warning | misc | UpperEll | Should use uppercase 'L'. | 140
Warning | sizes | LineLength | Line is longer than 100 characters (found 105). | 141
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 141
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 141
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'deleteNormalKVItem' must contain no more than '1' capital letters. | 165
Warning | sizes | LineLength | Line is longer than 100 characters (found 117). | 198

### com/ctrip/apollo/spi/DefaultConfigFactory.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_baseDir' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 22
Warning | whitespace | WhitespaceAround | WhitespaceAround: 'if' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 30
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 30

### com/ctrip/apollo/spi/DefaultConfigFactoryManager.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_registry' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 18
Warning | naming | MemberName | Member name 'm_factories' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 20

### com/ctrip/apollo/spi/DefaultConfigRegistry.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_instances' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 16
Warning | naming | MemberName | Member name 'm_logger' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 18

### com/ctrip/apollo/util/http/HttpRequest.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_url' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 7
Warning | naming | MemberName | Member name 'm_connectTimeout' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 8
Warning | naming | MemberName | Member name 'm_readTimeout' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 9

### com/ctrip/apollo/util/http/HttpResponse.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_statusCode' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 7
Warning | naming | MemberName | Member name 'm_body' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 8

### com/ctrip/apollo/util/http/HttpUtil.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | MemberName | Member name 'm_configUtil' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 23