< Summary

Class:DCL.Social.Passports.PassportPlayerPreviewModel
Assembly:PassportHUD
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/Passport/Passport/PlayerPreview/PassportPlayerPreviewModel.cs
Covered lines:2
Uncovered lines:3
Coverable lines:5
Total lines:16
Line coverage:40% (2 of 5)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PassportPlayerPreviewModel()0%110100%
PassportPlayerPreviewModel(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/Passport/Passport/PlayerPreview/PassportPlayerPreviewModel.cs

#LineLine coverage
 1namespace DCL.Social.Passports
 2{
 3    public record PassportPlayerPreviewModel
 4    {
 5        public readonly bool TutorialEnabled;
 6
 27        public PassportPlayerPreviewModel()
 8        {
 29        }
 10
 011        public PassportPlayerPreviewModel(bool tutorialEnabled)
 12        {
 013            this.TutorialEnabled = tutorialEnabled;
 014        }
 15    }
 16}