Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Releases: WorksApplications/findbugs-plugin

findbugs-plugin-0.0.2

20 Mar 10:13
Compare
Choose a tag to compare

How to write pom.xml to use

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>2.5.2</version>
        <configuration>
          <plugins>
            <plugin>
              <groupId>jp.co.worksap.oss</groupId>
              <artifactId>findbugs-plugin</artifactId>
              <version>0.0.2</version>
            </plugin>
          </plugins>
        </configuration>
      </plugin>

Changelog

  • JUnit
    • detect @ignore which does not explain why (UndocumentedIgnoreDetector)
  • JSR305
    • detect mutable class which is annotated as @immutable (BrokenImmutableClassDetector)
    • detect argument and returned value which has no annotation to explain nullness (UnknownNullnessDetector)
  • JPA
    • detect JPA entity which generates too long table name (LongTableNameDetector)
    • detect JPA entity which generates too long column name (LongColumnNameDetector)
    • detect @column annotation which has too long length (LongIndexNameDetector)
    • detect @column annotation which has implicit length (ImplicitLengthDetector)
    • detect @column annotation which has implicit nullness (ImplicitNullnessDetector)
    • detect @column which uses columnDefinition (ColumnDefinitionDetector)
    • detect @column which annotates primitive field and use nullable=true (NullablePrimitiveDetector)