Instructor.java

1
package edu.ucsb.cs156.courses.documents;
2
3
import lombok.AllArgsConstructor;
4
import lombok.Builder;
5
import lombok.Data;
6
import lombok.NoArgsConstructor;
7
8
@Data
9
@AllArgsConstructor
10
@NoArgsConstructor
11
@Builder
12
public class Instructor implements Cloneable {
13
  private String instructor;
14
  private String functionCode;
15
16
  @Override
17
  public Object clone() throws CloneNotSupportedException {
18 1 1. clone : replaced return value with null for edu/ucsb/cs156/courses/documents/Instructor::clone → KILLED
    return super.clone();
19
  }
20
}

Mutations

18

1.1
Location : clone
Killed by : edu.ucsb.cs156.courses.documents.InstructorTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.courses.documents.InstructorTests]/[method:test_clone()]
replaced return value with null for edu/ucsb/cs156/courses/documents/Instructor::clone → KILLED

Active mutators

Tests examined


Report generated by PIT 1.7.3