< Summary

Class:SmartItemActionPaddingDeleter
Assembly:BuilderInWorldEntityInformation
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/BuilderMode/EntityInformation/SmartItems/Parameters/Actions/SmartItemActionPaddingDeleter.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:18
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Start()0%6200%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/BuilderMode/EntityInformation/SmartItems/Parameters/Actions/SmartItemActionPaddingDeleter.cs

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4using UnityEngine.UI;
 5
 6public class SmartItemActionPaddingDeleter : MonoBehaviour
 7{
 8    public VerticalLayoutGroup verticalLayoutGroup;
 9
 10    void Start()
 11    {
 012        if (GetComponentsInParent<SmartItemListView>().Length > 1)
 13        {
 014            verticalLayoutGroup.padding.left = 0;
 015            verticalLayoutGroup.padding.right = 0;
 16        }
 017    }
 18}

Methods/Properties

Start()