[
https://issues.apache.org/jira/browse/COLLECTIONS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sai Zhang updated COLLECTIONS-373:
----------------------------------
Description:
Hi all:
I am writing an automated bug finding tool, and using
Apache Commons Collections 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 generated code comments?
>From the perspective of developers who are relatively familiar
with the code,
is the automatically-inferred comment useful in understanding
the generated test? is the comment helpful in bug fixing?
Your suggestion will help us improve the tool.
Please see attachment for the failed test. A little explaination
on the generated code comments in the failed test
//explaination:
//Test passes if var53 is: (java.lang.Boolean)false ===> means:
// test passes if var52 is not added to var28 (only in that case, var53 is
false)
boolean var53 = var28.add((java.lang.Object)var52);
was:
Hi all:
I am writing an automated bug finding tool, and using
Apache Commons Collections 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 generated code comments?
Is the automatically-inferred comment useful in understanding
the generated test? is the comment helpful in bug fixing?
Your suggestion will help us improve the tool.
Please see attachment for the failed test. A little explaination
on the generated code comments in the failed test
//explaination:
//Test passes if var53 is: (java.lang.Boolean)false ===> means:
// test passes if var52 is not added to var28 (only in that case, var53 is
false)
boolean var53 = var28.add((java.lang.Object)var52);
> Bug in class#ListOrderedSet with reproducible JUnit test
> --------------------------------------------------------
>
> Key: COLLECTIONS-373
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-373
> Project: Commons Collections
> Issue Type: Bug
> Affects Versions: 3.2
> Environment: jdk 1.6.x
> Reporter: Sai Zhang
> Labels: patch
> Attachments: ApacheListOrderSet_Documented_Test.java
>
>
> Hi all:
> I am writing an automated bug finding tool, and using
> Apache Commons Collections 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 generated code comments?
> From the perspective of developers who are relatively familiar
> with the code,
> is the automatically-inferred comment useful in understanding
> the generated test? is the comment helpful in bug fixing?
> Your suggestion will help us improve the tool.
> Please see attachment for the failed test. A little explaination
> on the generated code comments in the failed test
> //explaination:
> //Test passes if var53 is: (java.lang.Boolean)false ===> means:
> // test passes if var52 is not added to var28 (only in that case, var53
> is false)
> boolean var53 = var28.add((java.lang.Object)var52);
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira