< Summary

Information
Class: Morpho25.Settings.Facades
Assembly: Morpho25
File(s): D:\a\Morpho\Morpho\project\Morpho\Morpho25\Settings\Facades.cs
Line coverage
92%
Covered lines: 12
Uncovered lines: 1
Coverable lines: 13
Total lines: 49
Line coverage: 92.3%
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_FacadeMode()100%1100%
.ctor()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\Facades.cs

#LineLine coverage
 1namespace Morpho25.Settings
 2{
 3    /// <summary>
 4    /// Facades class.
 5    /// </summary>
 6    public class Facades
 7    {
 8        /// <summary>
 9        /// FacadeMode for wind resistance model at facede.
 10        /// </summary>
 611        public FacadeMod FacadeMode { get; set; }
 12
 13        /// <summary>
 14        /// Create new Facade settings.
 15        /// </summary>
 16        /// <param name="facadeMode"> FacadeMode for
 17        /// wind resistance model at facede.</param>
 218        public Facades()
 219        {
 220            FacadeMode = FacadeMod.DIN6946;
 221        }
 22
 23        /// <summary>
 24        /// Title of the XML section
 25        /// </summary>
 126        public string Title => "Facades";
 27
 28        /// <summary>
 29        /// Values of the XML section
 30        /// </summary>
 131        public string[] Values => new[] {
 132            ((int) FacadeMode).ToString()
 133        };
 34
 35        /// <summary>
 36        /// Tags of the XML section
 37        /// </summary>
 138        public string[] Tags => new[] {
 139            "FacadeMode"
 140        };
 41
 42        /// <summary>
 43        /// String representation of the Facades settings.
 44        /// </summary>
 45        /// <returns>String representation.</returns>
 046        public override string ToString() => "Config::Facades";
 47    }
 48
 49}