< Summary

Class:TeleportController
Assembly:DCL.Runtime
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/TeleportController/TeleportController.cs
Covered lines:2
Uncovered lines:8
Coverable lines:10
Total lines:40
Line coverage:20% (2 of 10)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Teleport(...)0%2100%
JumpIn(...)0%2100%
GoToCrowd()0%2100%
GoToMagic()0%2100%
Dispose()0%110100%
Initialize()0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/TeleportController/TeleportController.cs

#LineLine coverage
 1using System;
 2using System.Collections;
 3using DCL;
 4using DCL.Interface;
 5using UnityEngine;
 6
 7public class TeleportController : ITeleportController
 8{
 9
 10    public void Teleport(int x, int y)
 11    {
 012        WebInterface.GoTo(x, y);
 013    }
 14
 15    public void JumpIn(int coordsX, int coordsY, string serverName, string layerName)
 16    {
 017        WebInterface.JumpIn(coordsX, coordsY, serverName, layerName);
 018    }
 19
 20    public void GoToCrowd()
 21    {
 022        WebInterface.GoToCrowd();
 023    }
 24
 25    public void GoToMagic()
 26    {
 027        WebInterface.GoToMagic();
 028    }
 29
 30    public void Dispose()
 31    {
 49332    }
 33
 34    public void Initialize()
 35    {
 36
 49337    }
 38
 39}
 40