Apache logging services logo Apache log4j logo

Checkstyle Results

The following document contains the results of Checkstyle 6.11.2 with /Users/rgoers/projects/apache/logging/log4j/log4j2/log4j-2.10/log4j-mongodb/../checkstyle.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
4 0 0 45

Details

org/apache/logging/log4j/mongodb/MongoDbConnection.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.apache.logging.log4j.core.appender.nosql.NoSqlConnection. 23
 Error imports ImportControl Disallowed import - org.bson.BSON. 26
 Error imports ImportControl Disallowed import - org.bson.Transformer. 27
 Error imports ImportControl Disallowed import - com.mongodb.BasicDBObject. 29
 Error imports ImportControl Disallowed import - com.mongodb.DB. 30
 Error imports ImportControl Disallowed import - com.mongodb.DBCollection. 31
 Error imports ImportControl Disallowed import - com.mongodb.MongoException. 32
 Error imports ImportControl Disallowed import - com.mongodb.WriteConcern. 33

org/apache/logging/log4j/mongodb/MongoDbObject.java

Severity Category Rule Message Line
 Error imports ImportControl Disallowed import - com.mongodb.BasicDBList. 23
 Error imports ImportControl Disallowed import - com.mongodb.BasicDBObject. 24

org/apache/logging/log4j/mongodb/MongoDbProvider.java

Severity Category Rule Message Line
 Error imports ImportOrder Wrong order for 'org.apache.logging.log4j.core.appender.nosql.NoSqlProvider' import. 36
 Error imports ImportControl Disallowed import - com.mongodb.DB. 41
 Error imports ImportControl Disallowed import - com.mongodb.MongoClient. 42
 Error imports ImportControl Disallowed import - com.mongodb.MongoCredential. 43
 Error imports ImportControl Disallowed import - com.mongodb.ServerAddress. 44
 Error imports ImportControl Disallowed import - com.mongodb.WriteConcern. 45
 Error sizes LineLength Line is longer than 120 characters (found 128). 77
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 119
 Error sizes LineLength Line is longer than 120 characters (found 124). 121
 Error sizes LineLength Line is longer than 120 characters (found 126). 122
 Error sizes LineLength Line is longer than 120 characters (found 128). 123
 Error javadoc JavadocType Missing a Javadoc comment. 132
 Error coding HiddenField 'server' hides a field. 175
 Error coding HiddenField 'port' hides a field. 180
 Error coding HiddenField 'databaseName' hides a field. 185
 Error coding HiddenField 'collectionName' hides a field. 190
 Error coding HiddenField 'userName' hides a field. 195
 Error coding HiddenField 'password' hides a field. 200
 Error coding HiddenField 'isCapped' hides a field. 205
 Error coding HiddenField 'collectionSize' hides a field. 210
 Error coding HiddenField 'factoryClassName' hides a field. 215
 Error coding HiddenField 'factoryMethodName' hides a field. 220
 Error coding HiddenField 'writeConcernConstantClassName' hides a field. 225
 Error coding HiddenField 'writeConcernConstant' hides a field. 230
 Error sizes LineLength Line is longer than 120 characters (found 123). 251
 Error sizes LineLength Line is longer than 120 characters (found 125). 256
 Error sizes LineLength Line is longer than 120 characters (found 125). 259
 Error sizes LineLength Line is longer than 120 characters (found 125). 267
 Error sizes LineLength Line is longer than 120 characters (found 122). 279
 Error sizes LineLength Line is longer than 120 characters (found 127). 283
 Error sizes LineLength Line is longer than 120 characters (found 122). 293
 Error sizes LineLength Line is longer than 120 characters (found 127). 301
 Error sizes LineLength Line is longer than 120 characters (found 147). 314
 Error sizes LineLength Line is longer than 120 characters (found 122). 321
 Error sizes LineLength Line is longer than 120 characters (found 123). 330