< Summary

Information
Class: CounterDrone.Core.Models.SimFrameRecord
Assembly: CounterDrone.Core
File(s): C:\Users\Tellme\apps\CounterDroneBackend\src\CounterDrone.Core\Models\SimFrameRecord.cs
Line coverage
100%
Covered lines: 13
Uncovered lines: 0
Coverable lines: 13
Total lines: 34
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_FrameIndex()100%11100%
get_Timestamp()100%11100%
get_EntityId()100%11100%
get_EntityType()100%11100%
get_PosX()100%11100%
get_PosY()100%11100%
get_PosZ()100%11100%
get_RotX()100%11100%
get_RotY()100%11100%
get_RotZ()100%11100%
get_StateData()100%11100%

File(s)

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

#LineLine coverage
 1using SQLite;
 2
 3namespace CounterDrone.Core.Models
 4{
 5    /// <summary>逐帧位置记录(回放用)— 存任务分库</summary>
 6    [Table("SimFrameRecord")]
 7    public class SimFrameRecord
 8    {
 9        [PrimaryKey, AutoIncrement]
 590810        public int Id { get; set; }
 11
 12        [Indexed]
 1772413        public string TaskId { get; set; } = string.Empty;
 14
 1181615        public int FrameIndex { get; set; }
 16
 1181617        public double Timestamp { get; set; }
 18
 1772419        public string EntityId { get; set; } = string.Empty;
 20
 1181621        public int EntityType { get; set; }
 22
 1181623        public double PosX { get; set; }
 1181624        public double PosY { get; set; }
 1181625        public double PosZ { get; set; }
 26
 1181627        public double RotX { get; set; }
 1181628        public double RotY { get; set; }
 1181629        public double RotZ { get; set; }
 30
 31        /// <summary>JSON:damageStage, cloudRadius, cloudOpacity 等</summary>
 1772432        public string StateData { get; set; } = "{}";
 33    }
 34}