< Summary

Information
Class: CounterDrone.Core.Models.Waypoint
Assembly: CounterDrone.Core
File(s): C:\Users\Tellme\apps\CounterDroneBackend\src\CounterDrone.Core\Models\Waypoint.cs
Line coverage
100%
Covered lines: 8
Uncovered lines: 0
Coverable lines: 8
Total lines: 27
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_OrderIndex()100%11100%
get_PosX()100%11100%
get_PosY()100%11100%
get_PosZ()100%11100%
get_Altitude()100%11100%
get_Speed()100%11100%

File(s)

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

#LineLine coverage
 1using System;
 2using SQLite;
 3
 4namespace CounterDrone.Core.Models
 5{
 6    /// <summary>航路点</summary>
 7    [Table("Waypoint")]
 8    public class Waypoint
 9    {
 10        [PrimaryKey]
 22511        public string Id { get; set; } = Guid.NewGuid().ToString();
 12
 13        [Indexed]
 22514        public string TaskId { get; set; } = string.Empty;
 15
 16        [NotNull]
 10917        public int OrderIndex { get; set; }
 18
 574219        public double PosX { get; set; }
 574120        public double PosY { get; set; }
 574121        public double PosZ { get; set; }
 22
 12923        public double Altitude { get; set; }
 24
 14225        public double Speed { get; set; }
 26    }
 27}