< Summary

Information
Class: MRA.Infrastructure.Database.Documents.Firestore.DrawingFirestoreDocument
Assembly: MRA.Infrastructure
File(s): D:\a\MiguelRomerART\MiguelRomerART\MRA.Infrastructure\Database\Documents\Firestore\DrawingFirestoreDocument.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 32
Coverable lines: 32
Total lines: 105
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%210%
get_path()100%210%
get_path_thumbnail()100%210%
get_type()100%210%
get_visible()100%210%
get_name()100%210%
get_model_name()100%210%
get_title()100%210%
get_date()100%210%
get_drawingAt()100%210%
get_time()100%210%
get_product_type()100%210%
get_product_name()100%210%
get_list_comments()100%210%
get_list_comments_style()100%210%
get_list_comments_pros()100%210%
get_list_comments_cons()100%210%
get_views()100%210%
get_filter()100%210%
get_likes()100%210%
get_favorite()100%210%
get_reference_url()100%210%
get_spotify_url()100%210%
get_twitter_url()100%210%
get_instagram_url()100%210%
get_software()100%210%
get_paper()100%210%
get_tags()100%210%
get_score_critic()100%210%
get_score_popular()100%210%
get_votes_popular()100%210%
GetId()100%210%

File(s)

D:\a\MiguelRomerART\MiguelRomerART\MRA.Infrastructure\Database\Documents\Firestore\DrawingFirestoreDocument.cs

#LineLine coverage
 1using Google.Cloud.Firestore;
 2using MRA.Infrastructure.Database.Documents.Interfaces;
 3using Newtonsoft.Json;
 4
 5namespace MRA.Infrastructure.Database.Documents.Firestore;
 6
 7[FirestoreData]
 8public class DrawingFirestoreDocument : IDrawingDocument
 9{
 10    [FirestoreDocumentId]
 011    public string Id { get; set; }
 12
 13    [FirestoreProperty]
 014    public string path { get; set; }
 15
 16    [FirestoreProperty]
 017    public string path_thumbnail { get; set; }
 18
 19    [FirestoreProperty]
 020    public int type { get; set; }
 21
 22    [FirestoreProperty]
 023    public bool? visible { get; set; }
 24
 25    [FirestoreProperty]
 026    public string name { get; set; }
 27
 28    [FirestoreProperty]
 029    public string model_name { get; set; }
 30
 31    [FirestoreProperty]
 032    public string title { get; set; }
 33
 34    [FirestoreProperty]
 035    public string date { get; set; }
 36
 37    [FirestoreProperty]
 038    public DateTime drawingAt { get; set; }
 39
 40    [FirestoreProperty]
 041    public int? time { get; set; }
 42
 43    [FirestoreProperty]
 044    public int product_type { get; set; }
 45
 46    [FirestoreProperty]
 047    public string product_name { get; set; }
 48
 49    [FirestoreProperty]
 050    public IEnumerable<string> list_comments { get; set; }
 51
 52    [FirestoreProperty]
 053    public IEnumerable<string> list_comments_style { get; set; }
 54
 55    [FirestoreProperty]
 056    public IEnumerable<string> list_comments_pros { get; set; }
 57
 58    [FirestoreProperty]
 059    public IEnumerable<string> list_comments_cons { get; set; }
 60
 61
 62    [FirestoreProperty]
 063    public long views { get; set; }
 64
 65    [FirestoreProperty]
 066    public int filter { get; set; }
 67
 68    [FirestoreProperty]
 069    public long likes { get; set; }
 70
 71    [FirestoreProperty]
 072    public bool favorite { get; set; }
 73
 74    [FirestoreProperty]
 075    public string reference_url { get; set; }
 76
 77    [FirestoreProperty]
 078    public string spotify_url { get; set; }
 79
 80    [FirestoreProperty]
 081    public string twitter_url { get; set; }
 82
 83    [FirestoreProperty]
 084    public string instagram_url { get; set; }
 85
 86    [FirestoreProperty]
 087    public int software { get; set; }
 88
 89    [FirestoreProperty]
 090    public int paper { get; set; }
 91
 92    [FirestoreProperty]
 093    public IEnumerable<string>? tags { get; set; }
 94
 95    [FirestoreProperty]
 096    public int score_critic { get; set; }
 97
 98    [FirestoreProperty]
 099    public double score_popular { get; set; }
 100
 101    [FirestoreProperty]
 0102    public int votes_popular { get; set; }
 103
 0104    public string GetId() => Id;
 105}