Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.02 KB

Examples.md

File metadata and controls

28 lines (19 loc) · 1.02 KB

Example Usage

In this document we provide examples of how to use FixMorph with prepared test cases to elaborate the capabilities of FixMorph. Following details explain the test-cases we provide in our repository. Please take a look at the page Getting Started to understand how to use FixMorph.

Example of line number difference

fixmorph --conf=tests/insert/different-line/repair.conf

Example of contextual-difference

fixmorph --conf=tests/insert/different-context/repair.conf

Example of adapting membership expressions

fixmorph --conf=tests/insert/member-expr/repair.conf

Example of updating an argument to an API call

fixmorph --conf=tests/update/method-arg/repair.conf

Example of updating an API call

fixmorph --conf=tests/update/method-call/repair.conf

Example of importing/transplanting missing dependency

fixmorph --conf=tests/insert/missing-dependency/repair.conf

Example of using global context for API mapping

fixmorph --conf=tests/insert/method-call/repair.conf