Empirical Evaluation of Syntactic and Semantic Defects Introduced by Refactoring Support
Journal: The International Arab Journal of Information Technology (Vol.13, No. 1)Publication Date: 2016-01-01
Authors : Wafa Basit; Fakhar Lodhi; Usman Bhatti;
Page : 76-84
Keywords : Refactoring; unit testing; pre-conditions; semantic defects; maintenance;
Abstract
Software maintenance is a major source of expense in software projects. A proper evolution process is a critical ingredient in the cost-efficient development of high-quality software. A special case of software evolution is refactoring that cannot change the external behaviour of the software system yet should improve the internal structure of the code. Hence, there is always a need to verify after refactoring, whether it preserved behaviour or not. As formal approaches are hard to employ, unit tests are considered the only safety net available after refactoring. Refactoring may change the expected interface of the software therefore unit tests are also affected. The existing tools for refactoring do not adequately support unit test adaptation. Also, refactoring tools and guidelines may introduce semantic and syntactic errors in the code. This paper qualitatively and quantitatively analyses data from an empirical investigation involving 40 graduate students, performed against a set of semantic and syntactic defects. Findings from the expert survey on refactoring support have also been shared. The analysis in this paper shows that there are notable discrepancies between preferred and actual definitions of refactoring. However, continued research efforts are essential to provide Guide Lines (GL) in the adaptation of the refactoring process to take care of these discrepancies, thus improving the quality and efficiency of the software development.
Other Latest Articles
- MOLECULAR STRUCTURE AND ELECTRONIC PROPERTIES OF DIATRIZOATE, IOXAGLATE CONTRAST COMPOUNDS BY QUANTUM CHEMICAL CALCULATIONS
- A General Characterization of Representing and Determining Fuzzy Spatial Relations
- WPFP-PCA: Weighted Parallel Fixed Point PCA Face Recognition
- A DEA-Based Approach for Information Technology Risk Assessment through Risk Information Technology Framework
- An Intelligent CRF Based Feature Selection for Effective Intrusion Detection
Last modified: 2019-11-13 18:41:47