Click here to Skip to main content
15,891,253 members
Articles / Programming Languages / C#

Code Coverage for Regression Tests (Manual/Auto)

Rate me:
Please Sign up or sign in to vote.
4.44/5 (8 votes)
16 May 2013CPOL5 min read 36.5K   564   17  
How to use code coverage during regression tests (auto/manual)
In this article, you will learn how to use code coverage to instrument DLLs or EXEs during regression tests (manual/auto) and generate reports based on that.
<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="myxml.xsl"?>
<CoverageDSPriv>
  <Module>
    <ModuleName>WindowsFormsApplication1.exe</ModuleName>
    <ImageSize>65536</ImageSize>
    <ImageLinkTime>0</ImageLinkTime>
    <LinesCovered>58</LinesCovered>
    <LinesPartiallyCovered>1</LinesPartiallyCovered>
    <LinesNotCovered>10</LinesNotCovered>
    <BlocksCovered>75</BlocksCovered>
    <BlocksNotCovered>13</BlocksNotCovered>
    <NamespaceTable>
      <BlocksCovered>75</BlocksCovered>
      <BlocksNotCovered>8</BlocksNotCovered>
      <LinesCovered>58</LinesCovered>
      <LinesNotCovered>6</LinesNotCovered>
      <LinesPartiallyCovered>1</LinesPartiallyCovered>
      <ModuleName>WindowsFormsApplication1.exe</ModuleName>
      <NamespaceKeyName>WindowsFormsApplication1.exeWindowsFormsApplication1</NamespaceKeyName>
      <NamespaceName>WindowsFormsApplication1</NamespaceName>
      <Class>
        <ClassKeyName>WindowsFormsApplication1.exeWindowsFormsApplication1Program</ClassKeyName>
        <ClassName>Program</ClassName>
        <LinesCovered>5</LinesCovered>
        <LinesNotCovered>0</LinesNotCovered>
        <LinesPartiallyCovered>0</LinesPartiallyCovered>
        <BlocksCovered>5</BlocksCovered>
        <BlocksNotCovered>0</BlocksNotCovered>
        <NamespaceKeyName>WindowsFormsApplication1.exeWindowsFormsApplication1</NamespaceKeyName>
        <Method>
          <MethodKeyName>WindowsFormsApplication1.exe!1</MethodKeyName>
          <MethodName>Main()</MethodName>
          <MethodFullName>Main()</MethodFullName>
          <LinesCovered>5</LinesCovered>
          <LinesPartiallyCovered>0</LinesPartiallyCovered>
          <LinesNotCovered>0</LinesNotCovered>
          <BlocksCovered>5</BlocksCovered>
          <BlocksNotCovered>0</BlocksNotCovered>
          <Lines>
            <LnStart>15</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>15</LnEnd>
            <ColEnd>10</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>1</SourceFileID>
            <LineID>0</LineID>
          </Lines>
          <Lines>
            <LnStart>16</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>16</LnEnd>
            <ColEnd>46</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>1</SourceFileID>
            <LineID>1</LineID>
          </Lines>
          <Lines>
            <LnStart>17</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>17</LnEnd>
            <ColEnd>66</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>1</SourceFileID>
            <LineID>2</LineID>
          </Lines>
          <Lines>
            <LnStart>18</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>18</LnEnd>
            <ColEnd>42</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>1</SourceFileID>
            <LineID>3</LineID>
          </Lines>
          <Lines>
            <LnStart>19</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>19</LnEnd>
            <ColEnd>10</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>1</SourceFileID>
            <LineID>4</LineID>
          </Lines>
        </Method>
      </Class>
      <Class>
        <ClassKeyName>WindowsFormsApplication1.exeWindowsFormsApplication1Form1</ClassKeyName>
        <ClassName>Form1</ClassName>
        <LinesCovered>53</LinesCovered>
        <LinesNotCovered>6</LinesNotCovered>
        <LinesPartiallyCovered>1</LinesPartiallyCovered>
        <BlocksCovered>70</BlocksCovered>
        <BlocksNotCovered>8</BlocksNotCovered>
        <NamespaceKeyName>WindowsFormsApplication1.exeWindowsFormsApplication1</NamespaceKeyName>
        <Method>
          <MethodKeyName>WindowsFormsApplication1.exe!4</MethodKeyName>
          <MethodName>.ctor()</MethodName>
          <MethodFullName>.ctor()</MethodFullName>
          <LinesCovered>5</LinesCovered>
          <LinesPartiallyCovered>0</LinesPartiallyCovered>
          <LinesNotCovered>0</LinesNotCovered>
          <BlocksCovered>3</BlocksCovered>
          <BlocksNotCovered>0</BlocksNotCovered>
          <Lines>
            <LnStart>8</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>8</LnEnd>
            <ColEnd>68</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>5</LineID>
          </Lines>
          <Lines>
            <LnStart>15</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>15</LnEnd>
            <ColEnd>23</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>6</LineID>
          </Lines>
          <Lines>
            <LnStart>15</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>15</LnEnd>
            <ColEnd>23</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>3</SourceFileID>
            <LineID>7</LineID>
          </Lines>
          <Lines>
            <LnStart>16</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>16</LnEnd>
            <ColEnd>10</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>3</SourceFileID>
            <LineID>8</LineID>
          </Lines>
          <Lines>
            <LnStart>17</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>17</LnEnd>
            <ColEnd>35</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>3</SourceFileID>
            <LineID>9</LineID>
          </Lines>
          <Lines>
            <LnStart>18</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>18</LnEnd>
            <ColEnd>10</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>3</SourceFileID>
            <LineID>10</LineID>
          </Lines>
        </Method>
        <Method>
          <MethodKeyName>WindowsFormsApplication1.exe!9</MethodKeyName>
          <MethodName>Dispose(bool)</MethodName>
          <MethodFullName>Dispose(bool)</MethodFullName>
          <LinesCovered>3</LinesCovered>
          <LinesPartiallyCovered>1</LinesPartiallyCovered>
          <LinesNotCovered>3</LinesNotCovered>
          <BlocksCovered>5</BlocksCovered>
          <BlocksNotCovered>3</BlocksNotCovered>
          <Lines>
            <LnStart>15</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>15</LnEnd>
            <ColEnd>10</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>14</LineID>
          </Lines>
          <Lines>
            <LnStart>16</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>16</LnEnd>
            <ColEnd>51</ColEnd>
            <Coverage>1</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>15</LineID>
          </Lines>
          <Lines>
            <LnStart>17</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>17</LnEnd>
            <ColEnd>14</ColEnd>
            <Coverage>2</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>16</LineID>
          </Lines>
          <Lines>
            <LnStart>18</LnStart>
            <ColStart>17</ColStart>
            <LnEnd>18</LnEnd>
            <ColEnd>38</ColEnd>
            <Coverage>2</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>17</LineID>
          </Lines>
          <Lines>
            <LnStart>19</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>19</LnEnd>
            <ColEnd>14</ColEnd>
            <Coverage>2</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>18</LineID>
          </Lines>
          <Lines>
            <LnStart>20</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>20</LnEnd>
            <ColEnd>37</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>19</LineID>
          </Lines>
          <Lines>
            <LnStart>21</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>21</LnEnd>
            <ColEnd>10</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>20</LineID>
          </Lines>
        </Method>
        <Method>
          <MethodKeyName>WindowsFormsApplication1.exe!10</MethodKeyName>
          <MethodName>button1_Click_1(object,class System.EventArgs)</MethodName>
          <MethodFullName>button1_Click_1(object,class System.EventArgs)</MethodFullName>
          <LinesCovered>0</LinesCovered>
          <LinesPartiallyCovered>0</LinesPartiallyCovered>
          <LinesNotCovered>3</LinesNotCovered>
          <BlocksCovered>0</BlocksCovered>
          <BlocksNotCovered>5</BlocksNotCovered>
          <Lines>
            <LnStart>26</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>26</LnEnd>
            <ColEnd>10</ColEnd>
            <Coverage>2</Coverage>
            <SourceFileID>3</SourceFileID>
            <LineID>21</LineID>
          </Lines>
          <Lines>
            <LnStart>27</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>27</LnEnd>
            <ColEnd>76</ColEnd>
            <Coverage>2</Coverage>
            <SourceFileID>3</SourceFileID>
            <LineID>22</LineID>
          </Lines>
          <Lines>
            <LnStart>28</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>28</LnEnd>
            <ColEnd>10</ColEnd>
            <Coverage>2</Coverage>
            <SourceFileID>3</SourceFileID>
            <LineID>23</LineID>
          </Lines>
        </Method>
        <Method>
          <MethodKeyName>WindowsFormsApplication1.exe!13</MethodKeyName>
          <MethodName>button1_Click(object,class System.EventArgs)</MethodName>
          <MethodFullName>button1_Click(object,class System.EventArgs)</MethodFullName>
          <LinesCovered>3</LinesCovered>
          <LinesPartiallyCovered>0</LinesPartiallyCovered>
          <LinesNotCovered>0</LinesNotCovered>
          <BlocksCovered>5</BlocksCovered>
          <BlocksNotCovered>0</BlocksNotCovered>
          <Lines>
            <LnStart>21</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>21</LnEnd>
            <ColEnd>10</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>3</SourceFileID>
            <LineID>25</LineID>
          </Lines>
          <Lines>
            <LnStart>22</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>22</LnEnd>
            <ColEnd>75</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>3</SourceFileID>
            <LineID>26</LineID>
          </Lines>
          <Lines>
            <LnStart>23</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>23</LnEnd>
            <ColEnd>10</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>3</SourceFileID>
            <LineID>27</LineID>
          </Lines>
        </Method>
        <Method>
          <MethodKeyName>WindowsFormsApplication1.exe!14</MethodKeyName>
          <MethodName>InitializeComponent()</MethodName>
          <MethodFullName>InitializeComponent()</MethodFullName>
          <LinesCovered>42</LinesCovered>
          <LinesPartiallyCovered>0</LinesPartiallyCovered>
          <LinesNotCovered>0</LinesNotCovered>
          <BlocksCovered>57</BlocksCovered>
          <BlocksNotCovered>0</BlocksNotCovered>
          <Lines>
            <LnStart>30</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>30</LnEnd>
            <ColEnd>10</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>28</LineID>
          </Lines>
          <Lines>
            <LnStart>31</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>31</LnEnd>
            <ColEnd>64</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>29</LineID>
          </Lines>
          <Lines>
            <LnStart>32</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>32</LnEnd>
            <ColEnd>60</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>30</LineID>
          </Lines>
          <Lines>
            <LnStart>33</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>33</LnEnd>
            <ColEnd>63</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>31</LineID>
          </Lines>
          <Lines>
            <LnStart>34</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>34</LnEnd>
            <ColEnd>62</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>32</LineID>
          </Lines>
          <Lines>
            <LnStart>35</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>35</LnEnd>
            <ColEnd>34</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>33</LineID>
          </Lines>
          <Lines>
            <LnStart>39</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>39</LnEnd>
            <ColEnd>74</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>34</LineID>
          </Lines>
          <Lines>
            <LnStart>40</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>40</LnEnd>
            <ColEnd>47</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>35</LineID>
          </Lines>
          <Lines>
            <LnStart>41</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>41</LnEnd>
            <ColEnd>67</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>36</LineID>
          </Lines>
          <Lines>
            <LnStart>42</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>42</LnEnd>
            <ColEnd>41</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>37</LineID>
          </Lines>
          <Lines>
            <LnStart>43</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>43</LnEnd>
            <ColEnd>44</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>38</LineID>
          </Lines>
          <Lines>
            <LnStart>44</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>44</LnEnd>
            <ColEnd>59</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>39</LineID>
          </Lines>
          <Lines>
            <LnStart>45</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>45</LnEnd>
            <ColEnd>81</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>40</LineID>
          </Lines>
          <Lines>
            <LnStart>49</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>49</LnEnd>
            <ColEnd>41</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>41</LineID>
          </Lines>
          <Lines>
            <LnStart>50</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>50</LnEnd>
            <ColEnd>69</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>42</LineID>
          </Lines>
          <Lines>
            <LnStart>51</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>51</LnEnd>
            <ColEnd>41</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>43</LineID>
          </Lines>
          <Lines>
            <LnStart>52</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>52</LnEnd>
            <ColEnd>64</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>44</LineID>
          </Lines>
          <Lines>
            <LnStart>53</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>53</LnEnd>
            <ColEnd>38</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>45</LineID>
          </Lines>
          <Lines>
            <LnStart>54</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>54</LnEnd>
            <ColEnd>46</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>46</LineID>
          </Lines>
          <Lines>
            <LnStart>58</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>58</LnEnd>
            <ColEnd>71</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>47</LineID>
          </Lines>
          <Lines>
            <LnStart>59</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>59</LnEnd>
            <ColEnd>43</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>48</LineID>
          </Lines>
          <Lines>
            <LnStart>60</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>60</LnEnd>
            <ColEnd>66</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>49</LineID>
          </Lines>
          <Lines>
            <LnStart>61</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>61</LnEnd>
            <ColEnd>39</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>50</LineID>
          </Lines>
          <Lines>
            <LnStart>65</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>65</LnEnd>
            <ColEnd>72</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>51</LineID>
          </Lines>
          <Lines>
            <LnStart>66</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>66</LnEnd>
            <ColEnd>43</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>52</LineID>
          </Lines>
          <Lines>
            <LnStart>67</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>67</LnEnd>
            <ColEnd>65</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>53</LineID>
          </Lines>
          <Lines>
            <LnStart>68</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>68</LnEnd>
            <ColEnd>39</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>54</LineID>
          </Lines>
          <Lines>
            <LnStart>69</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>69</LnEnd>
            <ColEnd>43</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>55</LineID>
          </Lines>
          <Lines>
            <LnStart>70</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>70</LnEnd>
            <ColEnd>57</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>56</LineID>
          </Lines>
          <Lines>
            <LnStart>71</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>71</LnEnd>
            <ColEnd>81</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>57</LineID>
          </Lines>
          <Lines>
            <LnStart>75</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>75</LnEnd>
            <ColEnd>74</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>58</LineID>
          </Lines>
          <Lines>
            <LnStart>76</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>76</LnEnd>
            <ColEnd>74</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>59</LineID>
          </Lines>
          <Lines>
            <LnStart>77</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>77</LnEnd>
            <ColEnd>65</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>60</LineID>
          </Lines>
          <Lines>
            <LnStart>78</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>78</LnEnd>
            <ColEnd>45</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>61</LineID>
          </Lines>
          <Lines>
            <LnStart>79</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>79</LnEnd>
            <ColEnd>45</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>62</LineID>
          </Lines>
          <Lines>
            <LnStart>80</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>80</LnEnd>
            <ColEnd>44</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>63</LineID>
          </Lines>
          <Lines>
            <LnStart>81</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>81</LnEnd>
            <ColEnd>47</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>64</LineID>
          </Lines>
          <Lines>
            <LnStart>82</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>82</LnEnd>
            <ColEnd>33</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>65</LineID>
          </Lines>
          <Lines>
            <LnStart>83</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>83</LnEnd>
            <ColEnd>33</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>66</LineID>
          </Lines>
          <Lines>
            <LnStart>84</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>84</LnEnd>
            <ColEnd>38</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>67</LineID>
          </Lines>
          <Lines>
            <LnStart>85</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>85</LnEnd>
            <ColEnd>34</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>68</LineID>
          </Lines>
          <Lines>
            <LnStart>87</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>87</LnEnd>
            <ColEnd>10</ColEnd>
            <Coverage>0</Coverage>
            <SourceFileID>2</SourceFileID>
            <LineID>69</LineID>
          </Lines>
        </Method>
      </Class>
    </NamespaceTable>
    <NamespaceTable>
      <BlocksCovered>0</BlocksCovered>
      <BlocksNotCovered>5</BlocksNotCovered>
      <LinesCovered>0</LinesCovered>
      <LinesNotCovered>4</LinesNotCovered>
      <LinesPartiallyCovered>0</LinesPartiallyCovered>
      <ModuleName>WindowsFormsApplication1.exe</ModuleName>
      <NamespaceKeyName>WindowsFormsApplication1.exeWindowsFormsApplication1.Properties</NamespaceKeyName>
      <NamespaceName>WindowsFormsApplication1.Properties</NamespaceName>
      <Class>
        <ClassKeyName>WindowsFormsApplication1.exeWindowsFormsApplication1.PropertiesSettings</ClassKeyName>
        <ClassName>Settings</ClassName>
        <LinesCovered>0</LinesCovered>
        <LinesNotCovered>4</LinesNotCovered>
        <LinesPartiallyCovered>0</LinesPartiallyCovered>
        <BlocksCovered>0</BlocksCovered>
        <BlocksNotCovered>5</BlocksNotCovered>
        <NamespaceKeyName>WindowsFormsApplication1.exeWindowsFormsApplication1.Properties</NamespaceKeyName>
        <Method>
          <MethodKeyName>WindowsFormsApplication1.exe!7</MethodKeyName>
          <MethodName>get_Default()</MethodName>
          <MethodFullName>get_Default()</MethodFullName>
          <LinesCovered>0</LinesCovered>
          <LinesPartiallyCovered>0</LinesPartiallyCovered>
          <LinesNotCovered>3</LinesNotCovered>
          <BlocksCovered>0</BlocksCovered>
          <BlocksNotCovered>2</BlocksNotCovered>
          <Lines>
            <LnStart>25</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>25</LnEnd>
            <ColEnd>14</ColEnd>
            <Coverage>2</Coverage>
            <SourceFileID>4</SourceFileID>
            <LineID>11</LineID>
          </Lines>
          <Lines>
            <LnStart>26</LnStart>
            <ColStart>17</ColStart>
            <LnEnd>26</LnEnd>
            <ColEnd>40</ColEnd>
            <Coverage>2</Coverage>
            <SourceFileID>4</SourceFileID>
            <LineID>12</LineID>
          </Lines>
          <Lines>
            <LnStart>27</LnStart>
            <ColStart>13</ColStart>
            <LnEnd>27</LnEnd>
            <ColEnd>14</ColEnd>
            <Coverage>2</Coverage>
            <SourceFileID>4</SourceFileID>
            <LineID>13</LineID>
          </Lines>
        </Method>
        <Method>
          <MethodKeyName>WindowsFormsApplication1.exe!12</MethodKeyName>
          <MethodName>.cctor()</MethodName>
          <MethodFullName>.cctor()</MethodFullName>
          <LinesCovered>0</LinesCovered>
          <LinesPartiallyCovered>0</LinesPartiallyCovered>
          <LinesNotCovered>1</LinesNotCovered>
          <BlocksCovered>0</BlocksCovered>
          <BlocksNotCovered>3</BlocksNotCovered>
          <Lines>
            <LnStart>20</LnStart>
            <ColStart>9</ColStart>
            <LnEnd>20</LnEnd>
            <ColEnd>147</ColEnd>
            <Coverage>2</Coverage>
            <SourceFileID>4</SourceFileID>
            <LineID>24</LineID>
          </Lines>
        </Method>
      </Class>
    </NamespaceTable>
  </Module>
  <SourceFileNames>
    <SourceFileID>1</SourceFileID>
    <SourceFileName>C:\CodeCoverageFinal\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs</SourceFileName>
  </SourceFileNames>
  <SourceFileNames>
    <SourceFileID>2</SourceFileID>
    <SourceFileName>C:\CodeCoverageFinal\WindowsFormsApplication1\WindowsFormsApplication1\Form1.Designer.cs</SourceFileName>
  </SourceFileNames>
  <SourceFileNames>
    <SourceFileID>3</SourceFileID>
    <SourceFileName>C:\CodeCoverageFinal\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs</SourceFileName>
  </SourceFileNames>
  <SourceFileNames>
    <SourceFileID>4</SourceFileID>
    <SourceFileName>C:\CodeCoverageFinal\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Settings.Designer.cs</SourceFileName>
  </SourceFileNames>
</CoverageDSPriv>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Datamatics Global Service Ltd.
India India
MCTS Web Applications Development with Microsoft .NET Framework 4
MCPD Windows Framework 2.0
Working in Microsoft Dotnet Technologies more that 3 yrs.

Comments and Discussions