Research Article

Locating Minimal Fault Interaction in Combinatorial Testing

Algorithm 2

A fault program.
()public  static int foo (int  , int  , int  , int  )
()
()int  ;
()+ = ;
()switch ()
()
()     case 0:
()       if ()
()
()            //should be: + = ;
()            ;
()        else
()            ;
()        break;
()      case 1:
()        ;
()        break;
()  
()  return  ;
()