< Summary

Class:GenericAnalytics
Assembly:GenericAnalytics
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Analytics/GenericAnalytics/GenericAnalytics.cs
Covered lines:4
Uncovered lines:1
Coverable lines:5
Total lines:15
Line coverage:80% (4 of 5)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
SendAnalytic(...)0%110100%
FillGenericData(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Analytics/GenericAnalytics/GenericAnalytics.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3
 4public static class GenericAnalytics
 5{
 6    public static void SendAnalytic(string eventName, Dictionary<string, string> data)
 7    {
 78        FillGenericData(data);
 9
 710        IAnalytics analytics = DCL.Environment.i.platform.serviceProviders.analytics;
 711        analytics.SendAnalytic(eventName, data);
 712    }
 13
 014    internal static void FillGenericData(Dictionary<string, string> data) { }
 15}