< Summary

Class:DCL.Interface.SceneMetricsModelExtensions
Assembly:WebInterface
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WebInterface/SceneMetricsModelExtensions.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:18
Line coverage:100% (1 of 1)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WebInterface/SceneMetricsModelExtensions.cs

#LineLine coverage
 1namespace DCL.Interface
 2{
 3    public static class SceneMetricsModelExtensions
 4    {
 5        public static WebInterface.MetricsModel ToMetricsModel(this SceneMetricsModel model)
 6        {
 3587            return new WebInterface.MetricsModel()
 8            {
 9                meshes = model.meshes,
 10                bodies = model.bodies,
 11                materials = model.materials,
 12                textures = model.textures,
 13                triangles = model.triangles,
 14                entities = model.entities
 15            };
 16        }
 17    }
 18}