首页    期刊浏览 2024年12月01日 星期日
登录注册

文章基本信息

  • 标题:A Model to Compare the Degree of Refactoring Opportunities of Three Projects Using A Machine Algorithm
  • 本地全文:下载
  • 作者:Gauri Khurana ; Sonika Jindal
  • 期刊名称:Advanced Computing : an International Journal
  • 印刷版ISSN:2229-726X
  • 电子版ISSN:2229-6727
  • 出版年度:2013
  • 卷号:4
  • 期号:3
  • DOI:10.5121/acij.2013.4302
  • 出版社:Academy & Industry Research Collaboration Center (AIRCC)
  • 摘要:Refactoring is applied to the software artifacts so as to improve its internal structure, while preserving its external behavior. Refactoring is an uncertain process and it is difficult to give some units for measurement. The amount to refactoring that can be applied to the source-code depends upon the skills of the developer. In this research, we have perceived refactoring as a quantified object on an ordinal scale of measurement. We have a proposed a model for determining the degree of refactoring opportunities in the given source-code. The model is applied on the three projects collected from a company. UML diagrams are drawn for each project. The values for source-code metrics, that are useful in determining the quality of code, are calculated for each UML of the projects. Based on the nominal values of metrics, each relevant UML is represented on an ordinal scale. A machine learning tool, weka, is used to analyze the dataset, imported in the form of arff file, produced by the three projects.
  • 关键词:Refactoring; Refactoring Opportunities; Source-code metrics; UML diagrams; Ordinal scale; Weka
国家哲学社会科学文献中心版权所有