Design Migration from Procedural to Object Oriented Paradigm by Clustering Data Call Graph
Autor: | Shah Mostafa Khaled, Tajkia Rahman Toma, Md. Selim, M. S. Islam, Alim Ul Gias |
---|---|
Rok vydání: | 2016 |
Předmět: |
Object-oriented programming
Source code Theoretical computer science Jaccard index Computer science media_common.quotation_subject 05 social sciences 050301 education 020207 software engineering 02 engineering and technology computer.software_genre Object-oriented design Procedural programming 0202 electrical engineering electronic engineering information engineering Graph (abstract data type) Data mining Cluster analysis 0503 education Procedural modeling computer media_common |
Zdroj: | International Journal of Information Engineering and Electronic Business. 8:1-13 |
ISSN: | 2074-9031 2074-9023 |
DOI: | 10.5815/ijieeb.2016.02.01 |
Popis: | Management of legacy software and its code, generally written in procedural languages, is often costly and time-consuming. To help this management, a migration from procedural to object oriented paradigm could be a cost effective option. One approach for such migration can be based on the underlying dependency structure of the procedural source code. In this work, we propose a new heuristic algorithm that utilizes such structure for the design migration using agglomerative hierarchical clustering. The dependency structure that has been used involve functions, parameters and global data of the procedural code. Given a procedural code, the proposed approach produces candidate classes for an object oriented design. The proposed algorithm was tested against a database of procedural codes. The results obtained have been empirically validated using Jaccard similarity coefficient. It is observed that the proposed method yields 75.6% similarity with respect to the ground truth in the average case. |
Databáze: | OpenAIRE |
Externí odkaz: |