Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 66714 invoked from network); 3 Apr 2011 08:12:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2011 08:12:51 -0000 Received: (qmail 69646 invoked by uid 500); 3 Apr 2011 08:12:48 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 69139 invoked by uid 500); 3 Apr 2011 08:12:46 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 69127 invoked by uid 99); 3 Apr 2011 08:12:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2011 08:12:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2011 08:12:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C76AB903D8 for ; Sun, 3 Apr 2011 08:12:05 +0000 (UTC) Date: Sun, 3 Apr 2011 08:12:05 +0000 (UTC) From: "Sai Zhang (JIRA)" To: issues@commons.apache.org Message-ID: <1968205163.31011.1301818325813.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <660979382.31009.1301818325758.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MATH-553) Bug in class# org.apache.commons.math.dfp.Dfp / org.apache.commons.math.linear.RealVectorwith reproducible JUnit test MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Zhang updated MATH-553: --------------------------- Attachment: ApacheMath_Documented_Test.java > Bug in class# org.apache.commons.math.dfp.Dfp / org.apache.commons.math.linear.RealVectorwith reproducible JUnit test > --------------------------------------------------------------------------------------------------------------------- > > Key: MATH-553 > URL: https://issues.apache.org/jira/browse/MATH-553 > Project: Commons Math > Issue Type: Bug > Affects Versions: 2.2 > Environment: jdk 1.6 > Reporter: Sai Zhang > Attachments: ApacheMath_Documented_Test.java > > > Hi all: > I am writing an automated bug finding tool, and using > Apache Commons Math as an experimental subject > for evaluation. > The tool creates executable JUnit tests as well as > explanatory code comments. I attached one bug-revealing > test as follows. Could you please kindly check it, to > see if it is a real bug or not? > Also, it would be tremendous helpful if you could give > some feedback and suggestion on the quality of generated code comments? > Is the automatically-inferred comment useful in understanding > the generated test? is the comment helpful in bug fixing from the > perspective of developers? > Particularly when the automatically-generated tests > are often long. > Your suggestion will help us improve the tool. > Please see attachment for the failed test. > The comment appears in the form of: > //Tests pass if .... (it gives some small change to the test which can make the failed test pass) > For example: > //Test passes if var10 is: (double)<0 > java.lang.Double var10 = new java.lang.Double(0.0d); > means if you change var10 to a double value which is < 0 (e.g., -1d), the failed test will pass -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira