Next week I will make a presentation about mutation test in my class. The professor give me the paper An Experimental Determination of Sufficient Mutant Operators, written by A. Jefferson Offutt et.al. From the paper, I can get a conclusion that the number of mutants generated for a program is roughly proportional to the product of the number of data references times the number of data objects. Here is a simple Fortran-77 program:
FUNCTION Min(I, J)
Min = I
IF (J .LT. I) Min = J
RETURN
The author, i.e. A. Jefferson Offutt, say there are total 44 mutants for the above program. I just don't how to get the 44 mutants. Does anyone know how to calculate the number of data references and the number of the data objects and get the 44 mutants?
Any ideas will be appreciated.
Now, I believe the 44 mutants is not gained just by multiple the number of data references and the number of data objects. Other mutant operators also contribute to the total number of mutants of the above Fortran-77 program. I edit this question in order to prevent other people to keeping answering it. I don't know how to close a question or mark it answered