Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Recovering and Tracing Links between Software Codes and Test Codes of the Open Source Projects

Author 1: Amir Hossein Rasekh Author 2: Amir Hossein Arshia Author 3: Seyed Mostafa Fakhrahmad Author 4: Mohammad Hadi Sadreddini
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 7, No. 10 · Published 2016

DOI: https://doi.org/10.14569/IJACSA.2016.071043

Abstract

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.

Keywords

How to Cite this Article

Rasekh, A. H., Arshia, A. H., Fakhrahmad, S. M., & Sadreddini, M. H. (2016). Recovering and Tracing Links between Software Codes and Test Codes of the Open Source Projects. International Journal of Advanced Computer Science and Applications, 7(10). https://doi.org/10.14569/IJACSA.2016.071043

Rasekh, Amir Hossein, et al.. "Recovering and Tracing Links between Software Codes and Test Codes of the Open Source Projects." International Journal of Advanced Computer Science and Applications, vol. 7, no. 10, 2016, https://doi.org/10.14569/IJACSA.2016.071043.

@article{Rasekh2016,
  title     = {Recovering and Tracing Links between Software Codes and Test Codes of the Open Source Projects},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {7},
  number    = {10},
  year      = {2016},
  publisher = {The Science and Information Organization},
  author    = {Amir Hossein Rasekh and Amir Hossein Arshia and Seyed Mostafa Fakhrahmad and Mohammad Hadi Sadreddini},
  doi       = {10.14569/IJACSA.2016.071043},
  url       = {https://doi.org/10.14569/IJACSA.2016.071043}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.