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 157
Zoom   jwat-warc 145
Zoom   jwat-arc 125
Zoom   jwat-gzip 78
Zoom   jwat-archive 31
  WarcHeader.java 62
  GzipEntry.java 31
  ArcHeader.java 27
  GzipReader.java 24
  Uri.java 21
  ArcReader.java 21
  WarcReader.java 21
  ArcRecordBase.java 20
  GzipWriter.java 20
  WarcRecord.java 17
  ManagedPayload.java 16
  PayloadWithHeaderAbstract.java 16
  HeaderLineReader.java 14
  ArcVersionHeader.java 13
  WarcWriter.java 12
  HttpHeader.java 12
  Payload.java 12
  ArcWriter.java 10
  EncodedWords.java 9
  ArchiveParser.java 9
  WarcFileWriter.java 8
  ByteArrayIOStream.java 8
  ArcFileWriter.java 7
  UriProfile.java 7
  HeaderLine.java 7
  WarcFileNamingDefault.java 6
  ArcFileNamingDefault.java 6
  Digest.java 5
  ArcReaderCompressed.java 5
  ArcFileWriterConfig.java 5
  WarcReaderCompressed.java 5
  WarcFileWriterConfig.java 5
  NewlineParser.java 4
  ManagedPayloadManager.java 4
  ArcVersion.java 4
  UTF8.java 3
  ByteCountingPushBackInputStream.java 3
  Diagnosis.java 3
  ContentType.java 3
  GzipExtraData.java 3
  MaxLengthRecordingInputStream.java 3
  FieldValidator.java 2
  ArcWriterCompressed.java 2
  Diagnostics.java 2
  CharCountingStringReader.java 2
  ByteCountingInputStream.java 2
  Base32.java 2
  Base2.java 2
  Base16.java 2
  ANVLRecord.java 2
  RandomAccessFileInputStream.java 2
  FileIdent.java 2
  WarcWriterCompressed.java 2
  WarcReaderUncompressed.java 2
  WarcConcurrentTo.java 2
  ArcReaderUncompressed.java 2
  ISO8859_1.java 2
  ArcConstants.java 1
  WarcFileNamingSingleFile.java 1
  ArcFieldParsers.java 1
  ArcFileNamingSingleFile.java 1
  InputStreamNoSkip.java 1
  WarcConstants.java 1
  RandomAccessFileOutputStream.java 1
  Base64.java 1
  Scheme.java 1
  WarcFieldParsers.java 1
  DiagnosisType.java 1
  DigestInputStreamNoSkip.java 1
  FixedLengthInputStream.java 1