huntbugs-all

Java bytecode static analysis tool

License

License

GroupId

GroupId

one.util
ArtifactId

ArtifactId

huntbugs-all
Last Version

Last Version

0.0.11
Release Date

Release Date

Type

Type

pom
Description

Description

huntbugs-all
Java bytecode static analysis tool
Project URL

Project URL

https://github.com/amaembo/huntbugs
Source Code Management

Source Code Management

https://github.com/amaembo/huntbugs.git

Download huntbugs-all

Filename Size
huntbugs-all-0.0.11.pom 3 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/one.util/huntbugs-all/ -->
<dependency>
    <groupId>one.util</groupId>
    <artifactId>huntbugs-all</artifactId>
    <version>0.0.11</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/one.util/huntbugs-all/
implementation 'one.util:huntbugs-all:0.0.11'
// https://jarcasting.com/artifacts/one.util/huntbugs-all/
implementation ("one.util:huntbugs-all:0.0.11")
'one.util:huntbugs-all:pom:0.0.11'
<dependency org="one.util" name="huntbugs-all" rev="0.0.11">
  <artifact name="huntbugs-all" type="pom" />
</dependency>
@Grapes(
@Grab(group='one.util', module='huntbugs-all', version='0.0.11')
)
libraryDependencies += "one.util" % "huntbugs-all" % "0.0.11"
[one.util/huntbugs-all "0.0.11"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • huntbugs
  • huntbugs-ant-plugin
  • huntbugs-maven-plugin
  • sample-huntbugs-custom-detector
  • sample-project

This project is abandoned and unlikely will be supported in future

HuntBugs 0.0.11

Join the chat at https://gitter.im/amaembo/huntbugs Maven Central Build Status Coverage Status

New Java bytecode static analyzer tool based on Procyon Compiler Tools aimed to supersede the FindBugs. Currently in early development stage, though already could be tried.

Currently 222 FindBugs warnings reimplemented and several new warnings added.

Use with Maven

Compile project and run mvn one.util:huntbugs-maven-plugin:huntbugs

The output report is located in target/huntbugs/report.html

Use with Ant

  • Build huntbugs-ant-plugin via mvn package (or alternatively download from here)
  • Take the resulting huntbugs-ant-plugin-<version>-nodeps.jar
  • Define the task:
<taskdef resource="one/util/huntbugs/ant/antlib.xml">
    <classpath path="path/to/huntbugs-ant-plugin-<version>-nodeps.jar"/>
</taskdef>
  • Run it:
<huntbugs classPath="${MY_APP_CLASSPATH}" 
          auxClassPath="${DEPS_CLASSPATH}" 
          html="path/to/html/report.html" 
          xml="path/to/xml/report.xml"/>

Use with Gradle

Check the Gradle plugin page

Use with Eclipse

Check the Eclipse plugin page (in early development stage)

Exec as command-line tool

Command-line tool is mostly aimed to aid developers. Nevertheless you may use it if you like. To launch use mvn exec:java -Dexec.args="...args..." inside huntbugs subdirectory. Examples:

  • mvn exec:java -Dexec.args="-lw" will list all the warnings.
  • mvn exec:java -Dexec.args="myfolder/*.jar" will analyze all jars inside myfolder writing the report into huntbugs.warnings.xml and huntbugs.warnings.html in current directory.
  • mvn exec:java will show all the supported command line options.

Versions

Version
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7