< Summary

Class:DCL.PerformanceMetricsDataVariable
Assembly:PerformanceController
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/Debugging/Performance/PerformanceMetricsDataVariable.cs
Covered lines:0
Uncovered lines:2
Coverable lines:2
Total lines:22
Line coverage:0% (0 of 2)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/Debugging/Performance/PerformanceMetricsDataVariable.cs

#LineLine coverage
 1using System;
 2using UnityEngine;
 3
 4namespace DCL
 5{
 6    [Serializable]
 7    public class PerformanceMetricsData
 8    {
 9        public float fpsCount;
 10        public int hiccupCount;
 11        public float hiccupSum;
 12        public float totalSeconds;
 13    }
 14
 15    [CreateAssetMenu(fileName = "PerformanceMetricsDataVariable", menuName = "Variables/PerformanceMetricsDataVariable")
 16    public class PerformanceMetricsDataVariable : BaseVariableAsset<PerformanceMetricsData>
 17    {
 018        public override bool Equals(PerformanceMetricsData other) { return other == value; }
 19
 020        public void Set(float fpsCount, int hiccuptCount, float hiccupSum, float totalSeconds) { Set(new PerformanceMetr
 21    }
 22}