< Summary

Class:DCL.ConfirmationPopup.ConfirmationPopupHUDViewModel
Assembly:ConfirmationPopup
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ConfirmationPopup/ConfirmationPopupHUDViewModel.cs
Covered lines:8
Uncovered lines:0
Coverable lines:8
Total lines:22
Line coverage:100% (8 of 8)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ConfirmationPopup/ConfirmationPopupHUDViewModel.cs

#LineLine coverage
 1namespace DCL.ConfirmationPopup
 2{
 3    public record ConfirmationPopupHUDViewModel
 4    {
 5        public readonly string Title;
 6        public readonly string Body;
 7        public readonly string CancelButton;
 8        public readonly string ConfirmButton;
 9
 610        public ConfirmationPopupHUDViewModel() : this("", "", "cancel", "confirm")
 11        {
 612        }
 13
 1114        public ConfirmationPopupHUDViewModel(string title, string body, string cancelButton, string confirmButton)
 15        {
 1116            Title = title;
 1117            Body = body;
 1118            CancelButton = cancelButton;
 1119            ConfirmButton = confirmButton;
 1120        }
 21    }
 22}