Font Size: a A A

Design And Implementation Of Code Smell Trend Analysis Tool For Maven

Posted on:2021-01-16Degree:MasterType:Thesis
Country:ChinaCandidate:J J XiangFull Text:PDF
GTID:2428330611951386Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Code smell can expose some software problems.Their existence means design vulnerabilities,which may subsequently lead to system failures and error risks.Thus,Studying code smell is of great significance to software development.In order to facilitate the study of the change trend of the code smell of the Maven central warehouse,this article developed an analysis tool to study the change trend of the code smell of the Maven warehouse.This article first analyzes the research background and significance of the subject,compares the current status of code smell research at home and abroad,and introduces the work and ideas of the article.Secondly,the theory related to the tools used by the system is expanded in detail.Then it briefly introduced the key technologies that the system needs to use,and decided to use the SSM development framework and BootStrap framework for development.Then it analyzed and defined the system,including problem definition,feasibility analysis and system requirements analysis.According to the definition of the system,the main module functions of the system are divided,for the purpose of user function module,jar package detection module,local jar package retrieval module,user management module,jar package management module,and the function of each module is introduced and explained Their detailed implementation process,then introduce the design of the system database.On the basis of completing the coding,the system test was carried out,and the function of each module was tested by the method of black box testing to find and improve the problem.After the design of the analysis tool is completed,the tool is applied to research practice,the most popular jar package of the Maven central warehouse is studied,and the change trend of code odor is analyzed.Modifying one code odor change affects another code odor,and the difference in the number of different code odors is large.The article concludes by reviewing and summarizing,and prospects for the system's perfection and follow-up work.
Keywords/Search Tags:Code Smell, Code smell detection, code odor trend, SSM
PDF Full Text Request
Related items