[Bug 424097] New: adaptx-0.9.13: some Java source code errors
https://bugzilla.novell.com/show_bug.cgi?id=424097 Summary: adaptx-0.9.13: some Java source code errors Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just tried to analyse the Suse Linux package adaptx-0.9.13 with the most excellent Java static analysis tool pmd. I configured the pmd tool to use its strings ruleset. A subset of the results were /usr/src/packages/BUILD/adaptx-0.9.13-src/src/main/org/exolab/adaptx/xpath/engine/EqualityExprImpl.java:264 Avoid appending characters as strings in StringBuffer.append. /usr/src/packages/BUILD/adaptx-0.9.13-src/src/main/org/exolab/adaptx/xpath/engine/EqualityExprImpl.java:266 Avoid appending characters as strings in StringBuffer.append. /usr/src/packages/BUILD/adaptx-0.9.13-src/src/main/org/exolab/adaptx/xpath/engine/PIExpr.java:65 Avoid appending characters as strings in StringBuffer.append. /usr/src/packages/BUILD/adaptx-0.9.13-src/src/main/org/exolab/adaptx/xpath/engine/PIExpr.java:68 Avoid appending characters as strings in StringBuffer.append. /usr/src/packages/BUILD/adaptx-0.9.13-src/src/main/org/exolab/adaptx/xpath/engine/Token.java:172 Avoid appending characters as strings in StringBuffer.append. Tests show a 20% reduction in execution time by changing the string of length one into a single character. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=424097
David Binderman
https://bugzilla.novell.com/show_bug.cgi?id=424097
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=424097
User skh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=424097#c1
Sonja Krause-Harder
https://bugzilla.novell.com/show_bug.cgi?id=424097
User dcb314@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=424097#c2
David Binderman
David, this kind of bug really should go to the upstream project, not to the distribution(s).
Fair comment, but I haven't got resources to do so. I would have to create a new account on castor.exolab.org merely to report one bug. I found five bugs in opensuse packages whose name starts with letter a. Multiply that up by the 26 letters of the English alfabet and that's an estimated 130 new accounts in 130 different places I would need to set up to report an estimated 130 bugs. That simply isn't going to happen. It seems to me that there must be someone in the Suse organisation that has an account at castor.exolab.org. They seem best placed to report this bug upstream. Same with bug numbers 424098, 424099, 424100, 424101. If I am to investigate all the Java source code in the opensuse distribution, as I intend to do over the next few weeks, then it seems a good idea to have an efficient way to report and fix bugs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=424097
User mvyskocil@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=424097#c3
Michal Vyskocil
participants (1)
-
bugzilla_noreply@novell.com