< Summary

Class:FixedWingThreat
Assembly:bamlab.micromissiles
File(s):/github/workspace/Assets/Scripts/Threats/FixedWingThreat.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:14
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:1
Method coverage:0% (0 of 1)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Awake()0%2100%

File(s)

/github/workspace/Assets/Scripts/Threats/FixedWingThreat.cs

#LineLine coverage
 1// Fixed wing threat.
 2//
 3// The fixed wing threat uses proportional navigation to follow its attack behavior.
 4public class FixedWingThreat : ThreatBase {
 5  // Default proportional navigation controller gain.
 6  private const float _proportionalNavigationGain = 50f;
 7
 08  protected override void Awake() {
 09    base.Awake();
 10
 011    Movement = new IdealMovement(this);
 012    Controller = new PnController(this, _proportionalNavigationGain);
 013  }
 14}

Methods/Properties

Awake()