< Summary

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

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Environment/Factories/PlatformContextFactory/PlatformContextFactory.cs

#LineLine coverage
 1using DCL.Rendering;
 2
 3namespace DCL
 4{
 5    public static class PlatformContextFactory
 6    {
 7        public static PlatformContext CreateDefault()
 8        {
 6669            return new PlatformContext(
 10                memoryManager: new MemoryManager(),
 11                cullingController: CullingController.Create(),
 12                clipboard: Clipboard.Create(),
 13                physicsSyncController: new PhysicsSyncController(),
 14                parcelScenesCleaner: new ParcelScenesCleaner(),
 15                webRequest: WebRequestController.Create(),
 16                serviceProviders: new ServiceProviders(),
 17                idleChecker: new IdleChecker(),
 18                avatarsLODController: new AvatarsLODController());
 19        }
 20    }
 21}

Methods/Properties

CreateDefault()