You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current iteration of SmartSeedPerformanceFilter (on the evoseed-filter branch) aims to use the existing InterprocedurarlGraphAnalysis functionality to derive the dependent variables of a branch to see if the branch operands are input-related. However, it appears that in certain cases, the interprocedural graph analysis fails to derive the dependent variables of a branch.
Steps to Reproduce
Please break down here below all the needed steps to reproduce the issue.
[If possible, please upload an example of the project you are generating tests for.]
Extract the zip file into the SF100 benchmark folder (D:\linyun\git_space\SF100-clean)
Set a breakpoint at line 258 of SmartSeedPerformanceFilter.
Run the SmartSeedPerformanceFilter on the jar file by running the testCustom method in ListMethodsBatch.
Observe that for the BranchExample#transitiveMethodCall method in custom.jar, dependentVariables is an empty set (no dependent variables derived).
Further observe that the issue is not an issue with retrieving the dependent variables from InterproceduralGraphAnalysis.branchInterestedVarsMap by looking into the internal state of branchToDependentVariables and determining that there are truly no dependent variables derived for the method.
Expected result
Interprocedural graph analysis should produce the dependent variables for the specified methods and branches.
The text was updated successfully, but these errors were encountered:
Context
The current iteration of SmartSeedPerformanceFilter (on the
evoseed-filter
branch) aims to use the existingInterprocedurarlGraphAnalysis
functionality to derive the dependent variables of a branch to see if the branch operands are input-related. However, it appears that in certain cases, the interprocedural graph analysis fails to derive the dependent variables of a branch.Steps to Reproduce
Please break down here below all the needed steps to reproduce the issue.
[If possible, please upload an example of the project you are generating tests for.]
SmartSeedPerformanceFilter
.SmartSeedPerformanceFilter
on the jar file by running thetestCustom
method inListMethodsBatch
.BranchExample#transitiveMethodCall
method incustom.jar
,dependentVariables
is an empty set (no dependent variables derived).InterproceduralGraphAnalysis.branchInterestedVarsMap
by looking into the internal state ofbranchToDependentVariables
and determining that there are truly no dependent variables derived for the method.Expected result
Interprocedural graph analysis should produce the dependent variables for the specified methods and branches.
The text was updated successfully, but these errors were encountered: