|
1
|
|
package edu.ucsb.cs156.frontiers.controllers; |
|
2
|
|
|
|
3
|
|
import com.opencsv.CSVParser; |
|
4
|
|
import edu.ucsb.cs156.frontiers.entities.Course; |
|
5
|
|
import edu.ucsb.cs156.frontiers.entities.CourseOption; |
|
6
|
|
import edu.ucsb.cs156.frontiers.entities.RosterStudent; |
|
7
|
|
import edu.ucsb.cs156.frontiers.entities.Section; |
|
8
|
|
import edu.ucsb.cs156.frontiers.enums.CourseOptions; |
|
9
|
|
import edu.ucsb.cs156.frontiers.enums.RosterStatus; |
|
10
|
|
import edu.ucsb.cs156.frontiers.errors.EntityNotFoundException; |
|
11
|
|
import edu.ucsb.cs156.frontiers.jobs.CreateTeamsFromCATMEJob; |
|
12
|
|
import edu.ucsb.cs156.frontiers.models.CATMEAuditResult; |
|
13
|
|
import edu.ucsb.cs156.frontiers.models.CATMEStudentDrop; |
|
14
|
|
import edu.ucsb.cs156.frontiers.models.CATMEStudentUpdate; |
|
15
|
|
import edu.ucsb.cs156.frontiers.models.CATMETeamAssignment; |
|
16
|
|
import edu.ucsb.cs156.frontiers.repositories.CourseOptionRepository; |
|
17
|
|
import edu.ucsb.cs156.frontiers.repositories.CourseRepository; |
|
18
|
|
import edu.ucsb.cs156.frontiers.repositories.RosterStudentRepository; |
|
19
|
|
import edu.ucsb.cs156.frontiers.repositories.SectionRepository; |
|
20
|
|
import edu.ucsb.cs156.frontiers.repositories.TeamMemberRepository; |
|
21
|
|
import edu.ucsb.cs156.frontiers.repositories.TeamRepository; |
|
22
|
|
import edu.ucsb.cs156.jobs.entities.Job; |
|
23
|
|
import edu.ucsb.cs156.jobs.services.JobService; |
|
24
|
|
import io.swagger.v3.oas.annotations.Operation; |
|
25
|
|
import io.swagger.v3.oas.annotations.Parameter; |
|
26
|
|
import io.swagger.v3.oas.annotations.tags.Tag; |
|
27
|
|
import java.io.BufferedReader; |
|
28
|
|
import java.io.IOException; |
|
29
|
|
import java.io.InputStreamReader; |
|
30
|
|
import java.nio.charset.StandardCharsets; |
|
31
|
|
import java.util.ArrayList; |
|
32
|
|
import java.util.Arrays; |
|
33
|
|
import java.util.HashMap; |
|
34
|
|
import java.util.List; |
|
35
|
|
import java.util.Map; |
|
36
|
|
import java.util.stream.Collectors; |
|
37
|
|
import java.util.stream.StreamSupport; |
|
38
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
39
|
|
import org.springframework.http.HttpStatus; |
|
40
|
|
import org.springframework.http.ResponseEntity; |
|
41
|
|
import org.springframework.security.access.prepost.PreAuthorize; |
|
42
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
43
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
44
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
45
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
46
|
|
import org.springframework.web.bind.annotation.RestController; |
|
47
|
|
import org.springframework.web.multipart.MultipartFile; |
|
48
|
|
|
|
49
|
|
@Tag(name = "CATME") |
|
50
|
|
@RequestMapping("/api/catme") |
|
51
|
|
@RestController |
|
52
|
|
public class CATMEController extends ApiController { |
|
53
|
|
|
|
54
|
|
@Autowired private RosterStudentRepository rosterStudentRepository; |
|
55
|
|
|
|
56
|
|
@Autowired private CourseOptionRepository courseOptionRepository; |
|
57
|
|
|
|
58
|
|
@Autowired private SectionRepository sectionRepository; |
|
59
|
|
|
|
60
|
|
@Autowired private CourseRepository courseRepository; |
|
61
|
|
|
|
62
|
|
@Autowired private TeamRepository teamRepository; |
|
63
|
|
|
|
64
|
|
@Autowired private TeamMemberRepository teamMemberRepository; |
|
65
|
|
|
|
66
|
|
@Autowired private JobService jobService; |
|
67
|
|
|
|
68
|
|
public static final String CATME_AUDIT_HEADER_LINE_1 = "Activity,Class,Term,Format,Instr,School"; |
|
69
|
|
public static final String CATME_AUDIT_HEADER_LINE_4 = |
|
70
|
|
"\"Name\",\"Student ID\",\"Email\",\"Section\",\"Team Name\","; |
|
71
|
|
public static final String CATME_AUDIT_SCORES_LINE_PREFIX = "\"Scores"; |
|
72
|
|
public static final String CATME_AUDIT_FORMAT_ERROR_MESSAGE = |
|
73
|
|
"The uploaded file was not in a recognized CATME TeamMaker CSV format."; |
|
74
|
|
|
|
75
|
|
/** |
|
76
|
|
* Audit the roster for a course against a CATME TeamMaker CSV export, producing a list of |
|
77
|
|
* students whose name and/or section should be updated in CATME, and a list of students who |
|
78
|
|
* should be dropped from CATME because they are no longer enrolled (MANUAL or ROSTER status) in |
|
79
|
|
* Frontiers. |
|
80
|
|
* |
|
81
|
|
* @param courseId the id of the course |
|
82
|
|
* @param file the uploaded CATME TeamMaker CSV file |
|
83
|
|
* @return a {@link CATMEAuditResult}, or a 422 error if the file is not in the expected format |
|
84
|
|
* @throws IOException if the file cannot be read |
|
85
|
|
*/ |
|
86
|
|
@Operation(summary = "Audit a course's roster against an uploaded CATME TeamMaker CSV file") |
|
87
|
|
@PreAuthorize("@CourseSecurity.hasManagePermissions(#root, #courseId)") |
|
88
|
|
@PostMapping( |
|
89
|
|
value = "/audit", |
|
90
|
|
consumes = {"multipart/form-data"}) |
|
91
|
|
public ResponseEntity<Object> auditCatmeCSV( |
|
92
|
|
@Parameter(name = "courseId") @RequestParam Long courseId, |
|
93
|
|
@Parameter(name = "file") @RequestParam("file") MultipartFile file) |
|
94
|
|
throws IOException { |
|
95
|
|
|
|
96
|
|
List<String> lines; |
|
97
|
|
try (BufferedReader reader = |
|
98
|
|
new BufferedReader(new InputStreamReader(file.getInputStream(), StandardCharsets.UTF_8))) { |
|
99
|
|
lines = reader.lines().collect(Collectors.toList()); |
|
100
|
|
} |
|
101
|
|
|
|
102
|
|
List<CATMEStudentRow> csvRows = parseCatmeAuditCSV(lines); |
|
103
|
1
1. auditCatmeCSV : negated conditional → KILLED
|
if (csvRows == null) { |
|
104
|
1
1. auditCatmeCSV : replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::auditCatmeCSV → KILLED
|
return ResponseEntity.status(HttpStatus.UNPROCESSABLE_ENTITY) |
|
105
|
|
.body(genericMessage(CATME_AUDIT_FORMAT_ERROR_MESSAGE)); |
|
106
|
|
} |
|
107
|
|
|
|
108
|
1
1. auditCatmeCSV : replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::auditCatmeCSV → KILLED
|
return ResponseEntity.ok(audit(courseId, csvRows)); |
|
109
|
|
} |
|
110
|
|
|
|
111
|
|
/** |
|
112
|
|
* Audit a course's roster against an uploaded CATME TeamMaker CSV file, exactly as {@link |
|
113
|
|
* #auditCatmeCSV}; if the audit finds any issue, report it and stop. If the audit is clean, |
|
114
|
|
* launch a job that creates the teams named in the file (in Frontiers only; nothing is pushed to |
|
115
|
|
* GitHub) and adds each student to their team. |
|
116
|
|
* |
|
117
|
|
* @param courseId the id of the course |
|
118
|
|
* @param file the uploaded CATME TeamMaker CSV file |
|
119
|
|
* @return if the audit found issues, the {@link CATMEAuditResult}; otherwise a message "Job |
|
120
|
|
* Launched: N" where N is the id of the job; or a 422 error if the file is not in the |
|
121
|
|
* expected format |
|
122
|
|
* @throws IOException if the file cannot be read |
|
123
|
|
*/ |
|
124
|
|
@Operation( |
|
125
|
|
summary = |
|
126
|
|
"Audit a course's roster against a CATME TeamMaker CSV file and, if clean, launch a job that creates the teams in it") |
|
127
|
|
@PreAuthorize("@CourseSecurity.hasManagePermissions(#root, #courseId)") |
|
128
|
|
@PostMapping( |
|
129
|
|
value = "/createteams", |
|
130
|
|
consumes = {"multipart/form-data"}) |
|
131
|
|
public ResponseEntity<Object> createTeamsFromCatmeCSV( |
|
132
|
|
@Parameter(name = "courseId") @RequestParam Long courseId, |
|
133
|
|
@Parameter(name = "file") @RequestParam("file") MultipartFile file) |
|
134
|
|
throws IOException { |
|
135
|
|
Course course = |
|
136
|
|
courseRepository |
|
137
|
|
.findById(courseId) |
|
138
|
1
1. lambda$createTeamsFromCatmeCSV$0 : replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$createTeamsFromCatmeCSV$0 → KILLED
|
.orElseThrow(() -> new EntityNotFoundException(Course.class, courseId)); |
|
139
|
|
|
|
140
|
|
List<String> lines; |
|
141
|
|
try (BufferedReader reader = |
|
142
|
|
new BufferedReader(new InputStreamReader(file.getInputStream(), StandardCharsets.UTF_8))) { |
|
143
|
|
lines = reader.lines().collect(Collectors.toList()); |
|
144
|
|
} |
|
145
|
|
|
|
146
|
|
List<CATMEStudentRow> csvRows = parseCatmeAuditCSV(lines); |
|
147
|
1
1. createTeamsFromCatmeCSV : negated conditional → KILLED
|
if (csvRows == null) { |
|
148
|
1
1. createTeamsFromCatmeCSV : replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::createTeamsFromCatmeCSV → KILLED
|
return ResponseEntity.status(HttpStatus.UNPROCESSABLE_ENTITY) |
|
149
|
|
.body(genericMessage(CATME_AUDIT_FORMAT_ERROR_MESSAGE)); |
|
150
|
|
} |
|
151
|
|
|
|
152
|
|
CATMEAuditResult auditResult = audit(courseId, csvRows); |
|
153
|
2
1. createTeamsFromCatmeCSV : negated conditional → KILLED
2. createTeamsFromCatmeCSV : negated conditional → KILLED
|
if (!auditResult.studentsToUpdate().isEmpty() || !auditResult.studentsToDrop().isEmpty()) { |
|
154
|
1
1. createTeamsFromCatmeCSV : replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::createTeamsFromCatmeCSV → KILLED
|
return ResponseEntity.ok(auditResult); |
|
155
|
|
} |
|
156
|
|
|
|
157
|
|
List<CATMETeamAssignment> assignments = |
|
158
|
|
csvRows.stream() |
|
159
|
1
1. lambda$createTeamsFromCatmeCSV$1 : replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$createTeamsFromCatmeCSV$1 → KILLED
|
.map(row -> new CATMETeamAssignment(row.studentId(), row.name(), row.teamName())) |
|
160
|
|
.toList(); |
|
161
|
|
CreateTeamsFromCATMEJob job = |
|
162
|
|
CreateTeamsFromCATMEJob.builder() |
|
163
|
|
.course(course) |
|
164
|
|
.assignments(assignments) |
|
165
|
|
.courseRepository(courseRepository) |
|
166
|
|
.rosterStudentRepository(rosterStudentRepository) |
|
167
|
|
.teamRepository(teamRepository) |
|
168
|
|
.teamMemberRepository(teamMemberRepository) |
|
169
|
|
.build(); |
|
170
|
|
Job launched = jobService.runAsJob(job); |
|
171
|
1
1. createTeamsFromCatmeCSV : replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::createTeamsFromCatmeCSV → KILLED
|
return ResponseEntity.ok(genericMessage("Job Launched: " + launched.getId())); |
|
172
|
|
} |
|
173
|
|
|
|
174
|
|
/** |
|
175
|
|
* Compares the enrolled students of a course with the rows of a CATME file. |
|
176
|
|
* |
|
177
|
|
* @param courseId the id of the course |
|
178
|
|
* @param csvRows the rows of the file |
|
179
|
|
* @return the students to update in CATME, and the students to drop from CATME |
|
180
|
|
*/ |
|
181
|
|
private CATMEAuditResult audit(Long courseId, List<CATMEStudentRow> csvRows) { |
|
182
|
|
List<RosterStudent> enrolledStudents = |
|
183
|
|
StreamSupport.stream(rosterStudentRepository.findByCourseId(courseId).spliterator(), false) |
|
184
|
|
.filter( |
|
185
|
|
student -> |
|
186
|
2
1. lambda$audit$0 : negated conditional → KILLED
2. lambda$audit$0 : replaced boolean return with true for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$audit$0 → KILLED
|
student.getStudentId() != null |
|
187
|
1
1. lambda$audit$0 : negated conditional → KILLED
|
&& (student.getRosterStatus() == RosterStatus.MANUAL |
|
188
|
1
1. lambda$audit$0 : negated conditional → KILLED
|
|| student.getRosterStatus() == RosterStatus.ROSTER)) |
|
189
|
|
.toList(); |
|
190
|
|
|
|
191
|
|
Map<String, CATMEStudentRow> csvRowsByStudentId = |
|
192
|
|
csvRows.stream() |
|
193
|
|
.collect( |
|
194
|
2
1. lambda$audit$2 : replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$audit$2 → KILLED
2. lambda$audit$1 : replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$audit$1 → KILLED
|
Collectors.toMap(CATMEStudentRow::studentId, row -> row, (first, second) -> first)); |
|
195
|
|
|
|
196
|
|
Map<String, String> sectionToLabel = new HashMap<>(); |
|
197
|
|
Map<String, String> labelToSection = new HashMap<>(); |
|
198
|
|
boolean translateSections = |
|
199
|
|
courseOptionRepository |
|
200
|
|
.findByCourseIdAndOption(courseId, CourseOptions.TRANSLATE_SECTIONS.name()) |
|
201
|
|
.map(CourseOption::getEnabled) |
|
202
|
|
.orElse(false); |
|
203
|
1
1. audit : negated conditional → KILLED
|
if (translateSections) { |
|
204
|
|
for (Section section : sectionRepository.findByCourseId(courseId)) { |
|
205
|
|
sectionToLabel.put(section.getSection(), section.getLabel()); |
|
206
|
|
labelToSection.put(section.getLabel(), section.getSection()); |
|
207
|
|
} |
|
208
|
|
} |
|
209
|
|
|
|
210
|
|
List<CATMEStudentUpdate> studentsToUpdate = new ArrayList<>(); |
|
211
|
|
for (RosterStudent student : enrolledStudents) { |
|
212
|
|
CATMEStudentRow row = csvRowsByStudentId.get(student.getStudentId()); |
|
213
|
1
1. audit : negated conditional → KILLED
|
if (row == null) { |
|
214
|
|
continue; |
|
215
|
|
} |
|
216
|
|
String expectedName = formatStudentName(student.getLastName(), student.getFirstName()); |
|
217
|
1
1. audit : negated conditional → KILLED
|
if (!expectedName.equals(row.name())) { |
|
218
|
|
studentsToUpdate.add( |
|
219
|
|
new CATMEStudentUpdate( |
|
220
|
|
student.getStudentId(), expectedName, "Name", row.name(), expectedName)); |
|
221
|
|
} |
|
222
|
1
1. audit : negated conditional → KILLED
|
String rosterSection = student.getSection() == null ? "" : student.getSection(); |
|
223
|
|
String catmeSection = row.section(); |
|
224
|
|
String reverseTranslatedCatmeSection = |
|
225
|
|
labelToSection.getOrDefault(catmeSection, catmeSection); |
|
226
|
1
1. audit : negated conditional → KILLED
|
if (!rosterSection.equals(reverseTranslatedCatmeSection)) { |
|
227
|
|
String expectedCatmeSection = sectionToLabel.getOrDefault(rosterSection, rosterSection); |
|
228
|
|
studentsToUpdate.add( |
|
229
|
|
new CATMEStudentUpdate( |
|
230
|
|
student.getStudentId(), |
|
231
|
|
expectedName, |
|
232
|
|
"Section", |
|
233
|
|
catmeSection, |
|
234
|
|
expectedCatmeSection)); |
|
235
|
|
} |
|
236
|
|
} |
|
237
|
|
|
|
238
|
|
Map<String, RosterStudent> enrolledStudentsByStudentId = |
|
239
|
|
enrolledStudents.stream() |
|
240
|
|
.collect( |
|
241
|
|
Collectors.toMap( |
|
242
|
2
1. lambda$audit$4 : replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$audit$4 → KILLED
2. lambda$audit$3 : replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$audit$3 → KILLED
|
RosterStudent::getStudentId, student -> student, (first, second) -> first)); |
|
243
|
|
|
|
244
|
|
List<CATMEStudentDrop> studentsToDrop = new ArrayList<>(); |
|
245
|
|
for (CATMEStudentRow row : csvRows) { |
|
246
|
1
1. audit : negated conditional → KILLED
|
if (!enrolledStudentsByStudentId.containsKey(row.studentId())) { |
|
247
|
|
studentsToDrop.add( |
|
248
|
|
new CATMEStudentDrop(row.studentId(), row.name(), row.email(), row.section())); |
|
249
|
|
} |
|
250
|
|
} |
|
251
|
|
|
|
252
|
1
1. audit : replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::audit → KILLED
|
return new CATMEAuditResult(studentsToUpdate, studentsToDrop); |
|
253
|
|
} |
|
254
|
|
|
|
255
|
|
/** |
|
256
|
|
* Represents a single student row parsed from a CATME TeamMaker CSV export. |
|
257
|
|
* |
|
258
|
|
* @param name the student's name |
|
259
|
|
* @param studentId the student's id |
|
260
|
|
* @param email the student's email |
|
261
|
|
* @param section the student's section |
|
262
|
|
* @param teamName the student's team name (position 5 of the row), or an empty string if the row |
|
263
|
|
* has no such field |
|
264
|
|
*/ |
|
265
|
|
private record CATMEStudentRow( |
|
266
|
|
String name, String studentId, String email, String section, String teamName) {} |
|
267
|
|
|
|
268
|
|
/** |
|
269
|
|
* Parses the lines of an uploaded CATME TeamMaker CSV file, validating the expected format. |
|
270
|
|
* |
|
271
|
|
* @param lines the lines of the file |
|
272
|
|
* @return the list of parsed student rows, or null if the file is not in the expected format |
|
273
|
|
*/ |
|
274
|
|
private static List<CATMEStudentRow> parseCatmeAuditCSV(List<String> lines) { |
|
275
|
2
1. parseCatmeAuditCSV : negated conditional → KILLED
2. parseCatmeAuditCSV : changed conditional boundary → KILLED
|
if (lines.size() < 4) { |
|
276
|
1
1. parseCatmeAuditCSV : replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
return null; |
|
277
|
|
} |
|
278
|
1
1. parseCatmeAuditCSV : negated conditional → KILLED
|
if (!lines.get(0).trim().equals(CATME_AUDIT_HEADER_LINE_1)) { |
|
279
|
1
1. parseCatmeAuditCSV : replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
return null; |
|
280
|
|
} |
|
281
|
|
// line 1 (index 1) is intentionally ignored |
|
282
|
1
1. parseCatmeAuditCSV : negated conditional → KILLED
|
if (!lines.get(2).trim().isEmpty()) { |
|
283
|
1
1. parseCatmeAuditCSV : replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
return null; |
|
284
|
|
} |
|
285
|
1
1. parseCatmeAuditCSV : negated conditional → KILLED
|
if (!lines.get(3).trim().startsWith(CATME_AUDIT_HEADER_LINE_4)) { |
|
286
|
1
1. parseCatmeAuditCSV : replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
return null; |
|
287
|
|
} |
|
288
|
|
|
|
289
|
|
CSVParser csvParser = new CSVParser(); |
|
290
|
|
List<CATMEStudentRow> rows = new ArrayList<>(); |
|
291
|
2
1. parseCatmeAuditCSV : negated conditional → KILLED
2. parseCatmeAuditCSV : changed conditional boundary → KILLED
|
for (int i = 4; i < lines.size(); i++) { |
|
292
|
|
String line = lines.get(i); |
|
293
|
1
1. parseCatmeAuditCSV : negated conditional → KILLED
|
if (line.trim().isEmpty()) { |
|
294
|
|
break; |
|
295
|
|
} |
|
296
|
1
1. parseCatmeAuditCSV : negated conditional → KILLED
|
if (line.trim().startsWith(CATME_AUDIT_SCORES_LINE_PREFIX)) { |
|
297
|
|
continue; |
|
298
|
|
} |
|
299
|
|
try { |
|
300
|
|
String[] fields = csvParser.parseLine(line); |
|
301
|
2
1. parseCatmeAuditCSV : negated conditional → KILLED
2. parseCatmeAuditCSV : changed conditional boundary → KILLED
|
if (fields.length < 4) { |
|
302
|
1
1. parseCatmeAuditCSV : replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
return null; |
|
303
|
|
} |
|
304
|
2
1. parseCatmeAuditCSV : changed conditional boundary → KILLED
2. parseCatmeAuditCSV : negated conditional → KILLED
|
String teamName = fields.length > 4 ? fields[4] : ""; |
|
305
|
|
rows.add(new CATMEStudentRow(fields[0], fields[1], fields[2], fields[3], teamName)); |
|
306
|
|
} catch (IOException e) { |
|
307
|
1
1. parseCatmeAuditCSV : replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
return null; |
|
308
|
|
} |
|
309
|
|
} |
|
310
|
1
1. parseCatmeAuditCSV : replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
return rows; |
|
311
|
|
} |
|
312
|
|
|
|
313
|
|
@Operation(summary = "Convert CATME roster names into course emails") |
|
314
|
|
@PreAuthorize("@CourseSecurity.hasManagePermissions(#root, #courseId)") |
|
315
|
|
@PostMapping(value = "/emails", consumes = "text/plain", produces = "text/plain") |
|
316
|
|
public String getCourseEmailsFromCatme( |
|
317
|
|
@Parameter(name = "courseId") @RequestParam Long courseId, |
|
318
|
|
@Parameter(name = "payload") @RequestBody(required = false) String payload) { |
|
319
|
|
|
|
320
|
1
1. getCourseEmailsFromCatme : negated conditional → KILLED
|
String normalizedPayload = payload == null ? "" : payload; |
|
321
|
1
1. getCourseEmailsFromCatme : negated conditional → KILLED
|
if (normalizedPayload.isBlank()) { |
|
322
|
|
return ""; |
|
323
|
|
} |
|
324
|
|
|
|
325
|
|
Map<String, String> emailByName = |
|
326
|
|
StreamSupport.stream(rosterStudentRepository.findByCourseId(courseId).spliterator(), false) |
|
327
|
|
.filter( |
|
328
|
|
student -> |
|
329
|
2
1. lambda$getCourseEmailsFromCatme$0 : replaced boolean return with true for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$getCourseEmailsFromCatme$0 → KILLED
2. lambda$getCourseEmailsFromCatme$0 : negated conditional → KILLED
|
student.getFirstName() != null |
|
330
|
1
1. lambda$getCourseEmailsFromCatme$0 : negated conditional → KILLED
|
&& student.getLastName() != null |
|
331
|
1
1. lambda$getCourseEmailsFromCatme$0 : negated conditional → KILLED
|
&& student.getEmail() != null) |
|
332
|
|
.collect( |
|
333
|
|
Collectors.toMap( |
|
334
|
1
1. lambda$getCourseEmailsFromCatme$1 : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$getCourseEmailsFromCatme$1 → KILLED
|
student -> toLookupKey(student.getLastName(), student.getFirstName()), |
|
335
|
|
RosterStudent::getEmail, |
|
336
|
1
1. lambda$getCourseEmailsFromCatme$2 : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$getCourseEmailsFromCatme$2 → KILLED
|
(first, second) -> first)); |
|
337
|
|
|
|
338
|
|
// \\R handles all line endings and -1 preserves trailing blank lines. |
|
339
|
1
1. getCourseEmailsFromCatme : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::getCourseEmailsFromCatme → KILLED
|
return Arrays.stream(normalizedPayload.split("\\R", -1)) |
|
340
|
1
1. lambda$getCourseEmailsFromCatme$3 : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$getCourseEmailsFromCatme$3 → KILLED
|
.map(line -> formatEmailResultLine(extractName(line), emailByName)) |
|
341
|
|
.collect(Collectors.joining("\n")); |
|
342
|
|
} |
|
343
|
|
|
|
344
|
|
private static String extractName(String line) { |
|
345
|
|
String trimmed = normalizeSpaces(line); |
|
346
|
1
1. extractName : negated conditional → KILLED
|
if (trimmed.isBlank()) { |
|
347
|
|
return ""; |
|
348
|
|
} |
|
349
|
|
|
|
350
|
|
// CATME lines look like: "LAST, FIRST MIDDLE <score> <timestamp>". |
|
351
|
|
int dateStart = findDateTokenStart(trimmed); |
|
352
|
1
1. extractName : negated conditional → KILLED
|
if (dateStart == -1) { |
|
353
|
1
1. extractName : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::extractName → KILLED
|
return trimmed; |
|
354
|
|
} |
|
355
|
|
|
|
356
|
|
String beforeDate = trimmed.substring(0, dateStart).trim(); |
|
357
|
|
int lastSpace = beforeDate.lastIndexOf(' '); |
|
358
|
1
1. extractName : negated conditional → KILLED
|
if (lastSpace == -1) { |
|
359
|
1
1. extractName : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::extractName → KILLED
|
return beforeDate; |
|
360
|
|
} |
|
361
|
|
|
|
362
|
1
1. extractName : Replaced integer addition with subtraction → KILLED
|
String possibleScore = beforeDate.substring(lastSpace + 1); |
|
363
|
1
1. extractName : negated conditional → KILLED
|
if (possibleScore.chars().allMatch(Character::isDigit)) { |
|
364
|
1
1. extractName : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::extractName → KILLED
|
return beforeDate.substring(0, lastSpace).trim(); |
|
365
|
|
} |
|
366
|
1
1. extractName : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::extractName → KILLED
|
return beforeDate; |
|
367
|
|
} |
|
368
|
|
|
|
369
|
|
private static String formatEmailResultLine(String name, Map<String, String> emailByName) { |
|
370
|
1
1. formatEmailResultLine : negated conditional → KILLED
|
if (name.isBlank()) { |
|
371
|
|
return ""; |
|
372
|
|
} |
|
373
|
|
String email = emailByName.get(toLookupKey(name)); |
|
374
|
1
1. formatEmailResultLine : negated conditional → KILLED
|
if (email != null) { |
|
375
|
1
1. formatEmailResultLine : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::formatEmailResultLine → KILLED
|
return email; |
|
376
|
|
} |
|
377
|
1
1. formatEmailResultLine : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::formatEmailResultLine → KILLED
|
return "# NO EMAIL FOUND FOR " + name; |
|
378
|
|
} |
|
379
|
|
|
|
380
|
|
private static String toLookupKey(String lastName, String firstName) { |
|
381
|
1
1. toLookupKey : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::toLookupKey → KILLED
|
return toLookupKey(formatStudentName(lastName, firstName)); |
|
382
|
|
} |
|
383
|
|
|
|
384
|
|
private static String toLookupKey(String name) { |
|
385
|
1
1. toLookupKey : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::toLookupKey → KILLED
|
return normalizeSpaces(name).toUpperCase().replaceFirst("\\s*,\\s*", ","); |
|
386
|
|
} |
|
387
|
|
|
|
388
|
|
private static String formatStudentName(String lastName, String firstName) { |
|
389
|
1
1. formatStudentName : negated conditional → KILLED
|
String normalizedLastName = normalizeSpaces(lastName == null ? "" : lastName); |
|
390
|
1
1. formatStudentName : negated conditional → KILLED
|
String normalizedFirstName = normalizeSpaces(firstName == null ? "" : firstName); |
|
391
|
1
1. formatStudentName : negated conditional → KILLED
|
if (normalizedLastName.isBlank()) { |
|
392
|
1
1. formatStudentName : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::formatStudentName → KILLED
|
return normalizedFirstName; |
|
393
|
|
} |
|
394
|
1
1. formatStudentName : negated conditional → KILLED
|
if (normalizedFirstName.isBlank()) { |
|
395
|
1
1. formatStudentName : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::formatStudentName → KILLED
|
return normalizedLastName; |
|
396
|
|
} |
|
397
|
1
1. formatStudentName : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::formatStudentName → KILLED
|
return normalizedLastName + ", " + normalizedFirstName; |
|
398
|
|
} |
|
399
|
|
|
|
400
|
|
private static String normalizeSpaces(String value) { |
|
401
|
1
1. normalizeSpaces : replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::normalizeSpaces → KILLED
|
return value.replaceAll("\\s+", " ").trim(); |
|
402
|
|
} |
|
403
|
|
|
|
404
|
|
private static int findDateTokenStart(String value) { |
|
405
|
3
1. findDateTokenStart : negated conditional → KILLED
2. findDateTokenStart : changed conditional boundary → KILLED
3. findDateTokenStart : Replaced integer addition with subtraction → KILLED
|
for (int i = 0; i + 10 <= value.length(); i++) { |
|
406
|
1
1. findDateTokenStart : negated conditional → KILLED
|
if (isDateToken(value, i)) { |
|
407
|
1
1. findDateTokenStart : replaced int return with 0 for edu/ucsb/cs156/frontiers/controllers/CATMEController::findDateTokenStart → KILLED
|
return i; |
|
408
|
|
} |
|
409
|
|
} |
|
410
|
1
1. findDateTokenStart : replaced int return with 0 for edu/ucsb/cs156/frontiers/controllers/CATMEController::findDateTokenStart → KILLED
|
return -1; |
|
411
|
|
} |
|
412
|
|
|
|
413
|
|
private static boolean isDateToken(String value, int start) { |
|
414
|
4
1. isDateToken : negated conditional → KILLED
2. isDateToken : negated conditional → KILLED
3. isDateToken : changed conditional boundary → KILLED
4. isDateToken : Replaced integer subtraction with addition → KILLED
|
if (start > 0 && value.charAt(start - 1) != ' ') { |
|
415
|
1
1. isDateToken : replaced boolean return with true for edu/ucsb/cs156/frontiers/controllers/CATMEController::isDateToken → KILLED
|
return false; |
|
416
|
|
} |
|
417
|
|
|
|
418
|
3
1. isDateToken : Replaced integer addition with subtraction → KILLED
2. isDateToken : negated conditional → KILLED
3. isDateToken : replaced boolean return with true for edu/ucsb/cs156/frontiers/controllers/CATMEController::isDateToken → KILLED
|
return Character.isDigit(value.charAt(start)) |
|
419
|
2
1. isDateToken : Replaced integer addition with subtraction → KILLED
2. isDateToken : negated conditional → KILLED
|
&& Character.isDigit(value.charAt(start + 1)) |
|
420
|
2
1. isDateToken : Replaced integer addition with subtraction → KILLED
2. isDateToken : negated conditional → KILLED
|
&& Character.isDigit(value.charAt(start + 2)) |
|
421
|
2
1. isDateToken : Replaced integer addition with subtraction → KILLED
2. isDateToken : negated conditional → KILLED
|
&& Character.isDigit(value.charAt(start + 3)) |
|
422
|
2
1. isDateToken : Replaced integer addition with subtraction → KILLED
2. isDateToken : negated conditional → KILLED
|
&& value.charAt(start + 4) == '-' |
|
423
|
2
1. isDateToken : negated conditional → KILLED
2. isDateToken : Replaced integer addition with subtraction → KILLED
|
&& Character.isDigit(value.charAt(start + 5)) |
|
424
|
2
1. isDateToken : negated conditional → KILLED
2. isDateToken : Replaced integer addition with subtraction → KILLED
|
&& Character.isDigit(value.charAt(start + 6)) |
|
425
|
2
1. isDateToken : negated conditional → KILLED
2. isDateToken : Replaced integer addition with subtraction → KILLED
|
&& value.charAt(start + 7) == '-' |
|
426
|
2
1. isDateToken : negated conditional → KILLED
2. isDateToken : Replaced integer addition with subtraction → KILLED
|
&& Character.isDigit(value.charAt(start + 8)) |
|
427
|
1
1. isDateToken : negated conditional → KILLED
|
&& Character.isDigit(value.charAt(start + 9)); |
|
428
|
|
} |
|
429
|
|
} |
| | Mutations |
| 103 |
|
1.1 Location : auditCatmeCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_tooFewLines_returnsError()] negated conditional → KILLED
|
| 104 |
|
1.1 Location : auditCatmeCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_wrongFirstHeaderLine_returnsError()] replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::auditCatmeCSV → KILLED
|
| 108 |
|
1.1 Location : auditCatmeCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_exactlyFourHeaderLines_returnsEmptyResult()] replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::auditCatmeCSV → KILLED
|
| 138 |
|
1.1 Location : lambda$createTeamsFromCatmeCSV$0 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:createTeams_courseDoesNotExist_returns404()] replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$createTeamsFromCatmeCSV$0 → KILLED
|
| 147 |
|
1.1 Location : createTeamsFromCatmeCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:createTeams_unrecognizedFormat_returns422AndDoesNotLaunch()] negated conditional → KILLED
|
| 148 |
|
1.1 Location : createTeamsFromCatmeCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:createTeams_unrecognizedFormat_returns422AndDoesNotLaunch()] replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::createTeamsFromCatmeCSV → KILLED
|
| 153 |
|
1.1 Location : createTeamsFromCatmeCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:createTeams_auditFindsStudentToDrop_reportsItAndDoesNotLaunch()] negated conditional → KILLED
2.2 Location : createTeamsFromCatmeCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:createTeams_auditFindsNameMismatch_reportsItAndDoesNotLaunch()] negated conditional → KILLED
|
| 154 |
|
1.1 Location : createTeamsFromCatmeCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:createTeams_auditFindsNameMismatch_reportsItAndDoesNotLaunch()] replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::createTeamsFromCatmeCSV → KILLED
|
| 159 |
|
1.1 Location : lambda$createTeamsFromCatmeCSV$1 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:createTeams_rowWithoutTeamNameField_getsEmptyTeamName()] replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$createTeamsFromCatmeCSV$1 → KILLED
|
| 171 |
|
1.1 Location : createTeamsFromCatmeCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:createTeams_cleanAudit_launchesJobWithTeamAssignments()] replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::createTeamsFromCatmeCSV → KILLED
|
| 186 |
|
1.1 Location : lambda$audit$0 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rowWithExactlyFourColumns_isValid()] negated conditional → KILLED
2.2 Location : lambda$audit$0 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_droppedStudentInFrontiersIsNotAudited()] replaced boolean return with true for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$audit$0 → KILLED
|
| 187 |
|
1.1 Location : lambda$audit$0 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_droppedStudentInFrontiersIsNotAudited()] negated conditional → KILLED
|
| 188 |
|
1.1 Location : lambda$audit$0 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_droppedStudentInFrontiersIsNotAudited()] negated conditional → KILLED
|
| 194 |
|
1.1 Location : lambda$audit$2 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_duplicateCsvRows_keepsFirstRowValues()] replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$audit$2 → KILLED
2.2 Location : lambda$audit$1 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_studentNotOnRoster_producesDrop()] replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$audit$1 → KILLED
|
| 203 |
|
1.1 Location : audit Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_translateSectionsDisabled_ignoresSectionsTable()] negated conditional → KILLED
|
| 213 |
|
1.1 Location : audit Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rosterStudentNotInCatme_isIgnored()] negated conditional → KILLED
|
| 217 |
|
1.1 Location : audit Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rowWithExactlyFourColumns_isValid()] negated conditional → KILLED
|
| 222 |
|
1.1 Location : audit Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rowWithExactlyFourColumns_isValid()] negated conditional → KILLED
|
| 226 |
|
1.1 Location : audit Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rowWithExactlyFourColumns_isValid()] negated conditional → KILLED
|
| 242 |
|
1.1 Location : lambda$audit$4 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_duplicateStudentIds_keepsFirstOccurrence()] replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$audit$4 → KILLED
2.2 Location : lambda$audit$3 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rosterStudentNotInCatme_isIgnored()] replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$audit$3 → KILLED
|
| 246 |
|
1.1 Location : audit Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_studentNotOnRoster_producesDrop()] negated conditional → KILLED
|
| 252 |
|
1.1 Location : audit Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_exactlyFourHeaderLines_returnsEmptyResult()] replaced return value with null for edu/ucsb/cs156/frontiers/controllers/CATMEController::audit → KILLED
|
| 275 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_tooFewLines_returnsError()] negated conditional → KILLED
2.2 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_exactlyFourHeaderLines_returnsEmptyResult()] changed conditional boundary → KILLED
|
| 276 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_tooFewLines_returnsError()] replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
| 278 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_exactlyFourHeaderLines_returnsEmptyResult()] negated conditional → KILLED
|
| 279 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_wrongFirstHeaderLine_returnsError()] replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
| 282 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_exactlyFourHeaderLines_returnsEmptyResult()] negated conditional → KILLED
|
| 283 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_blankLine3NotBlank_returnsError()] replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
| 285 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_wrongFourthHeaderLine_returnsError()] negated conditional → KILLED
|
| 286 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_wrongFourthHeaderLine_returnsError()] replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
| 291 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rowWithTooFewColumns_returnsError()] negated conditional → KILLED
2.2 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_exactlyFourHeaderLines_returnsEmptyResult()] changed conditional boundary → KILLED
|
| 293 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rowWithTooFewColumns_returnsError()] negated conditional → KILLED
|
| 296 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rowWithTooFewColumns_returnsError()] negated conditional → KILLED
|
| 301 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rowWithTooFewColumns_returnsError()] negated conditional → KILLED
2.2 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rowWithExactlyFourColumns_isValid()] changed conditional boundary → KILLED
|
| 302 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rowWithTooFewColumns_returnsError()] replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
| 304 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rowWithExactlyFourColumns_isValid()] changed conditional boundary → KILLED
2.2 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_rowWithExactlyFourColumns_isValid()] negated conditional → KILLED
|
| 307 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_malformedQuotedRow_returnsError()] replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
| 310 |
|
1.1 Location : parseCatmeAuditCSV Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_studentNotOnRoster_producesDrop()] replaced return value with Collections.emptyList for edu/ucsb/cs156/frontiers/controllers/CATMEController::parseCatmeAuditCSV → KILLED
|
| 320 |
|
1.1 Location : getCourseEmailsFromCatme Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_directCall_nullPayload_returnsBlankAndSkipsRepoLookup()] negated conditional → KILLED
|
| 321 |
|
1.1 Location : getCourseEmailsFromCatme Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_directCall_blankPayload_returnsBlankAndSkipsRepoLookup()] negated conditional → KILLED
|
| 329 |
|
1.1 Location : lambda$getCourseEmailsFromCatme$0 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_ignoresRosterEntriesMissingRequiredFields()] replaced boolean return with true for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$getCourseEmailsFromCatme$0 → KILLED
2.2 Location : lambda$getCourseEmailsFromCatme$0 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_ignoresRosterEntriesMissingRequiredFields()] negated conditional → KILLED
|
| 330 |
|
1.1 Location : lambda$getCourseEmailsFromCatme$0 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_ignoresRosterEntriesMissingRequiredFields()] negated conditional → KILLED
|
| 331 |
|
1.1 Location : lambda$getCourseEmailsFromCatme$0 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_ignoresRosterEntriesMissingRequiredFields()] negated conditional → KILLED
|
| 334 |
|
1.1 Location : lambda$getCourseEmailsFromCatme$1 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_ignoresRosterEntriesMissingRequiredFields()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$getCourseEmailsFromCatme$1 → KILLED
|
| 336 |
|
1.1 Location : lambda$getCourseEmailsFromCatme$2 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_coversDateAndDuplicateEdgeCases()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$getCourseEmailsFromCatme$2 → KILLED
|
| 339 |
|
1.1 Location : getCourseEmailsFromCatme Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::getCourseEmailsFromCatme → KILLED
|
| 340 |
|
1.1 Location : lambda$getCourseEmailsFromCatme$3 Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::lambda$getCourseEmailsFromCatme$3 → KILLED
|
| 346 |
|
1.1 Location : extractName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] negated conditional → KILLED
|
| 352 |
|
1.1 Location : extractName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] negated conditional → KILLED
|
| 353 |
|
1.1 Location : extractName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::extractName → KILLED
|
| 358 |
|
1.1 Location : extractName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
|
| 359 |
|
1.1 Location : extractName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_coversDateAndDuplicateEdgeCases()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::extractName → KILLED
|
| 362 |
|
1.1 Location : extractName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] Replaced integer addition with subtraction → KILLED
|
| 363 |
|
1.1 Location : extractName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
|
| 364 |
|
1.1 Location : extractName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::extractName → KILLED
|
| 366 |
|
1.1 Location : extractName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_coversDateAndDuplicateEdgeCases()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::extractName → KILLED
|
| 370 |
|
1.1 Location : formatEmailResultLine Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] negated conditional → KILLED
|
| 374 |
|
1.1 Location : formatEmailResultLine Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] negated conditional → KILLED
|
| 375 |
|
1.1 Location : formatEmailResultLine Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_ignoresRosterEntriesMissingRequiredFields()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::formatEmailResultLine → KILLED
|
| 377 |
|
1.1 Location : formatEmailResultLine Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::formatEmailResultLine → KILLED
|
| 381 |
|
1.1 Location : toLookupKey Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_ignoresRosterEntriesMissingRequiredFields()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::toLookupKey → KILLED
|
| 385 |
|
1.1 Location : toLookupKey Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::toLookupKey → KILLED
|
| 389 |
|
1.1 Location : formatStudentName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_ignoresRosterEntriesMissingRequiredFields()] negated conditional → KILLED
|
| 390 |
|
1.1 Location : formatStudentName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_ignoresRosterEntriesMissingRequiredFields()] negated conditional → KILLED
|
| 391 |
|
1.1 Location : formatStudentName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_ignoresRosterEntriesMissingRequiredFields()] negated conditional → KILLED
|
| 392 |
|
1.1 Location : formatStudentName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_missingFirstOrLastName_producesNullSafeNameUpdates()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::formatStudentName → KILLED
|
| 394 |
|
1.1 Location : formatStudentName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_ignoresRosterEntriesMissingRequiredFields()] negated conditional → KILLED
|
| 395 |
|
1.1 Location : formatStudentName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeAudit_missingFirstOrLastName_producesNullSafeNameUpdates()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::formatStudentName → KILLED
|
| 397 |
|
1.1 Location : formatStudentName Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_ignoresRosterEntriesMissingRequiredFields()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::formatStudentName → KILLED
|
| 401 |
|
1.1 Location : normalizeSpaces Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] replaced return value with "" for edu/ucsb/cs156/frontiers/controllers/CATMEController::normalizeSpaces → KILLED
|
| 405 |
|
1.1 Location : findDateTokenStart Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
2.2 Location : findDateTokenStart Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_coversDateAndDuplicateEdgeCases()] changed conditional boundary → KILLED
3.3 Location : findDateTokenStart Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] Replaced integer addition with subtraction → KILLED
|
| 406 |
|
1.1 Location : findDateTokenStart Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] negated conditional → KILLED
|
| 407 |
|
1.1 Location : findDateTokenStart Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] replaced int return with 0 for edu/ucsb/cs156/frontiers/controllers/CATMEController::findDateTokenStart → KILLED
|
| 410 |
|
1.1 Location : findDateTokenStart Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] replaced int return with 0 for edu/ucsb/cs156/frontiers/controllers/CATMEController::findDateTokenStart → KILLED
|
| 414 |
|
1.1 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] negated conditional → KILLED
2.2 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
3.3 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] changed conditional boundary → KILLED
4.4 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] Replaced integer subtraction with addition → KILLED
|
| 415 |
|
1.1 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] replaced boolean return with true for edu/ucsb/cs156/frontiers/controllers/CATMEController::isDateToken → KILLED
|
| 418 |
|
1.1 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] Replaced integer addition with subtraction → KILLED
2.2 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
3.3 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] replaced boolean return with true for edu/ucsb/cs156/frontiers/controllers/CATMEController::isDateToken → KILLED
|
| 419 |
|
1.1 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_coversDateAndDuplicateEdgeCases()] Replaced integer addition with subtraction → KILLED
2.2 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
|
| 420 |
|
1.1 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] Replaced integer addition with subtraction → KILLED
2.2 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
|
| 421 |
|
1.1 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] Replaced integer addition with subtraction → KILLED
2.2 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_doesNotTreatNonDigitDateTokenAsDate()] negated conditional → KILLED
|
| 422 |
|
1.1 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] Replaced integer addition with subtraction → KILLED
2.2 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
|
| 423 |
|
1.1 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
2.2 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] Replaced integer addition with subtraction → KILLED
|
| 424 |
|
1.1 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
2.2 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] Replaced integer addition with subtraction → KILLED
|
| 425 |
|
1.1 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
2.2 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] Replaced integer addition with subtraction → KILLED
|
| 426 |
|
1.1 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
2.2 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] Replaced integer addition with subtraction → KILLED
|
| 427 |
|
1.1 Location : isDateToken Killed by : edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests.[engine:junit-jupiter]/[class:edu.ucsb.cs156.frontiers.controllers.CATMEControllerTests]/[method:catmeEmails_returnsMatchedEmailsAndNoEmailMessage()] negated conditional → KILLED
|