< Summary

Class:DCL.FatalErrorReporter.DefaultFatalErrorReporter
Assembly:FatalErrorReporter
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/FatalErrorReporter/DefaultFatalErrorReporter.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:19
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
DefaultFatalErrorReporter(...)0%2100%
Report(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/FatalErrorReporter/DefaultFatalErrorReporter.cs

#LineLine coverage
 1using System;
 2
 3namespace DCL.FatalErrorReporter
 4{
 5    public class DefaultFatalErrorReporter : IFatalErrorReporter
 6    {
 7        private readonly DataStore dataStore;
 8
 09        public DefaultFatalErrorReporter(DataStore dataStore)
 10        {
 011            this.dataStore = dataStore;
 012        }
 13
 14        public void Report(Exception exception)
 15        {
 016            dataStore.HUDs.loadingHUD.fatalError.Set(exception);
 017        }
 18    }
 19}