Checkstyle Results
The following document contains the results of Checkstyle 8.10 with https://github.com/ci-and-cd/maven-build/raw/master/src/main/checkstyle/google_checks_8.10.xml ruleset. 
Summary
Files |
Info |
Warnings |
Errors |
13 |
0 |
66 |
0 |
Rules
Category |
Rule |
Violations |
Severity |
coding |
OverloadMethodsDeclarationOrder |
2 |
Warning |
imports |
CustomImportOrder
- separateLineBetweenGroups: "true"
- sortImportsInGroupAlphabetically: "true"
- customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
|
27 |
Warning |
indentation |
CommentsIndentation |
1 |
Warning |
javadoc |
JavadocMethod
- scope: "public"
- allowMissingThrowsTags: "true"
- allowThrowsTagsForSubclasses: "true"
- allowMissingReturnTag: "true"
- allowMissingParamTags: "true"
- minLineCount: "2"
- allowedAnnotations: "Override, Test"
|
6 |
Warning |
|
JavadocParagraph |
1 |
Warning |
|
SummaryJavadoc
- forbiddenSummaryFragments: "^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"
|
11 |
Warning |
sizes |
LineLength
- max: "120"
- ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
|
15 |
Warning |
whitespace |
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, METHOD_REF "
- option: "NL"
|
2 |
Warning |
|
ParenPad |
1 |
Warning |
Details
cn/home1/cloud/config/server/ConfigServer.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.io.File' import. Should be before 'org.springframework.web.bind.annotation.RestController'. |
40 |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is missing an ending period. |
42 |
Warning |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
97 |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is missing an ending period. |
138 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 134). |
143 |
cn/home1/cloud/config/server/environment/GitParentSupportConfiguration.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
47 |
cn/home1/cloud/config/server/environment/GitParentSupportMultipleJGitEnvironmentRepository.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.Set' import. Should be before 'org.springframework.security.authentication.BadCredentialsException'. |
20 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 151). |
29 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 155). |
50 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 125). |
57 |
cn/home1/cloud/config/server/security/ApplicationConfigSecurity.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.Collection' import. Should be before 'org.springframework.security.core.context.SecurityContextHolder'. |
16 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.Optional' import. Should be before 'org.springframework.security.core.context.SecurityContextHolder'. |
17 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.regex.Pattern' import. Should be before 'org.springframework.security.core.context.SecurityContextHolder'. |
18 |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is missing an ending period. |
32 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 124). |
84 |
cn/home1/cloud/config/server/security/ApplicationSecurityAutoConfiguration.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
indentation |
CommentsIndentation |
Comment has incorrect indentation level 0, expected is 8, indentation should be the same level as line 68. |
66 |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is missing an ending period. |
77 |
cn/home1/cloud/config/server/security/ConfigSecurity.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'com.auth0.jwt.JWT' import. Should be before 'com.google.common.collect.ImmutableMap'. |
12 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'com.auth0.jwt.JWTVerifier' import. Should be before 'com.google.common.collect.ImmutableMap'. |
13 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'com.auth0.jwt.algorithms.Algorithm' import. Should be before 'com.google.common.collect.ImmutableMap'. |
14 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.security.SecureRandom' import. Should be before 'org.springframework.security.crypto.password.PasswordEncoder'. |
27 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.Iterator' import. Should be before 'org.springframework.security.crypto.password.PasswordEncoder'. |
28 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.regex.Pattern' import. Should be before 'org.springframework.security.crypto.password.PasswordEncoder'. |
29 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'javax.annotation.PostConstruct' import. Should be before 'org.springframework.security.crypto.password.PasswordEncoder'. |
31 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 126). |
75 |
Warning |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
82 |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is missing an ending period. |
91 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 128). |
99 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 136). |
116 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 128). |
128 |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is missing an ending period. |
133 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 156). |
142 |
Warning |
whitespace |
OperatorWrap |
'&&' should be on a new line. |
166 |
Warning |
whitespace |
OperatorWrap |
'&&' should be on a new line. |
167 |
Warning |
coding |
OverloadMethodsDeclarationOrder |
Overload methods should not be split. Previous overloaded method located at line '63'. |
191 |
cn/home1/cloud/config/server/security/GitFileConfigUserDetailsService.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.Collection' import. Should be before 'org.springframework.security.core.userdetails.UsernameNotFoundException'. |
24 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.Iterator' import. Should be before 'org.springframework.security.core.userdetails.UsernameNotFoundException'. |
25 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.Optional' import. Should be before 'org.springframework.security.core.userdetails.UsernameNotFoundException'. |
26 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.regex.Pattern' import. Should be before 'org.springframework.security.core.userdetails.UsernameNotFoundException'. |
27 |
Warning |
whitespace |
ParenPad |
'(' is followed by whitespace. |
42 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 122). |
64 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 124). |
76 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 123). |
99 |
cn/home1/cloud/config/server/security/PrivilegedUserProperties.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.List' import. Should be before 'org.springframework.boot.autoconfigure.security.SecurityProperties'. |
14 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.UUID' import. Should be before 'org.springframework.boot.autoconfigure.security.SecurityProperties'. |
15 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'javax.annotation.PostConstruct' import. Should be before 'org.springframework.boot.autoconfigure.security.SecurityProperties'. |
17 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 126). |
50 |
cn/home1/cloud/config/server/security/Role.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is missing an ending period. |
4 |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is missing an ending period. |
8 |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is missing an ending period. |
12 |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is missing an ending period. |
16 |
cn/home1/cloud/config/server/ssh/CustomJschConfigSessionFactory.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
javadoc |
JavadocParagraph |
Empty line should be followed by <p> tag on the next line. |
13 |
cn/home1/cloud/config/server/ssh/DeployKey.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.io.File' import. Should be before 'org.springframework.cloud.config.server.environment.MultipleJGitEnvironmentProperties'. |
14 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.io.FileReader' import. Should be before 'org.springframework.cloud.config.server.environment.MultipleJGitEnvironmentProperties'. |
15 |
Warning |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
30 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 121). |
42 |
Warning |
coding |
OverloadMethodsDeclarationOrder |
Overload methods should not be split. Previous overloaded method located at line '26'. |
55 |
cn/home1/cloud/config/server/util/EnvironmentUtils.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.List' import. Should be before 'org.springframework.cloud.config.environment.PropertySource'. |
10 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.Map' import. Should be before 'org.springframework.cloud.config.environment.PropertySource'. |
11 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.regex.Matcher' import. Should be before 'org.springframework.cloud.config.environment.PropertySource'. |
12 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.util.regex.Pattern' import. Should be before 'org.springframework.cloud.config.environment.PropertySource'. |
13 |
Warning |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
20 |
Warning |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
63 |
cn/home1/cloud/config/server/util/ResourceUtils.java
Severity |
Category |
Rule |
Message |
Line |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.io.File' import. Should be before 'org.apache.commons.lang3.StringUtils'. |
15 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'java.io.InputStream' import. Should be before 'org.apache.commons.lang3.StringUtils'. |
16 |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is missing an ending period. |
21 |