evosuite-plus-plus icon indicating copy to clipboard operation
evosuite-plus-plus copied to clipboard

Debugging Evoobj worse methods - long initial test case

Open ongaaron96 opened this issue 4 years ago • 0 comments

Context

Method is wheel.components.Checkbox#renderComponent(Lorg/xmlpull/v1/XmlSerializer;)V image

Evoobj gets 0.375 to 0.875 coverage, Evosuite can consistently get 0.75 to 0.875 coverage. Both fails to cover the false branch on line 60.

However, unable to replicate results when running SF100OverallTest. testBugExample1(), Evoobj gets 0.875 coverage consistently.

Tried SF100LegitimizationTest.testLegitimizationBad2() to check the test case when covering branch on line 49 and it is initialized with long initial test case, although graph only contains 2 nodes. Legitimacy distance stuck at 23 which means test case fails at line 8, unsure if this causes the low coverage during experiments

image

Initial test case: image

ongaaron96 avatar Nov 04 '20 17:11 ongaaron96