Research Article

A Slice-Based Change Impact Analysis for Regression Test Case Prioritization of Object-Oriented Programs

Algorithm 3

H-PTCACC(, WACC).
Input: Test Suite with coverage information, Weight of each node in ASG
Output: Prioritized Test Suite
(1) Set
(2) for each test case do
(3)   (Where is the node covered by whose weight is 3, is the total weight of critical fault
  prone nodes covered by )
(4)   (Where is the node covered by whose weight is 2, is the total weight of moderate
  fault prone nodes covered by
(5)   (Where is the node covered by whose weight is 1, is the total weight of weak fault
  prone nodes covered by
(6)   (Where is the total weight of
(7) End for (sort on the basis of
(8)
(9)  if  , (sort on the basis of ,
(10)   
(11)   if , (sort on the basis of ,
(12)    
(13)    if , (sort on the basis of ,
(14)     
(15) Exit