< Summary

Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 61
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_R0()100%1100%
get_R1()100%1100%
get_G0()100%1100%
get_G1()100%1100%
get_B0()100%1100%
get_B1()100%1100%
get_A0()100%1100%
get_A1()100%1100%
get_Volume()100%1100%

File(s)

https://raw.githubusercontent.com/JeremyAnsel/JeremyAnsel.ColorQuant/6d66b33d08452017f55aed57c4f1133aa87f71ea/JeremyAnsel.ColorQuant/JeremyAnsel.ColorQuant/Box.cs

#LineLine coverage
 1// <copyright file="Box.cs" company="Jérémy Ansel">
 2// Copyright (c) 2014-2019 Jérémy Ansel
 3// </copyright>
 4// <license>
 5// Licensed under the MIT license. See LICENSE.txt
 6// </license>
 7
 8namespace JeremyAnsel.ColorQuant
 9{
 10    /// <summary>
 11    /// A box color cube.
 12    /// </summary>
 13    internal sealed class Box
 14    {
 15        /// <summary>
 16        /// Gets or sets the min red value, exclusive.
 17        /// </summary>
 696512418        public int R0 { get; set; }
 19
 20        /// <summary>
 21        /// Gets or sets the max red value, inclusive.
 22        /// </summary>
 696416023        public int R1 { get; set; }
 24
 25        /// <summary>
 26        /// Gets or sets the min green value, exclusive.
 27        /// </summary>
 620602628        public int G0 { get; set; }
 29
 30        /// <summary>
 31        /// Gets or sets the max green value, inclusive.
 32        /// </summary>
 1151735833        public int G1 { get; set; }
 34
 35        /// <summary>
 36        /// Gets or sets the min blue value, exclusive.
 37        /// </summary>
 1144212838        public int B0 { get; set; }
 39
 40        /// <summary>
 41        /// Gets or sets the max blue value, inclusive.
 42        /// </summary>
 5013661643        public int B1 { get; set; }
 44
 45        /// <summary>
 46        /// Gets or sets the min alpha value, exclusive.
 47        /// </summary>
 1747805848        public int A0 { get; set; }
 49
 50        /// <summary>
 51        /// Gets or sets the max alpha value, inclusive.
 52        /// </summary>
 8452384653        public int A1 { get; set; }
 54
 55        /// <summary>
 56        /// Gets or sets the volume.
 57        /// </summary>
 1028058        public int Volume { get; set; }
 59    }
 60}
 61