Plugin Icon if
  • Tools Integration

SpotBugs

Обновлено:
5 месяцев назад
Версия:

1.2.8

Обзор
Версии

Обзор

IntelliJ SpotBugs plugin provides static byte code analysis to look for bugs in Java code from within IntelliJ IDEA. SpotBugs is a defect detection tool for Java that uses static analysis to look for more than 400 bug patterns, such as null pointer dereferences, infinite recursive loops, bad uses of the Java libraries and deadlocks. SpotBugs can identify hundreds of serious defects in large applications (typically about 1 defect per 1000-2000 lines of non-commenting source statements).

The plugin uses SpotBugs under the hood. For more information see https://github.com/spotbugs/spotbugs.

..."We use IDEA inspections and SpotBugs complementary. SpotBugs is running in our continuous integration process and IDEA inspections are used during coding." What about using both during coding from within IntelliJ IDEA?

IntelliJ SpotBugs plugin features:

  • SpotBugs 4 support
  • quickfix: annotate, suppress SpotBugs patterns (GutterIcon and document markup (alt+enter))
  • IntelliJ IDEA 2022.2+ compatibility
  • configure SpotBugs on idea project and module level
  • jump to source from results shown in toolwindow including anonymous classes
  • bug descriptions, solutions
  • run analysis always in background
  • run findbugs analysis on all affected files after compile/automake
  • min. priority to report
  • background scanning
  • configurable effort run level
  • configurable detectors
  • bug categories to report
  • file filter (include, exclude, exclude baseline bugs)
  • load additional detector plugins like fb-contrib.jar
  • group results by: bug category, classname, package, priority, bug rank
  • intellij local history support
  • quick search within the result tree
  • basic Scala, Groovy and AspectJ support
  • Analyze actions (all actions are also available in the intellij project tree, toolbar menu, context menu):
    • analyze all modified files
    • analyze all files on the active changelist (available from IntelliJ SpotBugs main ToolWindow and the ChangelistToolWindow)
    • analyze class under cursor
    • analyze current editor file
    • analyze all files of an intellij project
    • analyze all files of an intellij module
    • analyze all files of the selected package
    • analyze a bunch of selected files (project tree)
    • analyze a scope
  • export a bug collection to html and/or xml with limited configurable dir based archive support
  • import a bug collection from xml
  • configurable : open an exported bug collection html page in the intellij configured browser
  • configurable : preview found bugs in an editor preview panel

Версии

Версия
Диапазон совместимости
Дата обновления
2024
1.2.8
222.1+
27.08.2024
Скачать
Plugin ID:
org.jetbrains.plugins.spotbugs
icon