jwat

Severity

Blocker 0
Critical 19
Major 887
Minor 577
Info 11

Rule

Empty If Stmt 6
Dodgy - Dead store to local variable 4
Empty While Stmt 3
Security - Array is stored directly 3
Avoid Catching Throwable 1
Dodgy - Potentially dangerous use of non-short-circuit logic 1
Correctness - Possible null pointer dereference in method on exception path 1
Visibility Modifier 536
Cyclomatic Complexity 52
Parameter Assignment 47
Parameter Name 41
Member name 36
Ncss Method Count 32
Avoid Duplicate Literals 25
Malicious code vulnerability - Field should be package protected 19
Inefficient String Buffering 16
Local Variable Name 12
Malicious code vulnerability - Field should be both final and package protected 10
Method Name 10
Bad practice - Method might ignore exception 6
Simplify Conditional 5
Malicious code vulnerability - May expose internal representation by incorporating reference to mutable object 5
Malicious code vulnerability - Field isn't final but should be 5
Malicious code vulnerability - May expose internal representation by returning reference to mutable object 4
Avoid Print Stack Trace 4
Bad practice - Method ignores exceptional return value 3
Boolean Expression Complexity 2
Signature Declare Throws Exception 2
Preserve Stack Trace 2
Loose coupling 2
Anon Inner Length 2
Avoid Array Loops 2
Unused private method 2
System Println 1
Final Class 1
Bad practice - Method ignores results of InputStream.skip() 1
Inner Assignment 1
Default Comes Last 1
Magic Number 467
Line Length 66
Constant Name 17
Collapsible If Statements 14
Redundant Modifier 11
Redundant Throws 2
Unused Modifier 11
Zoom   jwat-common 628
Zoom   jwat-warc 303
Zoom   jwat-gzip 259
Zoom   jwat-arc 210
Zoom   jwat-archive 89
Zoom   jwat-archive-common 5
  WarcHeader.java 119
  GzipReader.java 110
  Base32.java 107
  GzipWriter.java 85
  UriProfile.java 58
  GzipEntry.java 53
  UTF8.java 52
  Base64.java 51
  HeaderLineReader.java 46
  ArrayUtils.java 37
  Uri.java 34
  ArcHeader.java 32
  ManagedPayload.java 30
  ArcRecordBase.java 30
  WarcRecord.java 28
  WarcWriter.java 27
  WarcReader.java 27
  ArcReader.java 26
  PayloadWithHeaderAbstract.java 26
  EncodedWords.java 24
  ArchiveParser.java 24
  HttpHeader.java 20
  Payload.java 20
  Base16.java 19
  ArcVersionHeader.java 18
  Base2.java 18
  WarcFileWriter.java 18
  ArcWriter.java 17
  ContentType.java 17
  ArcFileWriter.java 16
  WarcConstants.java 16
  FileIdent.java 14
  ArchiveParserCallback.java 14
  ISO8859_1.java 13
  ByteArrayIOStream.java 11
  WarcFieldParsers.java 10
  WarcFileNamingDefault.java 10
  ArcFileNamingDefault.java 10
  Digest.java 9
  ArcReaderCompressed.java 9
  NewlineParser.java 9
  WarcReaderCompressed.java 9
  Scheme.java 8
  WarcFileWriterConfig.java 7
  HeaderLine.java 7
  ArcFileWriterConfig.java 7
  ArcVersionBlock.java 6
  GzipConstants.java 6
  WarcWriterCompressed.java 6
  Diagnosis.java 6
  ArcWriterCompressed.java 6
  ReaderFactoryAbstract.java 5
  ArcReaderFactory.java 5
  ArcConstants.java 5
  GzipExtraData.java 5
  WarcFileNaming.java 4
  WarcWriterFactory.java 4
  ArcWriterFactory.java 4
  ByteCountingPushBackInputStream.java 4
  ArcVersion.java 4
  MaxLengthRecordingInputStream.java 4
  QuotedPrintable.java 4
  WarcReaderFactory.java 4
  WarcReaderUncompressed.java 4
  ArcReaderUncompressed.java 4
  RandomAccessFileInputStream.java 4
  ManagedPayloadManager.java 4
  ArcFileNaming.java 4
  FieldValidator.java 3
  DiagnosisType.java 3
  ArcFieldParsers.java 3
  Cloner.java 3
  WarcConcurrentTo.java 3
  WarcDateParser.java 3
  ArcDateParser.java 2
  ANVLRecord.java 2
  DigestInputStreamNoSkip.java 2
  InputStreamNoSkip.java 2
  ByteCountingInputStream.java 2
  CharCountingStringReader.java 2
  Diagnostics.java 2
  WarcDigest.java 2
  RandomAccessFileOutputStream.java 1
  WarcWriterUncompressed.java 1
  ArcWriterUncompressed.java 1
  ArcFileNamingSingleFile.java 1
  WarcFileNamingSingleFile.java 1
  FixedLengthInputStream.java 1