Code Quality · JetBrains plugin

JDBC Double-Close Companion

Free

Resource Leak Detection

Flags a JDBC resource .close()/use reached with the resource already closed on some or every path.

45Downloads
0GitHub stars
—Published
FreePricing

The gap it fixes

CWE-675 (Duplicate Operations on Resource) / adjacent to CWE-415 (Double Free): closing a JDBC Connection/Statement twice can throw SQLException on some drivers, or trigger undefined behavior. Coverity and Infer (real enterprise SAST tools) use "typestate-guided static analysis" for exactly this class of problem, confirming it's a real, established technique -- neither is free or an inline IDE plugin. The platform's own bundled "JDBC resource opened but not safely closed" inspection covers LEAKS (never closing), a different bug entirely -- never double-close or use-after-close with real

Facts and pricing

Category
Code Quality
Pricing
Free
Platform
IntelliJ-family
First published
—
Marketplace ID
#34070
Repository
jdbc-double-close-companion
Growth
▲ +4400.0% since 2026-09-05 (1→45)
Need a tool like this built for your codebase?Custom static-analysis rules, CI/CD integration, private plugin distribution and performance audits for IntelliJ plugins.
Work with Joel

Download and star counts as of 2026-10-18, refreshed twice daily from the JetBrains Marketplace and GitHub APIs.