| 35 | } |
| 36 | |
| 37 | Json Statistics::stat(String const& name, Json def) const { |
| 38 | if (m_stats.contains(name)) |
| 39 | return m_stats.get(name).value; |
| 40 | return def; |
| 41 | } |
| 42 | |
| 43 | Maybe<String> Statistics::statType(String const& name) const { |
| 44 | if (m_stats.contains(name)) |
no test coverage detected