All files

src/stdlib/option.panack

Green: covered; red: known zero; amber: unavailable. Blank lines are outside the executable-start-line denominator.

    1 pure option_value_or[T](value: Option[T], fallback: T): T {
    2   match value {
    3     Some(item) => item,
    4     None() => fallback
    5   }
    6 }
    7 

Functions

[
  {
    "id": "declaration/0",
    "name": "option_value_or",
    "line": 1,
    "state": "covered",
    "entries": "3"
  }
]

Source branch outcomes

[
  {
    "id": "declaration/0/tail/arm/0",
    "outcome": "Some",
    "line": 3,
    "state": "covered",
    "hits": "2"
  },
  {
    "id": "declaration/0/tail/arm/1",
    "outcome": "None",
    "line": 4,
    "state": "covered",
    "hits": "1"
  }
]

Reviewed declaration exclusions

[]