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

Computation Graph - not checking classes with static methods

Open ongaaron96 opened this issue 4 years ago • 0 comments

Context

Static methods in non-target classes does not seem to be accounted for, as shown in the following example.

Steps to Reproduce

Run testComputationGraphConstruction4() in ObjectOrientedTest.

EvoSuite Arguments

NA

Current Result

In setMoveName(), branch on line 46 calls Main.getWindow(). It returns a static JFrame window object, but the graph for this branch is empty.

image

image

Expected result

As explained above.

Additional info

NA

ongaaron96 avatar Aug 09 '20 06:08 ongaaron96