Publication | Closed Access
Reverse engineering goal models from legacy code
73
Citations
27
References
2005
Year
Unknown Venue
Software MaintenanceEngineeringSoftware EngineeringReverse EngineeringSoftware AnalysisFormal VerificationSoftware RequirementStakeholder Goal ModelsProgram TransformationSoftware AspectSoftware Re-engineeringSource CodeDesignComputer ScienceSoftware DesignCode RefactoringRequirements Recovery ProcessProgram AnalysisSoftware TestingFormal MethodsLegacy CodeSoftware Reverse Engineering
A reverse engineering process aims at reconstructing high-level abstractions from source code. This paper presents a novel reverse engineering methodology for recovering stakeholder goal models from both structured and unstructured legacy code. The methodology consists of the following major steps: 1) Refactoring source code by extracting methods based on comments; 2) Converting the refactored code into an abstract structured program through statechart refactoring and hammock graph construction; 3) Extracting a goal model from the structured program's abstract syntax tree; 4) Identifying nonfunctional requirements and derive soft goals based on the traceability between the code and the goal model. To illustrate this requirements recovery process, we refactor stakeholder goal models from two legacy software code bases: an unstructured Web-based email in PHP (SquirrelMail) and a structured email client system in Java (Columba).
| Year | Citations | |
|---|---|---|
Page 1
Page 1