TestSmellDetector icon indicating copy to clipboard operation
TestSmellDetector copied to clipboard

Once found "true", never goes "false"

Open Teej42 opened this issue 3 years ago • 5 comments

Run this using attached file on ftp-server 1.0.6. One example - Print Statement - returns True correctly for clienttests/SymbolicLinkTest.java, but remains True even right after that with no print statement - clienttests/ListPassiveTest.java. This behavior is observed on many code smell categories, indicating that clearing of status is not properly done.

Output_TestSmellDetection_1647781715304.csv

Teej42 avatar Mar 20 '22 17:03 Teej42

Issue is present in Sensitive Equality.

Teej42 avatar Mar 20 '22 17:03 Teej42

Issue is present in Sleepy Test.

Teej42 avatar Mar 20 '22 17:03 Teej42

Issue is present in Duplicate Assert.

Teej42 avatar Mar 20 '22 18:03 Teej42

Basically ALL of the code smell categories have this bug.

Teej42 avatar Mar 20 '22 18:03 Teej42

I was able to replicate the same issue. Tested on a forked branch of RxJava: https://github.com/rimij405/RxJava

Output_TestSmellDetection_1648526004884.csv

effendiian avatar Mar 29 '22 04:03 effendiian