< Summary

Information
Class: OzonDomains.Models.FileUploadRecord
Assembly: OzonDomains
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/FileUploadRecord.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 24
Line coverage: 100%
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%11100%
get_FileName()100%11100%
get_FolderName()100%11100%
get_Date()100%11100%
get_Result()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/FileUploadRecord.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace OzonDomains.Models;
 5
 6public class FileUploadRecord
 7{
 8    [Key]
 69    public int Id { get; set; }
 10
 11    [Required]
 12    [StringLength(255)]
 413    public string FileName { get; set; } = null!;
 14
 15    [Required]
 16    [StringLength(255)]
 417    public string FolderName { get; set; } = null!;
 18
 19    [Required]
 420    public DateTime Date { get; set; }
 21
 22    [Column(TypeName = "longtext")]
 523    public string Result { get; set; } = string.Empty;
 24}