< Summary

Class:DCL.Helpers.PositionUtils
Assembly:PositionUtils
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Helpers/Utils/PositionUtils/PositionUtils.cs
Covered lines:2
Uncovered lines:0
Coverable lines:2
Total lines:11
Line coverage:100% (2 of 2)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Helpers/Utils/PositionUtils/PositionUtils.cs

#LineLine coverage
 1using UnityEngine;
 2
 3namespace DCL.Helpers
 4{
 5    public class PositionUtils
 6    {
 56097        public static Vector3 UnityToWorldPosition(Vector3 pos) { return pos + CommonScriptableObjects.worldOffset; }
 8
 65199        public static Vector3 WorldToUnityPosition(Vector3 pos) { return pos - CommonScriptableObjects.worldOffset; }
 10    }
 11}