Invention Grant
- Patent Title: Method and system for code analysis to identify causes of code smells
-
Application No.: US16571581Application Date: 2019-09-16
-
Publication No.: US10776106B2Publication Date: 2020-09-15
- Inventor: Monika Sahu , Kumar Mansukhlal Vidhani , Sachin Premsukh Lodha , Ram Kumar
- Applicant: Tata Consultancy Services Limited
- Applicant Address: IN Mumbai
- Assignee: Tata Consultancy Services Limited
- Current Assignee: Tata Consultancy Services Limited
- Current Assignee Address: IN Mumbai
- Agency: Finnegan, Henderson, Farabow, Garrett & Dunner, LLP
- Priority: com.zzzhc.datahub.patent.etl.us.BibliographicData$PriorityClaim@4592c2dc
- Main IPC: G06F8/75
- IPC: G06F8/75 ; G06F8/71

Abstract:
Identifying root cause of code smells is crucial in enabling proper and efficient software maintenance. Desired are computationally less intensive and easy to implement solutions. Embodiments herein provide a method and system for code analysis to identify causes of code smells. The method provides considerable automation during software maintenance by analyzing detected code smells of two subsequent versions of an application by categorizing the code smells, filtering significant code smells from the detected code smells, mapping the significant code smells between two versions, generating a customized PDG for the mapped functions and performing the isomorphic subgraph mapping for computing a function difference. The computed function difference provides added part of the code or removed part or region of the code of the application, which is cause of the significant added code smells, which can then be provided for manual analysis to identify the root causes for efficient software maintenance.
Public/Granted literature
- US20200089491A1 METHOD AND SYSTEM FOR CODE ANALYSIS TO IDENTIFY CAUSES OF CODE SMELLS Public/Granted day:2020-03-19
Information query