< Summary

Information
Class: Sample.PartialClass
Assembly: Sample
File(s): File 1: C:\temp\PartialClass.cs
File 2: C:\temp\PartialClass2.cs
Line coverage
54%
Covered lines: 12
Uncovered lines: 10
Coverable lines: 22
Total lines: 53
Line coverage: 54.5%
Branch coverage
50%
Covered branches: 1
Total branches: 2
Branch coverage: 50%
Method coverage
50%
Covered methods: 3
Total methods: 6
Method coverage: 50%

Coverage history

0255075100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
File 1: ExecutedMethod_1()100%110100%
File 1: UnExecutedMethod_1()0%2100%
File 2: ExecutedMethod_2()100%110100%
File 2: UnExecutedMethod_2()0%2100%

File(s)

C:\temp\PartialClass.cs

#LineLine coverage
 1using System;
 2
 3namespace Test
 4{
 5    partial class PartialClass
 6    {
 7        public void ExecutedMethod_1()
 18        {
 19            Console.WriteLine("Test");
 110        }
 11
 12        public void UnExecutedMethod_1()
 013        {
 014            Console.WriteLine("Test");
 015        }
 16
 17        private int someProperty;
 18
 19        public int SomeProperty
 20        {
 021            get { return this.someProperty; }
 22
 23            set
 124            {
 125                if (value < 0)
 126                {
 127                    this.someProperty = 0;
 128                }
 29                else
 030                {
 031                    this.someProperty = value;
 032                }
 133            }
 34        }
 35    }
 36}

C:\temp\PartialClass2.cs

#LineLine coverage
 1using System;
 2
 3namespace Test
 4{
 5    partial class PartialClass
 6    {
 7        public void ExecutedMethod_2()
 18        {
 19            Console.WriteLine("Test");
 110        }
 11
 12        public void UnExecutedMethod_2()
 013        {
 014            Console.WriteLine("Test");
 015        }
 16    }
 17}