Apache logging services logo Apache log4j logo

Checkstyle Results

The following document contains the results of Checkstyle 6.18 with /Users/rgoers/projects/apache/logging/log4j/log4j-2.12.4/log4j-mongodb2/../checkstyle.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
4 0 0 63

Details

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

Severity Category Rule Message Line
 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.Mongo. 32
 Error imports ImportControl Disallowed import - com.mongodb.MongoException. 33
 Error imports ImportControl Disallowed import - com.mongodb.WriteConcern. 34

org/apache/logging/log4j/mongodb2/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/mongodb2/MongoDbProvider.java

Severity Category Rule Message Line
 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 javadoc JavadocType Missing a Javadoc comment. 54
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 55
 Error sizes LineLength Line is longer than 120 characters (found 123). 63
 Error coding DeclarationOrder Instance variable definition in wrong order. 84
 Error coding DeclarationOrder Instance variable definition in wrong order. 88
 Error coding DeclarationOrder Instance variable definition in wrong order. 92
 Error coding DeclarationOrder Instance variable definition in wrong order. 96
 Error coding DeclarationOrder Instance variable definition in wrong order. 100
 Error coding DeclarationOrder Instance variable definition in wrong order. 103
 Error coding DeclarationOrder Instance variable definition in wrong order. 106
 Error coding DeclarationOrder Instance variable definition in wrong order. 109
 Error coding DeclarationOrder Instance variable definition in wrong order. 112
 Error coding DeclarationOrder Instance variable definition in wrong order. 115
 Error coding DeclarationOrder Instance variable definition in wrong order. 118
 Error coding DeclarationOrder Instance variable definition in wrong order. 121
 Error sizes LineLength Line is longer than 120 characters (found 123). 140
 Error sizes LineLength Line is longer than 120 characters (found 125). 145
 Error sizes LineLength Line is longer than 120 characters (found 125). 148
 Error sizes LineLength Line is longer than 120 characters (found 125). 156
 Error sizes LineLength Line is longer than 120 characters (found 122). 168
 Error sizes LineLength Line is longer than 120 characters (found 127). 172
 Error sizes LineLength Line is longer than 120 characters (found 122). 182
 Error sizes LineLength Line is longer than 120 characters (found 127). 190
 Error sizes LineLength Line is longer than 120 characters (found 147). 203
 Error sizes LineLength Line is longer than 120 characters (found 122). 210
 Error coding HiddenField 'isCapped' hides a field. 213
 Error coding HiddenField 'collectionName' hides a field. 218
 Error coding HiddenField 'collectionSize' hides a field. 223
 Error coding HiddenField 'databaseName' hides a field. 228
 Error coding HiddenField 'factoryClassName' hides a field. 233
 Error coding HiddenField 'factoryMethodName' hides a field. 238
 Error coding HiddenField 'password' hides a field. 243
 Error coding HiddenField 'port' hides a field. 248
 Error coding HiddenField 'server' hides a field. 253
 Error coding HiddenField 'userName' hides a field. 258
 Error coding HiddenField 'writeConcernConstant' hides a field. 263
 Error coding HiddenField 'writeConcernConstantClassName' hides a field. 268
 Error sizes LineLength Line is longer than 120 characters (found 124). 314
 Error sizes LineLength Line is longer than 120 characters (found 126). 315
 Error sizes LineLength Line is longer than 120 characters (found 128). 316
 Error coding DeclarationOrder Instance variable definition in wrong order. 323
 Error coding DeclarationOrder Instance variable definition in wrong order. 324
 Error coding DeclarationOrder Instance variable definition in wrong order. 325
 Error coding DeclarationOrder Instance variable definition in wrong order. 327
 Error coding DeclarationOrder Instance variable definition in wrong order. 329
 Error coding DeclarationOrder Instance variable definition in wrong order. 331
 Error coding DeclarationOrder Constructor definition in wrong order. 333
 Error sizes LineLength Line is longer than 120 characters (found 128). 345