The following document contains the results of Checkstyle 6.18 with google_checks.xml ruleset. 
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | NeedBraces | 7 | |
| imports | CustomImportOrder
|
71 | |
| javadoc | JavadocMethod
|
25 | |
SummaryJavadoc
|
2 | ||
| naming | AbbreviationAsWordInName
|
2 | |
CatchParameterName
|
2 | ||
| sizes | LineLength
|
20 | |
| whitespace | EmptyLineSeparator
|
1 | |
WhitespaceAround
|
9 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| whitespace | EmptyLineSeparator | 'CLASS_DEF' should be separated from previous statement. | 17 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 27 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.service.AppService' import. Should be before 'org.springframework.stereotype.Component'. | 9 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 24 | |
| sizes | LineLength | Line is longer than 100 characters (found 102). | 44 | |
| sizes | LineLength | Line is longer than 100 characters (found 103). | 45 | |
| sizes | LineLength | Line is longer than 100 characters (found 107). | 49 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 55 | |
| sizes | LineLength | Line is longer than 100 characters (found 104). | 62 | |
| naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 91 | |
| naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 94 | |
| whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 94 | |
| whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 115 | |
| whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 117 | |
| sizes | LineLength | Line is longer than 100 characters (found 113). | 121 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 8 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| 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 | |
| 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 | |
| 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. | 7 | |
| 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. | 8 | |
| 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. | 9 | |
| 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. | 10 | |
| 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. | 11 | |
| 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 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.common.entity.App' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.biz.service.AdminService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.biz.service.AppService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.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 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.common.utils.InputValidator' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 18 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.dto.AppDTO' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 19 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.exception.BadRequestException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 20 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.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 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.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 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 33 | |
| sizes | LineLength | Line is longer than 100 characters (found 118). | 36 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 51 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 54 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 58 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 70 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 73 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.common.entity.AppNamespace' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 10 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.service.AppNamespaceService' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 11 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.common.utils.BeanUtils' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 12 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.AppNamespaceDTO' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 13 | |
| whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 30 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 35 | |
| whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 36 | |
| whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 41 | |
| whitespace | WhitespaceAround | WhitespaceAround: 'else' is not preceded with whitespace. | 44 | |
| 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) | 44 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| 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 | |
| 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 | |
| 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. | 7 | |
| 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. | 8 | |
| 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. | 9 | |
| 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. | 10 | |
| 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. | 11 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.biz.entity.Cluster' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 13 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.biz.service.ClusterService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.common.utils.BeanUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.common.utils.InputValidator' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.dto.ClusterDTO' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 17 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.exception.BadRequestException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 18 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.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 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 27 | |
| sizes | LineLength | Line is longer than 100 characters (found 102). | 28 | |
| sizes | LineLength | Line is longer than 100 characters (found 120). | 30 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 45 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 49 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 60 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 64 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocMethod | Missing a Javadoc comment. | 23 | |
| whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 25 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| 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 | |
| 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. | 7 | |
| 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. | 8 | |
| 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. | 9 | |
| 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. | 10 | |
| 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. | 11 | |
| 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 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.adminservice.aop.PreAcquireNamespaceLock' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.biz.entity.Commit' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.biz.entity.Item' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.biz.entity.Namespace' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 17 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.biz.service.CommitService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 18 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.biz.service.ItemService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 19 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.biz.service.NamespaceService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 20 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.biz.utils.ConfigChangeContentBuilder' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 21 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.common.utils.BeanUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 22 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.dto.ItemDTO' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 23 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.exception.NotFoundException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 24 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 36 | |
| sizes | LineLength | Line is longer than 100 characters (found 126). | 37 | |
| sizes | LineLength | Line is longer than 100 characters (found 112). | 40 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 75 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 96 | |
| naming | AbbreviationAsWordInName | Abbreviation in name 'itemDTOs' must contain no more than '1' capital letters. | 101 | |
| naming | AbbreviationAsWordInName | Abbreviation in name 'itemDTO' must contain no more than '1' capital letters. | 104 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 112 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 121 | |
| sizes | LineLength | Line is longer than 100 characters (found 108). | 124 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.adminservice.aop.PreAcquireNamespaceLock' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 12 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.service.ItemSetService' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 13 | |
| imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.ItemChangeSets' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 14 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 22 | |
| sizes | LineLength | Line is longer than 100 characters (found 128). | 23 | |
| sizes | LineLength | Line is longer than 100 characters (found 113). | 25 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| 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 | |
| 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 | |
| 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. | 7 | |
| 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. | 8 | |
| 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. | 9 | |
| 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. | 10 | |
| 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. | 11 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.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 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.biz.service.NamespaceService' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.common.utils.BeanUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.common.utils.InputValidator' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.dto.NamespaceDTO' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 17 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.exception.BadRequestException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 18 | |
| imports | CustomImportOrder | Import statement for 'com.ctrip.framework.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 | |
| sizes | LineLength | Line is longer than 100 characters (found 104). | 27 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 27 | |
| sizes | LineLength | Line is longer than 100 characters (found 118). | 29 | |
| sizes | LineLength | Line is longer than 100 characters (found 122). | 31 | |
| sizes | LineLength | Line is longer than 100 characters (found 102). | 34 | |
| sizes | LineLength | Line is longer than 100 characters (found 125). | 46 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 46 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 51 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 63 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 66 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 71 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 76 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocMethod | Missing a Javadoc comment. | 29 | |
| sizes | LineLength | Line is longer than 100 characters (found 109). | 30 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocMethod | Missing a Javadoc comment. | 43 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 60 | |
| sizes | LineLength | Line is longer than 100 characters (found 129). | 73 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 73 |