Comments (6)
Would it help if we also reduced the size of the classpath. Currently we are
including 156 jars which might cause a few of the issues.
Original comment by [email protected]
on 14 Mar 2011 at 9:02
from findbugs.
Just try tuning off effort=max. We've put a lot of work into tuning the normal
effort so that it finds almost all of the errors you find using effort=max, and
we haven't put a lot of work into tuning the time and space requirements for
max.
Reducing the number of classes on the classpath might help. There isn't a lot
we can do without access to the files you are analyzing. Is it an open source
project?
Original comment by [email protected]
on 14 Mar 2011 at 9:13
- Changed state: NeedInfo
from findbugs.
Unfortunately I work for a company, so the code is not open source. A coworker
found an instance where findbugs was not catching a proper close resource bug.
I then read more about the effort variable. I can provide you with any kind of
debugging information, but no source code. I have 2 exams on Thursday, but I
would be free over spring break to examine the findbugs source code to see
where is the issue occurring. I was wondering though, if I wanted to
contribute, how would I go about contributing through google code.
On a side note, I was wondering if a new rule can be created because I found an
annoying issue that I see occurring a lot in code. I noticed that in junit test
code, for an assert method, they usually do assert(expected, actual) instead of
assert(actual, expected) and was wondering if a very low priority rule can be
created for this kind of instance.
Thanks again for all your help!
Original comment by [email protected]
on 16 Mar 2011 at 8:07
from findbugs.
Sorry, for the side note, I meant to say instead of doing
assertEquals(expected, actual) they do assertEquals(actual, expected)
Original comment by [email protected]
on 16 Mar 2011 at 8:14
from findbugs.
I actually fixed it now by splitting up the jar into two separate files and
running both, one after the other. It found one more violation which is good.
Thanks again for your help.
Original comment by [email protected]
on 23 Mar 2011 at 9:24
from findbugs.
Original comment by iloveeclipse
on 23 Nov 2011 at 10:01
- Changed state: WontFix
from findbugs.
Related Issues (20)
- ExcludeFilter configuration failed.: Content is not allowed in prolog. HOT 1
- FP: TQ_MAYBE_SOURCE_VALUE_REACHES_ALWAYS_SINK: LazySequence HOT 1
- FP: NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION on constructors HOT 1
- FP: NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION on generic methods HOT 1
- Handling of assert HOT 1
- false-positive: useless object (List) with lambda-based forEach processing HOT 1
- [3.0.1] findbugs is very slowly HOT 1
- Push previews to Maven Central HOT 1
- Intellij signals error while browsing analysis results HOT 1
- IOException while scanning codebases HOT 1
- IOException while scanning codebases HOT 1
- findbugs fails while parsing Java 10 version string HOT 2
- "Could not parse Java version string" when jdk-11 is used
- IOException while scanning codebases HOT 1
- Errors under Java 11 HOT 1
- IncludeFilter configuration failed.: The markup in the document following the root element must be well-formed. HOT 1
- IncludeFilter configuration failed.: The markup in the document following the root element must be well-formed.
- ExcludeBaseLineBug files configuration failed.: Failing reading D:\IdeaProject\console-navigator\findbugs-exclude.xml Nested exception: Sax error while parsing D:\IdeaProject\console-navigator\findbugs-exclude.xml Nested exception: Invalid top-level element (expected BugCollection, saw FindBugsFilter) HOT 1
- Detect the object memory bloat issue HOT 1
- This use of Logger.debug(...) might be used to include CRLF characters into log messages. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from findbugs.