github
1067 of 3351 new or added lines in 179 files covered. (31.84%)
1051 existing lines in 48 files now uncovered.3857 of 7276 relevant lines covered (53.01%)
6.15 hits per line
1 |
namespace Presentation.PresentationLogic.Topic;
|
|
2 |
|
|
3 |
public class TopicViewModel : ITopicViewModel |
|
4 |
{ |
|
UNCOV
5
|
public TopicViewModel()
|
× |
UNCOV
6
|
{ |
× |
UNCOV
7
|
Id = Guid.Empty; |
× |
NEW
|
UnsavedChanges = false;
|
× |
UNCOV
9
|
Name = string.Empty;
|
× |
UNCOV
10
|
} |
× |
11 |
|
|
NEW
|
public TopicViewModel(string name, bool unsavedChanges = false) |
× |
UNCOV
13
|
{ |
× |
UNCOV
14
|
Id = Guid.NewGuid(); |
× |
NEW
|
UnsavedChanges = unsavedChanges; |
× |
UNCOV
16
|
Name = name; |
× |
UNCOV
17
|
} |
× |
18 |
|
|
19 |
public string Name { get; set; } |
|
20 |
public bool UnsavedChanges { get; set; } |
|
21 |
public Guid Id { get; private set; } |
|
22 |
} |