< Summary

Information
Class: CounterDrone.Core.Models.SimulationReport
Assembly: CounterDrone.Core
File(s): C:\Users\Tellme\apps\CounterDroneBackend\src\CounterDrone.Core\Models\SimulationReport.cs
Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 31
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_TaskId()100%11100%
get_TaskName()100%11100%
get_TaskNumber()100%11100%
get_CompletedAt()100%11100%
get_TargetCount()100%11100%
get_EquipmentCount()100%11100%
get_InterceptResult()100%11100%
get_Content()100%11100%

File(s)

C:\Users\Tellme\apps\CounterDroneBackend\src\CounterDrone.Core\Models\SimulationReport.cs

#LineLine coverage
 1using System;
 2using SQLite;
 3
 4namespace CounterDrone.Core.Models
 5{
 6    /// <summary>仿真报告</summary>
 7    [Table("SimulationReport")]
 8    public class SimulationReport
 9    {
 10        [PrimaryKey]
 3211        public string Id { get; set; } = Guid.NewGuid().ToString();
 12
 13        [Indexed]
 3214        public string TaskId { get; set; } = string.Empty;
 15
 3916        public string TaskName { get; set; } = string.Empty;
 17
 3418        public string TaskNumber { get; set; } = string.Empty;
 19
 3320        public string CompletedAt { get; set; } = string.Empty;
 21
 1922        public int TargetCount { get; set; }
 23
 1924        public int EquipmentCount { get; set; }
 25
 1926        public int InterceptResult { get; set; }
 27
 28        /// <summary>报告富文本 / 结构化 JSON</summary>
 3529        public string Content { get; set; } = string.Empty;
 30    }
 31}