Journal of Software Engineering Tools & Technology Trends
Dynamic Analysis Based Software Modularization Augmenting Weighted Module Dependency Graphs
Abstract
AbstractThe requirements for systems change over time and as the software systems evolve their designs degenerate, making it necessary to restructure the system to recoup with the apprehension that was lost. Without complete knowledge of a software system, a software maintainer may find it difficult to modify the system. A complete understanding of the system is must before making any change to the placement structure of software components and entities. The process of reverse engineering starts with an analysis phase where a system is analyzed by extracting its structure using automated tools. It is very crucial for the developers to understand the system structure before making an attempt to modify it. The dependency structure can be viewed as a directed Module dependency graph (MDG). This research focuses on enriching the MDG for a better understanding of the system structure by assigning different weights to different kind of code dependencies. To each kind of coupling relation different weights are assigned. A naive function has been defined to generate weighted MDGs. The MDGs are generated using static as well as dynamic analysis. Using these graphs for software re-modularization tests the effectiveness of approach.Keywords
References (33)
- Michael English, Jim Buckley, J.J. Collins, investigating software modularity using class and module level metrics, Software Quality Assurance, Page: 177 – 200, 2016.
- Trosky B. Callo Arias, Pieter van der Spek, Paris Avgeriou, A practice -driven systematic review of depe ndency analysis solutions, Empirical Software Engineering, March 2011.
- Amarjeet, Jitender Kumar Chhabra Improving package structure of object - oriented software using multi -objective 0 20 40 60 80 Classes moved from their Packages Improvement in MMF Improvement in MQ Un-weighted relations Proposed WDR (Static) Weighted CC Proposed WDR (Dynamic) Journal of Software Engineering Tools & Technology Trends Volume 7, Issue 3 ISSN: 2394-7292 JoSETTT (2020) 27-40 © STM Journals 2020. All Rights Reserved Page 39 optimization and weighted class connections, JKSU-CIS, 2017.
- Hani Abdeen, Houari Sahraoui, Osama Shata, Nicolas Anquetil , and Stephane´ Ducasse, towards automatically improving package structure while respecting original design decisions, 20th Working Conference on Reverse Engineering (WCRE), 2013.
- F.B. Abreu, and M. Goulao, Coupling and Cohesion as Modularization drivers: are we being over persuaded, 5th European Conference on Software Maintenance and Re-engineering. pp.47–57, 2001.
- Spiros Mancoridis, Brian S Mitchell, Yihfarn Chen, and Emden R Gansner, Bunch: A clustering tool for the recovery and maintenance of software s ystem structures, Proceedings IEEE International Conference on Software Maintenance - 1999 (ICSM’99), 1999.
- S. Muhammad, O. Maqbool, A.Q. Abbasi, Evaluating relationship categories for clustering object -oriented software systems, IEEE IET Software, 2012.
- Shtern, M. and Tzerpos, V., Cluste ring Methodologies for Software Engineering, Advances in Software Engineering, 2012.
- Wiggerts, T.A., Using clustering algorithms in legacy systems remodularization, Working Conference on Reverse Engineering, 1997.
- Bangare, S.L. et al., Quality measurement of modularized object-oriented software using metrics, International Conference and Workshop on Emerging Trends in Technology, 2011.
- Brito e Abreu, F. and Goulao, M., Coupling and cohesion as modularization drivers: Are we being over -persuaded? Proceedings of the European Conference on Software Maintenance and Reengineering, CSMR., 2001.
- Muhammad, S. et al., Evaluating relationship categories for clustering object-oriented software systems, IET Software, 2012.
- Tzerpos, V., An optimal algorithm for MoJo dist ance, IEEE International Symposium on Micromechatronics and Human Science, 2003.
- B. Rajani, Y. Mohana Roopa Source Code to Module Dependency Graph Using Class Dependency Analyzer, IJARCSSE, Vol. 3, Issue 7, 2013.
- Jeanne Ferrante, Karl J. Ottenstein, and Joe D. Warren, The Program Depende nce Graph and Its Use in Optimization, ACM Transactions on Programming Languages and Systems, Vol. 9, No. 3, July 1987.
- Susan Horwitz, Thomas Reps, and David Binkley, Interprocedural Slicing Using Dependence Graphs, ACM Transactions on Programming Languages and Systems, Vol. 12, No. 1, January 1990.
- Ewan Tempero and Paul Ralph, A Model for Defining Coupling Metrics, IEEE APSEC, 2016.
- Srihari Sukuma rana, Ashok Sreenivasb, Ravindra Mettac, The dependence condition graph: Precise conditions for dependence between program points, Computer Languages, Systems and Structures, 2010.
- S. Mancoridis, B . S. Mitchell, C. Rorres, Y. Chen, E. R. Gansner, Using Automatic Clustering to Produce High -Level System Organizations of Source Code, IEEE IWPC, 1998.
- Hall, M. et al., Supervised software modularisation, IEEE International Conference on Software Maintenance, 2012.
- Masoud, H. and Jalili, S., A clustering - based model for clas s responsibility assignment problem in object -oriented analysis, Journal of Systems and Software, 2014.
- M. Harman, D. Binkley, K. Gallagher, N. Gold, and J. Krinke, Dependence Clusters in Source Code, ACM Transactions on Programming Languages and System s, vol. 32, 2009.
- W.P. Stevens, G.J. Myers, L.L. Constantine, Structured design, IBM Systems Journal, Volume 13, Issue 2, 1974.
- Edwin Hautus, Improving Java software through package structure analysis, InProc. International Conference on Software Engineering and Applications, Cambridge, USA, Nov. 4–6,2002. Dynamic Analysis based Software Modularization Augmenting Kaur and Sikka JoSETTT (2020) 27-40 © STM Journals 2020. All Rights Reserved Page 40
- Ali A sghar Pourhaji Kazem, Shahriar Lotfi, An Evolutionary Approach for Partitioning Weighted Module Dependency Graphs, IEEE IIT, 2007.
- Soo Dong Kim and Soo Ho Chang, A Systematic Method to Identify Software Components, IEEE APSEC, 2004.
- Timothy C. Lethbridge and Robert Laganiere,` Object -Oriented Soft -ware Engineering: Practical Software Development using UML and Java, Chapter 9.
- Ewan Tempero and Paul Ralph, A Model for Defining Coupling Metrics, 23rd Asia - Pacific Software Engineering Conference (APSEC), Hamilton, 2016, pp. 145–152.
- Sanjay Misra, Ibrahim Akman, Murat Koyuncu. An inheritance complexity metric for object -oriented code: A cognitive approach, Sadhana, 2011.
- Wang Y, Shao J, A new measure of software complexity based on cognitive Weights, Canadian J. of Electrical and Computer Eng., 2003.
- Mitchell, B.S. and Mancoridis, S., On the automatic modularization of software systems using the bunch tool, IEEE Transactions on Software Engineering, 2006.
- Kalyanmoy Deb, Amrit Pratap, Sameer Agarwal, and T. Meyarivan, A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II, IEEE Transactions on Evolutionary Computation, 2002.
- Eder, Johann and Schrefl, Michael, Coupling and Cohesion in Object-Oriented Systems. 1995. Cite this Article Harleen Kaur, Geeta Sikka . Dynamic Analysis based Software Modularization Augmenting Weighted Module Dependency Graphs . Journal of Software Engineering Tools & Technology Trends . 2020; 7(3): 27–40p.