Apache logging services logo Apache log4j logo

Checkstyle Results

The following document contains the results of Checkstyle 6.11.2 with /Users/matt/Code/log4j/log4j-nosql/../checkstyle.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
19 0 0 50

Details

org/apache/logging/log4j/nosql/appender/NoSqlDatabaseManager.java

Severity Category Rule Message Line
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 168

org/apache/logging/log4j/nosql/appender/cassandra/CassandraAppender.java

Severity Category Rule Message Line
 Error imports ImportOrder Wrong order for 'org.apache.logging.log4j.core.Core' import. 20
 Error imports UnusedImports Unused import - org.apache.logging.log4j.core.util.Clock. 31
 Error design FinalClass Class CassandraAppender should be declared as final. 39
 Error sizes LineLength Line is longer than 120 characters (found 124). 39
 Error javadoc JavadocType Missing a Javadoc comment. 52
 Error coding HiddenField 'contactPoints' hides a field. 115
 Error coding HiddenField 'columns' hides a field. 120
 Error coding HiddenField 'useTls' hides a field. 125
 Error coding HiddenField 'clusterName' hides a field. 130
 Error coding HiddenField 'keyspace' hides a field. 135
 Error coding HiddenField 'table' hides a field. 140
 Error coding HiddenField 'username' hides a field. 145
 Error coding HiddenField 'password' hides a field. 150
 Error coding HiddenField 'useClockForTimestampGenerator' hides a field. 155
 Error coding HiddenField 'bufferSize' hides a field. 160
 Error coding HiddenField 'batched' hides a field. 165
 Error coding HiddenField 'batchType' hides a field. 170

org/apache/logging/log4j/nosql/appender/cassandra/CassandraManager.java

Severity Category Rule Message Line
 Error imports ImportOrder Wrong order for 'org.apache.logging.log4j.core.LogEvent' import. 29
 Error design FinalClass Class CassandraManager should be declared as final. 44
 Error sizes LineLength Line is longer than 120 characters (found 128). 99
 Error javadoc JavadocType Missing a Javadoc comment. 132
 Error design FinalClass Class FactoryData should be declared as final. 176
 Error javadoc JavadocType Missing a Javadoc comment. 176

org/apache/logging/log4j/nosql/appender/cassandra/ClockTimestampGenerator.java

Severity Category Rule Message Line
 Error imports ImportOrder Wrong order for 'org.apache.logging.log4j.core.util.Clock' import. 20

org/apache/logging/log4j/nosql/appender/cassandra/package-info.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error sizes LineLength Line is longer than 120 characters (found 124). 20

org/apache/logging/log4j/nosql/appender/couchdb/CouchDbConnection.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.apache.logging.log4j.nosql.appender.NoSqlConnection. 24
 Error imports ImportControl Disallowed import - org.lightcouch.CouchDbClient. 27
 Error imports ImportControl Disallowed import - org.lightcouch.Response. 28

org/apache/logging/log4j/nosql/appender/couchdb/CouchDbProvider.java

Severity Category Rule Message Line
 Error imports ImportControl Disallowed import - org.lightcouch.CouchDbClient. 33
 Error imports ImportControl Disallowed import - org.lightcouch.CouchDbProperties. 34

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

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.apache.logging.log4j.nosql.appender.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/nosql/appender/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/nosql/appender/mongodb/MongoDbProvider.java

Severity Category Rule Message Line
 Error imports ImportControl Disallowed import - com.mongodb.DB. 24
 Error imports ImportControl Disallowed import - com.mongodb.MongoClient. 25
 Error imports ImportControl Disallowed import - com.mongodb.MongoCredential. 26
 Error imports ImportControl Disallowed import - com.mongodb.ServerAddress. 27
 Error imports ImportControl Disallowed import - com.mongodb.WriteConcern. 28
 Error imports ImportOrder Wrong order for 'org.apache.logging.log4j.Logger' import. 29
 Error sizes LineLength Line is longer than 120 characters (found 139). 186

org/apache/logging/log4j/nosql/appender/package-info.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 120 characters (found 121). 22