< Summary

Class:LaunchPlannerBase
Assembly:bamlab.micromissiles
File(s):/github/workspace/Assets/Scripts/Algorithms/Planning/LaunchPlannerBase.cs
Covered lines:6
Uncovered lines:0
Coverable lines:6
Total lines:14
Line coverage:100% (6 of 6)
Covered branches:0
Total branches:0
Covered methods:5
Total methods:5
Method coverage:100% (5 of 5)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
LaunchPlannerBase(...)0%110100%

File(s)

/github/workspace/Assets/Scripts/Algorithms/Planning/LaunchPlannerBase.cs

#LineLine coverage
 1// Base implementation of a launch planner.
 2public abstract class LaunchPlannerBase : ILaunchPlanner {
 143  public ILaunchAnglePlanner LaunchAnglePlanner { get; set; }
 144  public IPredictor Predictor { get; set; }
 5
 286  public LaunchPlannerBase(ILaunchAnglePlanner launchAnglePlanner, IPredictor predictor) {
 147    LaunchAnglePlanner = launchAnglePlanner;
 148    Predictor = predictor;
 149  }
 10
 11  // Plan the launch by finding the convergence point between the launch angle planner and the
 12  // predictor.
 13  public abstract LaunchPlan Plan();
 14}