Apollo ConfigService

##### Parent Project

- Apollo

##### Project Documentation

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

## Checkstyle Results

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

## Summary

Files | Info | Warnings | Errors
--- | --- | --- | ---
11 | 0 | 27 | 0

## Files

File | I | W | E
--- | --- | --- | ---
com/ctrip/framework/apollo/configservice/ConfigServiceApplication.java | 0 | 1 | 0
com/ctrip/framework/apollo/configservice/ConfigServiceAutoConfiguration.java | 0 | 1 | 0
com/ctrip/framework/apollo/configservice/controller/ConfigController.java | 0 | 11 | 0
com/ctrip/framework/apollo/configservice/controller/NotificationController.java | 0 | 8 | 0
com/ctrip/framework/apollo/metaservice/controller/ServiceController.java | 0 | 3 | 0
com/ctrip/framework/apollo/metaservice/service/DiscoveryService.java | 0 | 3 | 0

## Rules

Category | Rule | Violations | Severity
--- | --- | --- | ---
imports | CustomImportOrder sortImportsInGroupAlphabetically: `"true"` specialImportsRegExp: `"com.google"` customImportOrderRules: `"STATIC###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE"` | 9 | Warning
javadoc | JavadocMethod scope: `"public"` allowMissingThrowsTags: `"true"` allowThrowsTagsForSubclasses: `"true"` allowMissingReturnTag: `"true"` allowMissingParamTags: `"true"` minLineCount: `"2"` allowedAnnotations: `"Override, Test"` | 10 | Warning
| SummaryJavadoc forbiddenSummaryFragments: `"^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"` | 1 | Warning
sizes | LineLength max: `"100"` ignorePattern: `"^package.*|^import.*|a href|href|http://|https://|ftp://"` | 7 | Warning

## Details

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

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

### com/ctrip/framework/apollo/configservice/ConfigServiceAutoConfiguration.java

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

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

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.entity.Release' import. Should be before 'com.ctrip.framework.apollo.common.entity.AppNamespace'. | 12
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.service.AppNamespaceService' import. Should be before 'com.ctrip.framework.apollo.common.entity.AppNamespace'. | 13
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.service.ConfigService' import. Should be before 'com.ctrip.framework.apollo.common.entity.AppNamespace'. | 14
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 51
Warning | sizes | LineLength | Line is longer than 100 characters (found 106). | 54
Warning | sizes | LineLength | Line is longer than 100 characters (found 119). | 55
Warning | sizes | LineLength | Line is longer than 100 characters (found 107). | 98
Warning | sizes | LineLength | Line is longer than 100 characters (found 105). | 101
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 105
Warning | sizes | LineLength | Line is longer than 100 characters (found 115). | 110
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 123

### com/ctrip/framework/apollo/configservice/controller/NotificationController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.entity.ReleaseMessage' import. Should be before 'com.ctrip.framework.apollo.common.entity.AppNamespace'. | 13
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.message.ReleaseMessageListener' import. Should be before 'com.ctrip.framework.apollo.common.entity.AppNamespace'. | 14
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.message.Topics' import. Should be before 'com.ctrip.framework.apollo.common.entity.AppNamespace'. | 15
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.service.AppNamespaceService' import. Should be before 'com.ctrip.framework.apollo.common.entity.AppNamespace'. | 16
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.service.ReleaseMessageService' import. Should be before 'com.ctrip.framework.apollo.common.entity.AppNamespace'. | 17
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.utils.EntityManagerUtil' import. Should be before 'com.ctrip.framework.apollo.common.entity.AppNamespace'. | 18
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 63
Warning | sizes | LineLength | Line is longer than 100 characters (found 109). | 67

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

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 24
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 42
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 62

### com/ctrip/framework/apollo/metaservice/service/DiscoveryService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 21
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 29
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 37