github
1482 of 4260 new or added lines in 188 files covered. (34.79%)
3216 existing lines in 139 files now uncovered.2346 of 8486 relevant lines covered (27.65%)
3.09 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 |
} |