< Summary

Class:Utilities
Assembly:bamlab.micromissiles
File(s):/github/workspace/Assets/Scripts/Utilities.cs
Covered lines:3
Uncovered lines:0
Coverable lines:3
Total lines:9
Line coverage:100% (3 of 3)
Covered branches:0
Total branches:0
Covered methods:1
Total methods:1
Method coverage:100% (1 of 1)

Metrics

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

File(s)

/github/workspace/Assets/Scripts/Utilities.cs

#LineLine coverage
 1using UnityEngine;
 2
 3public static class Utilities {
 304  public static Vector3 GenerateRandomNoise(Vector3 standardDeviation) {
 305    return new Vector3(Random.Range(-standardDeviation.x, standardDeviation.x),
 6                       Random.Range(-standardDeviation.y, standardDeviation.y),
 7                       Random.Range(-standardDeviation.z, standardDeviation.z));
 308  }
 9}