< Summary

Information
Class: Services.ApiServices.InterpartsPriceApi.Models.InterpartsPriceSearchRequest
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/InterpartsPriceApi/Models/InterpartsPriceSearchRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 10
Coverable lines: 10
Total lines: 25
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_Code()100%210%
get_RegionId()100%210%
get_ProducerId()100%210%
get_Login()100%210%
get_Coef()100%210%
get_DestCurrencyId()100%210%
get_UseCrosses()100%210%
get_UseSets()100%210%
get_CalculateManagerPrice()100%210%
get_UseCrossesSimple()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/InterpartsPriceApi/Models/InterpartsPriceSearchRequest.cs

#LineLine coverage
 1namespace Services.ApiServices.InterpartsPriceApi.Models;
 2
 3public class InterpartsPriceSearchRequest
 4{
 05    public string? Code { get; set; } = string.Empty;
 6
 07    public int RegionId { get; set; } = 1;
 8
 09    public int ProducerId { get; set; } = 0;
 10
 011    public string? Login { get; set; } = "admin";
 12
 013    public double Coef { get; set; } = 1;
 14
 015    public int DestCurrencyId { get; set; } = 2;
 16
 017    public bool UseCrosses { get; set; } = false;
 18
 019    public bool UseSets { get; set; } = true;
 20
 021    public bool CalculateManagerPrice { get; set; } = true;
 22
 023    public bool UseCrossesSimple { get; set; } = false;
 24}
 25