首页    期刊浏览 2024年11月30日 星期六
登录注册

文章基本信息

  • 标题:Recovering and Tracing Links between Software Codes and Test Codes of the Open Source Projects
  • 本地全文:下载
  • 作者:Amir Hossein Rasekh ; Amir Hossein Arshia ; Seyed Mostafa Fakhrahmad
  • 期刊名称:International Journal of Advanced Computer Science and Applications(IJACSA)
  • 印刷版ISSN:2158-107X
  • 电子版ISSN:2156-5570
  • 出版年度:2016
  • 卷号:7
  • 期号:10
  • DOI:10.14569/IJACSA.2016.071043
  • 出版社:Science and Information Society (SAI)
  • 摘要:One of the most important controversial issues in the design and implementation of software is the functionality of the designed system. With impressive efforts of different software teams in the field of the system, the primary concern of the developers is its proper and error free functioning of the whole system. Therefore, various tests are defined and designed to help software teams to produce error free software or software with minimum error rate. It is difficult but important to find a proper link between written test class and the class under the test. Discovering these links is useful for programmers to perform the Regression Test more efficiently. In this paper, we are trying to propose a model for the recovery of traceable links between test classes and the classes under the test. The presented model comprises four sections. Firstly, we retrieve the name of similar classes between the test class and source class. Afterward, we extract the complexity, Cyclomatic and design metrics from the source codes and the test classes. Finally, after creating a train set, we implement the data mining algorithms to find the potential relationship between unit tests and the classes under the test. One of the advantages of this method is its language independence; furthermore, the preliminary results show that the proposed method has a good performance.
  • 关键词:thesai; IJACSA Volume 7 Issue 10; Unit Testing; Source Code; Similarity; Software Engineering; Open Source; Data Mining
国家哲学社会科学文献中心版权所有