[source,swift]
----
func getReadableStatus(job: Job) -> String {
  return job.isRunning ? "Running" : job.hasErrors ? "Failed" : "Succeeded";  // Noncompliant
}
----
