in hq/app/logic/CredentialsReportDisplay.scala [111:116]
6 lines of code
5 McCabe index (conditional complexity)
def toDayString(day: Option[Long]): String = day match {
case Some(0) => "Today"
case Some(1) => "Yesterday"
case Some(d) => s"${d.toString} days ago"
case _ => ""
}