International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 103 - Number 4 |
Year of Publication: 2014 |
Authors: Anshu Bansal, Rajesh K. Bhatia |
10.5120/18061-8993 |
Anshu Bansal, Rajesh K. Bhatia . Test Path Selection of Polymorphic Call-sites. International Journal of Computer Applications. 103, 4 ( October 2014), 15-18. DOI=10.5120/18061-8993
The paper proposes System Dependence Graph (SDG) based algorithm to select different test paths for testing polymorphic call-sites. SDG, includes control and data dependencies, helps both the testers and developers of object-oriented programs to better understand the polymorphic interactions within the software. In addition, the algorithm considers only the method bindings of a polymorphic call-site having different definition sets. As a result, the number of test paths for testing polymorphism gets reduced. Also, the algorithm has been implemented in a prototype Graphical User Interface (GUI) based tool. The results are obtained by using the tool, which demonstrate the proposed technique.