< 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:23
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.Bots;
 2using DCL.Rendering;
 3
 4namespace DCL
 5{
 6    public static class PlatformContextFactory
 7    {
 8        public static PlatformContext CreateDefault()
 9        {
 66610            return new PlatformContext(
 11                memoryManager: new MemoryManager(),
 12                cullingController: CullingController.Create(),
 13                clipboard: Clipboard.Create(),
 14                physicsSyncController: new PhysicsSyncController(),
 15                parcelScenesCleaner: new ParcelScenesCleaner(),
 16                debugController: new DebugController(new BotsController()),
 17                webRequest: WebRequestController.Create(),
 18                serviceProviders: new ServiceProviders(),
 19                idleChecker: new IdleChecker(),
 20                avatarsLODController: new AvatarsLODController());
 21        }
 22    }
 23}

Methods/Properties

CreateDefault()