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.11.1/log4j-mongodb3/../checkstyle.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
4 0 0 58

Details

org/apache/logging/log4j/mongodb3/LevelCodec.java

Severity Category Rule Message Line
 Error imports ImportControl Disallowed import - org.bson.BsonReader. 21
 Error imports ImportControl Disallowed import - org.bson.BsonWriter. 22
 Error imports ImportControl Disallowed import - org.bson.codecs.Codec. 23
 Error imports ImportControl Disallowed import - org.bson.codecs.DecoderContext. 24
 Error imports ImportControl Disallowed import - org.bson.codecs.EncoderContext. 25

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

Severity Category Rule Message Line
 Error imports ImportControl Disallowed import - org.bson.BSON. 26
 Error imports ImportControl Disallowed import - org.bson.Document. 27
 Error imports ImportControl Disallowed import - org.bson.Transformer. 28
 Error imports ImportControl Disallowed import - com.mongodb.MongoClient. 30
 Error imports ImportControl Disallowed import - com.mongodb.MongoException. 31
 Error imports ImportControl Disallowed import - com.mongodb.client.MongoCollection. 32
 Error imports ImportControl Disallowed import - com.mongodb.client.MongoDatabase. 33
 Error imports ImportControl Disallowed import - com.mongodb.client.model.CreateCollectionOptions. 34
 Error coding DeclarationOrder Instance variable definition in wrong order. 76
 Error coding DeclarationOrder Instance variable definition in wrong order. 77
 Error coding DeclarationOrder Constructor definition in wrong order. 79

org/apache/logging/log4j/mongodb3/MongoDbDocumentObject.java

Severity Category Rule Message Line
 Error imports ImportControl Disallowed import - org.bson.Document. 22

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

Severity Category Rule Message Line
 Error imports ImportControl Disallowed import - org.bson.codecs.configuration.CodecRegistries. 37
 Error imports ImportControl Disallowed import - com.mongodb.MongoClient. 39
 Error imports ImportControl Disallowed import - com.mongodb.MongoClientOptions. 40
 Error imports ImportControl Disallowed import - com.mongodb.MongoCredential. 41
 Error imports ImportControl Disallowed import - com.mongodb.ServerAddress. 42
 Error imports ImportControl Disallowed import - com.mongodb.WriteConcern. 43
 Error imports ImportControl Disallowed import - com.mongodb.client.MongoDatabase. 44
 Error javadoc JavadocType Missing a Javadoc comment. 52
 Error coding DeclarationOrder Instance variable definition in wrong order. 82
 Error coding DeclarationOrder Instance variable definition in wrong order. 86
 Error coding DeclarationOrder Instance variable definition in wrong order. 89
 Error coding DeclarationOrder Instance variable definition in wrong order. 93
 Error coding DeclarationOrder Instance variable definition in wrong order. 96
 Error coding DeclarationOrder Instance variable definition in wrong order. 99
 Error coding DeclarationOrder Instance variable definition in wrong order. 102
 Error coding DeclarationOrder Instance variable definition in wrong order. 105
 Error coding DeclarationOrder Instance variable definition in wrong order. 109
 Error coding DeclarationOrder Instance variable definition in wrong order. 113
 Error coding DeclarationOrder Instance variable definition in wrong order. 116
 Error coding DeclarationOrder Instance variable definition in wrong order. 119
 Error coding HiddenField 'databaseName' hides a field. 155
 Error sizes LineLength Line is longer than 120 characters (found 122). 180
 Error sizes LineLength Line is longer than 120 characters (found 143). 212
 Error coding HiddenField 'collectionName' hides a field. 232
 Error coding HiddenField 'collectionSize' hides a field. 237
 Error coding HiddenField 'databaseName' hides a field. 242
 Error coding HiddenField 'factoryClassName' hides a field. 247
 Error coding HiddenField 'factoryMethodName' hides a field. 252
 Error coding HiddenField 'password' hides a field. 257
 Error coding HiddenField 'port' hides a field. 262
 Error coding HiddenField 'server' hides a field. 267
 Error coding HiddenField 'userName' hides a field. 272
 Error coding HiddenField 'writeConcernConstant' hides a field. 277
 Error coding HiddenField 'writeConcernConstantClassName' hides a field. 282
 Error coding DeclarationOrder Instance variable definition in wrong order. 299
 Error coding DeclarationOrder Instance variable definition in wrong order. 300
 Error coding DeclarationOrder Instance variable definition in wrong order. 301
 Error coding DeclarationOrder Instance variable definition in wrong order. 302
 Error coding DeclarationOrder Instance variable definition in wrong order. 303
 Error coding DeclarationOrder Instance variable definition in wrong order. 304
 Error coding DeclarationOrder Constructor definition in wrong order. 306