< Summary

Information
Class: SwitchBlade.Core.PluginInfo
Assembly: SwitchBlade
File(s): D:\a\switchblade\switchblade\Core\PluginInfo.cs
Tag: 203_23722840422
Line coverage
100%
Covered lines: 8
Uncovered lines: 0
Coverable lines: 8
Total lines: 20
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 Crap Score Cyclomatic complexity Line coverage
get_Name()100%11100%
get_Version()100%11100%
get_AssemblyName()100%11100%
get_TypeName()100%11100%
get_IsInternal()100%11100%
get_HasSettings()100%11100%
get_IsEnabled()100%11100%
get_Provider()100%11100%

File(s)

D:\a\switchblade\switchblade\Core\PluginInfo.cs

#LineLine coverage
 1using SwitchBlade.Contracts;
 2
 3namespace SwitchBlade.Core
 4{
 5    public class PluginInfo
 6    {
 447        public string Name { get; set; } = string.Empty;
 278        public string Version { get; set; } = string.Empty;
 279        public string AssemblyName { get; set; } = string.Empty;
 2710        public string TypeName { get; set; } = string.Empty;
 1511        public bool IsInternal { get; set; }
 812        public bool HasSettings { get; set; }
 3213        public bool IsEnabled { get; set; } = true;
 14
 15        /// <summary>
 16        /// Reference to the actual provider instance for opening settings.
 17        /// </summary>
 818        public IWindowProvider? Provider { get; set; }
 19    }
 20}