< Summary

Information
Class: Services.ApiServices.OzonApi.Filters.Rating
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/OzonApi/Filters/Rating.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
Total lines: 23
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_CurrentValue()100%210%
get_Name()100%210%
get_PastValue()100%210%
get_RatingName()100%210%
get_Status()100%210%
get_ValueType()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/OzonApi/Filters/Rating.cs

#LineLine coverage
 1using Newtonsoft.Json;
 2
 3namespace Services.ApiServices.OzonApi.Filters;
 4
 5public class Rating
 6{
 7    [JsonProperty("current_value")]
 08    public RatingValue CurrentValue { get; set; } = null!;
 9    [JsonProperty("name")]
 010    public string? Name { get; set; }
 11
 12    [JsonProperty("past_value")]
 013    public RatingValue PastValue { get; set; } = null!;
 14    [JsonProperty("rating")]
 015    public string? RatingName { get; set; }
 16
 17    [JsonProperty("status")]
 018    public string? Status { get; set; }
 19
 20    [JsonProperty("value_type")]
 021    public string? ValueType { get; set; }
 22}
 23