< Summary

Class:Vector3NullableVariable
Assembly:ScriptableObjects
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/ScriptableObject/Variables/Vector3NullableVariable.cs
Covered lines:1
Uncovered lines:1
Coverable lines:2
Total lines:9
Line coverage:50% (1 of 2)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
HasValue()0%2100%
Equals(...)0%330100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/ScriptableObject/Variables/Vector3NullableVariable.cs

#LineLine coverage
 1using UnityEngine;
 2
 3[CreateAssetMenu(fileName = "Vector3NullableVariable", menuName = "Variables/Vector3NullableVariable")]
 4public class Vector3NullableVariable : BaseVariableAsset<Vector3?>
 5{
 06    public bool HasValue() { return value.HasValue; }
 7
 103828    public override bool Equals(Vector3? other) { return value == other; }
 9}