Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify isCompatibe method #261

Open
Cheng-017 opened this issue Sep 15, 2021 · 0 comments
Open

modify isCompatibe method #261

Cheng-017 opened this issue Sep 15, 2021 · 0 comments

Comments

@Cheng-017
Copy link
Collaborator

commit bf86cec

1.MethodInputs.java
Restoration restrictions

2.ObservedConstant.java
modify isCompatible method

  • If the value type is compatible with the observed constant type,force constant type to value type
  • If the value type is correlated with the observed constant type, force constant type to value type
    Testcase:SmartSeedRuntimeTest.testStringCorrelationOn,SmartSeedRuntimeTest.testStringContainCharOn

3.SeedingApplicationEvaluator.java
modify updateTestSeedWithConstantAssignment method

  • If isCompatible method is true, set the statement value with constant value(L417-425)
    Testcase:SmartSeedRuntimeTest.testStringCorrelationOn,SmartSeedRuntimeTest.testStringContainCharOn

4.SensitivityMutator.java
fitness value > 1

  • Confirm that the fitness value is less than 1 after constructDifficultObjectStatement(L188-198,L255-263)
  • Confirm that the fitness value is less than 1 after modifying the test0(L244-251)
    Testcase:SmartSeedRuntimeTest.testNoPoolOn

5.ConstructionPathSynthesizer.java
Can be ignored, no need to modify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant