< Summary

Class:DCL.Builder.APIResponse
Assembly:BIWAPIResponse
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/BuilderInWorld/Scripts/BuiilderAPI/APIResponse/APIResponse.cs
Covered lines:0
Uncovered lines:1
Coverable lines:1
Total lines:19
Line coverage:0% (0 of 1)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/BuilderInWorld/Scripts/BuiilderAPI/APIResponse/APIResponse.cs

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using Newtonsoft.Json.Linq;
 4using UnityEngine;
 5
 6namespace DCL.Builder
 7{
 8    public class APIResponse
 9    {
 10        public bool ok;
 11        public string error;
 12        public object data;
 13
 14        public string GetArrayJsonString()
 15        {
 016            return ((JObject) data)["items"].ToString();
 17        }
 18    }
 19}

Methods/Properties

GetArrayJsonString()