< Summary

Class:VideoProviderFactory
Assembly:VideoComponents
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Desktop/Scripts/MainScripts/DCL/Components/Video/VideoProviderFactory.cs
Covered lines:0
Uncovered lines:1
Coverable lines:1
Total lines:17
Line coverage:0% (0 of 1)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:1
Method coverage:0% (0 of 1)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
CreateVideoProvider()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Desktop/Scripts/MainScripts/DCL/Components/Video/VideoProviderFactory.cs

#LineLine coverage
 1using DCL;
 2using DCL.Components.Video.Plugin;
 3using UnityEngine;
 4
 5public class VideoProviderFactory
 6{
 7    public static IVideoPluginWrapper CreateVideoProvider()
 8    {
 9#if AV_PRO_PRESENT
 10        if (DataStore.i.featureFlags.flags.Get().IsFeatureEnabled("use_avpro_player") && Application.platform != Runtime
 11        {
 12            return new VideoPluginWrapper_AVPro();
 13        }
 14#endif
 015        return new VideoPluginWrapper_Native();
 16    }
 17}

Methods/Properties

CreateVideoProvider()