¡@

Home 

java Programming Glossary: findbugs

When to Garbage Collect

http://stackoverflow.com/questions/1147386/when-to-garbage-collect

i decided to use a pretty useful piece of software called FindBugs that scans your code and reports back issues that might cause..

What is the reason for these PMD rules?

http://stackoverflow.com/questions/1615419/what-is-the-reason-for-these-pmd-rules

DD and DU anomalies if I remember correctly&mdash I use FindBugs and the messages are a little different refer to assigning a..

Is there a way to ignore a single FindBugs warning?

http://stackoverflow.com/questions/1829904/is-there-a-way-to-ignore-a-single-findbugs-warning

there a way to ignore a single FindBugs warning With PMD if you want to ignore a specific warning you.. have that line be ignored. Is there something similar for FindBugs java warnings ignore findbugs share improve this question.. ignore findbugs share improve this question The FindBugs initial approach involves XML configuration files aka filters..

How do commercial Java static analysis tools compare with the free ones? [closed]

http://stackoverflow.com/questions/207652/how-do-commercial-java-static-analysis-tools-compare-with-the-free-ones

the free static analysis tools available for Java such as FindBugs and PMD. What I'd like to know is how the commercial products..

What's wrong with overridable method calls in constructors?

http://stackoverflow.com/questions/3404301/whats-wrong-with-overridable-method-calls-in-constructors

init function in abstract class ™s constructor See also FindBugs Uninitialized read of field method called from constructor of..

Memory barriers and coding style over a Java VM

http://stackoverflow.com/questions/3964317/memory-barriers-and-coding-style-over-a-java-vm

java concurrency cynicism gone too far . Also tools like FindBugs are now providing static checking rules to notice violations..

What code analysis tools do you use for your Java projects? [closed]

http://stackoverflow.com/questions/4080/what-code-analysis-tools-do-you-use-for-your-java-projects

I am interested in all kinds static code analysis tools FindBugs PMD and any others code coverage tools Cobertura Emma and any.. question For static analysis tools I often use CPD PMD FindBugs and Checkstyle . CPD is the PMD Copy Paste Detector tool. I.. because each check has its own BEGIN END comment pair. FindBugs also supports warning generation suppression with a @SuppressWarnings..

Which @NotNull Java annotation should I use?

http://stackoverflow.com/questions/4963300/which-notnull-java-annotation-should-i-use

like IDE code inspection and or static code analysis FindBugs and Sonar to avoid NullPointerExceptions. Many of the tools..

Is it possible to make anonymous inner classes in Java static?

http://stackoverflow.com/questions/758570/is-it-possible-to-make-anonymous-inner-classes-in-java-static

can't and no the compiler can't figure it out. This is why FindBugs always suggests changing anonymous inner classes to named static..

How can I reduce Eclipse Ganymede's memory use?

http://stackoverflow.com/questions/94331/how-can-i-reduce-eclipse-ganymedes-memory-use

installed a few additional plugins e.g. Subclipse Spring FindBugs and removed all the Mylyn plugins. I don't do anything particularly..

What's the point of Guava's Optional class

http://stackoverflow.com/questions/9561295/whats-the-point-of-guavas-optional-class

it disturbingly easy to simply forget things and though FindBugs helps I don't think it addresses the issue nearly as well. This..

Static Analysis tool recommendation for Java? [closed]

http://stackoverflow.com/questions/97599/static-analysis-tool-recommendation-for-java

you java static analysis share improve this question FindBugs PMD and Checkstyle are all excellent choices especially if you..

java.sql.SQLException: - ORA-01000: maximum open cursors exceeded

http://stackoverflow.com/questions/12192592/java-sql-sqlexception-ora-01000-maximum-open-cursors-exceeded

own Static Code Analysis Use a tool like the excellent Findbugs to perform a static code analysis. This picks up many places.. places where the close has not been correctly handled. Findbugs has a plugin for Eclipse but it also runs standalone for one..

semicolon at end of if statement

http://stackoverflow.com/questions/14112515/semicolon-at-end-of-if-statement

can also check tools used for static code analysis such as Findbugs Checkstyle Pmd They can instantly highlight problems such as..

How do commercial Java static analysis tools compare with the free ones? [closed]

http://stackoverflow.com/questions/207652/how-do-commercial-java-static-analysis-tools-compare-with-the-free-ones

