findbugs
Using custom detectors with FindBugs Maven plugin
I have a nice JAR of some custom FindBugs detectors I\'d like to use with the FindBugs Maven plugin. There is a way to do this with the plugin via the <pluginList> configuration parameter, but t[详细]
2023-01-11 05:27 分类:问答Findbugs "Method May Fail to Close Stream" when using getResourceAsStream
If I have the following code in a servlet: Properties p = new Properties(); p.load(getClass().getResourceAsStream(\"/test.properties\"));[详细]
2023-01-09 10:35 分类:问答findbugs and database password security issue
I\'m using the following code to initialize database connection: public Connection getConnection() { try {[详细]
2023-01-05 10:15 分类:问答maven findbugs 'high water mark'
[findbugs is the example here, question is applicable to any such maven plugin] I attended a build lecture not long ago and a pattern that was talked about that I quite liked was: when adding a new t[详细]
2023-01-04 21:24 分类:问答Filter for jar-file by analyse with findbugs
I have a jar-file, which I 开发者_运维知识库want analyze with findbugs through build.xml. I use \"class location =....jar\" - pattern. The jar-file contains several folders, but I need to analyze only[详细]
2023-01-01 10:47 分类:问答When to stop following the advice of static code analysis?
I do use static code analysis on a project with more than 100.000 lines of Java code for quite a while now. I started with Findbugs, which gave me around 1500 issues at the beginning. I fixed the most[详细]
2022-12-31 22:52 分类:问答Adding exclusive filter for <static initializer> in findbugs
I want my findbugs report not show the following error: DM_NUMBER_CTOR: Method invokes ineffici开发者_如何学运维ent Number constructor; use static valueOf instead[详细]
2022-12-29 18:50 分类:问答Discover NullPointerException bugs using FindBugs
When I run FindBugs on this code, it reports NO issues. boolean _closed = false; public void m1(@Nullable String text) {[详细]
2022-12-29 07:38 分类:问答Delegating Struts action class management to Spring raises MTIA critical voilation in Findbugs
When i use \"Delegate Struts Action management to Spring\" approach explained in http://www.ibm.com/developerworks/java/library/j-sr2.html#N101B7[详细]
2022-12-28 06:21 分类:问答What does these FindBug messages show?
Not every description from from http://findbugs.sourceforge.net/bugDescriptions.html is clear to me. Sure, I can study the implementation but if somebody is more experienced then me, some explanation[详细]
2022-12-27 17:19 分类:问答
加载中,请稍侯......