Question: Answer questions (a) through (d) for the mutant on line 6 in the method sum() a) f possible, find test inputs that do not reach

Answer questions (a) through (d) for the mutant on line 6 in the method sum() a) f possible, find test inputs that do not reach the mutant. (2 points) (b) If possible, find test inputs that satisfy reachability but not infection for the mutant. (2 points) (c) If possible, find test inputs that satisfy infection, but not propagation for the mutant. 2 points) (d) If possible, find test inputs that strongly kill the mutants. Sum values in an array * param x array to sum Oreturn sum of values in x * Qthrows NullPointerException if x is nul1 1. public static int sum(int] x) 2. 3. nt s 0; 4. for (int i#0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
