github
972 of 4221 new or added lines in 187 files covered. (23.03%)
1325 existing lines in 58 files now uncovered.3453 of 8447 relevant lines covered (40.88%)
3.93 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 |
} |