< Summary

Class:QuestTask
Assembly:QuestsModels
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Models/Quests/QuestTask.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:37
Line coverage:100% (1 of 1)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
QuestTask()0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Models/Quests/QuestTask.cs

#LineLine coverage
 1using System;
 2using UnityEngine;
 3
 4[System.Serializable]
 5public class QuestTask
 6{
 7    public string id;
 8    public string type;
 9    public string payload;
 10    public string name;
 11    public string status;
 12    public string coordinates;
 13    public float progress;
 7914    public DateTime completionTime = DateTime.Now;
 15
 16    [NonSerialized]
 17    public bool justProgressed = false;
 18    [NonSerialized]
 19    public bool justUnlocked = false;
 20    [NonSerialized]
 21    public float oldProgress = 0;
 22}
 23
 24[System.Serializable]
 25public class TaskPayload_Single
 26{
 27    public bool isDone;
 28
 29}
 30
 31[System.Serializable]
 32public class TaskPayload_Numeric
 33{
 34    public int start;
 35    public int end;
 36    public int current;
 37}

Methods/Properties

QuestTask()