< Summary

Information
Class: Morpho25.Settings.ParallelCPU
Assembly: Morpho25
File(s): D:\a\Morpho\Morpho\project\Morpho\Morpho25\Settings\ParallelCPU.cs
Line coverage
88%
Covered lines: 8
Uncovered lines: 1
Coverable lines: 9
Total lines: 39
Line coverage: 88.8%
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_CPUDemand()100%1100%
get_Title()100%1100%
get_Values()100%1100%
get_Tags()100%1100%
ToString()100%10%

File(s)

D:\a\Morpho\Morpho\project\Morpho\Morpho25\Settings\ParallelCPU.cs

#LineLine coverage
 1namespace Morpho25.Settings
 2{
 3    /// <summary>
 4    /// Parallel CPU class.
 5    /// </summary>
 6    public class ParallelCPU
 7    {
 8        /// <summary>
 9        /// Run parallel calculation.
 10        /// </summary>
 211        public string CPUDemand => "ALL";
 12
 13        /// <summary>
 14        /// Title of the XML section
 15        /// </summary>
 116        public string Title => "Parallel";
 17
 18        /// <summary>
 19        /// Values of the XML section
 20        /// </summary>
 121        public string[] Values => new[] {
 122            CPUDemand
 123        };
 24
 25        /// <summary>
 26        /// Tags of the XML section
 27        /// </summary>
 128        public string[] Tags => new[] {
 129            "CPUdemand",
 130        };
 31
 32        /// <summary>
 33        /// String representation of ParallelCPU.
 34        /// </summary>
 35        /// <returns>String representation.</returns>
 036        public override string ToString() => "Config::Parallel";
 37    }
 38
 39}