Branch Coverage

src/panda/optional.h
Criterion Covered Total %
branch 5 6 83.3


line true false branch
18 12 0 optional(const T& val) : nullable_val(new (storage) T(val)) {}
38 12 24 if (nullable_val)
48 12 20 T value_or(const T& default_val) const { return nullable_val ? *nullable_val : default_val; }