of possibly missing some real problems. In my experience Findbugs does a good job of finding real problems especially if you focus.. errors as their team suggests. Recently the developers of Findbugs have added some basic security vulnerability checks as well... So it depends on whether your priority is quality checking Findbugs Coverity or security vulnerability analysis Klocwork or Fortify..

What code analysis tools do you use for your Java projects? [closed]

http://stackoverflow.com/questions/4080/what-code-analysis-tools-do-you-use-for-your-java-projects

some level of uniformity with other tools. Unfortunately Findbugs has to support a custom @SuppressWarnings annotation because..

Which @NotNull Java annotation should I use?

http://stackoverflow.com/questions/4963300/which-notnull-java-annotation-should-i-use

edu.umd.cs.findbugs.annotations.NonNull Used by Findbugs static analysis and therefore Sonar documentation javax.annotation.Nonnull.. javax.annotation.Nonnull This might work with Findbugs too but JSR 305 is inactive. source com.intellij.annotations.NotNull..

java package cycle detection: how to find the specific classes involved?

http://stackoverflow.com/questions/62276/java-package-cycle-detection-how-to-find-the-specific-classes-involved

packages software tools share improve this question Findbugs can detect circular class dependencies and has an eclipse plugin..

Find unused classes in a Java Eclipse project

http://stackoverflow.com/questions/665563/find-unused-classes-in-a-java-eclipse-project

between classes also a number of other tools including Findbugs knows how do do that too Caveat Cid mentions in the comments..

Compile to java bytecode (without using Java)

http://stackoverflow.com/questions/688098/compile-to-java-bytecode-without-using-java

Engineering Library BCEL for some inspiration as well as Findbugs it has to read understand class files . share improve this..

Switch without break

http://stackoverflow.com/questions/8563970/switch-without-break

switch statement as shown below. Notice there is no break. Findbugs is reporting error on the second case statement only. The error.. switch statement findbugs share improve this question Findbugs is flagging up that falling through from one case to the next.. it's a common coding error to forget the break tools like Findbugs flag it up for you. There's a common use case where you have..

ResultSet not closed when connection closed?

http://stackoverflow.com/questions/103938/resultset-not-closed-when-connection-closed

in Connection.close javadoc. java jdbc code review findbugs share improve this question One problem with ONLY closing..

Java Constructor and Field Initialization Order

http://stackoverflow.com/questions/10589828/java-constructor-and-field-initialization-order

methods from constructor. Period. AFAIR tools like pmd and findbugs are marking this as a potential bug. See also What's wrong with..

When to Garbage Collect

http://stackoverflow.com/questions/1147386/when-to-garbage-collect

memory as posible prior to it java garbage collection findbugs share improve this question Did you get any performance..

Is there a way to ignore a single FindBugs warning?

http://stackoverflow.com/questions/1829904/is-there-a-way-to-ignore-a-single-findbugs-warning

there something similar for FindBugs java warnings ignore findbugs share improve this question The FindBugs initial approach.. not the best one but well it's just an example @edu.umd.cs.findbugs.annotations.SuppressWarnings value HE_EQUALS_USE_HASHCODE justification..

Checkstyle vs. PMD

http://stackoverflow.com/questions/184563/checkstyle-vs-pmd

to enforce architectural rules. java static analysis findbugs checkstyle pmd share improve this question You should definitely..

Test for floating point equality. (FE_FLOATING_POINT_EQUALITY)

http://stackoverflow.com/questions/3832592/test-for-floating-point-equality-fe-floating-point-equality

point equality. FE_FLOATING_POINT_EQUALITY I am using a findbugs in an ANT script and I can't figure out how to fix two of my.. I don't get it though. Can anyone please help java ant findbugs share improve this question Problem 1 For the FE_FLOATING_POINT_EQUALITY..

java package cycle detection: how to find the specific classes involved?

http://stackoverflow.com/questions/62276/java-package-cycle-detection-how-to-find-the-specific-classes-involved

mentioned it in the first place @izb as a frequent user of findbugs using the latest 1.3.5 right now I am one click away to accept.. I am not able to test it. Update works now I had an old findbugs configuration file in which that option was not activated. I..

Switch without break

http://stackoverflow.com/questions/8563970/switch-without-break

case 1 some code case 2 some code java switch statement findbugs share improve this question Findbugs is flagging up that..