SlideShare ist ein Scribd-Unternehmen logo
1 von 88
Downloaden Sie, um offline zu lesen
dotTEST Report [09/21/11 14:13:53]




                                                 STATIC ANALYSIS

                    Project Name                       Tasks                                 Files                   Lines
                                         suppressed / total / per 10,000 lines           checked / total         checked / total
loadtest-assembly                  0 |               0 |              0                    21 |            21    3520 |       3520

mock-assembly                      0 |               0 |              0                     2 |            2      340 |        340

nonamespace-assembly               0 |               0 |              0                     2 |            2       64 |            64

nunit-agent.exe                    0 |               0 |              0                     4 |            4      236 |        236

nunit-console                      0 |               9 |             92                     7 |            7      969 |        969

nunit-console.exe                  0 |               0 |              0                     4 |            4      140 |        140

nunit-console.tests                0 |               0 |              0                     5 |            5      547 |        547

nunit-gui                          0 |              17 |             19                    35 |            35    8549 |       8549

nunit-gui.exe                      0 |               0 |              0                     4 |            4      146 |        146

nunit-gui.tests                    0 |               0 |              0                     4 |            4      243 |        243

nunit-server.exe                   0 |               0 |              0                     2 |            2       76 |            76

nunit.core.dll                     0 |              18 |             15                    86 |            86   11963 |     11963

nunit.core.interfaces.dll          0 |              11 |             20                    47 |            47    5392 |       5392

nunit.core.tests                   0 |              24 |             25                    78 |            78    9410 |       9410

nunit.fixtures                     0 |               0 |              0                     7 |            7      374 |        374

nunit.fixtures.tests               0 |               0 |              0                     3 |            3      187 |        187

nunit.framework.dll                0 |               1 |              0                   100 |        100      19597 |     19597

nunit.framework.tests              0 |               4 |              3                    70 |            70   10837 |     10837

nunit.mocks                        0 |               0 |              0                    13 |            13     718 |        718

nunit.mocks.tests                  0 |               0 |              0                     3 |            3      556 |        556

nunit.uiexception.dll              0 |              33 |             46                    46 |            46    7170 |       7170

nunit.uiexception.tests            0 |               0 |              0                    35 |            35    6760 |       6760

nunit.uikit.dll                    0 |              27 |             19                    64 |            64   13743 |     13743

nunit.uikit.tests                  0 |               0 |              0                    11 |            11    1245 |       1245

nunit.util.dll                     0 |              15 |             16                    64 |            64    9310 |       9310

nunit.util.tests                   0 |              12 |             21                    47 |            47    5678 |       5678

pnunit-agent                       0 |               2 |             29                     5 |            5      687 |        687

pnunit-launcher                    0 |               1 |             14                     6 |            6      671 |        671

pnunit.framework



                                                                  dotTEST Report [09/21/11 14:13:53]                 Page 1
0 |              0 |              0                             3 |          3        267 |        267

 pnunit.tests                                             0 |              0 |              0                             3 |          3         80 |         80

 test-assembly                                            0 |              0 |              0                            32 |         32       3185 |       3185

 test-utilities                                           0 |              1 |             13                             7 |          7        746 |        746

 timing-tests                                             0 |              0 |              0                             3 |          3        151 |        151

 Total [0:41:59]                                          0 |           175 |              14                           823 |        823    123557 |     123557


                                                                     All Tasks by Category

  [38] Resources (BD.RES)
      [38] Ensure resources are deallocated (BD.RES.LEAKS-1)
  [85] Exceptions (BD.EXCEPT)
      [32] Avoid ArgumentNullException (BD.EXCEPT.AN-1)
      [53] Avoid NullReferenceException (BD.EXCEPT.NR-1)
  [48] Security (BD.SECURITY)
      [46] Prevent exposure of sensitive data (BD.SECURITY.SENS-1)
      [2] Protect against file name injection (BD.SECURITY.TDFNAMES-1)
  [4] Possible Bugs (BD.PB)
      [4] Do not append null value to strings (BD.PB.STRNULL-2)
  [171] Severity 1 - Highest
      [32] Avoid ArgumentNullException (BD.EXCEPT.AN-1)
      [53] Avoid NullReferenceException (BD.EXCEPT.NR-1)
      [38] Ensure resources are deallocated (BD.RES.LEAKS-1)
      [46] Prevent exposure of sensitive data (BD.SECURITY.SENS-1)
      [2] Protect against file name injection (BD.SECURITY.TDFNAMES-1)
  [4] Severity 2 - High
      [4] Do not append null value to strings (BD.PB.STRNULL-2)


                                    Author                                                                            Tasks
                                                                                                         suppressed/ total / recommended
daniel.l                                                                                                  0                         175                        50

Total Tasks: 175                                                                                                                                   daniel.l [175] ^
nunit/nunit-console/ConsoleUi.cs
180:      Stream not closed: ((StreamWriter)errorWriter).stream, errorStreamWriter.stream                                                       BD.RES.LEAKS-1
          . ConsoleUi.cs (36): TextWriter outWriter = Console.Out;
          . ConsoleUi.cs (37): bool redirectOutput = options.output != null #x26;#x26; options.output != string.Empty;
          . ConsoleUi.cs (38): if ( redirectOutput )
          . ConsoleUi.cs (45): TextWriter errorWriter = Console.Error;
          . ConsoleUi.cs (46): bool redirectError = options.err != null #x26;#x26; options.err != string.Empty;
          . ConsoleUi.cs (47): if ( redirectError )
          .C ConsoleUi.cs (49): StreamWriter errorStreamWriter = new StreamWriter( options.err ); // Allocated resource variable: new StreamWriter.stream
          . ConsoleUi.cs (50): errorStreamWriter.AutoFlush = true; // Allocated resource variable: errorStreamWriter.stream
          ! ConsoleUi.cs (51): errorWriter = errorStreamWriter; // Allocated resource variable: errorStreamWriter.stream
          . ConsoleUi.cs (54): TestPackage package = MakeTestPackage(options); // Allocated resource variable: ((StreamWriter)errorWriter).stream,
          errorStreamWriter.stream
          !E ConsoleUi.cs (56): Console.WriteLine("ProcessModel: {0} DomainUsage: {1}", package.Settings.Contains("ProcessModel") ?
          package.Settings[... // Console.WriteLine() throws: IOException // Allocated resource variable: ((StreamWriter)errorWriter).stream,
          errorStreamWriter.stream
          .P ConsoleUi.cs (180): } // Allocated resource variable: ((StreamWriter)errorWriter).stream, errorStreamWriter.stream
180:      Stream not closed: ((StreamWriter)outWriter).stream, outStreamWriter.stream                                                           BD.RES.LEAKS-1
          . ConsoleUi.cs (36): TextWriter outWriter = Console.Out;
          . ConsoleUi.cs (37): bool redirectOutput = options.output != null #x26;#x26; options.output != string.Empty;
          . ConsoleUi.cs (38): if ( redirectOutput )
          .C ConsoleUi.cs (40): StreamWriter outStreamWriter = new StreamWriter( options.output ); // Allocated resource variable: new
          StreamWriter.stream
          . ConsoleUi.cs (41): outStreamWriter.AutoFlush = true; // Allocated resource variable: outStreamWriter.stream
          ! ConsoleUi.cs (42): outWriter = outStreamWriter; // Allocated resource variable: outStreamWriter.stream
          . ConsoleUi.cs (45): TextWriter errorWriter = Console.Error; // Allocated resource variable: ((StreamWriter)outWriter).stream,
          outStreamWriter.stream
          . ConsoleUi.cs (46): bool redirectError = options.err != null #x26;#x26; options.err != string.Empty; // Allocated resource variable:
          ((StreamWriter)outWriter).stream, outStreamWriter.stream
          . ConsoleUi.cs (47): if ( redirectError ) // Allocated resource variable: ((StreamWriter)outWriter).stream, outStreamWriter.stream
          !E ConsoleUi.cs (49): StreamWriter errorStreamWriter = new StreamWriter( options.err ); // StreamWriter..ctor() throws:
          DirectoryNotFoundException // Allocated resource variable: ((StreamWriter)outWriter).stream, outStreamWriter.stream
          .P ConsoleUi.cs (180): } // Allocated resource variable: ((StreamWriter)outWriter).stream, outStreamWriter.stream
324:      Leakage of ToString() result ("status") via console                                                                             BD.SECURITY.SENS-1



                  Page 2                                                                                        dotTEST Report [09/21/11 14:13:53]
. ConsoleUi.cs (320): string status = result.IsFailure || result.IsError ? string.Format("{0} {1}", result.FailureSite, result.ResultState) : ...
          . TestResult.cs (160): return resultState == ResultState.Failure; }
          . ConsoleUi.cs (320): string status = result.IsFailure || result.IsError ? string.Format("{0} {1}", result.FailureSite, result.ResultState) : ...
          . TestResult.cs (168): return resultState == ResultState.Error; }
          . ConsoleUi.cs (320): string status = result.IsFailure || result.IsError ? string.Format("{0} {1}", result.FailureSite, result.ResultState) : ...
          . TestResult.cs (97): return resultState; }
          .C ConsoleUi.cs (320): string status = result.IsFailure || result.IsError ? string.Format("{0} {1}", result.FailureSite, result.ResultState) : ... // Sensitive
          data: new ResultState.ToString()
          .P ConsoleUi.cs (324): Console.WriteLine("{0}) {1} : {2}", ++reportIndex, status, result.FullName); // Sensitive data: status
nunit/nunit-console/Runner.cs
90:       Leakage of exception data ("ex.get_Message()") via console                                                                          BD.SECURITY.SENS-1
          . Runner.cs (88): catch( FileNotFoundException ex )
          CP Runner.cs (90): Console.WriteLine( ex.Message ); // Sensitive data: ex.get_Message()
95:       Leakage of ToString() result ("ex.ToString()") via console                                                                          BD.SECURITY.SENS-1
          . Runner.cs (93): catch( Exception ex )
          CP Runner.cs (95): Console.WriteLine( "Unhandled Exception:n{0}", ex.ToString() ); // Sensitive data: ex.ToString()
135:      Leakage of reflection data ("productName") via console                                                                              BD.SECURITY.SENS-1
          . Runner.cs (113): Assembly executingAssembly = Assembly.GetExecutingAssembly();
          . Runner.cs (114): string versionText = executingAssembly.GetName().Version.ToString();
          . Runner.cs (116): string productName = "NUnit";
          . Runner.cs (117): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T...
          .C Runner.cs (119): object[] objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false); // Sensitive data:
          executingAssembly.GetCustomAttributes(...)
          . Runner.cs (120): if ( objectAttrs.Length > 0 ) // Sensitive data: objectAttrs
          ! Runner.cs (121): productName = ((AssemblyProductAttribute)objectAttrs[0]).Product; // Sensitive data: objectAttrs
          . Runner.cs (123): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data:
          productName
          . Runner.cs (124): if ( objectAttrs.Length > 0 ) // Sensitive data: productName
          . Runner.cs (127): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data:
          productName
          . Runner.cs (128): if (objectAttrs.Length > 0) // Sensitive data: productName
          .P Runner.cs (135): Console.WriteLine(String.Format("{0} version {1}", productName, versionText)); // Sensitive data: productName
135:      Leakage of reflection data ("versionText") via console                                                                              BD.SECURITY.SENS-1
          . Runner.cs (113): Assembly executingAssembly = Assembly.GetExecutingAssembly();
          .C Runner.cs (114): string versionText = executingAssembly.GetName().Version.ToString(); // Sensitive data: executingAssembly.GetName()
          . Runner.cs (116): string productName = "NUnit"; // Sensitive data: versionText
          . Runner.cs (117): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T... //
          Sensitive data: versionText
          . Runner.cs (119): object[] objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false); // Sensitive data:
          versionText
          . Runner.cs (120): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText
          . Runner.cs (123): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data: versionText
          . Runner.cs (124): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText
          . Runner.cs (127): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data:
          versionText
          . Runner.cs (128): if (objectAttrs.Length > 0) // Sensitive data: versionText
          .P Runner.cs (135): Console.WriteLine(String.Format("{0} version {1}", productName, versionText)); // Sensitive data: versionText
135:      Leakage of reflection data ("versionText") via console                                                                              BD.SECURITY.SENS-1
          . Runner.cs (113): Assembly executingAssembly = Assembly.GetExecutingAssembly();
          . Runner.cs (114): string versionText = executingAssembly.GetName().Version.ToString();
          . Runner.cs (116): string productName = "NUnit";
          . Runner.cs (117): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T...
          . Runner.cs (119): object[] objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false);
          . Runner.cs (120): if ( objectAttrs.Length > 0 )
          . Runner.cs (123): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
          . Runner.cs (124): if ( objectAttrs.Length > 0 )
          .C Runner.cs (127): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data:
          executingAssembly.GetCustomAttributes(...)
          . Runner.cs (128): if (objectAttrs.Length > 0) // Sensitive data: objectAttrs
          ! Runner.cs (130): string configText = ((AssemblyConfigurationAttribute)objectAttrs[0]).Configuration; // Sensitive data: objectAttrs
          . Runner.cs (131): if (configText != "") // Sensitive data: configText
          ! Runner.cs (132): versionText += string.Format(" ({0})", configText); // Sensitive data: configText
          .P Runner.cs (135): Console.WriteLine(String.Format("{0} version {1}", productName, versionText)); // Sensitive data: versionText
136:      Leakage of reflection data ("copyrightText") via console                                                                            BD.SECURITY.SENS-1
          . Runner.cs (113): Assembly executingAssembly = Assembly.GetExecutingAssembly();
          . Runner.cs (114): string versionText = executingAssembly.GetName().Version.ToString();
          . Runner.cs (116): string productName = "NUnit";
          . Runner.cs (117): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T...
          . Runner.cs (119): object[] objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false);
          . Runner.cs (120): if ( objectAttrs.Length > 0 )
          .C Runner.cs (123): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data:
          executingAssembly.GetCustomAttributes(...)
          . Runner.cs (124): if ( objectAttrs.Length > 0 ) // Sensitive data: objectAttrs
          ! Runner.cs (125): copyrightText = ((AssemblyCopyrightAttribute)objectAttrs[0]).Copyright; // Sensitive data: objectAttrs
          . Runner.cs (127): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data:
          copyrightText
          . Runner.cs (128): if (objectAttrs.Length > 0) // Sensitive data: copyrightText



                                                                                            dotTEST Report [09/21/11 14:13:53]                          Page 3
. Runner.cs (135): Console.WriteLine(String.Format("{0} version {1}", productName, versionText)); // Sensitive data: copyrightText
          .P Runner.cs (136): Console.WriteLine(copyrightText); // Sensitive data: copyrightText
nunit/nunit-gui/AboutBox.cs
66:       Leakage of reflection data ("versionText") via Windows Forms control                                                          BD.SECURITY.SENS-1
          . AboutBox.cs (34): private System.ComponentModel.Container components = null;
          . AboutBox.cs (36): public AboutBox()
          . AboutBox.cs (41): InitializeComponent();
          . AboutBox.cs (46): Assembly executingAssembly = Assembly.GetExecutingAssembly();
          .C AboutBox.cs (47): string versionText = executingAssembly.GetName().Version.ToString(); // Sensitive data: executingAssembly.GetName()
          . AboutBox.cs (49): object [] objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false); //
          Sensitive data: versionText
          . AboutBox.cs (50): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText
          . AboutBox.cs (53): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data:
          versionText
          . AboutBox.cs (54): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText
          . AboutBox.cs (61): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C.
          T... // Sensitive data: versionText
          . AboutBox.cs (62): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data:
          versionText
          . AboutBox.cs (63): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText
          .P AboutBox.cs (66): versionLabel.Text = versionText; // Sensitive data: versionText
66:       Leakage of reflection data ("versionText") via Windows Forms control                                                          BD.SECURITY.SENS-1
          . AboutBox.cs (34): private System.ComponentModel.Container components = null;
          . AboutBox.cs (36): public AboutBox()
          . AboutBox.cs (41): InitializeComponent();
          . AboutBox.cs (46): Assembly executingAssembly = Assembly.GetExecutingAssembly();
          . AboutBox.cs (47): string versionText = executingAssembly.GetName().Version.ToString();
          .C AboutBox.cs (49): object [] objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false); //
          Sensitive data: executingAssembly.GetCustomAttributes(...)
          . AboutBox.cs (50): if ( objectAttrs.Length > 0 ) // Sensitive data: objectAttrs
          ! AboutBox.cs (51): versionText = ((AssemblyInformationalVersionAttribute)objectAttrs[0]).InformationalVersion; // Sensitive data: objectAttrs
          . AboutBox.cs (53): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data:
          versionText
          . AboutBox.cs (54): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText
          . AboutBox.cs (61): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C.
          T... // Sensitive data: versionText
          . AboutBox.cs (62): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data:
          versionText
          . AboutBox.cs (63): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText
          .P AboutBox.cs (66): versionLabel.Text = versionText; // Sensitive data: versionText
66:       Leakage of reflection data ("versionText") via Windows Forms control                                                          BD.SECURITY.SENS-1
          .C AboutBox.cs (53): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data:
          executingAssembly.GetCustomAttributes(...)
          . AboutBox.cs (54): if ( objectAttrs.Length > 0 ) // Sensitive data: objectAttrs
          ! AboutBox.cs (56): string configText = ((AssemblyConfigurationAttribute)objectAttrs[0]).Configuration; // Sensitive data: objectAttrs
          . AboutBox.cs (57): if ( configText != "" ) // Sensitive data: configText
          ! AboutBox.cs (58): versionText += string.Format(" ({0})",configText); // Sensitive data: configText
          . AboutBox.cs (61): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C.
          T... // Sensitive data: versionText
          . AboutBox.cs (62): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data:
          versionText
          . AboutBox.cs (63): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText
          .P AboutBox.cs (66): versionLabel.Text = versionText; // Sensitive data: versionText
67:       Leakage of reflection data ("copyrightText") via Windows Forms control                                                        BD.SECURITY.SENS-1
          . AboutBox.cs (61): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T...
          .C AboutBox.cs (62): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data:
          executingAssembly.GetCustomAttributes(...)
          . AboutBox.cs (63): if ( objectAttrs.Length > 0 ) // Sensitive data: objectAttrs
          ! AboutBox.cs (64): copyrightText = ((AssemblyCopyrightAttribute)objectAttrs[0]).Copyright; // Sensitive data: objectAttrs
          . AboutBox.cs (66): versionLabel.Text = versionText; // Sensitive data: copyrightText
          .P AboutBox.cs (67): copyright.Text = copyrightText; // Sensitive data: copyrightText
nunit/nunit-gui/ExceptionDetailsForm.cs
118:      Leakage of ToString() result ("this.FormatMessage(...)") via Windows Forms control                                            BD.SECURITY.SENS-1
          ! ExceptionDetailsForm.cs (118): this.message.Text = FormatMessage( exception );
          . ExceptionDetailsForm.cs (126): StringBuilder sb = new StringBuilder();
          . ExceptionDetailsForm.cs (128): Exception ex = exception; ex != null
          . ExceptionDetailsForm.cs (130): if ( ex != exception )
          .C ExceptionDetailsForm.cs (131): sb.Append( ex.GetType().ToString() ); // Sensitive data: ex.GetType().ToString()
          . ExceptionDetailsForm.cs (132): sb.Append( ": " ); // Sensitive data: sb
          . ExceptionDetailsForm.cs (133): sb.Append( ex.Message ); // Sensitive data: sb
          . ExceptionDetailsForm.cs (128): ex != null; ex = ex.InnerException // Sensitive data: sb
          ! ExceptionDetailsForm.cs (136): return sb.ToString(); // Sensitive data: sb
          ! ExceptionDetailsForm.cs (137): } // Sensitive data: CS$1$0000
          .P ExceptionDetailsForm.cs (118): this.message.Text = FormatMessage( exception ); // Sensitive data: this.FormatMessage(...)
118:      Leakage of exception data ("this.FormatMessage(...)") via Windows Forms control                                               BD.SECURITY.SENS-1
          ! ExceptionDetailsForm.cs (118): this.message.Text = FormatMessage( exception );
          . ExceptionDetailsForm.cs (126): StringBuilder sb = new StringBuilder();



              Page 4                                                                                      dotTEST Report [09/21/11 14:13:53]
. ExceptionDetailsForm.cs (128): Exception ex = exception; ex != null
          . ExceptionDetailsForm.cs (130): if ( ex != exception )
          . ExceptionDetailsForm.cs (131): sb.Append( ex.GetType().ToString() );
          . ExceptionDetailsForm.cs (132): sb.Append( ": " );
          .C ExceptionDetailsForm.cs (133): sb.Append( ex.Message ); // Sensitive data: ex.get_Message()
          . ExceptionDetailsForm.cs (128): ex != null; ex = ex.InnerException // Sensitive data: sb
          ! ExceptionDetailsForm.cs (136): return sb.ToString(); // Sensitive data: sb
          ! ExceptionDetailsForm.cs (137): } // Sensitive data: CS$1$0000
          .P ExceptionDetailsForm.cs (118): this.message.Text = FormatMessage( exception ); // Sensitive data: this.FormatMessage(...)
121:      Leakage of ToString() result ("this.FormatStackTrace(...)") via Windows Forms control                                           BD.SECURITY.SENS-1
          ! ExceptionDetailsForm.cs (121): this.stackTrace.Text = FormatStackTrace( exception );
          ! ExceptionDetailsForm.cs (142): AppendStackTrace( sb, exception );
          .C ExceptionDetailsForm.cs (152): sb.Append( ex.GetType().ToString() );
          . ExceptionDetailsForm.cs (153): sb.Append( "...rn" );
          . ExceptionDetailsForm.cs (154): sb.Append( ex.StackTrace );
          . ExceptionDetailsForm.cs (155): sb.Append( "rnrn" );
          . ExceptionDetailsForm.cs (156): }
          ! ExceptionDetailsForm.cs (144): return sb.ToString(); // Sensitive data: *sb
          ! ExceptionDetailsForm.cs (145): } // Sensitive data: CS$1$0000
          .P ExceptionDetailsForm.cs (121): this.stackTrace.Text = FormatStackTrace( exception ); // Sensitive data: this.FormatStackTrace(...)
121:      Leakage of exception data ("this.FormatStackTrace(...)") via Windows Forms control                                              BD.SECURITY.SENS-1
          ! ExceptionDetailsForm.cs (121): this.stackTrace.Text = FormatStackTrace( exception );
          ! ExceptionDetailsForm.cs (142): AppendStackTrace( sb, exception );
          . ExceptionDetailsForm.cs (152): sb.Append( ex.GetType().ToString() );
          . ExceptionDetailsForm.cs (153): sb.Append( "...rn" );
          .C ExceptionDetailsForm.cs (154): sb.Append( ex.StackTrace );
          . ExceptionDetailsForm.cs (155): sb.Append( "rnrn" );
          . ExceptionDetailsForm.cs (156): }
          ! ExceptionDetailsForm.cs (144): return sb.ToString(); // Sensitive data: *sb
          ! ExceptionDetailsForm.cs (145): } // Sensitive data: CS$1$0000
          .P ExceptionDetailsForm.cs (121): this.stackTrace.Text = FormatStackTrace( exception ); // Sensitive data: this.FormatStackTrace(...)
nunit/nunit-gui/NUnitForm.cs
1631:     "this.get_TestLoader().get_AssemblyInfo()" may possibly be null                                                                     BD.EXCEPT.NR-1
          . NUnitForm.cs (1628): if ( e.Name != null #x26;#x26; File.Exists( e.Name ) )
          . TestEventArgs.cs (199): return name; }
          . NUnitForm.cs (1628): if ( e.Name != null #x26;#x26; File.Exists( e.Name ) )
          . TestEventArgs.cs (199): return name; }
          . NUnitForm.cs (1628): if ( e.Name != null #x26;#x26; File.Exists( e.Name ) )
          . NUnitForm.cs (1630): Version version = Environment.Version;
          . NUnitForm.cs (1631): TestLoader.AssemblyInfo
          . NUnitForm.cs (814): if ( _testLoader == null )
          . NUnitForm.cs (816): return _testLoader;
          . NUnitForm.cs (817): }
          ! NUnitForm.cs (1631): TestLoader.AssemblyInfo
          ! TestLoader.cs (179): return testRunner == null ? null : testRunner.AssemblyInfo;
          .C ProxyTestRunner.cs (76): return testRunner == null ? null : testRunner.AssemblyInfo; } // Null value carrier: CS$1$0000
          ! TestLoader.cs (179): return testRunner == null ? null : testRunner.AssemblyInfo; } // Null value carrier: this.testRunner.get_AssemblyInfo()
          .P NUnitForm.cs (1631): TestLoader.AssemblyInfo // Null value carrier: this.get_TestLoader().get_AssemblyInfo()
1631:     "this.get_TestLoader().get_AssemblyInfo()" may possibly be null                                                                     BD.EXCEPT.NR-1
          . NUnitForm.cs (1628): if ( e.Name != null #x26;#x26; File.Exists( e.Name ) )
          . TestEventArgs.cs (199): return name; }
          . NUnitForm.cs (1628): if ( e.Name != null #x26;#x26; File.Exists( e.Name ) )
          . TestEventArgs.cs (199): return name; }
          . NUnitForm.cs (1628): if ( e.Name != null #x26;#x26; File.Exists( e.Name ) )
          . NUnitForm.cs (1630): Version version = Environment.Version;
          . NUnitForm.cs (1631): TestLoader.AssemblyInfo
          . NUnitForm.cs (814): if ( _testLoader == null )
          . NUnitForm.cs (816): return _testLoader;
          . NUnitForm.cs (817): }
          ! NUnitForm.cs (1631): TestLoader.AssemblyInfo
          .C TestLoader.cs (179): return testRunner == null ? null : testRunner.AssemblyInfo; } // Null value carrier: CS$1$0000
          .P NUnitForm.cs (1631): TestLoader.AssemblyInfo // Null value carrier: this.get_TestLoader().get_AssemblyInfo()
1678:     "this.get_TestLoader().get_AssemblyInfo()" may possibly be null                                                                     BD.EXCEPT.NR-1
          . NUnitForm.cs (1669): if ( longOpDisplay != null )
          . NUnitForm.cs (1674): EnableRunCommand( true );
          . NUnitForm.cs (1809): runButton.Enabled = enable;
          . NUnitForm.cs (1810): runAllMenuItem.Enabled = enable;
          . NUnitForm.cs (1811): runSelectedMenuItem.Enabled = enable;
          . NUnitForm.cs (1812): runFailedMenuItem.Enabled = enable #x26;#x26; this.TestLoader.TestResult != null #x26;#x26;
          (this.TestLoader.TestResult.ResultState == R...
          . NUnitForm.cs (814): if ( _testLoader == null )
          . NUnitForm.cs (816): return _testLoader;
          . NUnitForm.cs (817): }
          . NUnitForm.cs (1812): runFailedMenuItem.Enabled = enable #x26;#x26; this.TestLoader.TestResult != null #x26;#x26;
          (this.TestLoader.TestResult.ResultState == R...
          . TestLoader.cs (169): return testResult; }
          . NUnitForm.cs (1812): runFailedMenuItem.Enabled = enable #x26;#x26; this.TestLoader.TestResult != null #x26;#x26;
          (this.TestLoader.TestResult.ResultState == R...



                                                                                     dotTEST Report [09/21/11 14:13:53]                      Page 5
. NUnitForm.cs (1815): }
          . NUnitForm.cs (1676): if ( TestLoader.TestCount == 0 )
          . NUnitForm.cs (814): if ( _testLoader == null )
          . NUnitForm.cs (816): return _testLoader;
          . NUnitForm.cs (817): }
          . NUnitForm.cs (1676): if ( TestLoader.TestCount == 0 )
          . TestLoader.cs (184): return loadedTest == null ? 0 : loadedTest.TestCount; }
          . NUnitForm.cs (1676): if ( TestLoader.TestCount == 0 )
          . NUnitForm.cs (1678): TestLoader.AssemblyInfo
          . NUnitForm.cs (814): if ( _testLoader == null )
          . NUnitForm.cs (816): return _testLoader;
          . NUnitForm.cs (817): }
          ! NUnitForm.cs (1678): TestLoader.AssemblyInfo
          ! TestLoader.cs (179): return testRunner == null ? null : testRunner.AssemblyInfo;
          .C ProxyTestRunner.cs (76): return testRunner == null ? null : testRunner.AssemblyInfo; } // Null value carrier: CS$1$0000
          ! TestLoader.cs (179): return testRunner == null ? null : testRunner.AssemblyInfo; } // Null value carrier: this.testRunner.get_AssemblyInfo()
          .P NUnitForm.cs (1678): TestLoader.AssemblyInfo // Null value carrier: this.get_TestLoader().get_AssemblyInfo()
1678:     "this.get_TestLoader().get_AssemblyInfo()" may possibly be null                                                                     BD.EXCEPT.NR-1
          . NUnitForm.cs (1669): if ( longOpDisplay != null )
          . NUnitForm.cs (1674): EnableRunCommand( true );
          . NUnitForm.cs (1809): runButton.Enabled = enable;
          . NUnitForm.cs (1810): runAllMenuItem.Enabled = enable;
          . NUnitForm.cs (1811): runSelectedMenuItem.Enabled = enable;
          . NUnitForm.cs (1812): runFailedMenuItem.Enabled = enable #x26;#x26; this.TestLoader.TestResult != null #x26;#x26;
          (this.TestLoader.TestResult.ResultState == R...
          . NUnitForm.cs (814): if ( _testLoader == null )
          . NUnitForm.cs (816): return _testLoader;
          . NUnitForm.cs (817): }
          . NUnitForm.cs (1812): runFailedMenuItem.Enabled = enable #x26;#x26; this.TestLoader.TestResult != null #x26;#x26;
          (this.TestLoader.TestResult.ResultState == R...
          . TestLoader.cs (169): return testResult; }
          . NUnitForm.cs (1812): runFailedMenuItem.Enabled = enable #x26;#x26; this.TestLoader.TestResult != null #x26;#x26;
          (this.TestLoader.TestResult.ResultState == R...
          . NUnitForm.cs (1815): }
          . NUnitForm.cs (1676): if ( TestLoader.TestCount == 0 )
          . NUnitForm.cs (814): if ( _testLoader == null )
          . NUnitForm.cs (816): return _testLoader;
          . NUnitForm.cs (817): }
          . NUnitForm.cs (1676): if ( TestLoader.TestCount == 0 )
          . TestLoader.cs (184): return loadedTest == null ? 0 : loadedTest.TestCount; }
          . NUnitForm.cs (1676): if ( TestLoader.TestCount == 0 )
          . NUnitForm.cs (1678): TestLoader.AssemblyInfo
          . NUnitForm.cs (814): if ( _testLoader == null )
          . NUnitForm.cs (816): return _testLoader;
          . NUnitForm.cs (817): }
          ! NUnitForm.cs (1678): TestLoader.AssemblyInfo
          .C TestLoader.cs (179): return testRunner == null ? null : testRunner.AssemblyInfo; } // Null value carrier: CS$1$0000
          .P NUnitForm.cs (1678): TestLoader.AssemblyInfo // Null value carrier: this.get_TestLoader().get_AssemblyInfo()
nunit/nunit-gui/ProjectEditor.cs
684:      "this.selectedConfig" may possibly be null                                                                                          BD.EXCEPT.NR-1
          . ProjectEditor.cs (682): selectedConfig = project.Configs[(string)configComboBox.SelectedItem];
          . NUnitProject.cs (267): return configs; }
          ! ProjectEditor.cs (682): selectedConfig = project.Configs[(string)configComboBox.SelectedItem];
          . ProjectConfigCollection.cs (34): int index = IndexOf( name );
          . ProjectConfigCollection.cs (63): int index = 0; index < InnerList.Count
          . ProjectConfigCollection.cs (70): return -1;
          . ProjectConfigCollection.cs (71): }
          . ProjectConfigCollection.cs (34): int index = IndexOf( name );
          .C ProjectConfigCollection.cs (35): return index >= 0 ? (ProjectConfig)InnerList[index]: null; // Null value carrier: CS$1$0000
          ! ProjectConfigCollection.cs (36): } // Null value carrier: CS$1$0000
          ! ProjectEditor.cs (682): selectedConfig = project.Configs[(string)configComboBox.SelectedItem]; // Null value carrier:
          this.project.get_Configs().get_Item(...)
          .P ProjectEditor.cs (684): RuntimeFramework framework = selectedConfig.RuntimeFramework; // Null value carrier: this.selectedConfig
702:      Leakage of ToString() result ("version.ToString()") via Windows Forms control                                                   BD.SECURITY.SENS-1
          CP ProjectEditor.cs (702): runtimeVersionComboBox.Text = version.ToString(); // Sensitive data: version.ToString()
888:      "applicationBase" may possibly be null                                                                                             BD.PB.STRNULL-2
          . ProjectEditor.cs (863): if ( applicationBaseTextBox.Text != String.Empty )
          .C ProjectEditor.cs (865): string applicationBase = null; // Null value carrier: applicationBase
          !E ProjectEditor.cs (869): applicationBase = Path.Combine( project.BasePath, applicationBaseTextBox.Text ); // NUnitProject.get_BasePath()
          throws: PathTooLongException // Null value carrier: applicationBase
          . NUnitProject.cs (133): if ( !BasePathSpecified )
          !E NUnitProject.cs (134): return DefaultBasePath; // NUnitProject.get_DefaultBasePath() throws: PathTooLongException
          !E NUnitProject.cs (111): return Path.GetDirectoryName( projectPath ); } // Path.GetDirectoryName() throws: PathTooLongException
          . ProjectEditor.cs (872): catch( Exception exception ) // Null value carrier: applicationBase
          . ProjectEditor.cs (874): applicationBaseTextBox.SelectAll(); // Null value carrier: applicationBase
          . ProjectEditor.cs (875): UserMessage.DisplayFailure( exception, "Invalid ApplicationBase" ); // Null value carrier: applicationBase
          . ProjectEditor.cs (876): e.Cancel = true; // Null value carrier: applicationBase
          . ProjectEditor.cs (877): } // Null value carrier: applicationBase



              Page 6                                                                                        dotTEST Report [09/21/11 14:13:53]
. ProjectEditor.cs (886): if ( !Directory.Exists( applicationBase ) ) // Null value carrier: applicationBase
          .P ProjectEditor.cs (888): string msg = string.Format( "The directory {0} does not exist. Do you want to create it?", applicationBase ); // Null value
          carrier: applicationBase
nunit/nunit-gui/SettingsPages/AdvancedLoaderSettingsPage.cs
153:      Leakage of ToString() result ("this.settings.GetSetting(...)") via Windows Forms control                                        BD.SECURITY.SENS-1
          . AdvancedLoaderSettingsPage.cs (150): this.settings = Services.UserSettings;
          . Services.cs (68): if ( userSettings == null )
          . Services.cs (73): if ( userSettings == null )
          . Services.cs (76): return userSettings;
          . Services.cs (77): }
          . AdvancedLoaderSettingsPage.cs (150): this.settings = Services.UserSettings;
          . AdvancedLoaderSettingsPage.cs (152): enableShadowCopyCheckBox.Checked = settings.GetSetting( "Options.TestLoader.ShadowCopyFiles",
          true );
          . SettingsGroup.cs (150): object result = GetSetting(settingName );
          . SettingsGroup.cs (68): return storage.GetSetting( settingName );
          . SettingsGroup.cs (69): }
          . SettingsGroup.cs (150): object result = GetSetting(settingName );
          . SettingsGroup.cs (152): if ( result == null )
          . SettingsGroup.cs (153): return defaultValue;
          . SettingsGroup.cs (176): }
          . AdvancedLoaderSettingsPage.cs (152): enableShadowCopyCheckBox.Checked = settings.GetSetting( "Options.TestLoader.ShadowCopyFiles",
          true );
          ! AdvancedLoaderSettingsPage.cs (153): shadowCopyPathTextBox.Text = settings.GetSetting("Options.TestLoader.ShadowCopyPath", "");
          . SettingsGroup.cs (187): object result = GetSetting(settingName );
          . SettingsGroup.cs (68): return storage.GetSetting( settingName );
          . SettingsGroup.cs (69): }
          . SettingsGroup.cs (187): object result = GetSetting(settingName );
          . SettingsGroup.cs (189): if ( result == null )
          . SettingsGroup.cs (192): if ( result is string )
          .C SettingsGroup.cs (195): return result.ToString(); // Sensitive data: result.ToString()
          ! SettingsGroup.cs (196): } // Sensitive data: CS$1$0000
          .P AdvancedLoaderSettingsPage.cs (153): shadowCopyPathTextBox.Text = settings.GetSetting("Options.TestLoader.ShadowCopyPath", ""); //
          Sensitive data: this.settings.GetSetting(...)
nunit/nunit-gui/TestAssemblyInfoForm.cs
128:      Leakage of reflection data ("text") via Windows Forms control                                                                   BD.SECURITY.SENS-1
          . TestAssemblyInfoForm.cs (24): this.Text = "Test Assemblies";
          . TestAssemblyInfoForm.cs (25): this.TextBox.WordWrap = false;
          . ScrollingTextDisplayForm.cs (115): return textBox; }
          . TestAssemblyInfoForm.cs (25): this.TextBox.WordWrap = false;
          . TestAssemblyInfoForm.cs (27): this.TextBox.Font = new System.Drawing.Font(FontFamily.GenericMonospace, 8.25F);
          . ScrollingTextDisplayForm.cs (115): return textBox; }
          . TestAssemblyInfoForm.cs (27): this.TextBox.Font = new System.Drawing.Font(FontFamily.GenericMonospace, 8.25F);
          . TestAssemblyInfoForm.cs (29): base.OnLoad(e);
          . ScrollingTextDisplayForm.cs (125): base.OnLoad(e);
          . ScrollingTextDisplayForm.cs (127): SetMessageLabelSize();
          . ScrollingTextDisplayForm.cs (137): Rectangle rect = message.ClientRectangle;
          . ScrollingTextDisplayForm.cs (138): Graphics g = Graphics.FromHwnd(Handle);
          . ScrollingTextDisplayForm.cs (139): SizeF sizeNeeded = g.MeasureString(message.Text, message.Font, rect.Width);
          . ScrollingTextDisplayForm.cs (140): int delta = sizeNeeded.ToSize().Height - rect.Height;
          . ScrollingTextDisplayForm.cs (142): message.Height += delta;
          . ScrollingTextDisplayForm.cs (143): textBox.Top += delta;
          . ScrollingTextDisplayForm.cs (144): textBox.Height -= delta;
          . ScrollingTextDisplayForm.cs (145): }
          . ScrollingTextDisplayForm.cs (128): }
          . TestAssemblyInfoForm.cs (31): Process p = Process.GetCurrentProcess();
          . TestAssemblyInfoForm.cs (32): int currentProcessId = p.Id;
          . TestAssemblyInfoForm.cs (33): string currentDomainName = "";
          .C TestAssemblyInfoForm.cs (35): AppendProcessInfo( currentProcessId, Path.GetFileName(Assembly.GetEntryAssembly().Location),
          RuntimeFramework.CurrentFra... // Sensitive data: GetEntryAssembly().get_Location()
          ! TestAssemblyInfoForm.cs (69): AppendBoldText(string.Format("{0} ( {1} )rn", moduleName, pid)); // Sensitive data: moduleName
          . TestAssemblyInfoForm.cs (125): TextBox.Select(TextBox.Text.Length, 0); // Sensitive data: text
          . TestAssemblyInfoForm.cs (126): TextBox.SelectionFont = new Font(TextBox.Font, FontStyle.Bold); // Sensitive data: text
          .P TestAssemblyInfoForm.cs (128): TextBox.SelectedText += text; // Sensitive data: text
nunit/nunit.core.dll/AssemblyResolver.cs
99:       Stream not closed: this.fs, this.rdr.m_stream                                                                                       BD.RES.LEAKS-1
          . AssemblyResolver.cs (80): string fullName = args.Name;
          . AssemblyResolver.cs (81): int index = fullName.IndexOf(',');
          . AssemblyResolver.cs (82): if(index == -1)
          . AssemblyResolver.cs (88): if ( _cache.Contains( fullName ) )
          . AssemblyResolver.cs (28): return _resolved.ContainsKey( name );
          . AssemblyResolver.cs (29): }
          . AssemblyResolver.cs (88): if ( _cache.Contains( fullName ) )
          . AssemblyResolver.cs (94): string dir in _dirs
          . AssemblyResolver.cs (96): string file in Directory.GetFiles( dir, "*.dll" )
          . AssemblyResolver.cs (98): string fullFile = Path.Combine( dir, file );
          EP AssemblyResolver.cs (99): AssemblyReader rdr = new AssemblyReader(fullFile); // AssemblyReader..ctor() throws: IOException // Allocated
          resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (22): UInt16 dos_magic = 0xffff;



                                                                                       dotTEST Report [09/21/11 14:13:53]                       Page 7
. AssemblyReader.cs (23): UInt32 pe_signature = 0xffffffff;
          . AssemblyReader.cs (29): private uint peHeader = 0;
          . AssemblyReader.cs (30): private uint fileHeader = 0;
          . AssemblyReader.cs (31): private uint optionalHeader = 0;
          . AssemblyReader.cs (32): private uint dataDirectory = 0;
          . AssemblyReader.cs (33): private uint dataSections = 0;
          . AssemblyReader.cs (44): public AssemblyReader( string assemblyPath )
          . AssemblyReader.cs (46): this.assemblyPath = assemblyPath;
          !E AssemblyReader.cs (47): CalcHeaderOffsets(); // AssemblyReader.CalcHeaderOffsets() throws: IOException
          .C AssemblyReader.cs (58): this.fs = new FileStream( assemblyPath, FileMode.Open, FileAccess.Read ); // Allocated resource variable: new
          FileStream
          ! AssemblyReader.cs (59): this.rdr = new BinaryReader( fs ); // Allocated resource variable: this.fs
          !E AssemblyReader.cs (60): dos_magic = rdr.ReadUInt16(); // BinaryReader.ReadUInt16() throws: IOException // Allocated resource variable:
          this.fs, this.rdr.m_stream
122:      Stream not closed: rdr.fs, rdr.rdr.m_stream                                                                                    BD.RES.LEAKS-1
          . AssemblyResolver.cs (80): string fullName = args.Name;
          . AssemblyResolver.cs (81): int index = fullName.IndexOf(',');
          . AssemblyResolver.cs (82): if(index == -1)
          . AssemblyResolver.cs (88): if ( _cache.Contains( fullName ) )
          . AssemblyResolver.cs (28): return _resolved.ContainsKey( name );
          . AssemblyResolver.cs (29): }
          . AssemblyResolver.cs (88): if ( _cache.Contains( fullName ) )
          . AssemblyResolver.cs (94): string dir in _dirs
          . AssemblyResolver.cs (96): string file in Directory.GetFiles( dir, "*.dll" )
          . AssemblyResolver.cs (98): string fullFile = Path.Combine( dir, file );
          ! AssemblyResolver.cs (99): AssemblyReader rdr = new AssemblyReader(fullFile);
          . AssemblyReader.cs (22): UInt16 dos_magic = 0xffff;
          . AssemblyReader.cs (23): UInt32 pe_signature = 0xffffffff;
          . AssemblyReader.cs (29): private uint peHeader = 0;
          . AssemblyReader.cs (30): private uint fileHeader = 0;
          . AssemblyReader.cs (31): private uint optionalHeader = 0;
          . AssemblyReader.cs (32): private uint dataDirectory = 0;
          . AssemblyReader.cs (33): private uint dataSections = 0;
          . AssemblyReader.cs (44): public AssemblyReader( string assemblyPath )
          . AssemblyReader.cs (46): this.assemblyPath = assemblyPath;
          ! AssemblyReader.cs (47): CalcHeaderOffsets();
          .C AssemblyReader.cs (58): this.fs = new FileStream( assemblyPath, FileMode.Open, FileAccess.Read ); // Allocated resource variable: new
          FileStream
          ! AssemblyReader.cs (59): this.rdr = new BinaryReader( fs ); // Allocated resource variable: this.fs
          . AssemblyReader.cs (60): dos_magic = rdr.ReadUInt16(); // Allocated resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (61): if ( dos_magic == 0x5a4d ) // Allocated resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (101): } // Allocated resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (48): } // Allocated resource variable: this.fs, this.rdr.m_stream
          ! AssemblyResolver.cs (99): AssemblyReader rdr = new AssemblyReader(fullFile); // Allocated resource variable: new AssemblyReader.fs, new
          AssemblyReader.rdr.m_stream
          . AssemblyResolver.cs (102): if (rdr.IsDotNetFile) // Allocated resource variable: rdr.fs, rdr.rdr.m_stream
          . AssemblyReader.cs (130): return IsValidPeFile #x26;#x26; numDataDirectoryEntries > 14 #x26;#x26; DataDirectoryRva(14) != 0; // Allocated
          resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (125): return dos_magic == 0x5a4d #x26;#x26; pe_signature == 0x00004550; } // Allocated resource variable: this.fs,
          this.rdr.m_stream
          . AssemblyReader.cs (130): return IsValidPeFile #x26;#x26; numDataDirectoryEntries > 14 #x26;#x26; DataDirectoryRva(14) != 0; } // Allocated
          resource variable: this.fs, this.rdr.m_stream
          . AssemblyResolver.cs (102): if (rdr.IsDotNetFile) // Allocated resource variable: rdr.fs, rdr.rdr.m_stream
          . AssemblyResolver.cs (111): } // Allocated resource variable: rdr.fs, rdr.rdr.m_stream
          . AssemblyResolver.cs (117): } // Allocated resource variable: rdr.fs, rdr.rdr.m_stream
          . AssemblyResolver.cs (96): in // Allocated resource variable: rdr.fs, rdr.rdr.m_stream
          . AssemblyResolver.cs (94): in // Allocated resource variable: rdr.fs, rdr.rdr.m_stream
          !E AssemblyResolver.cs (120): log.Debug( string.Format( "Not in Cache: {0}", fullName) ); // String.Format() throws: FormatException // Allocated
          resource variable: rdr.fs, rdr.rdr.m_stream
          .P AssemblyResolver.cs (122): } // Allocated resource variable: rdr.fs, rdr.rdr.m_stream
nunit/nunit.core.dll/Builders/NUnitTestCaseBuilder.cs
347:      "arglist" may possibly be null                                                                                                 BD.EXCEPT.NR-1
          . NUnitTestCaseBuilder.cs (241): if (testMethod.Method.IsAbstract)
          . TestMethod.cs (110): return method; }
          . NUnitTestCaseBuilder.cs (241): if (testMethod.Method.IsAbstract)
          . NUnitTestCaseBuilder.cs (248): if (!testMethod.Method.IsPublic)
          . TestMethod.cs (110): return method; }
          . NUnitTestCaseBuilder.cs (248): if (!testMethod.Method.IsPublic)
          . NUnitTestCaseBuilder.cs (255): ParameterInfo[] parameters = testMethod.Method.GetParameters();
          . TestMethod.cs (110): return method; }
          . NUnitTestCaseBuilder.cs (255): ParameterInfo[] parameters = testMethod.Method.GetParameters();
          . NUnitTestCaseBuilder.cs (256): int argsNeeded = parameters.Length;
          .C NUnitTestCaseBuilder.cs (258): object[] arglist = null; // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (259): int argsProvided = 0; // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (261): if (parms != null) // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (279): if (!testMethod.Method.ReturnType.Equals(typeof(void)) #x26;#x26; (parms == null || !parms.HasExpectedResult
          #x26;#x26; parms.ExpectedEx... // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (287): if (argsProvided > 0 #x26;#x26; argsNeeded == 0) // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (294): if (argsProvided == 0 #x26;#x26; argsNeeded > 0) // Null value carrier: arglist



              Page 8                                                                                       dotTEST Report [09/21/11 14:13:53]
. NUnitTestCaseBuilder.cs (323): if (argsProvided != argsNeeded ) // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (331): if (testMethod.Method.IsGenericMethodDefinition) // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (333): Type[] typeArguments = GetTypeArgumentsForMethod(testMethod.Method, arglist); // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (368): Type[] typeParameters = method.GetGenericArguments(); // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (369): Type[] typeArguments = new Type[typeParameters.Length]; // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (370): ParameterInfo[] parameters = method.GetParameters(); // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (372): int typeIndex = 0; typeIndex < typeArguments.Length // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (385): return typeArguments; // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (386): } // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (333): Type[] typeArguments = GetTypeArgumentsForMethod(testMethod.Method, arglist); // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (334): in typeArguments // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (342): testMethod.method = testMethod.Method.MakeGenericMethod(typeArguments); // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (343): parameters = testMethod.Method.GetParameters(); // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (345): int i = 0; i < parameters.Length // Null value carrier: arglist
          .P NUnitTestCaseBuilder.cs (347): if (arglist[i].GetType() != parameters[i].ParameterType #x26;#x26; arglist[i] is IConvertible) // Null value carrier:
          arglist
379:      "arglist" may possibly be null                                                                                                       BD.EXCEPT.NR-1
          . NUnitTestCaseBuilder.cs (241): if (testMethod.Method.IsAbstract)
          . TestMethod.cs (110): return method; }
          . NUnitTestCaseBuilder.cs (241): if (testMethod.Method.IsAbstract)
          . NUnitTestCaseBuilder.cs (248): if (!testMethod.Method.IsPublic)
          . TestMethod.cs (110): return method; }
          . NUnitTestCaseBuilder.cs (248): if (!testMethod.Method.IsPublic)
          . NUnitTestCaseBuilder.cs (255): ParameterInfo[] parameters = testMethod.Method.GetParameters();
          . TestMethod.cs (110): return method; }
          . NUnitTestCaseBuilder.cs (255): ParameterInfo[] parameters = testMethod.Method.GetParameters();
          . NUnitTestCaseBuilder.cs (256): int argsNeeded = parameters.Length;
          .C NUnitTestCaseBuilder.cs (258): object[] arglist = null; // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (259): int argsProvided = 0; // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (261): if (parms != null) // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (279): if (!testMethod.Method.ReturnType.Equals(typeof(void)) #x26;#x26; (parms == null || !parms.HasExpectedResult
          #x26;#x26; parms.ExpectedEx... // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (287): if (argsProvided > 0 #x26;#x26; argsNeeded == 0) // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (294): if (argsProvided == 0 #x26;#x26; argsNeeded > 0) // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (323): if (argsProvided != argsNeeded ) // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (331): if (testMethod.Method.IsGenericMethodDefinition) // Null value carrier: arglist
          ! NUnitTestCaseBuilder.cs (333): Type[] typeArguments = GetTypeArgumentsForMethod(testMethod.Method, arglist); // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (368): Type[] typeParameters = method.GetGenericArguments(); // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (369): Type[] typeArguments = new Type[typeParameters.Length]; // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (370): ParameterInfo[] parameters = method.GetParameters(); // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (372): int typeIndex = 0; typeIndex < typeArguments.Length // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (374): Type typeParameter = typeParameters[typeIndex]; // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (376): int argIndex = 0; argIndex < parameters.Length // Null value carrier: arglist
          . NUnitTestCaseBuilder.cs (378): if (parameters[argIndex].ParameterType.Equals(typeParameter)) // Null value carrier: arglist
          .P NUnitTestCaseBuilder.cs (379): typeArguments[typeIndex] = TypeHelper.BestCommonType( typeArguments[typeIndex],
          arglist[argIndex].GetType()); // Null value carrier: arglist
nunit/nunit.core.dll/Builders/NUnitTestFixtureBuilder.cs
113:      "typeArgs" may possibly be null                                                                                                      BD.EXCEPT.NR-1
          . NUnitTestFixtureBuilder.cs (101): object[] arguments = null;
          . NUnitTestFixtureBuilder.cs (102): IList categories = null;
          . NUnitTestFixtureBuilder.cs (104): if (attr != null)
          . NUnitTestFixtureBuilder.cs (106): arguments = (object[])Reflect.GetPropertyValue(attr, "Arguments");
          . Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance );
          . Reflect.cs (337): PropertyInfo property = GetNamedProperty( obj.GetType(), name, bindingFlags );
          . Reflect.cs (338): if ( property != null )
          . Reflect.cs (340): return null;
          . Reflect.cs (341): }
          . Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance );
          . Reflect.cs (326): }
          . NUnitTestFixtureBuilder.cs (106): arguments = (object[])Reflect.GetPropertyValue(attr, "Arguments");
          . NUnitTestFixtureBuilder.cs (108): categories = Reflect.GetPropertyValue(attr, "Categories") as IList;
          . Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance );
          . Reflect.cs (337): PropertyInfo property = GetNamedProperty( obj.GetType(), name, bindingFlags );
          . Reflect.cs (338): if ( property != null )
          . Reflect.cs (340): return null;
          . Reflect.cs (341): }
          . Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance );
          . Reflect.cs (326): }
          . NUnitTestFixtureBuilder.cs (108): categories = Reflect.GetPropertyValue(attr, "Categories") as IList;
          . NUnitTestFixtureBuilder.cs (110): if (type.ContainsGenericParameters)
          ! NUnitTestFixtureBuilder.cs (112): Type[] typeArgs = (Type[])Reflect.GetPropertyValue(attr, "TypeArgs");
          ! Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance );
          . Reflect.cs (337): PropertyInfo property = GetNamedProperty( obj.GetType(), name, bindingFlags );
          . Reflect.cs (314): return type.GetProperty( name, bindingFlags );
          . Reflect.cs (315): }
          . Reflect.cs (337): PropertyInfo property = GetNamedProperty( obj.GetType(), name, bindingFlags );
          . Reflect.cs (338): if ( property != null )
          .C Reflect.cs (340): return null; // Null value carrier: CS$1$0000
          ! Reflect.cs (341): } // Null value carrier: CS$1$0000



                                                                                       dotTEST Report [09/21/11 14:13:53]                        Page 9
! Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); // Null value carrier: GetPropertyValue(...)
          ! Reflect.cs (326): } // Null value carrier: CS$1$0000
          ! NUnitTestFixtureBuilder.cs (112): Type[] typeArgs = (Type[])Reflect.GetPropertyValue(attr, "TypeArgs"); // Null value carrier: GetPropertyValue(...)
          .P NUnitTestFixtureBuilder.cs (113): if( typeArgs.Length > 0 || TypeHelper.CanDeduceTypeArgsFromArgs(type, arguments, ref typeArgs)) // Null
          value carrier: typeArgs
279:      "args" may possibly be null                                                                                                           BD.EXCEPT.NR-1
          ! NUnitTestFixtureBuilder.cs (276): object[] args = (object[])Reflect.GetPropertyValue(attrs[i], "Arguments");
          ! Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance );
          .C Reflect.cs (340): return null; // Null value carrier: CS$1$0000
          ! Reflect.cs (341): } // Null value carrier: CS$1$0000
          ! Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); // Null value carrier: GetPropertyValue(...)
          ! Reflect.cs (326): } // Null value carrier: CS$1$0000
          ! NUnitTestFixtureBuilder.cs (276): object[] args = (object[])Reflect.GetPropertyValue(attrs[i], "Arguments"); // Null value carrier:
          GetPropertyValue(...)
          . NUnitTestFixtureBuilder.cs (277): object[] typeArgs = (object[])Reflect.GetPropertyValue(attrs[i], "TypeArgs"); // Null value carrier: args
          .P NUnitTestFixtureBuilder.cs (279): if (args.Length > 0 || typeArgs != null #x26;#x26; typeArgs.Length > 0) // Null value carrier: args
nunit/nunit.core.dll/Builders/TestAssemblyBuilder.cs
50:       Stream not closed: this.fs, this.rdr.m_stream                                                                                         BD.RES.LEAKS-1
          . TestAssemblyBuilder.cs (48): if ( assemblyInfo == null #x26;#x26; assembly != null )
          EP TestAssemblyBuilder.cs (50): AssemblyReader rdr = new AssemblyReader( assembly ); // AssemblyReader..ctor() throws: IOException //
          Allocated resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (22): UInt16 dos_magic = 0xffff;
          . AssemblyReader.cs (23): UInt32 pe_signature = 0xffffffff;
          . AssemblyReader.cs (29): private uint peHeader = 0;
          . AssemblyReader.cs (30): private uint fileHeader = 0;
          . AssemblyReader.cs (31): private uint optionalHeader = 0;
          . AssemblyReader.cs (32): private uint dataDirectory = 0;
          . AssemblyReader.cs (33): private uint dataSections = 0;
          . AssemblyReader.cs (50): public AssemblyReader( Assembly assembly )
          . AssemblyReader.cs (52): this.assemblyPath = AssemblyHelper.GetAssemblyPath( assembly );
          . AssemblyHelper.cs (23): string path = assembly.CodeBase;
          . AssemblyHelper.cs (24): Uri uri = new Uri(path);
          . AssemblyHelper.cs (27): if (!uri.IsFile)
          . AssemblyHelper.cs (28): return assembly.Location;
          . AssemblyHelper.cs (34): }
          . AssemblyReader.cs (52): this.assemblyPath = AssemblyHelper.GetAssemblyPath( assembly );
          !E AssemblyReader.cs (53): CalcHeaderOffsets(); // AssemblyReader.CalcHeaderOffsets() throws: IOException
          .C AssemblyReader.cs (58): this.fs = new FileStream( assemblyPath, FileMode.Open, FileAccess.Read ); // Allocated resource variable: new
          FileStream
          ! AssemblyReader.cs (59): this.rdr = new BinaryReader( fs ); // Allocated resource variable: this.fs
          !E AssemblyReader.cs (60): dos_magic = rdr.ReadUInt16(); // BinaryReader.ReadUInt16() throws: IOException // Allocated resource variable:
          this.fs, this.rdr.m_stream
57:       Stream not closed: rdr.fs, rdr.rdr.m_stream                                                                                           BD.RES.LEAKS-1
          . TestAssemblyBuilder.cs (48): if ( assemblyInfo == null #x26;#x26; assembly != null )
          ! TestAssemblyBuilder.cs (50): AssemblyReader rdr = new AssemblyReader( assembly );
          . AssemblyReader.cs (22): UInt16 dos_magic = 0xffff;
          . AssemblyReader.cs (23): UInt32 pe_signature = 0xffffffff;
          . AssemblyReader.cs (29): private uint peHeader = 0;
          . AssemblyReader.cs (30): private uint fileHeader = 0;
          . AssemblyReader.cs (31): private uint optionalHeader = 0;
          . AssemblyReader.cs (32): private uint dataDirectory = 0;
          . AssemblyReader.cs (33): private uint dataSections = 0;
          . AssemblyReader.cs (50): public AssemblyReader( Assembly assembly )
          . AssemblyReader.cs (52): this.assemblyPath = AssemblyHelper.GetAssemblyPath( assembly );
          . AssemblyHelper.cs (23): string path = assembly.CodeBase;
          . AssemblyHelper.cs (24): Uri uri = new Uri(path);
          . AssemblyHelper.cs (27): if (!uri.IsFile)
          . AssemblyHelper.cs (28): return assembly.Location;
          . AssemblyHelper.cs (34): }
          . AssemblyReader.cs (52): this.assemblyPath = AssemblyHelper.GetAssemblyPath( assembly );
          ! AssemblyReader.cs (53): CalcHeaderOffsets();
          .C AssemblyReader.cs (58): this.fs = new FileStream( assemblyPath, FileMode.Open, FileAccess.Read ); // Allocated resource variable: new
          FileStream
          ! AssemblyReader.cs (59): this.rdr = new BinaryReader( fs ); // Allocated resource variable: this.fs
          . AssemblyReader.cs (60): dos_magic = rdr.ReadUInt16(); // Allocated resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (61): if ( dos_magic == 0x5a4d ) // Allocated resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (101): } // Allocated resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (54): } // Allocated resource variable: this.fs, this.rdr.m_stream
          ! TestAssemblyBuilder.cs (50): AssemblyReader rdr = new AssemblyReader( assembly ); // Allocated resource variable: new AssemblyReader.fs,
          new AssemblyReader.rdr.m_stream
          . TestAssemblyBuilder.cs (51): Version imageRuntimeVersion = new Version( rdr.ImageRuntimeVersion.Substring( 1 ) ); // Allocated resource
          variable: rdr.fs, rdr.rdr.m_stream
          . AssemblyReader.cs (142): string runtimeVersion = string.Empty; // Allocated resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (144): if (this.IsDotNetFile) // Allocated resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (130): return IsValidPeFile #x26;#x26; numDataDirectoryEntries > 14 #x26;#x26; DataDirectoryRva(14) != 0; // Allocated
          resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (125): return dos_magic == 0x5a4d #x26;#x26; pe_signature == 0x00004550; } // Allocated resource variable: this.fs,
          this.rdr.m_stream




             Page 10                                                                                          dotTEST Report [09/21/11 14:13:53]
. AssemblyReader.cs (130): return IsValidPeFile #x26;#x26; numDataDirectoryEntries > 14 #x26;#x26; DataDirectoryRva(14) != 0; } // Allocated
          resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (144): if (this.IsDotNetFile) // Allocated resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (171): return runtimeVersion; // Allocated resource variable: this.fs, this.rdr.m_stream
          . AssemblyReader.cs (172): } // Allocated resource variable: this.fs, this.rdr.m_stream
          !E TestAssemblyBuilder.cs (51): Version imageRuntimeVersion = new Version( rdr.ImageRuntimeVersion.Substring( 1 ) ); // Version..ctor() throws:
          OverflowException // Allocated resource variable: rdr.fs, rdr.rdr.m_stream
          .P TestAssemblyBuilder.cs (57): } // Allocated resource variable: rdr.fs, rdr.rdr.m_stream
182:      "assembly" may possibly be null                                                                                                  BD.EXCEPT.NR-1
          . TestAssemblyBuilder.cs (171): Assembly assembly = null;
          . TestAssemblyBuilder.cs (175): AssemblyName assemblyName = AssemblyName.GetAssemblyName( Path.GetFileName( path ) );
          . TestAssemblyBuilder.cs (177): assembly = Assembly.Load(assemblyName);
          .C TestAssemblyBuilder.cs (179): if ( assembly != null ) // Null value carrier: assembly
          .P TestAssemblyBuilder.cs (182): log.Info( "Loaded assembly " + assembly.FullName ); // Null value carrier: assembly
nunit/nunit.core.dll/Builders/TestCaseSourceProvider.cs
73:       "info.GetInstance()" may possibly be null                                                                                        BD.EXCEPT.NR-1
          ! TestCaseSourceProvider.cs (73): info.GetInstance()
          ! ProviderInfo.cs (52): return (IEnumerable)GetProviderObjectFromMember(members[0]);
          .C ProviderInfo.cs (57): object providerObject = null; // Null value carrier: providerObject
          . ProviderInfo.cs (58): object instance = null; // Null value carrier: providerObject
          . ProviderInfo.cs (60): switch (member.MemberType) // Null value carrier: providerObject
          ! ProviderInfo.cs (88): return providerObject; // Null value carrier: providerObject
          ! ProviderInfo.cs (89): } // Null value carrier: CS$1$0000
          ! ProviderInfo.cs (52): return (IEnumerable)GetProviderObjectFromMember(members[0]); // Null value carrier:
          this.GetProviderObjectFromMember(...)
          ! ProviderInfo.cs (53): } // Null value carrier: CS$1$0000
          .P TestCaseSourceProvider.cs (73): info.GetInstance() // Null value carrier: info.GetInstance()
nunit/nunit.core.dll/NUnitConfiguration.cs
203:      Registry key not closed: key                                                                                                     BD.RES.LEAKS-1
          . NUnitConfiguration.cs (187): if (monoExePath == null)
          . NUnitConfiguration.cs (189): string[] searchNames = IsWindows() ? new string[] { "mono.bat", "mono.cmd", "mono.exe" } : new string[] { "mono",
          "mono....
          . NUnitConfiguration.cs (237): return Environment.OSVersion.Platform == PlatformID.Win32NT;
          . NUnitConfiguration.cs (238): }
          . NUnitConfiguration.cs (189): string[] searchNames = IsWindows() ? new string[] { "mono.bat", "mono.cmd", "mono.exe" } : new string[] { "mono",
          "mono....
          . NUnitConfiguration.cs (193): monoExePath = FindOneOnPath(searchNames);
          . NUnitConfiguration.cs (232): return null;
          . NUnitConfiguration.cs (233): }
          . NUnitConfiguration.cs (193): monoExePath = FindOneOnPath(searchNames);
          . NUnitConfiguration.cs (195): if (monoExePath == null #x26;#x26; IsWindows())
          . NUnitConfiguration.cs (237): return Environment.OSVersion.Platform == PlatformID.Win32NT;
          . NUnitConfiguration.cs (238): }
          . NUnitConfiguration.cs (195): if (monoExePath == null #x26;#x26; IsWindows())
          .C NUnitConfiguration.cs (197): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); // Allocated resource variable:
          LocalMachine.OpenSubKey(...)
          . NUnitConfiguration.cs (198): if (key != null) // Allocated resource variable: key
          . NUnitConfiguration.cs (200): string version = key.GetValue("DefaultCLR") as string; // Allocated resource variable: key
          . NUnitConfiguration.cs (201): if (version != null) // Allocated resource variable: key
          .P NUnitConfiguration.cs (203): key = key.OpenSubKey(version); // Allocated resource variable: key
219:      Registry key not closed: key                                                                                                     BD.RES.LEAKS-1
          . NUnitConfiguration.cs (187): if (monoExePath == null)
          . NUnitConfiguration.cs (189): string[] searchNames = IsWindows() ? new string[] { "mono.bat", "mono.cmd", "mono.exe" } : new string[] { "mono",
          "mono....
          . NUnitConfiguration.cs (237): return Environment.OSVersion.Platform == PlatformID.Win32NT;
          . NUnitConfiguration.cs (238): }
          . NUnitConfiguration.cs (189): string[] searchNames = IsWindows() ? new string[] { "mono.bat", "mono.cmd", "mono.exe" } : new string[] { "mono",
          "mono....
          . NUnitConfiguration.cs (193): monoExePath = FindOneOnPath(searchNames);
          . NUnitConfiguration.cs (232): return null;
          . NUnitConfiguration.cs (233): }
          . NUnitConfiguration.cs (193): monoExePath = FindOneOnPath(searchNames);
          . NUnitConfiguration.cs (195): if (monoExePath == null #x26;#x26; IsWindows())
          . NUnitConfiguration.cs (237): return Environment.OSVersion.Platform == PlatformID.Win32NT;
          . NUnitConfiguration.cs (238): }
          . NUnitConfiguration.cs (195): if (monoExePath == null #x26;#x26; IsWindows())
          .C NUnitConfiguration.cs (197): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); // Allocated resource variable:
          LocalMachine.OpenSubKey(...)
          . NUnitConfiguration.cs (198): if (key != null) // Allocated resource variable: key
          !E NUnitConfiguration.cs (200): string version = key.GetValue("DefaultCLR") as string; // RegistryKey.GetValue() throws: SecurityException //
          Allocated resource variable: key
          .P NUnitConfiguration.cs (219): } // Allocated resource variable: key
219:      Registry key not closed: key                                                                                                     BD.RES.LEAKS-1
          . NUnitConfiguration.cs (187): if (monoExePath == null)
          . NUnitConfiguration.cs (189): string[] searchNames = IsWindows() ? new string[] { "mono.bat", "mono.cmd", "mono.exe" } : new string[] { "mono",
          "mono....
          . NUnitConfiguration.cs (237): return Environment.OSVersion.Platform == PlatformID.Win32NT;
          . NUnitConfiguration.cs (238): }


                                                                                   dotTEST Report [09/21/11 14:13:53]                    Page 11
. NUnitConfiguration.cs (189): string[] searchNames = IsWindows() ? new string[] { "mono.bat", "mono.cmd", "mono.exe" } : new string[] { "mono",
          "mono....
          . NUnitConfiguration.cs (193): monoExePath = FindOneOnPath(searchNames);
          . NUnitConfiguration.cs (232): return null;
          . NUnitConfiguration.cs (233): }
          . NUnitConfiguration.cs (193): monoExePath = FindOneOnPath(searchNames);
          . NUnitConfiguration.cs (195): if (monoExePath == null #x26;#x26; IsWindows())
          . NUnitConfiguration.cs (237): return Environment.OSVersion.Platform == PlatformID.Win32NT;
          . NUnitConfiguration.cs (238): }
          . NUnitConfiguration.cs (195): if (monoExePath == null #x26;#x26; IsWindows())
          . NUnitConfiguration.cs (197): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono");
          . NUnitConfiguration.cs (198): if (key != null)
          . NUnitConfiguration.cs (200): string version = key.GetValue("DefaultCLR") as string;
          . NUnitConfiguration.cs (201): if (version != null)
          .C NUnitConfiguration.cs (203): key = key.OpenSubKey(version); // Allocated resource variable: key.OpenSubKey(...)
          . NUnitConfiguration.cs (204): if (key != null) // Allocated resource variable: key
          !E NUnitConfiguration.cs (206): string installDir = key.GetValue("SdkInstallRoot") as string; // RegistryKey.GetValue() throws: SecurityException //
          Allocated resource variable: key
          .P NUnitConfiguration.cs (219): } // Allocated resource variable: key
nunit/nunit.core.dll/NUnitFramework.cs
229:      "categoryName" may possibly be null                                                                                                  BD.EXCEPT.NR-1
          . NUnitFramework.cs (175): Attribute attribute in attributes
          . NUnitFramework.cs (177): Type attributeType = attribute.GetType();
          . NUnitFramework.cs (178): string attributeName = attributeType.FullName;
          . NUnitFramework.cs (179): bool isValid = test.RunState != RunState.NotRunnable;
          . Test.cs (186): return runState; }
          . NUnitFramework.cs (179): bool isValid = test.RunState != RunState.NotRunnable;
          . NUnitFramework.cs (181): switch (attributeName)
          . NUnitFramework.cs (224): if ( Reflect.InheritsFrom( attributeType, CategoryAttribute ) )
          . Reflect.cs (130): Type current = type; current != typeof( object )
          . Reflect.cs (131): if( current.FullName == typeName )
          . Reflect.cs (132): return true;
          . Reflect.cs (135): }
          . NUnitFramework.cs (224): if ( Reflect.InheritsFrom( attributeType, CategoryAttribute ) )
          ! NUnitFramework.cs (226): string categoryName = (string)Reflect.GetPropertyValue(attribute, PropertyNames.CategoryName);
          ! Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance );
          . Reflect.cs (337): PropertyInfo property = GetNamedProperty( obj.GetType(), name, bindingFlags );
          . Reflect.cs (314): return type.GetProperty( name, bindingFlags );
          . Reflect.cs (315): }
          . Reflect.cs (337): PropertyInfo property = GetNamedProperty( obj.GetType(), name, bindingFlags );
          . Reflect.cs (338): if ( property != null )
          .C Reflect.cs (340): return null; // Null value carrier: CS$1$0000
          ! Reflect.cs (341): } // Null value carrier: CS$1$0000
          ! Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); // Null value carrier: GetPropertyValue(...)
          ! Reflect.cs (326): } // Null value carrier: CS$1$0000
          ! NUnitFramework.cs (226): string categoryName = (string)Reflect.GetPropertyValue(attribute, PropertyNames.CategoryName); // Null value
          carrier: GetPropertyValue(...)
          . NUnitFramework.cs (227): test.Categories.Add(categoryName); // Null value carrier: categoryName
          .P NUnitFramework.cs (229): if (categoryName.IndexOfAny(new char[] { ',', '!', '+', '-' }) >= 0) // Null value carrier: categoryName
nunit/nunit.core.dll/SimpleTestRunner.cs
150:      "this.get_Test()" may possibly be null                                                                                               BD.EXCEPT.NR-1
          . SimpleTestRunner.cs (145): log.Debug("Starting test run");
          . Logger.cs (70): Log(InternalTraceLevel.Verbose, message);
          . Logger.cs (82): if (InternalTrace.Level >= level)
          . Logger.cs (84): }
          . Logger.cs (71): }
          . SimpleTestRunner.cs (148): this.runThread = Thread.CurrentThread;
          ! SimpleTestRunner.cs (150): listener.RunStarted( this.Test.TestName.FullName, test.CountTestCases( filter ) );
          .C SimpleTestRunner.cs (82): return test == null ? null : new TestNode( test ); } // Null value carrier: CS$1$0000
          .P SimpleTestRunner.cs (150): listener.RunStarted( this.Test.TestName.FullName, test.CountTestCases( filter ) ); // Null value carrier:
          this.get_Test()
nunit/nunit.core.dll/TestMethod.cs
77:       "method" may possibly be null                                                                                                        BD.EXCEPT.NR-1
          ! TestCaseResultFixture.cs (25): caseResult = new TestResult( new TestInfo(new NUnitTestMethod(Reflect.GetNamedMethod( this.GetType(),
          "DummyMethod" ) ) ...
          . Reflect.cs (240): GetMethods( fixtureType )
          . Reflect.cs (185): MethodInfo[] result = fixtureType.GetMethods(AllMembers);
          . Reflect.cs (187): return result;
          . Reflect.cs (188): }
          . Reflect.cs (240): in GetMethods( fixtureType )
          .C Reflect.cs (246): return null; // Null value carrier: CS$1$0000
          ! Reflect.cs (247): } // Null value carrier: CS$1$0000
          ! TestCaseResultFixture.cs (25): caseResult = new TestResult( new TestInfo(new NUnitTestMethod(Reflect.GetNamedMethod( this.GetType(),
          "DummyMethod" ) ) ... // Null value carrier: GetNamedMethod(...)
          ! NUnitTestMethod.cs (17): public NUnitTestMethod(MethodInfo method) : base(method) // Null value carrier: method
          .P TestMethod.cs (77): public TestMethod( MethodInfo method ) : base( method.ReflectedType.FullName, method.Name ) // Null value carrier:
          method
279:      "testResult" may possibly be null                                                                                                    BD.EXCEPT.NR-1



             Page 12                                                                                         dotTEST Report [09/21/11 14:13:53]
. TestMethod.cs (268): TestResult testResult = null;
          . TestMethod.cs (270): int repeatCount = this.Properties.Contains("Repeat") ? (int)this.Properties["Repeat"] : 1;
          . Test.cs (254): if ( properties == null )
          . Test.cs (257): return properties;
          . Test.cs (258): }
          . TestMethod.cs (270): int repeatCount = this.Properties.Contains("Repeat") ? (int)this.Properties["Repeat"] : 1;
          . TestMethod.cs (273): while (repeatCount-- > 0)
          . TestMethod.cs (275): testResult = ShouldRunOnOwnThread ? new TestMethodThread(this).Run(NullListener.NULL, TestFilter.Empty) :
          RunTest();
          . TestMethod.cs (149): return base.ShouldRunOnOwnThread || Timeout > 0;
          . Test.cs (93): return RequiresThread || ApartmentState != ApartmentState.Unknown #x26;#x26; ApartmentState != GetCurrentApartment();
          . Test.cs (96): }
          . TestMethod.cs (149): return base.ShouldRunOnOwnThread || Timeout > 0;
          . TestMethod.cs (150): }
          ! TestMethod.cs (275): testResult = ShouldRunOnOwnThread ? new TestMethodThread(this).Run(NullListener.NULL, TestFilter.Empty) :
          RunTest();
          ! TestThread.cs (152): public TestMethodThread(TestMethod testMethod) : base(testMethod)
          .C TestThread.cs (34): protected TestResult threadResult; // Null value carrier: this.threadResult
          . TestThread.cs (49): protected TestThread(Test test) // Null value carrier: this.threadResult
          . TestThread.cs (51): this.test = test; // Null value carrier: this.threadResult
          . TestThread.cs (53): this.thread = new Thread(new ThreadStart(RunTestProc)); // Null value carrier: this.threadResult
          . TestThread.cs (54): thread.CurrentCulture = Thread.CurrentThread.CurrentCulture; // Null value carrier: this.threadResult
          . TestThread.cs (55): thread.CurrentUICulture = Thread.CurrentThread.CurrentUICulture; // Null value carrier: this.threadResult
          . TestThread.cs (58): if ( test.ApartmentState != ApartmentState.Unknown ) // Null value carrier: this.threadResult
          . TestThread.cs (60): } // Null value carrier: this.threadResult
          . TestThread.cs (155): this.testMethod = testMethod; // Null value carrier: this.threadResult
          . TestThread.cs (156): } // Null value carrier: this.threadResult
          ! TestMethod.cs (275): testResult = ShouldRunOnOwnThread ? new TestMethodThread(this).Run(NullListener.NULL, TestFilter.Empty) :
          RunTest(); // Null value carrier: new TestMethodThread.threadResult
          . TestThread.cs (89): TestResult testResult = new TestResult(test); // Null value carrier: this.threadResult
          . TestThread.cs (91): this.thrownException = null; // Null value carrier: this.threadResult
          . TestThread.cs (92): this.listener = listener; // Null value carrier: this.threadResult
          . TestThread.cs (93): this.filter = filter; // Null value carrier: this.threadResult
          . TestThread.cs (94): this.contextDictionary = (TestMethod.ContextDictionary)CallContext.GetData("NUnit.Framework.TestContext"); // Null value
          carrier: this.threadResult
          . TestThread.cs (96): log.Debug("Starting test in separate thread"); // Null value carrier: this.threadResult
          . TestThread.cs (97): thread.Start(); // Null value carrier: this.threadResult
          . TestThread.cs (98): thread.Join(this.Timeout); // Null value carrier: this.threadResult
          . TestThread.cs (162): return testMethod.Timeout == 0 ? System.Threading.Timeout.Infinite : testMethod.Timeout; // Null value carrier:
          this.threadResult
          . TestThread.cs (165): } // Null value carrier: this.threadResult
          . TestThread.cs (98): thread.Join(this.Timeout); // Null value carrier: this.threadResult
          . TestThread.cs (101): if (thread.IsAlive) // Null value carrier: this.threadResult
          . TestThread.cs (108): if (thrownException != null) // Null value carrier: this.threadResult
          . TestThread.cs (115): log.Debug("Test completed normally"); // Null value carrier: this.threadResult
          ! TestThread.cs (116): testResult = threadResult; // Null value carrier: this.threadResult
          ! TestThread.cs (119): return testResult; // Null value carrier: testResult
          ! TestThread.cs (120): } // Null value carrier: CS$1$0000
          ! TestMethod.cs (275): testResult = ShouldRunOnOwnThread ? new TestMethodThread(this).Run(NullListener.NULL, TestFilter.Empty) :
          RunTest(); // Null value carrier: new TestMethodThread.Run(...)
          .P TestMethod.cs (279): if (testResult.ResultState == ResultState.Failure || testResult.ResultState == ResultState.Error || testResult.ResultSta... //
          Null value carrier: testResult
450:      "this._ec.get_CurrentTest().get_FixtureType()" may possibly be null                                                               BD.EXCEPT.NR-1
          . TestMethod.cs (439): switch (key as string)
          . TestMethod.cs (450): return AssemblyHelper.GetDirectoryName(_ec.CurrentTest.FixtureType.Assembly);
          . TestExecutionContext.cs (352): return currentTest; }
          ! TestMethod.cs (450): return AssemblyHelper.GetDirectoryName(_ec.CurrentTest.FixtureType.Assembly);
          .C Test.cs (305): return null; } // Null value carrier: CS$1$0000
          .P TestMethod.cs (450): return AssemblyHelper.GetDirectoryName(_ec.CurrentTest.FixtureType.Assembly); // Null value carrier:
          this._ec.get_CurrentTest().get_FixtureType()
nunit/nunit.core.interfaces.dll/RuntimeFramework.cs
358:      Registry key not closed: subKey                                                                                                    BD.RES.LEAKS-1
          . RuntimeFramework.cs (350): if (Environment.OSVersion.Platform == PlatformID.Win32NT)
          . RuntimeFramework.cs (353): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono");
          . RuntimeFramework.cs (354): if (key == null)
          . RuntimeFramework.cs (356): string version in key.GetSubKeyNames()
          .C RuntimeFramework.cs (358): RegistryKey subKey = key.OpenSubKey(version); // Allocated resource variable: key.OpenSubKey(...)
          . RuntimeFramework.cs (359): string monoPrefix = subKey.GetValue("SdkInstallRoot") as string; // Allocated resource variable: subKey
          . RuntimeFramework.cs (361): AppendMonoFramework(frameworks, monoPrefix, version); // Allocated resource variable: subKey
          . RuntimeFramework.cs (362): } // Allocated resource variable: subKey
          . RuntimeFramework.cs (356): string version in // Allocated resource variable: subKey
          .P RuntimeFramework.cs (358): RegistryKey subKey = key.OpenSubKey(version); // Allocated resource variable: subKey
366:      Registry key not closed: key                                                                                                       BD.RES.LEAKS-1
          . RuntimeFramework.cs (350): if (Environment.OSVersion.Platform == PlatformID.Win32NT)
          .C RuntimeFramework.cs (353): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); // Allocated resource
          variable: LocalMachine.OpenSubKey(...)
          . RuntimeFramework.cs (354): if (key == null) // Allocated resource variable: key
          !E RuntimeFramework.cs (356): key.GetSubKeyNames() // RegistryKey.GetSubKeyNames() throws: IOException // Allocated resource variable:
          key



                                                                                       dotTEST Report [09/21/11 14:13:53]                      Page 13
.P RuntimeFramework.cs (366): } // Allocated resource variable: key
366:   Registry key not closed: subKey                                                                                              BD.RES.LEAKS-1
       . RuntimeFramework.cs (350): if (Environment.OSVersion.Platform == PlatformID.Win32NT)
       . RuntimeFramework.cs (353): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono");
       . RuntimeFramework.cs (354): if (key == null)
       . RuntimeFramework.cs (356): string version in key.GetSubKeyNames()
       .C RuntimeFramework.cs (358): RegistryKey subKey = key.OpenSubKey(version); // Allocated resource variable: key.OpenSubKey(...)
       !E RuntimeFramework.cs (359): string monoPrefix = subKey.GetValue("SdkInstallRoot") as string; // RegistryKey.GetValue() throws:
       SecurityException // Allocated resource variable: subKey
       .P RuntimeFramework.cs (366): } // Allocated resource variable: subKey
383:   Registry key not closed: key                                                                                                 BD.RES.LEAKS-1
       . RuntimeFramework.cs (372): string monoPrefix = null;
       . RuntimeFramework.cs (373): string version = null;
       . RuntimeFramework.cs (375): if (Environment.OSVersion.Platform == PlatformID.Win32NT)
       .C RuntimeFramework.cs (377): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); // Allocated resource
       variable: LocalMachine.OpenSubKey(...)
       . RuntimeFramework.cs (378): if (key != null) // Allocated resource variable: key
       . RuntimeFramework.cs (380): version = key.GetValue("DefaultCLR") as string; // Allocated resource variable: key
       . RuntimeFramework.cs (381): if (version != null #x26;#x26; version != "") // Allocated resource variable: key
       .P RuntimeFramework.cs (383): key = key.OpenSubKey(version); // Allocated resource variable: key
396:   Registry key not closed: key                                                                                                 BD.RES.LEAKS-1
       . RuntimeFramework.cs (372): string monoPrefix = null;
       . RuntimeFramework.cs (373): string version = null;
       . RuntimeFramework.cs (375): if (Environment.OSVersion.Platform == PlatformID.Win32NT)
       .C RuntimeFramework.cs (377): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); // Allocated resource
       variable: LocalMachine.OpenSubKey(...)
       . RuntimeFramework.cs (378): if (key != null) // Allocated resource variable: key
       !E RuntimeFramework.cs (380): version = key.GetValue("DefaultCLR") as string; // RegistryKey.GetValue() throws: SecurityException // Allocated
       resource variable: key
       .P RuntimeFramework.cs (396): } // Allocated resource variable: key
396:   Registry key not closed: key                                                                                                 BD.RES.LEAKS-1
       . RuntimeFramework.cs (372): string monoPrefix = null;
       . RuntimeFramework.cs (373): string version = null;
       . RuntimeFramework.cs (375): if (Environment.OSVersion.Platform == PlatformID.Win32NT)
       . RuntimeFramework.cs (377): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono");
       . RuntimeFramework.cs (378): if (key != null)
       . RuntimeFramework.cs (380): version = key.GetValue("DefaultCLR") as string;
       . RuntimeFramework.cs (381): if (version != null #x26;#x26; version != "")
       .C RuntimeFramework.cs (383): key = key.OpenSubKey(version); // Allocated resource variable: key.OpenSubKey(...)
       . RuntimeFramework.cs (384): if (key != null) // Allocated resource variable: key
       !E RuntimeFramework.cs (385): monoPrefix = key.GetValue("SdkInstallRoot") as string; // RegistryKey.GetValue() throws: SecurityException //
       Allocated resource variable: key
       .P RuntimeFramework.cs (396): } // Allocated resource variable: key
440:   Registry key not closed: key2                                                                                                BD.RES.LEAKS-1
       . RuntimeFramework.cs (431): if (Environment.OSVersion.Platform == PlatformID.Win32NT)
       . RuntimeFramework.cs (433): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareMicrosoft.NETFrameworkpolicy");
       . RuntimeFramework.cs (434): if (key != null)
       . RuntimeFramework.cs (436): string name in key.GetSubKeyNames()
       . RuntimeFramework.cs (438): if (name.StartsWith("v"))
       . RuntimeFramework.cs (444): }
       . RuntimeFramework.cs (436): string name in
       . RuntimeFramework.cs (438): if (name.StartsWith("v"))
       .C RuntimeFramework.cs (440): RegistryKey key2 = key.OpenSubKey(name); // Allocated resource variable: key.OpenSubKey(...)
       . RuntimeFramework.cs (441): in key2.GetValueNames() // Allocated resource variable: key2
       . RuntimeFramework.cs (444): } // Allocated resource variable: key2
       . RuntimeFramework.cs (436): string name in // Allocated resource variable: key2
       . RuntimeFramework.cs (438): if (name.StartsWith("v")) // Allocated resource variable: key2
       .P RuntimeFramework.cs (440): RegistryKey key2 = key.OpenSubKey(name); // Allocated resource variable: key2
447:   Registry key not closed: key                                                                                                 BD.RES.LEAKS-1
       . RuntimeFramework.cs (431): if (Environment.OSVersion.Platform == PlatformID.Win32NT)
       .C RuntimeFramework.cs (433): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareMicrosoft.NETFrameworkpolicy"); //
       Allocated resource variable: LocalMachine.OpenSubKey(...)
       . RuntimeFramework.cs (434): if (key != null) // Allocated resource variable: key
       !E RuntimeFramework.cs (436): key.GetSubKeyNames() // RegistryKey.GetSubKeyNames() throws: IOException // Allocated resource variable:
       key
       .P RuntimeFramework.cs (447): } // Allocated resource variable: key
447:   Registry key not closed: key2                                                                                                BD.RES.LEAKS-1
       . RuntimeFramework.cs (431): if (Environment.OSVersion.Platform == PlatformID.Win32NT)
       . RuntimeFramework.cs (433): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareMicrosoft.NETFrameworkpolicy");
       . RuntimeFramework.cs (434): if (key != null)
       . RuntimeFramework.cs (436): string name in key.GetSubKeyNames()
       . RuntimeFramework.cs (438): if (name.StartsWith("v"))
       . RuntimeFramework.cs (444): }
       . RuntimeFramework.cs (436): string name in
       . RuntimeFramework.cs (438): if (name.StartsWith("v"))
       .C RuntimeFramework.cs (440): RegistryKey key2 = key.OpenSubKey(name); // Allocated resource variable: key.OpenSubKey(...)




        Page 14                                                                                       dotTEST Report [09/21/11 14:13:53]
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST
Nunit  C# source code  defects report by Parasoft dotTEST

Weitere ähnliche Inhalte

Andere mochten auch

WPF/ XamDataGrid Performance, Infragistics Seminar, Israel , November 2011
WPF/ XamDataGrid Performance, Infragistics Seminar, Israel , November 2011WPF/ XamDataGrid Performance, Infragistics Seminar, Israel , November 2011
WPF/ XamDataGrid Performance, Infragistics Seminar, Israel , November 2011Engineering Software Lab
 
Code coverage in theory and in practice form the do178 b perspective
Code coverage in theory and in practice form the do178 b perspectiveCode coverage in theory and in practice form the do178 b perspective
Code coverage in theory and in practice form the do178 b perspectiveEngineering Software Lab
 
CppUnit using introduction
CppUnit using introductionCppUnit using introduction
CppUnit using introductionIurii Kyian
 
Unit testing on embedded target with C++Test
Unit testing on embedded  target with C++TestUnit testing on embedded  target with C++Test
Unit testing on embedded target with C++TestEngineering Software Lab
 
Code Coverage in Theory and in practice form the DO178B perspective
Code Coverage in Theory and in practice form the DO178B perspective   Code Coverage in Theory and in practice form the DO178B perspective
Code Coverage in Theory and in practice form the DO178B perspective Engineering Software Lab
 

Andere mochten auch (10)

Parasoft fda software compliance part1
Parasoft fda software compliance   part1Parasoft fda software compliance   part1
Parasoft fda software compliance part1
 
WPF/ XamDataGrid Performance, Infragistics Seminar, Israel , November 2011
WPF/ XamDataGrid Performance, Infragistics Seminar, Israel , November 2011WPF/ XamDataGrid Performance, Infragistics Seminar, Israel , November 2011
WPF/ XamDataGrid Performance, Infragistics Seminar, Israel , November 2011
 
Palamida Open Source Compliance Solution
Palamida Open Source Compliance Solution Palamida Open Source Compliance Solution
Palamida Open Source Compliance Solution
 
Code coverage in theory and in practice form the do178 b perspective
Code coverage in theory and in practice form the do178 b perspectiveCode coverage in theory and in practice form the do178 b perspective
Code coverage in theory and in practice form the do178 b perspective
 
FDA software compliance 2016
FDA software compliance 2016FDA software compliance 2016
FDA software compliance 2016
 
CppUnit using introduction
CppUnit using introductionCppUnit using introduction
CppUnit using introduction
 
Unit testing on embedded target with C++Test
Unit testing on embedded  target with C++TestUnit testing on embedded  target with C++Test
Unit testing on embedded target with C++Test
 
Embedded System Test Automation
Embedded System Test AutomationEmbedded System Test Automation
Embedded System Test Automation
 
Code Coverage in Theory and in practice form the DO178B perspective
Code Coverage in Theory and in practice form the DO178B perspective   Code Coverage in Theory and in practice form the DO178B perspective
Code Coverage in Theory and in practice form the DO178B perspective
 
Cpp unit
Cpp unit Cpp unit
Cpp unit
 

Kürzlich hochgeladen

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Kürzlich hochgeladen (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

Nunit C# source code defects report by Parasoft dotTEST

  • 1. dotTEST Report [09/21/11 14:13:53] STATIC ANALYSIS Project Name Tasks Files Lines suppressed / total / per 10,000 lines checked / total checked / total loadtest-assembly 0 | 0 | 0 21 | 21 3520 | 3520 mock-assembly 0 | 0 | 0 2 | 2 340 | 340 nonamespace-assembly 0 | 0 | 0 2 | 2 64 | 64 nunit-agent.exe 0 | 0 | 0 4 | 4 236 | 236 nunit-console 0 | 9 | 92 7 | 7 969 | 969 nunit-console.exe 0 | 0 | 0 4 | 4 140 | 140 nunit-console.tests 0 | 0 | 0 5 | 5 547 | 547 nunit-gui 0 | 17 | 19 35 | 35 8549 | 8549 nunit-gui.exe 0 | 0 | 0 4 | 4 146 | 146 nunit-gui.tests 0 | 0 | 0 4 | 4 243 | 243 nunit-server.exe 0 | 0 | 0 2 | 2 76 | 76 nunit.core.dll 0 | 18 | 15 86 | 86 11963 | 11963 nunit.core.interfaces.dll 0 | 11 | 20 47 | 47 5392 | 5392 nunit.core.tests 0 | 24 | 25 78 | 78 9410 | 9410 nunit.fixtures 0 | 0 | 0 7 | 7 374 | 374 nunit.fixtures.tests 0 | 0 | 0 3 | 3 187 | 187 nunit.framework.dll 0 | 1 | 0 100 | 100 19597 | 19597 nunit.framework.tests 0 | 4 | 3 70 | 70 10837 | 10837 nunit.mocks 0 | 0 | 0 13 | 13 718 | 718 nunit.mocks.tests 0 | 0 | 0 3 | 3 556 | 556 nunit.uiexception.dll 0 | 33 | 46 46 | 46 7170 | 7170 nunit.uiexception.tests 0 | 0 | 0 35 | 35 6760 | 6760 nunit.uikit.dll 0 | 27 | 19 64 | 64 13743 | 13743 nunit.uikit.tests 0 | 0 | 0 11 | 11 1245 | 1245 nunit.util.dll 0 | 15 | 16 64 | 64 9310 | 9310 nunit.util.tests 0 | 12 | 21 47 | 47 5678 | 5678 pnunit-agent 0 | 2 | 29 5 | 5 687 | 687 pnunit-launcher 0 | 1 | 14 6 | 6 671 | 671 pnunit.framework dotTEST Report [09/21/11 14:13:53] Page 1
  • 2. 0 | 0 | 0 3 | 3 267 | 267 pnunit.tests 0 | 0 | 0 3 | 3 80 | 80 test-assembly 0 | 0 | 0 32 | 32 3185 | 3185 test-utilities 0 | 1 | 13 7 | 7 746 | 746 timing-tests 0 | 0 | 0 3 | 3 151 | 151 Total [0:41:59] 0 | 175 | 14 823 | 823 123557 | 123557 All Tasks by Category [38] Resources (BD.RES) [38] Ensure resources are deallocated (BD.RES.LEAKS-1) [85] Exceptions (BD.EXCEPT) [32] Avoid ArgumentNullException (BD.EXCEPT.AN-1) [53] Avoid NullReferenceException (BD.EXCEPT.NR-1) [48] Security (BD.SECURITY) [46] Prevent exposure of sensitive data (BD.SECURITY.SENS-1) [2] Protect against file name injection (BD.SECURITY.TDFNAMES-1) [4] Possible Bugs (BD.PB) [4] Do not append null value to strings (BD.PB.STRNULL-2) [171] Severity 1 - Highest [32] Avoid ArgumentNullException (BD.EXCEPT.AN-1) [53] Avoid NullReferenceException (BD.EXCEPT.NR-1) [38] Ensure resources are deallocated (BD.RES.LEAKS-1) [46] Prevent exposure of sensitive data (BD.SECURITY.SENS-1) [2] Protect against file name injection (BD.SECURITY.TDFNAMES-1) [4] Severity 2 - High [4] Do not append null value to strings (BD.PB.STRNULL-2) Author Tasks suppressed/ total / recommended daniel.l 0 175 50 Total Tasks: 175 daniel.l [175] ^ nunit/nunit-console/ConsoleUi.cs 180: Stream not closed: ((StreamWriter)errorWriter).stream, errorStreamWriter.stream BD.RES.LEAKS-1 . ConsoleUi.cs (36): TextWriter outWriter = Console.Out; . ConsoleUi.cs (37): bool redirectOutput = options.output != null #x26;#x26; options.output != string.Empty; . ConsoleUi.cs (38): if ( redirectOutput ) . ConsoleUi.cs (45): TextWriter errorWriter = Console.Error; . ConsoleUi.cs (46): bool redirectError = options.err != null #x26;#x26; options.err != string.Empty; . ConsoleUi.cs (47): if ( redirectError ) .C ConsoleUi.cs (49): StreamWriter errorStreamWriter = new StreamWriter( options.err ); // Allocated resource variable: new StreamWriter.stream . ConsoleUi.cs (50): errorStreamWriter.AutoFlush = true; // Allocated resource variable: errorStreamWriter.stream ! ConsoleUi.cs (51): errorWriter = errorStreamWriter; // Allocated resource variable: errorStreamWriter.stream . ConsoleUi.cs (54): TestPackage package = MakeTestPackage(options); // Allocated resource variable: ((StreamWriter)errorWriter).stream, errorStreamWriter.stream !E ConsoleUi.cs (56): Console.WriteLine("ProcessModel: {0} DomainUsage: {1}", package.Settings.Contains("ProcessModel") ? package.Settings[... // Console.WriteLine() throws: IOException // Allocated resource variable: ((StreamWriter)errorWriter).stream, errorStreamWriter.stream .P ConsoleUi.cs (180): } // Allocated resource variable: ((StreamWriter)errorWriter).stream, errorStreamWriter.stream 180: Stream not closed: ((StreamWriter)outWriter).stream, outStreamWriter.stream BD.RES.LEAKS-1 . ConsoleUi.cs (36): TextWriter outWriter = Console.Out; . ConsoleUi.cs (37): bool redirectOutput = options.output != null #x26;#x26; options.output != string.Empty; . ConsoleUi.cs (38): if ( redirectOutput ) .C ConsoleUi.cs (40): StreamWriter outStreamWriter = new StreamWriter( options.output ); // Allocated resource variable: new StreamWriter.stream . ConsoleUi.cs (41): outStreamWriter.AutoFlush = true; // Allocated resource variable: outStreamWriter.stream ! ConsoleUi.cs (42): outWriter = outStreamWriter; // Allocated resource variable: outStreamWriter.stream . ConsoleUi.cs (45): TextWriter errorWriter = Console.Error; // Allocated resource variable: ((StreamWriter)outWriter).stream, outStreamWriter.stream . ConsoleUi.cs (46): bool redirectError = options.err != null #x26;#x26; options.err != string.Empty; // Allocated resource variable: ((StreamWriter)outWriter).stream, outStreamWriter.stream . ConsoleUi.cs (47): if ( redirectError ) // Allocated resource variable: ((StreamWriter)outWriter).stream, outStreamWriter.stream !E ConsoleUi.cs (49): StreamWriter errorStreamWriter = new StreamWriter( options.err ); // StreamWriter..ctor() throws: DirectoryNotFoundException // Allocated resource variable: ((StreamWriter)outWriter).stream, outStreamWriter.stream .P ConsoleUi.cs (180): } // Allocated resource variable: ((StreamWriter)outWriter).stream, outStreamWriter.stream 324: Leakage of ToString() result ("status") via console BD.SECURITY.SENS-1 Page 2 dotTEST Report [09/21/11 14:13:53]
  • 3. . ConsoleUi.cs (320): string status = result.IsFailure || result.IsError ? string.Format("{0} {1}", result.FailureSite, result.ResultState) : ... . TestResult.cs (160): return resultState == ResultState.Failure; } . ConsoleUi.cs (320): string status = result.IsFailure || result.IsError ? string.Format("{0} {1}", result.FailureSite, result.ResultState) : ... . TestResult.cs (168): return resultState == ResultState.Error; } . ConsoleUi.cs (320): string status = result.IsFailure || result.IsError ? string.Format("{0} {1}", result.FailureSite, result.ResultState) : ... . TestResult.cs (97): return resultState; } .C ConsoleUi.cs (320): string status = result.IsFailure || result.IsError ? string.Format("{0} {1}", result.FailureSite, result.ResultState) : ... // Sensitive data: new ResultState.ToString() .P ConsoleUi.cs (324): Console.WriteLine("{0}) {1} : {2}", ++reportIndex, status, result.FullName); // Sensitive data: status nunit/nunit-console/Runner.cs 90: Leakage of exception data ("ex.get_Message()") via console BD.SECURITY.SENS-1 . Runner.cs (88): catch( FileNotFoundException ex ) CP Runner.cs (90): Console.WriteLine( ex.Message ); // Sensitive data: ex.get_Message() 95: Leakage of ToString() result ("ex.ToString()") via console BD.SECURITY.SENS-1 . Runner.cs (93): catch( Exception ex ) CP Runner.cs (95): Console.WriteLine( "Unhandled Exception:n{0}", ex.ToString() ); // Sensitive data: ex.ToString() 135: Leakage of reflection data ("productName") via console BD.SECURITY.SENS-1 . Runner.cs (113): Assembly executingAssembly = Assembly.GetExecutingAssembly(); . Runner.cs (114): string versionText = executingAssembly.GetName().Version.ToString(); . Runner.cs (116): string productName = "NUnit"; . Runner.cs (117): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T... .C Runner.cs (119): object[] objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false); // Sensitive data: executingAssembly.GetCustomAttributes(...) . Runner.cs (120): if ( objectAttrs.Length > 0 ) // Sensitive data: objectAttrs ! Runner.cs (121): productName = ((AssemblyProductAttribute)objectAttrs[0]).Product; // Sensitive data: objectAttrs . Runner.cs (123): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data: productName . Runner.cs (124): if ( objectAttrs.Length > 0 ) // Sensitive data: productName . Runner.cs (127): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data: productName . Runner.cs (128): if (objectAttrs.Length > 0) // Sensitive data: productName .P Runner.cs (135): Console.WriteLine(String.Format("{0} version {1}", productName, versionText)); // Sensitive data: productName 135: Leakage of reflection data ("versionText") via console BD.SECURITY.SENS-1 . Runner.cs (113): Assembly executingAssembly = Assembly.GetExecutingAssembly(); .C Runner.cs (114): string versionText = executingAssembly.GetName().Version.ToString(); // Sensitive data: executingAssembly.GetName() . Runner.cs (116): string productName = "NUnit"; // Sensitive data: versionText . Runner.cs (117): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T... // Sensitive data: versionText . Runner.cs (119): object[] objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false); // Sensitive data: versionText . Runner.cs (120): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText . Runner.cs (123): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data: versionText . Runner.cs (124): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText . Runner.cs (127): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data: versionText . Runner.cs (128): if (objectAttrs.Length > 0) // Sensitive data: versionText .P Runner.cs (135): Console.WriteLine(String.Format("{0} version {1}", productName, versionText)); // Sensitive data: versionText 135: Leakage of reflection data ("versionText") via console BD.SECURITY.SENS-1 . Runner.cs (113): Assembly executingAssembly = Assembly.GetExecutingAssembly(); . Runner.cs (114): string versionText = executingAssembly.GetName().Version.ToString(); . Runner.cs (116): string productName = "NUnit"; . Runner.cs (117): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T... . Runner.cs (119): object[] objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false); . Runner.cs (120): if ( objectAttrs.Length > 0 ) . Runner.cs (123): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); . Runner.cs (124): if ( objectAttrs.Length > 0 ) .C Runner.cs (127): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data: executingAssembly.GetCustomAttributes(...) . Runner.cs (128): if (objectAttrs.Length > 0) // Sensitive data: objectAttrs ! Runner.cs (130): string configText = ((AssemblyConfigurationAttribute)objectAttrs[0]).Configuration; // Sensitive data: objectAttrs . Runner.cs (131): if (configText != "") // Sensitive data: configText ! Runner.cs (132): versionText += string.Format(" ({0})", configText); // Sensitive data: configText .P Runner.cs (135): Console.WriteLine(String.Format("{0} version {1}", productName, versionText)); // Sensitive data: versionText 136: Leakage of reflection data ("copyrightText") via console BD.SECURITY.SENS-1 . Runner.cs (113): Assembly executingAssembly = Assembly.GetExecutingAssembly(); . Runner.cs (114): string versionText = executingAssembly.GetName().Version.ToString(); . Runner.cs (116): string productName = "NUnit"; . Runner.cs (117): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T... . Runner.cs (119): object[] objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false); . Runner.cs (120): if ( objectAttrs.Length > 0 ) .C Runner.cs (123): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data: executingAssembly.GetCustomAttributes(...) . Runner.cs (124): if ( objectAttrs.Length > 0 ) // Sensitive data: objectAttrs ! Runner.cs (125): copyrightText = ((AssemblyCopyrightAttribute)objectAttrs[0]).Copyright; // Sensitive data: objectAttrs . Runner.cs (127): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data: copyrightText . Runner.cs (128): if (objectAttrs.Length > 0) // Sensitive data: copyrightText dotTEST Report [09/21/11 14:13:53] Page 3
  • 4. . Runner.cs (135): Console.WriteLine(String.Format("{0} version {1}", productName, versionText)); // Sensitive data: copyrightText .P Runner.cs (136): Console.WriteLine(copyrightText); // Sensitive data: copyrightText nunit/nunit-gui/AboutBox.cs 66: Leakage of reflection data ("versionText") via Windows Forms control BD.SECURITY.SENS-1 . AboutBox.cs (34): private System.ComponentModel.Container components = null; . AboutBox.cs (36): public AboutBox() . AboutBox.cs (41): InitializeComponent(); . AboutBox.cs (46): Assembly executingAssembly = Assembly.GetExecutingAssembly(); .C AboutBox.cs (47): string versionText = executingAssembly.GetName().Version.ToString(); // Sensitive data: executingAssembly.GetName() . AboutBox.cs (49): object [] objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false); // Sensitive data: versionText . AboutBox.cs (50): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText . AboutBox.cs (53): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data: versionText . AboutBox.cs (54): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText . AboutBox.cs (61): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T... // Sensitive data: versionText . AboutBox.cs (62): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data: versionText . AboutBox.cs (63): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText .P AboutBox.cs (66): versionLabel.Text = versionText; // Sensitive data: versionText 66: Leakage of reflection data ("versionText") via Windows Forms control BD.SECURITY.SENS-1 . AboutBox.cs (34): private System.ComponentModel.Container components = null; . AboutBox.cs (36): public AboutBox() . AboutBox.cs (41): InitializeComponent(); . AboutBox.cs (46): Assembly executingAssembly = Assembly.GetExecutingAssembly(); . AboutBox.cs (47): string versionText = executingAssembly.GetName().Version.ToString(); .C AboutBox.cs (49): object [] objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false); // Sensitive data: executingAssembly.GetCustomAttributes(...) . AboutBox.cs (50): if ( objectAttrs.Length > 0 ) // Sensitive data: objectAttrs ! AboutBox.cs (51): versionText = ((AssemblyInformationalVersionAttribute)objectAttrs[0]).InformationalVersion; // Sensitive data: objectAttrs . AboutBox.cs (53): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data: versionText . AboutBox.cs (54): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText . AboutBox.cs (61): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T... // Sensitive data: versionText . AboutBox.cs (62): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data: versionText . AboutBox.cs (63): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText .P AboutBox.cs (66): versionLabel.Text = versionText; // Sensitive data: versionText 66: Leakage of reflection data ("versionText") via Windows Forms control BD.SECURITY.SENS-1 .C AboutBox.cs (53): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); // Sensitive data: executingAssembly.GetCustomAttributes(...) . AboutBox.cs (54): if ( objectAttrs.Length > 0 ) // Sensitive data: objectAttrs ! AboutBox.cs (56): string configText = ((AssemblyConfigurationAttribute)objectAttrs[0]).Configuration; // Sensitive data: objectAttrs . AboutBox.cs (57): if ( configText != "" ) // Sensitive data: configText ! AboutBox.cs (58): versionText += string.Format(" ({0})",configText); // Sensitive data: configText . AboutBox.cs (61): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T... // Sensitive data: versionText . AboutBox.cs (62): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data: versionText . AboutBox.cs (63): if ( objectAttrs.Length > 0 ) // Sensitive data: versionText .P AboutBox.cs (66): versionLabel.Text = versionText; // Sensitive data: versionText 67: Leakage of reflection data ("copyrightText") via Windows Forms control BD.SECURITY.SENS-1 . AboutBox.cs (61): string copyrightText = "Copyright (C) 2002-2009 Charlie Poole.rnCopyright (C) 2002-2004 James W. Newkirk, Michael C. T... .C AboutBox.cs (62): objectAttrs = executingAssembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); // Sensitive data: executingAssembly.GetCustomAttributes(...) . AboutBox.cs (63): if ( objectAttrs.Length > 0 ) // Sensitive data: objectAttrs ! AboutBox.cs (64): copyrightText = ((AssemblyCopyrightAttribute)objectAttrs[0]).Copyright; // Sensitive data: objectAttrs . AboutBox.cs (66): versionLabel.Text = versionText; // Sensitive data: copyrightText .P AboutBox.cs (67): copyright.Text = copyrightText; // Sensitive data: copyrightText nunit/nunit-gui/ExceptionDetailsForm.cs 118: Leakage of ToString() result ("this.FormatMessage(...)") via Windows Forms control BD.SECURITY.SENS-1 ! ExceptionDetailsForm.cs (118): this.message.Text = FormatMessage( exception ); . ExceptionDetailsForm.cs (126): StringBuilder sb = new StringBuilder(); . ExceptionDetailsForm.cs (128): Exception ex = exception; ex != null . ExceptionDetailsForm.cs (130): if ( ex != exception ) .C ExceptionDetailsForm.cs (131): sb.Append( ex.GetType().ToString() ); // Sensitive data: ex.GetType().ToString() . ExceptionDetailsForm.cs (132): sb.Append( ": " ); // Sensitive data: sb . ExceptionDetailsForm.cs (133): sb.Append( ex.Message ); // Sensitive data: sb . ExceptionDetailsForm.cs (128): ex != null; ex = ex.InnerException // Sensitive data: sb ! ExceptionDetailsForm.cs (136): return sb.ToString(); // Sensitive data: sb ! ExceptionDetailsForm.cs (137): } // Sensitive data: CS$1$0000 .P ExceptionDetailsForm.cs (118): this.message.Text = FormatMessage( exception ); // Sensitive data: this.FormatMessage(...) 118: Leakage of exception data ("this.FormatMessage(...)") via Windows Forms control BD.SECURITY.SENS-1 ! ExceptionDetailsForm.cs (118): this.message.Text = FormatMessage( exception ); . ExceptionDetailsForm.cs (126): StringBuilder sb = new StringBuilder(); Page 4 dotTEST Report [09/21/11 14:13:53]
  • 5. . ExceptionDetailsForm.cs (128): Exception ex = exception; ex != null . ExceptionDetailsForm.cs (130): if ( ex != exception ) . ExceptionDetailsForm.cs (131): sb.Append( ex.GetType().ToString() ); . ExceptionDetailsForm.cs (132): sb.Append( ": " ); .C ExceptionDetailsForm.cs (133): sb.Append( ex.Message ); // Sensitive data: ex.get_Message() . ExceptionDetailsForm.cs (128): ex != null; ex = ex.InnerException // Sensitive data: sb ! ExceptionDetailsForm.cs (136): return sb.ToString(); // Sensitive data: sb ! ExceptionDetailsForm.cs (137): } // Sensitive data: CS$1$0000 .P ExceptionDetailsForm.cs (118): this.message.Text = FormatMessage( exception ); // Sensitive data: this.FormatMessage(...) 121: Leakage of ToString() result ("this.FormatStackTrace(...)") via Windows Forms control BD.SECURITY.SENS-1 ! ExceptionDetailsForm.cs (121): this.stackTrace.Text = FormatStackTrace( exception ); ! ExceptionDetailsForm.cs (142): AppendStackTrace( sb, exception ); .C ExceptionDetailsForm.cs (152): sb.Append( ex.GetType().ToString() ); . ExceptionDetailsForm.cs (153): sb.Append( "...rn" ); . ExceptionDetailsForm.cs (154): sb.Append( ex.StackTrace ); . ExceptionDetailsForm.cs (155): sb.Append( "rnrn" ); . ExceptionDetailsForm.cs (156): } ! ExceptionDetailsForm.cs (144): return sb.ToString(); // Sensitive data: *sb ! ExceptionDetailsForm.cs (145): } // Sensitive data: CS$1$0000 .P ExceptionDetailsForm.cs (121): this.stackTrace.Text = FormatStackTrace( exception ); // Sensitive data: this.FormatStackTrace(...) 121: Leakage of exception data ("this.FormatStackTrace(...)") via Windows Forms control BD.SECURITY.SENS-1 ! ExceptionDetailsForm.cs (121): this.stackTrace.Text = FormatStackTrace( exception ); ! ExceptionDetailsForm.cs (142): AppendStackTrace( sb, exception ); . ExceptionDetailsForm.cs (152): sb.Append( ex.GetType().ToString() ); . ExceptionDetailsForm.cs (153): sb.Append( "...rn" ); .C ExceptionDetailsForm.cs (154): sb.Append( ex.StackTrace ); . ExceptionDetailsForm.cs (155): sb.Append( "rnrn" ); . ExceptionDetailsForm.cs (156): } ! ExceptionDetailsForm.cs (144): return sb.ToString(); // Sensitive data: *sb ! ExceptionDetailsForm.cs (145): } // Sensitive data: CS$1$0000 .P ExceptionDetailsForm.cs (121): this.stackTrace.Text = FormatStackTrace( exception ); // Sensitive data: this.FormatStackTrace(...) nunit/nunit-gui/NUnitForm.cs 1631: "this.get_TestLoader().get_AssemblyInfo()" may possibly be null BD.EXCEPT.NR-1 . NUnitForm.cs (1628): if ( e.Name != null #x26;#x26; File.Exists( e.Name ) ) . TestEventArgs.cs (199): return name; } . NUnitForm.cs (1628): if ( e.Name != null #x26;#x26; File.Exists( e.Name ) ) . TestEventArgs.cs (199): return name; } . NUnitForm.cs (1628): if ( e.Name != null #x26;#x26; File.Exists( e.Name ) ) . NUnitForm.cs (1630): Version version = Environment.Version; . NUnitForm.cs (1631): TestLoader.AssemblyInfo . NUnitForm.cs (814): if ( _testLoader == null ) . NUnitForm.cs (816): return _testLoader; . NUnitForm.cs (817): } ! NUnitForm.cs (1631): TestLoader.AssemblyInfo ! TestLoader.cs (179): return testRunner == null ? null : testRunner.AssemblyInfo; .C ProxyTestRunner.cs (76): return testRunner == null ? null : testRunner.AssemblyInfo; } // Null value carrier: CS$1$0000 ! TestLoader.cs (179): return testRunner == null ? null : testRunner.AssemblyInfo; } // Null value carrier: this.testRunner.get_AssemblyInfo() .P NUnitForm.cs (1631): TestLoader.AssemblyInfo // Null value carrier: this.get_TestLoader().get_AssemblyInfo() 1631: "this.get_TestLoader().get_AssemblyInfo()" may possibly be null BD.EXCEPT.NR-1 . NUnitForm.cs (1628): if ( e.Name != null #x26;#x26; File.Exists( e.Name ) ) . TestEventArgs.cs (199): return name; } . NUnitForm.cs (1628): if ( e.Name != null #x26;#x26; File.Exists( e.Name ) ) . TestEventArgs.cs (199): return name; } . NUnitForm.cs (1628): if ( e.Name != null #x26;#x26; File.Exists( e.Name ) ) . NUnitForm.cs (1630): Version version = Environment.Version; . NUnitForm.cs (1631): TestLoader.AssemblyInfo . NUnitForm.cs (814): if ( _testLoader == null ) . NUnitForm.cs (816): return _testLoader; . NUnitForm.cs (817): } ! NUnitForm.cs (1631): TestLoader.AssemblyInfo .C TestLoader.cs (179): return testRunner == null ? null : testRunner.AssemblyInfo; } // Null value carrier: CS$1$0000 .P NUnitForm.cs (1631): TestLoader.AssemblyInfo // Null value carrier: this.get_TestLoader().get_AssemblyInfo() 1678: "this.get_TestLoader().get_AssemblyInfo()" may possibly be null BD.EXCEPT.NR-1 . NUnitForm.cs (1669): if ( longOpDisplay != null ) . NUnitForm.cs (1674): EnableRunCommand( true ); . NUnitForm.cs (1809): runButton.Enabled = enable; . NUnitForm.cs (1810): runAllMenuItem.Enabled = enable; . NUnitForm.cs (1811): runSelectedMenuItem.Enabled = enable; . NUnitForm.cs (1812): runFailedMenuItem.Enabled = enable #x26;#x26; this.TestLoader.TestResult != null #x26;#x26; (this.TestLoader.TestResult.ResultState == R... . NUnitForm.cs (814): if ( _testLoader == null ) . NUnitForm.cs (816): return _testLoader; . NUnitForm.cs (817): } . NUnitForm.cs (1812): runFailedMenuItem.Enabled = enable #x26;#x26; this.TestLoader.TestResult != null #x26;#x26; (this.TestLoader.TestResult.ResultState == R... . TestLoader.cs (169): return testResult; } . NUnitForm.cs (1812): runFailedMenuItem.Enabled = enable #x26;#x26; this.TestLoader.TestResult != null #x26;#x26; (this.TestLoader.TestResult.ResultState == R... dotTEST Report [09/21/11 14:13:53] Page 5
  • 6. . NUnitForm.cs (1815): } . NUnitForm.cs (1676): if ( TestLoader.TestCount == 0 ) . NUnitForm.cs (814): if ( _testLoader == null ) . NUnitForm.cs (816): return _testLoader; . NUnitForm.cs (817): } . NUnitForm.cs (1676): if ( TestLoader.TestCount == 0 ) . TestLoader.cs (184): return loadedTest == null ? 0 : loadedTest.TestCount; } . NUnitForm.cs (1676): if ( TestLoader.TestCount == 0 ) . NUnitForm.cs (1678): TestLoader.AssemblyInfo . NUnitForm.cs (814): if ( _testLoader == null ) . NUnitForm.cs (816): return _testLoader; . NUnitForm.cs (817): } ! NUnitForm.cs (1678): TestLoader.AssemblyInfo ! TestLoader.cs (179): return testRunner == null ? null : testRunner.AssemblyInfo; .C ProxyTestRunner.cs (76): return testRunner == null ? null : testRunner.AssemblyInfo; } // Null value carrier: CS$1$0000 ! TestLoader.cs (179): return testRunner == null ? null : testRunner.AssemblyInfo; } // Null value carrier: this.testRunner.get_AssemblyInfo() .P NUnitForm.cs (1678): TestLoader.AssemblyInfo // Null value carrier: this.get_TestLoader().get_AssemblyInfo() 1678: "this.get_TestLoader().get_AssemblyInfo()" may possibly be null BD.EXCEPT.NR-1 . NUnitForm.cs (1669): if ( longOpDisplay != null ) . NUnitForm.cs (1674): EnableRunCommand( true ); . NUnitForm.cs (1809): runButton.Enabled = enable; . NUnitForm.cs (1810): runAllMenuItem.Enabled = enable; . NUnitForm.cs (1811): runSelectedMenuItem.Enabled = enable; . NUnitForm.cs (1812): runFailedMenuItem.Enabled = enable #x26;#x26; this.TestLoader.TestResult != null #x26;#x26; (this.TestLoader.TestResult.ResultState == R... . NUnitForm.cs (814): if ( _testLoader == null ) . NUnitForm.cs (816): return _testLoader; . NUnitForm.cs (817): } . NUnitForm.cs (1812): runFailedMenuItem.Enabled = enable #x26;#x26; this.TestLoader.TestResult != null #x26;#x26; (this.TestLoader.TestResult.ResultState == R... . TestLoader.cs (169): return testResult; } . NUnitForm.cs (1812): runFailedMenuItem.Enabled = enable #x26;#x26; this.TestLoader.TestResult != null #x26;#x26; (this.TestLoader.TestResult.ResultState == R... . NUnitForm.cs (1815): } . NUnitForm.cs (1676): if ( TestLoader.TestCount == 0 ) . NUnitForm.cs (814): if ( _testLoader == null ) . NUnitForm.cs (816): return _testLoader; . NUnitForm.cs (817): } . NUnitForm.cs (1676): if ( TestLoader.TestCount == 0 ) . TestLoader.cs (184): return loadedTest == null ? 0 : loadedTest.TestCount; } . NUnitForm.cs (1676): if ( TestLoader.TestCount == 0 ) . NUnitForm.cs (1678): TestLoader.AssemblyInfo . NUnitForm.cs (814): if ( _testLoader == null ) . NUnitForm.cs (816): return _testLoader; . NUnitForm.cs (817): } ! NUnitForm.cs (1678): TestLoader.AssemblyInfo .C TestLoader.cs (179): return testRunner == null ? null : testRunner.AssemblyInfo; } // Null value carrier: CS$1$0000 .P NUnitForm.cs (1678): TestLoader.AssemblyInfo // Null value carrier: this.get_TestLoader().get_AssemblyInfo() nunit/nunit-gui/ProjectEditor.cs 684: "this.selectedConfig" may possibly be null BD.EXCEPT.NR-1 . ProjectEditor.cs (682): selectedConfig = project.Configs[(string)configComboBox.SelectedItem]; . NUnitProject.cs (267): return configs; } ! ProjectEditor.cs (682): selectedConfig = project.Configs[(string)configComboBox.SelectedItem]; . ProjectConfigCollection.cs (34): int index = IndexOf( name ); . ProjectConfigCollection.cs (63): int index = 0; index < InnerList.Count . ProjectConfigCollection.cs (70): return -1; . ProjectConfigCollection.cs (71): } . ProjectConfigCollection.cs (34): int index = IndexOf( name ); .C ProjectConfigCollection.cs (35): return index >= 0 ? (ProjectConfig)InnerList[index]: null; // Null value carrier: CS$1$0000 ! ProjectConfigCollection.cs (36): } // Null value carrier: CS$1$0000 ! ProjectEditor.cs (682): selectedConfig = project.Configs[(string)configComboBox.SelectedItem]; // Null value carrier: this.project.get_Configs().get_Item(...) .P ProjectEditor.cs (684): RuntimeFramework framework = selectedConfig.RuntimeFramework; // Null value carrier: this.selectedConfig 702: Leakage of ToString() result ("version.ToString()") via Windows Forms control BD.SECURITY.SENS-1 CP ProjectEditor.cs (702): runtimeVersionComboBox.Text = version.ToString(); // Sensitive data: version.ToString() 888: "applicationBase" may possibly be null BD.PB.STRNULL-2 . ProjectEditor.cs (863): if ( applicationBaseTextBox.Text != String.Empty ) .C ProjectEditor.cs (865): string applicationBase = null; // Null value carrier: applicationBase !E ProjectEditor.cs (869): applicationBase = Path.Combine( project.BasePath, applicationBaseTextBox.Text ); // NUnitProject.get_BasePath() throws: PathTooLongException // Null value carrier: applicationBase . NUnitProject.cs (133): if ( !BasePathSpecified ) !E NUnitProject.cs (134): return DefaultBasePath; // NUnitProject.get_DefaultBasePath() throws: PathTooLongException !E NUnitProject.cs (111): return Path.GetDirectoryName( projectPath ); } // Path.GetDirectoryName() throws: PathTooLongException . ProjectEditor.cs (872): catch( Exception exception ) // Null value carrier: applicationBase . ProjectEditor.cs (874): applicationBaseTextBox.SelectAll(); // Null value carrier: applicationBase . ProjectEditor.cs (875): UserMessage.DisplayFailure( exception, "Invalid ApplicationBase" ); // Null value carrier: applicationBase . ProjectEditor.cs (876): e.Cancel = true; // Null value carrier: applicationBase . ProjectEditor.cs (877): } // Null value carrier: applicationBase Page 6 dotTEST Report [09/21/11 14:13:53]
  • 7. . ProjectEditor.cs (886): if ( !Directory.Exists( applicationBase ) ) // Null value carrier: applicationBase .P ProjectEditor.cs (888): string msg = string.Format( "The directory {0} does not exist. Do you want to create it?", applicationBase ); // Null value carrier: applicationBase nunit/nunit-gui/SettingsPages/AdvancedLoaderSettingsPage.cs 153: Leakage of ToString() result ("this.settings.GetSetting(...)") via Windows Forms control BD.SECURITY.SENS-1 . AdvancedLoaderSettingsPage.cs (150): this.settings = Services.UserSettings; . Services.cs (68): if ( userSettings == null ) . Services.cs (73): if ( userSettings == null ) . Services.cs (76): return userSettings; . Services.cs (77): } . AdvancedLoaderSettingsPage.cs (150): this.settings = Services.UserSettings; . AdvancedLoaderSettingsPage.cs (152): enableShadowCopyCheckBox.Checked = settings.GetSetting( "Options.TestLoader.ShadowCopyFiles", true ); . SettingsGroup.cs (150): object result = GetSetting(settingName ); . SettingsGroup.cs (68): return storage.GetSetting( settingName ); . SettingsGroup.cs (69): } . SettingsGroup.cs (150): object result = GetSetting(settingName ); . SettingsGroup.cs (152): if ( result == null ) . SettingsGroup.cs (153): return defaultValue; . SettingsGroup.cs (176): } . AdvancedLoaderSettingsPage.cs (152): enableShadowCopyCheckBox.Checked = settings.GetSetting( "Options.TestLoader.ShadowCopyFiles", true ); ! AdvancedLoaderSettingsPage.cs (153): shadowCopyPathTextBox.Text = settings.GetSetting("Options.TestLoader.ShadowCopyPath", ""); . SettingsGroup.cs (187): object result = GetSetting(settingName ); . SettingsGroup.cs (68): return storage.GetSetting( settingName ); . SettingsGroup.cs (69): } . SettingsGroup.cs (187): object result = GetSetting(settingName ); . SettingsGroup.cs (189): if ( result == null ) . SettingsGroup.cs (192): if ( result is string ) .C SettingsGroup.cs (195): return result.ToString(); // Sensitive data: result.ToString() ! SettingsGroup.cs (196): } // Sensitive data: CS$1$0000 .P AdvancedLoaderSettingsPage.cs (153): shadowCopyPathTextBox.Text = settings.GetSetting("Options.TestLoader.ShadowCopyPath", ""); // Sensitive data: this.settings.GetSetting(...) nunit/nunit-gui/TestAssemblyInfoForm.cs 128: Leakage of reflection data ("text") via Windows Forms control BD.SECURITY.SENS-1 . TestAssemblyInfoForm.cs (24): this.Text = "Test Assemblies"; . TestAssemblyInfoForm.cs (25): this.TextBox.WordWrap = false; . ScrollingTextDisplayForm.cs (115): return textBox; } . TestAssemblyInfoForm.cs (25): this.TextBox.WordWrap = false; . TestAssemblyInfoForm.cs (27): this.TextBox.Font = new System.Drawing.Font(FontFamily.GenericMonospace, 8.25F); . ScrollingTextDisplayForm.cs (115): return textBox; } . TestAssemblyInfoForm.cs (27): this.TextBox.Font = new System.Drawing.Font(FontFamily.GenericMonospace, 8.25F); . TestAssemblyInfoForm.cs (29): base.OnLoad(e); . ScrollingTextDisplayForm.cs (125): base.OnLoad(e); . ScrollingTextDisplayForm.cs (127): SetMessageLabelSize(); . ScrollingTextDisplayForm.cs (137): Rectangle rect = message.ClientRectangle; . ScrollingTextDisplayForm.cs (138): Graphics g = Graphics.FromHwnd(Handle); . ScrollingTextDisplayForm.cs (139): SizeF sizeNeeded = g.MeasureString(message.Text, message.Font, rect.Width); . ScrollingTextDisplayForm.cs (140): int delta = sizeNeeded.ToSize().Height - rect.Height; . ScrollingTextDisplayForm.cs (142): message.Height += delta; . ScrollingTextDisplayForm.cs (143): textBox.Top += delta; . ScrollingTextDisplayForm.cs (144): textBox.Height -= delta; . ScrollingTextDisplayForm.cs (145): } . ScrollingTextDisplayForm.cs (128): } . TestAssemblyInfoForm.cs (31): Process p = Process.GetCurrentProcess(); . TestAssemblyInfoForm.cs (32): int currentProcessId = p.Id; . TestAssemblyInfoForm.cs (33): string currentDomainName = ""; .C TestAssemblyInfoForm.cs (35): AppendProcessInfo( currentProcessId, Path.GetFileName(Assembly.GetEntryAssembly().Location), RuntimeFramework.CurrentFra... // Sensitive data: GetEntryAssembly().get_Location() ! TestAssemblyInfoForm.cs (69): AppendBoldText(string.Format("{0} ( {1} )rn", moduleName, pid)); // Sensitive data: moduleName . TestAssemblyInfoForm.cs (125): TextBox.Select(TextBox.Text.Length, 0); // Sensitive data: text . TestAssemblyInfoForm.cs (126): TextBox.SelectionFont = new Font(TextBox.Font, FontStyle.Bold); // Sensitive data: text .P TestAssemblyInfoForm.cs (128): TextBox.SelectedText += text; // Sensitive data: text nunit/nunit.core.dll/AssemblyResolver.cs 99: Stream not closed: this.fs, this.rdr.m_stream BD.RES.LEAKS-1 . AssemblyResolver.cs (80): string fullName = args.Name; . AssemblyResolver.cs (81): int index = fullName.IndexOf(','); . AssemblyResolver.cs (82): if(index == -1) . AssemblyResolver.cs (88): if ( _cache.Contains( fullName ) ) . AssemblyResolver.cs (28): return _resolved.ContainsKey( name ); . AssemblyResolver.cs (29): } . AssemblyResolver.cs (88): if ( _cache.Contains( fullName ) ) . AssemblyResolver.cs (94): string dir in _dirs . AssemblyResolver.cs (96): string file in Directory.GetFiles( dir, "*.dll" ) . AssemblyResolver.cs (98): string fullFile = Path.Combine( dir, file ); EP AssemblyResolver.cs (99): AssemblyReader rdr = new AssemblyReader(fullFile); // AssemblyReader..ctor() throws: IOException // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (22): UInt16 dos_magic = 0xffff; dotTEST Report [09/21/11 14:13:53] Page 7
  • 8. . AssemblyReader.cs (23): UInt32 pe_signature = 0xffffffff; . AssemblyReader.cs (29): private uint peHeader = 0; . AssemblyReader.cs (30): private uint fileHeader = 0; . AssemblyReader.cs (31): private uint optionalHeader = 0; . AssemblyReader.cs (32): private uint dataDirectory = 0; . AssemblyReader.cs (33): private uint dataSections = 0; . AssemblyReader.cs (44): public AssemblyReader( string assemblyPath ) . AssemblyReader.cs (46): this.assemblyPath = assemblyPath; !E AssemblyReader.cs (47): CalcHeaderOffsets(); // AssemblyReader.CalcHeaderOffsets() throws: IOException .C AssemblyReader.cs (58): this.fs = new FileStream( assemblyPath, FileMode.Open, FileAccess.Read ); // Allocated resource variable: new FileStream ! AssemblyReader.cs (59): this.rdr = new BinaryReader( fs ); // Allocated resource variable: this.fs !E AssemblyReader.cs (60): dos_magic = rdr.ReadUInt16(); // BinaryReader.ReadUInt16() throws: IOException // Allocated resource variable: this.fs, this.rdr.m_stream 122: Stream not closed: rdr.fs, rdr.rdr.m_stream BD.RES.LEAKS-1 . AssemblyResolver.cs (80): string fullName = args.Name; . AssemblyResolver.cs (81): int index = fullName.IndexOf(','); . AssemblyResolver.cs (82): if(index == -1) . AssemblyResolver.cs (88): if ( _cache.Contains( fullName ) ) . AssemblyResolver.cs (28): return _resolved.ContainsKey( name ); . AssemblyResolver.cs (29): } . AssemblyResolver.cs (88): if ( _cache.Contains( fullName ) ) . AssemblyResolver.cs (94): string dir in _dirs . AssemblyResolver.cs (96): string file in Directory.GetFiles( dir, "*.dll" ) . AssemblyResolver.cs (98): string fullFile = Path.Combine( dir, file ); ! AssemblyResolver.cs (99): AssemblyReader rdr = new AssemblyReader(fullFile); . AssemblyReader.cs (22): UInt16 dos_magic = 0xffff; . AssemblyReader.cs (23): UInt32 pe_signature = 0xffffffff; . AssemblyReader.cs (29): private uint peHeader = 0; . AssemblyReader.cs (30): private uint fileHeader = 0; . AssemblyReader.cs (31): private uint optionalHeader = 0; . AssemblyReader.cs (32): private uint dataDirectory = 0; . AssemblyReader.cs (33): private uint dataSections = 0; . AssemblyReader.cs (44): public AssemblyReader( string assemblyPath ) . AssemblyReader.cs (46): this.assemblyPath = assemblyPath; ! AssemblyReader.cs (47): CalcHeaderOffsets(); .C AssemblyReader.cs (58): this.fs = new FileStream( assemblyPath, FileMode.Open, FileAccess.Read ); // Allocated resource variable: new FileStream ! AssemblyReader.cs (59): this.rdr = new BinaryReader( fs ); // Allocated resource variable: this.fs . AssemblyReader.cs (60): dos_magic = rdr.ReadUInt16(); // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (61): if ( dos_magic == 0x5a4d ) // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (101): } // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (48): } // Allocated resource variable: this.fs, this.rdr.m_stream ! AssemblyResolver.cs (99): AssemblyReader rdr = new AssemblyReader(fullFile); // Allocated resource variable: new AssemblyReader.fs, new AssemblyReader.rdr.m_stream . AssemblyResolver.cs (102): if (rdr.IsDotNetFile) // Allocated resource variable: rdr.fs, rdr.rdr.m_stream . AssemblyReader.cs (130): return IsValidPeFile #x26;#x26; numDataDirectoryEntries > 14 #x26;#x26; DataDirectoryRva(14) != 0; // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (125): return dos_magic == 0x5a4d #x26;#x26; pe_signature == 0x00004550; } // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (130): return IsValidPeFile #x26;#x26; numDataDirectoryEntries > 14 #x26;#x26; DataDirectoryRva(14) != 0; } // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyResolver.cs (102): if (rdr.IsDotNetFile) // Allocated resource variable: rdr.fs, rdr.rdr.m_stream . AssemblyResolver.cs (111): } // Allocated resource variable: rdr.fs, rdr.rdr.m_stream . AssemblyResolver.cs (117): } // Allocated resource variable: rdr.fs, rdr.rdr.m_stream . AssemblyResolver.cs (96): in // Allocated resource variable: rdr.fs, rdr.rdr.m_stream . AssemblyResolver.cs (94): in // Allocated resource variable: rdr.fs, rdr.rdr.m_stream !E AssemblyResolver.cs (120): log.Debug( string.Format( "Not in Cache: {0}", fullName) ); // String.Format() throws: FormatException // Allocated resource variable: rdr.fs, rdr.rdr.m_stream .P AssemblyResolver.cs (122): } // Allocated resource variable: rdr.fs, rdr.rdr.m_stream nunit/nunit.core.dll/Builders/NUnitTestCaseBuilder.cs 347: "arglist" may possibly be null BD.EXCEPT.NR-1 . NUnitTestCaseBuilder.cs (241): if (testMethod.Method.IsAbstract) . TestMethod.cs (110): return method; } . NUnitTestCaseBuilder.cs (241): if (testMethod.Method.IsAbstract) . NUnitTestCaseBuilder.cs (248): if (!testMethod.Method.IsPublic) . TestMethod.cs (110): return method; } . NUnitTestCaseBuilder.cs (248): if (!testMethod.Method.IsPublic) . NUnitTestCaseBuilder.cs (255): ParameterInfo[] parameters = testMethod.Method.GetParameters(); . TestMethod.cs (110): return method; } . NUnitTestCaseBuilder.cs (255): ParameterInfo[] parameters = testMethod.Method.GetParameters(); . NUnitTestCaseBuilder.cs (256): int argsNeeded = parameters.Length; .C NUnitTestCaseBuilder.cs (258): object[] arglist = null; // Null value carrier: arglist . NUnitTestCaseBuilder.cs (259): int argsProvided = 0; // Null value carrier: arglist . NUnitTestCaseBuilder.cs (261): if (parms != null) // Null value carrier: arglist . NUnitTestCaseBuilder.cs (279): if (!testMethod.Method.ReturnType.Equals(typeof(void)) #x26;#x26; (parms == null || !parms.HasExpectedResult #x26;#x26; parms.ExpectedEx... // Null value carrier: arglist . NUnitTestCaseBuilder.cs (287): if (argsProvided > 0 #x26;#x26; argsNeeded == 0) // Null value carrier: arglist . NUnitTestCaseBuilder.cs (294): if (argsProvided == 0 #x26;#x26; argsNeeded > 0) // Null value carrier: arglist Page 8 dotTEST Report [09/21/11 14:13:53]
  • 9. . NUnitTestCaseBuilder.cs (323): if (argsProvided != argsNeeded ) // Null value carrier: arglist . NUnitTestCaseBuilder.cs (331): if (testMethod.Method.IsGenericMethodDefinition) // Null value carrier: arglist . NUnitTestCaseBuilder.cs (333): Type[] typeArguments = GetTypeArgumentsForMethod(testMethod.Method, arglist); // Null value carrier: arglist . NUnitTestCaseBuilder.cs (368): Type[] typeParameters = method.GetGenericArguments(); // Null value carrier: arglist . NUnitTestCaseBuilder.cs (369): Type[] typeArguments = new Type[typeParameters.Length]; // Null value carrier: arglist . NUnitTestCaseBuilder.cs (370): ParameterInfo[] parameters = method.GetParameters(); // Null value carrier: arglist . NUnitTestCaseBuilder.cs (372): int typeIndex = 0; typeIndex < typeArguments.Length // Null value carrier: arglist . NUnitTestCaseBuilder.cs (385): return typeArguments; // Null value carrier: arglist . NUnitTestCaseBuilder.cs (386): } // Null value carrier: arglist . NUnitTestCaseBuilder.cs (333): Type[] typeArguments = GetTypeArgumentsForMethod(testMethod.Method, arglist); // Null value carrier: arglist . NUnitTestCaseBuilder.cs (334): in typeArguments // Null value carrier: arglist . NUnitTestCaseBuilder.cs (342): testMethod.method = testMethod.Method.MakeGenericMethod(typeArguments); // Null value carrier: arglist . NUnitTestCaseBuilder.cs (343): parameters = testMethod.Method.GetParameters(); // Null value carrier: arglist . NUnitTestCaseBuilder.cs (345): int i = 0; i < parameters.Length // Null value carrier: arglist .P NUnitTestCaseBuilder.cs (347): if (arglist[i].GetType() != parameters[i].ParameterType #x26;#x26; arglist[i] is IConvertible) // Null value carrier: arglist 379: "arglist" may possibly be null BD.EXCEPT.NR-1 . NUnitTestCaseBuilder.cs (241): if (testMethod.Method.IsAbstract) . TestMethod.cs (110): return method; } . NUnitTestCaseBuilder.cs (241): if (testMethod.Method.IsAbstract) . NUnitTestCaseBuilder.cs (248): if (!testMethod.Method.IsPublic) . TestMethod.cs (110): return method; } . NUnitTestCaseBuilder.cs (248): if (!testMethod.Method.IsPublic) . NUnitTestCaseBuilder.cs (255): ParameterInfo[] parameters = testMethod.Method.GetParameters(); . TestMethod.cs (110): return method; } . NUnitTestCaseBuilder.cs (255): ParameterInfo[] parameters = testMethod.Method.GetParameters(); . NUnitTestCaseBuilder.cs (256): int argsNeeded = parameters.Length; .C NUnitTestCaseBuilder.cs (258): object[] arglist = null; // Null value carrier: arglist . NUnitTestCaseBuilder.cs (259): int argsProvided = 0; // Null value carrier: arglist . NUnitTestCaseBuilder.cs (261): if (parms != null) // Null value carrier: arglist . NUnitTestCaseBuilder.cs (279): if (!testMethod.Method.ReturnType.Equals(typeof(void)) #x26;#x26; (parms == null || !parms.HasExpectedResult #x26;#x26; parms.ExpectedEx... // Null value carrier: arglist . NUnitTestCaseBuilder.cs (287): if (argsProvided > 0 #x26;#x26; argsNeeded == 0) // Null value carrier: arglist . NUnitTestCaseBuilder.cs (294): if (argsProvided == 0 #x26;#x26; argsNeeded > 0) // Null value carrier: arglist . NUnitTestCaseBuilder.cs (323): if (argsProvided != argsNeeded ) // Null value carrier: arglist . NUnitTestCaseBuilder.cs (331): if (testMethod.Method.IsGenericMethodDefinition) // Null value carrier: arglist ! NUnitTestCaseBuilder.cs (333): Type[] typeArguments = GetTypeArgumentsForMethod(testMethod.Method, arglist); // Null value carrier: arglist . NUnitTestCaseBuilder.cs (368): Type[] typeParameters = method.GetGenericArguments(); // Null value carrier: arglist . NUnitTestCaseBuilder.cs (369): Type[] typeArguments = new Type[typeParameters.Length]; // Null value carrier: arglist . NUnitTestCaseBuilder.cs (370): ParameterInfo[] parameters = method.GetParameters(); // Null value carrier: arglist . NUnitTestCaseBuilder.cs (372): int typeIndex = 0; typeIndex < typeArguments.Length // Null value carrier: arglist . NUnitTestCaseBuilder.cs (374): Type typeParameter = typeParameters[typeIndex]; // Null value carrier: arglist . NUnitTestCaseBuilder.cs (376): int argIndex = 0; argIndex < parameters.Length // Null value carrier: arglist . NUnitTestCaseBuilder.cs (378): if (parameters[argIndex].ParameterType.Equals(typeParameter)) // Null value carrier: arglist .P NUnitTestCaseBuilder.cs (379): typeArguments[typeIndex] = TypeHelper.BestCommonType( typeArguments[typeIndex], arglist[argIndex].GetType()); // Null value carrier: arglist nunit/nunit.core.dll/Builders/NUnitTestFixtureBuilder.cs 113: "typeArgs" may possibly be null BD.EXCEPT.NR-1 . NUnitTestFixtureBuilder.cs (101): object[] arguments = null; . NUnitTestFixtureBuilder.cs (102): IList categories = null; . NUnitTestFixtureBuilder.cs (104): if (attr != null) . NUnitTestFixtureBuilder.cs (106): arguments = (object[])Reflect.GetPropertyValue(attr, "Arguments"); . Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); . Reflect.cs (337): PropertyInfo property = GetNamedProperty( obj.GetType(), name, bindingFlags ); . Reflect.cs (338): if ( property != null ) . Reflect.cs (340): return null; . Reflect.cs (341): } . Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); . Reflect.cs (326): } . NUnitTestFixtureBuilder.cs (106): arguments = (object[])Reflect.GetPropertyValue(attr, "Arguments"); . NUnitTestFixtureBuilder.cs (108): categories = Reflect.GetPropertyValue(attr, "Categories") as IList; . Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); . Reflect.cs (337): PropertyInfo property = GetNamedProperty( obj.GetType(), name, bindingFlags ); . Reflect.cs (338): if ( property != null ) . Reflect.cs (340): return null; . Reflect.cs (341): } . Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); . Reflect.cs (326): } . NUnitTestFixtureBuilder.cs (108): categories = Reflect.GetPropertyValue(attr, "Categories") as IList; . NUnitTestFixtureBuilder.cs (110): if (type.ContainsGenericParameters) ! NUnitTestFixtureBuilder.cs (112): Type[] typeArgs = (Type[])Reflect.GetPropertyValue(attr, "TypeArgs"); ! Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); . Reflect.cs (337): PropertyInfo property = GetNamedProperty( obj.GetType(), name, bindingFlags ); . Reflect.cs (314): return type.GetProperty( name, bindingFlags ); . Reflect.cs (315): } . Reflect.cs (337): PropertyInfo property = GetNamedProperty( obj.GetType(), name, bindingFlags ); . Reflect.cs (338): if ( property != null ) .C Reflect.cs (340): return null; // Null value carrier: CS$1$0000 ! Reflect.cs (341): } // Null value carrier: CS$1$0000 dotTEST Report [09/21/11 14:13:53] Page 9
  • 10. ! Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); // Null value carrier: GetPropertyValue(...) ! Reflect.cs (326): } // Null value carrier: CS$1$0000 ! NUnitTestFixtureBuilder.cs (112): Type[] typeArgs = (Type[])Reflect.GetPropertyValue(attr, "TypeArgs"); // Null value carrier: GetPropertyValue(...) .P NUnitTestFixtureBuilder.cs (113): if( typeArgs.Length > 0 || TypeHelper.CanDeduceTypeArgsFromArgs(type, arguments, ref typeArgs)) // Null value carrier: typeArgs 279: "args" may possibly be null BD.EXCEPT.NR-1 ! NUnitTestFixtureBuilder.cs (276): object[] args = (object[])Reflect.GetPropertyValue(attrs[i], "Arguments"); ! Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); .C Reflect.cs (340): return null; // Null value carrier: CS$1$0000 ! Reflect.cs (341): } // Null value carrier: CS$1$0000 ! Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); // Null value carrier: GetPropertyValue(...) ! Reflect.cs (326): } // Null value carrier: CS$1$0000 ! NUnitTestFixtureBuilder.cs (276): object[] args = (object[])Reflect.GetPropertyValue(attrs[i], "Arguments"); // Null value carrier: GetPropertyValue(...) . NUnitTestFixtureBuilder.cs (277): object[] typeArgs = (object[])Reflect.GetPropertyValue(attrs[i], "TypeArgs"); // Null value carrier: args .P NUnitTestFixtureBuilder.cs (279): if (args.Length > 0 || typeArgs != null #x26;#x26; typeArgs.Length > 0) // Null value carrier: args nunit/nunit.core.dll/Builders/TestAssemblyBuilder.cs 50: Stream not closed: this.fs, this.rdr.m_stream BD.RES.LEAKS-1 . TestAssemblyBuilder.cs (48): if ( assemblyInfo == null #x26;#x26; assembly != null ) EP TestAssemblyBuilder.cs (50): AssemblyReader rdr = new AssemblyReader( assembly ); // AssemblyReader..ctor() throws: IOException // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (22): UInt16 dos_magic = 0xffff; . AssemblyReader.cs (23): UInt32 pe_signature = 0xffffffff; . AssemblyReader.cs (29): private uint peHeader = 0; . AssemblyReader.cs (30): private uint fileHeader = 0; . AssemblyReader.cs (31): private uint optionalHeader = 0; . AssemblyReader.cs (32): private uint dataDirectory = 0; . AssemblyReader.cs (33): private uint dataSections = 0; . AssemblyReader.cs (50): public AssemblyReader( Assembly assembly ) . AssemblyReader.cs (52): this.assemblyPath = AssemblyHelper.GetAssemblyPath( assembly ); . AssemblyHelper.cs (23): string path = assembly.CodeBase; . AssemblyHelper.cs (24): Uri uri = new Uri(path); . AssemblyHelper.cs (27): if (!uri.IsFile) . AssemblyHelper.cs (28): return assembly.Location; . AssemblyHelper.cs (34): } . AssemblyReader.cs (52): this.assemblyPath = AssemblyHelper.GetAssemblyPath( assembly ); !E AssemblyReader.cs (53): CalcHeaderOffsets(); // AssemblyReader.CalcHeaderOffsets() throws: IOException .C AssemblyReader.cs (58): this.fs = new FileStream( assemblyPath, FileMode.Open, FileAccess.Read ); // Allocated resource variable: new FileStream ! AssemblyReader.cs (59): this.rdr = new BinaryReader( fs ); // Allocated resource variable: this.fs !E AssemblyReader.cs (60): dos_magic = rdr.ReadUInt16(); // BinaryReader.ReadUInt16() throws: IOException // Allocated resource variable: this.fs, this.rdr.m_stream 57: Stream not closed: rdr.fs, rdr.rdr.m_stream BD.RES.LEAKS-1 . TestAssemblyBuilder.cs (48): if ( assemblyInfo == null #x26;#x26; assembly != null ) ! TestAssemblyBuilder.cs (50): AssemblyReader rdr = new AssemblyReader( assembly ); . AssemblyReader.cs (22): UInt16 dos_magic = 0xffff; . AssemblyReader.cs (23): UInt32 pe_signature = 0xffffffff; . AssemblyReader.cs (29): private uint peHeader = 0; . AssemblyReader.cs (30): private uint fileHeader = 0; . AssemblyReader.cs (31): private uint optionalHeader = 0; . AssemblyReader.cs (32): private uint dataDirectory = 0; . AssemblyReader.cs (33): private uint dataSections = 0; . AssemblyReader.cs (50): public AssemblyReader( Assembly assembly ) . AssemblyReader.cs (52): this.assemblyPath = AssemblyHelper.GetAssemblyPath( assembly ); . AssemblyHelper.cs (23): string path = assembly.CodeBase; . AssemblyHelper.cs (24): Uri uri = new Uri(path); . AssemblyHelper.cs (27): if (!uri.IsFile) . AssemblyHelper.cs (28): return assembly.Location; . AssemblyHelper.cs (34): } . AssemblyReader.cs (52): this.assemblyPath = AssemblyHelper.GetAssemblyPath( assembly ); ! AssemblyReader.cs (53): CalcHeaderOffsets(); .C AssemblyReader.cs (58): this.fs = new FileStream( assemblyPath, FileMode.Open, FileAccess.Read ); // Allocated resource variable: new FileStream ! AssemblyReader.cs (59): this.rdr = new BinaryReader( fs ); // Allocated resource variable: this.fs . AssemblyReader.cs (60): dos_magic = rdr.ReadUInt16(); // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (61): if ( dos_magic == 0x5a4d ) // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (101): } // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (54): } // Allocated resource variable: this.fs, this.rdr.m_stream ! TestAssemblyBuilder.cs (50): AssemblyReader rdr = new AssemblyReader( assembly ); // Allocated resource variable: new AssemblyReader.fs, new AssemblyReader.rdr.m_stream . TestAssemblyBuilder.cs (51): Version imageRuntimeVersion = new Version( rdr.ImageRuntimeVersion.Substring( 1 ) ); // Allocated resource variable: rdr.fs, rdr.rdr.m_stream . AssemblyReader.cs (142): string runtimeVersion = string.Empty; // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (144): if (this.IsDotNetFile) // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (130): return IsValidPeFile #x26;#x26; numDataDirectoryEntries > 14 #x26;#x26; DataDirectoryRva(14) != 0; // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (125): return dos_magic == 0x5a4d #x26;#x26; pe_signature == 0x00004550; } // Allocated resource variable: this.fs, this.rdr.m_stream Page 10 dotTEST Report [09/21/11 14:13:53]
  • 11. . AssemblyReader.cs (130): return IsValidPeFile #x26;#x26; numDataDirectoryEntries > 14 #x26;#x26; DataDirectoryRva(14) != 0; } // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (144): if (this.IsDotNetFile) // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (171): return runtimeVersion; // Allocated resource variable: this.fs, this.rdr.m_stream . AssemblyReader.cs (172): } // Allocated resource variable: this.fs, this.rdr.m_stream !E TestAssemblyBuilder.cs (51): Version imageRuntimeVersion = new Version( rdr.ImageRuntimeVersion.Substring( 1 ) ); // Version..ctor() throws: OverflowException // Allocated resource variable: rdr.fs, rdr.rdr.m_stream .P TestAssemblyBuilder.cs (57): } // Allocated resource variable: rdr.fs, rdr.rdr.m_stream 182: "assembly" may possibly be null BD.EXCEPT.NR-1 . TestAssemblyBuilder.cs (171): Assembly assembly = null; . TestAssemblyBuilder.cs (175): AssemblyName assemblyName = AssemblyName.GetAssemblyName( Path.GetFileName( path ) ); . TestAssemblyBuilder.cs (177): assembly = Assembly.Load(assemblyName); .C TestAssemblyBuilder.cs (179): if ( assembly != null ) // Null value carrier: assembly .P TestAssemblyBuilder.cs (182): log.Info( "Loaded assembly " + assembly.FullName ); // Null value carrier: assembly nunit/nunit.core.dll/Builders/TestCaseSourceProvider.cs 73: "info.GetInstance()" may possibly be null BD.EXCEPT.NR-1 ! TestCaseSourceProvider.cs (73): info.GetInstance() ! ProviderInfo.cs (52): return (IEnumerable)GetProviderObjectFromMember(members[0]); .C ProviderInfo.cs (57): object providerObject = null; // Null value carrier: providerObject . ProviderInfo.cs (58): object instance = null; // Null value carrier: providerObject . ProviderInfo.cs (60): switch (member.MemberType) // Null value carrier: providerObject ! ProviderInfo.cs (88): return providerObject; // Null value carrier: providerObject ! ProviderInfo.cs (89): } // Null value carrier: CS$1$0000 ! ProviderInfo.cs (52): return (IEnumerable)GetProviderObjectFromMember(members[0]); // Null value carrier: this.GetProviderObjectFromMember(...) ! ProviderInfo.cs (53): } // Null value carrier: CS$1$0000 .P TestCaseSourceProvider.cs (73): info.GetInstance() // Null value carrier: info.GetInstance() nunit/nunit.core.dll/NUnitConfiguration.cs 203: Registry key not closed: key BD.RES.LEAKS-1 . NUnitConfiguration.cs (187): if (monoExePath == null) . NUnitConfiguration.cs (189): string[] searchNames = IsWindows() ? new string[] { "mono.bat", "mono.cmd", "mono.exe" } : new string[] { "mono", "mono.... . NUnitConfiguration.cs (237): return Environment.OSVersion.Platform == PlatformID.Win32NT; . NUnitConfiguration.cs (238): } . NUnitConfiguration.cs (189): string[] searchNames = IsWindows() ? new string[] { "mono.bat", "mono.cmd", "mono.exe" } : new string[] { "mono", "mono.... . NUnitConfiguration.cs (193): monoExePath = FindOneOnPath(searchNames); . NUnitConfiguration.cs (232): return null; . NUnitConfiguration.cs (233): } . NUnitConfiguration.cs (193): monoExePath = FindOneOnPath(searchNames); . NUnitConfiguration.cs (195): if (monoExePath == null #x26;#x26; IsWindows()) . NUnitConfiguration.cs (237): return Environment.OSVersion.Platform == PlatformID.Win32NT; . NUnitConfiguration.cs (238): } . NUnitConfiguration.cs (195): if (monoExePath == null #x26;#x26; IsWindows()) .C NUnitConfiguration.cs (197): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); // Allocated resource variable: LocalMachine.OpenSubKey(...) . NUnitConfiguration.cs (198): if (key != null) // Allocated resource variable: key . NUnitConfiguration.cs (200): string version = key.GetValue("DefaultCLR") as string; // Allocated resource variable: key . NUnitConfiguration.cs (201): if (version != null) // Allocated resource variable: key .P NUnitConfiguration.cs (203): key = key.OpenSubKey(version); // Allocated resource variable: key 219: Registry key not closed: key BD.RES.LEAKS-1 . NUnitConfiguration.cs (187): if (monoExePath == null) . NUnitConfiguration.cs (189): string[] searchNames = IsWindows() ? new string[] { "mono.bat", "mono.cmd", "mono.exe" } : new string[] { "mono", "mono.... . NUnitConfiguration.cs (237): return Environment.OSVersion.Platform == PlatformID.Win32NT; . NUnitConfiguration.cs (238): } . NUnitConfiguration.cs (189): string[] searchNames = IsWindows() ? new string[] { "mono.bat", "mono.cmd", "mono.exe" } : new string[] { "mono", "mono.... . NUnitConfiguration.cs (193): monoExePath = FindOneOnPath(searchNames); . NUnitConfiguration.cs (232): return null; . NUnitConfiguration.cs (233): } . NUnitConfiguration.cs (193): monoExePath = FindOneOnPath(searchNames); . NUnitConfiguration.cs (195): if (monoExePath == null #x26;#x26; IsWindows()) . NUnitConfiguration.cs (237): return Environment.OSVersion.Platform == PlatformID.Win32NT; . NUnitConfiguration.cs (238): } . NUnitConfiguration.cs (195): if (monoExePath == null #x26;#x26; IsWindows()) .C NUnitConfiguration.cs (197): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); // Allocated resource variable: LocalMachine.OpenSubKey(...) . NUnitConfiguration.cs (198): if (key != null) // Allocated resource variable: key !E NUnitConfiguration.cs (200): string version = key.GetValue("DefaultCLR") as string; // RegistryKey.GetValue() throws: SecurityException // Allocated resource variable: key .P NUnitConfiguration.cs (219): } // Allocated resource variable: key 219: Registry key not closed: key BD.RES.LEAKS-1 . NUnitConfiguration.cs (187): if (monoExePath == null) . NUnitConfiguration.cs (189): string[] searchNames = IsWindows() ? new string[] { "mono.bat", "mono.cmd", "mono.exe" } : new string[] { "mono", "mono.... . NUnitConfiguration.cs (237): return Environment.OSVersion.Platform == PlatformID.Win32NT; . NUnitConfiguration.cs (238): } dotTEST Report [09/21/11 14:13:53] Page 11
  • 12. . NUnitConfiguration.cs (189): string[] searchNames = IsWindows() ? new string[] { "mono.bat", "mono.cmd", "mono.exe" } : new string[] { "mono", "mono.... . NUnitConfiguration.cs (193): monoExePath = FindOneOnPath(searchNames); . NUnitConfiguration.cs (232): return null; . NUnitConfiguration.cs (233): } . NUnitConfiguration.cs (193): monoExePath = FindOneOnPath(searchNames); . NUnitConfiguration.cs (195): if (monoExePath == null #x26;#x26; IsWindows()) . NUnitConfiguration.cs (237): return Environment.OSVersion.Platform == PlatformID.Win32NT; . NUnitConfiguration.cs (238): } . NUnitConfiguration.cs (195): if (monoExePath == null #x26;#x26; IsWindows()) . NUnitConfiguration.cs (197): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); . NUnitConfiguration.cs (198): if (key != null) . NUnitConfiguration.cs (200): string version = key.GetValue("DefaultCLR") as string; . NUnitConfiguration.cs (201): if (version != null) .C NUnitConfiguration.cs (203): key = key.OpenSubKey(version); // Allocated resource variable: key.OpenSubKey(...) . NUnitConfiguration.cs (204): if (key != null) // Allocated resource variable: key !E NUnitConfiguration.cs (206): string installDir = key.GetValue("SdkInstallRoot") as string; // RegistryKey.GetValue() throws: SecurityException // Allocated resource variable: key .P NUnitConfiguration.cs (219): } // Allocated resource variable: key nunit/nunit.core.dll/NUnitFramework.cs 229: "categoryName" may possibly be null BD.EXCEPT.NR-1 . NUnitFramework.cs (175): Attribute attribute in attributes . NUnitFramework.cs (177): Type attributeType = attribute.GetType(); . NUnitFramework.cs (178): string attributeName = attributeType.FullName; . NUnitFramework.cs (179): bool isValid = test.RunState != RunState.NotRunnable; . Test.cs (186): return runState; } . NUnitFramework.cs (179): bool isValid = test.RunState != RunState.NotRunnable; . NUnitFramework.cs (181): switch (attributeName) . NUnitFramework.cs (224): if ( Reflect.InheritsFrom( attributeType, CategoryAttribute ) ) . Reflect.cs (130): Type current = type; current != typeof( object ) . Reflect.cs (131): if( current.FullName == typeName ) . Reflect.cs (132): return true; . Reflect.cs (135): } . NUnitFramework.cs (224): if ( Reflect.InheritsFrom( attributeType, CategoryAttribute ) ) ! NUnitFramework.cs (226): string categoryName = (string)Reflect.GetPropertyValue(attribute, PropertyNames.CategoryName); ! Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); . Reflect.cs (337): PropertyInfo property = GetNamedProperty( obj.GetType(), name, bindingFlags ); . Reflect.cs (314): return type.GetProperty( name, bindingFlags ); . Reflect.cs (315): } . Reflect.cs (337): PropertyInfo property = GetNamedProperty( obj.GetType(), name, bindingFlags ); . Reflect.cs (338): if ( property != null ) .C Reflect.cs (340): return null; // Null value carrier: CS$1$0000 ! Reflect.cs (341): } // Null value carrier: CS$1$0000 ! Reflect.cs (325): return GetPropertyValue( obj, name, BindingFlags.Public | BindingFlags.Instance ); // Null value carrier: GetPropertyValue(...) ! Reflect.cs (326): } // Null value carrier: CS$1$0000 ! NUnitFramework.cs (226): string categoryName = (string)Reflect.GetPropertyValue(attribute, PropertyNames.CategoryName); // Null value carrier: GetPropertyValue(...) . NUnitFramework.cs (227): test.Categories.Add(categoryName); // Null value carrier: categoryName .P NUnitFramework.cs (229): if (categoryName.IndexOfAny(new char[] { ',', '!', '+', '-' }) >= 0) // Null value carrier: categoryName nunit/nunit.core.dll/SimpleTestRunner.cs 150: "this.get_Test()" may possibly be null BD.EXCEPT.NR-1 . SimpleTestRunner.cs (145): log.Debug("Starting test run"); . Logger.cs (70): Log(InternalTraceLevel.Verbose, message); . Logger.cs (82): if (InternalTrace.Level >= level) . Logger.cs (84): } . Logger.cs (71): } . SimpleTestRunner.cs (148): this.runThread = Thread.CurrentThread; ! SimpleTestRunner.cs (150): listener.RunStarted( this.Test.TestName.FullName, test.CountTestCases( filter ) ); .C SimpleTestRunner.cs (82): return test == null ? null : new TestNode( test ); } // Null value carrier: CS$1$0000 .P SimpleTestRunner.cs (150): listener.RunStarted( this.Test.TestName.FullName, test.CountTestCases( filter ) ); // Null value carrier: this.get_Test() nunit/nunit.core.dll/TestMethod.cs 77: "method" may possibly be null BD.EXCEPT.NR-1 ! TestCaseResultFixture.cs (25): caseResult = new TestResult( new TestInfo(new NUnitTestMethod(Reflect.GetNamedMethod( this.GetType(), "DummyMethod" ) ) ... . Reflect.cs (240): GetMethods( fixtureType ) . Reflect.cs (185): MethodInfo[] result = fixtureType.GetMethods(AllMembers); . Reflect.cs (187): return result; . Reflect.cs (188): } . Reflect.cs (240): in GetMethods( fixtureType ) .C Reflect.cs (246): return null; // Null value carrier: CS$1$0000 ! Reflect.cs (247): } // Null value carrier: CS$1$0000 ! TestCaseResultFixture.cs (25): caseResult = new TestResult( new TestInfo(new NUnitTestMethod(Reflect.GetNamedMethod( this.GetType(), "DummyMethod" ) ) ... // Null value carrier: GetNamedMethod(...) ! NUnitTestMethod.cs (17): public NUnitTestMethod(MethodInfo method) : base(method) // Null value carrier: method .P TestMethod.cs (77): public TestMethod( MethodInfo method ) : base( method.ReflectedType.FullName, method.Name ) // Null value carrier: method 279: "testResult" may possibly be null BD.EXCEPT.NR-1 Page 12 dotTEST Report [09/21/11 14:13:53]
  • 13. . TestMethod.cs (268): TestResult testResult = null; . TestMethod.cs (270): int repeatCount = this.Properties.Contains("Repeat") ? (int)this.Properties["Repeat"] : 1; . Test.cs (254): if ( properties == null ) . Test.cs (257): return properties; . Test.cs (258): } . TestMethod.cs (270): int repeatCount = this.Properties.Contains("Repeat") ? (int)this.Properties["Repeat"] : 1; . TestMethod.cs (273): while (repeatCount-- > 0) . TestMethod.cs (275): testResult = ShouldRunOnOwnThread ? new TestMethodThread(this).Run(NullListener.NULL, TestFilter.Empty) : RunTest(); . TestMethod.cs (149): return base.ShouldRunOnOwnThread || Timeout > 0; . Test.cs (93): return RequiresThread || ApartmentState != ApartmentState.Unknown #x26;#x26; ApartmentState != GetCurrentApartment(); . Test.cs (96): } . TestMethod.cs (149): return base.ShouldRunOnOwnThread || Timeout > 0; . TestMethod.cs (150): } ! TestMethod.cs (275): testResult = ShouldRunOnOwnThread ? new TestMethodThread(this).Run(NullListener.NULL, TestFilter.Empty) : RunTest(); ! TestThread.cs (152): public TestMethodThread(TestMethod testMethod) : base(testMethod) .C TestThread.cs (34): protected TestResult threadResult; // Null value carrier: this.threadResult . TestThread.cs (49): protected TestThread(Test test) // Null value carrier: this.threadResult . TestThread.cs (51): this.test = test; // Null value carrier: this.threadResult . TestThread.cs (53): this.thread = new Thread(new ThreadStart(RunTestProc)); // Null value carrier: this.threadResult . TestThread.cs (54): thread.CurrentCulture = Thread.CurrentThread.CurrentCulture; // Null value carrier: this.threadResult . TestThread.cs (55): thread.CurrentUICulture = Thread.CurrentThread.CurrentUICulture; // Null value carrier: this.threadResult . TestThread.cs (58): if ( test.ApartmentState != ApartmentState.Unknown ) // Null value carrier: this.threadResult . TestThread.cs (60): } // Null value carrier: this.threadResult . TestThread.cs (155): this.testMethod = testMethod; // Null value carrier: this.threadResult . TestThread.cs (156): } // Null value carrier: this.threadResult ! TestMethod.cs (275): testResult = ShouldRunOnOwnThread ? new TestMethodThread(this).Run(NullListener.NULL, TestFilter.Empty) : RunTest(); // Null value carrier: new TestMethodThread.threadResult . TestThread.cs (89): TestResult testResult = new TestResult(test); // Null value carrier: this.threadResult . TestThread.cs (91): this.thrownException = null; // Null value carrier: this.threadResult . TestThread.cs (92): this.listener = listener; // Null value carrier: this.threadResult . TestThread.cs (93): this.filter = filter; // Null value carrier: this.threadResult . TestThread.cs (94): this.contextDictionary = (TestMethod.ContextDictionary)CallContext.GetData("NUnit.Framework.TestContext"); // Null value carrier: this.threadResult . TestThread.cs (96): log.Debug("Starting test in separate thread"); // Null value carrier: this.threadResult . TestThread.cs (97): thread.Start(); // Null value carrier: this.threadResult . TestThread.cs (98): thread.Join(this.Timeout); // Null value carrier: this.threadResult . TestThread.cs (162): return testMethod.Timeout == 0 ? System.Threading.Timeout.Infinite : testMethod.Timeout; // Null value carrier: this.threadResult . TestThread.cs (165): } // Null value carrier: this.threadResult . TestThread.cs (98): thread.Join(this.Timeout); // Null value carrier: this.threadResult . TestThread.cs (101): if (thread.IsAlive) // Null value carrier: this.threadResult . TestThread.cs (108): if (thrownException != null) // Null value carrier: this.threadResult . TestThread.cs (115): log.Debug("Test completed normally"); // Null value carrier: this.threadResult ! TestThread.cs (116): testResult = threadResult; // Null value carrier: this.threadResult ! TestThread.cs (119): return testResult; // Null value carrier: testResult ! TestThread.cs (120): } // Null value carrier: CS$1$0000 ! TestMethod.cs (275): testResult = ShouldRunOnOwnThread ? new TestMethodThread(this).Run(NullListener.NULL, TestFilter.Empty) : RunTest(); // Null value carrier: new TestMethodThread.Run(...) .P TestMethod.cs (279): if (testResult.ResultState == ResultState.Failure || testResult.ResultState == ResultState.Error || testResult.ResultSta... // Null value carrier: testResult 450: "this._ec.get_CurrentTest().get_FixtureType()" may possibly be null BD.EXCEPT.NR-1 . TestMethod.cs (439): switch (key as string) . TestMethod.cs (450): return AssemblyHelper.GetDirectoryName(_ec.CurrentTest.FixtureType.Assembly); . TestExecutionContext.cs (352): return currentTest; } ! TestMethod.cs (450): return AssemblyHelper.GetDirectoryName(_ec.CurrentTest.FixtureType.Assembly); .C Test.cs (305): return null; } // Null value carrier: CS$1$0000 .P TestMethod.cs (450): return AssemblyHelper.GetDirectoryName(_ec.CurrentTest.FixtureType.Assembly); // Null value carrier: this._ec.get_CurrentTest().get_FixtureType() nunit/nunit.core.interfaces.dll/RuntimeFramework.cs 358: Registry key not closed: subKey BD.RES.LEAKS-1 . RuntimeFramework.cs (350): if (Environment.OSVersion.Platform == PlatformID.Win32NT) . RuntimeFramework.cs (353): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); . RuntimeFramework.cs (354): if (key == null) . RuntimeFramework.cs (356): string version in key.GetSubKeyNames() .C RuntimeFramework.cs (358): RegistryKey subKey = key.OpenSubKey(version); // Allocated resource variable: key.OpenSubKey(...) . RuntimeFramework.cs (359): string monoPrefix = subKey.GetValue("SdkInstallRoot") as string; // Allocated resource variable: subKey . RuntimeFramework.cs (361): AppendMonoFramework(frameworks, monoPrefix, version); // Allocated resource variable: subKey . RuntimeFramework.cs (362): } // Allocated resource variable: subKey . RuntimeFramework.cs (356): string version in // Allocated resource variable: subKey .P RuntimeFramework.cs (358): RegistryKey subKey = key.OpenSubKey(version); // Allocated resource variable: subKey 366: Registry key not closed: key BD.RES.LEAKS-1 . RuntimeFramework.cs (350): if (Environment.OSVersion.Platform == PlatformID.Win32NT) .C RuntimeFramework.cs (353): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); // Allocated resource variable: LocalMachine.OpenSubKey(...) . RuntimeFramework.cs (354): if (key == null) // Allocated resource variable: key !E RuntimeFramework.cs (356): key.GetSubKeyNames() // RegistryKey.GetSubKeyNames() throws: IOException // Allocated resource variable: key dotTEST Report [09/21/11 14:13:53] Page 13
  • 14. .P RuntimeFramework.cs (366): } // Allocated resource variable: key 366: Registry key not closed: subKey BD.RES.LEAKS-1 . RuntimeFramework.cs (350): if (Environment.OSVersion.Platform == PlatformID.Win32NT) . RuntimeFramework.cs (353): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); . RuntimeFramework.cs (354): if (key == null) . RuntimeFramework.cs (356): string version in key.GetSubKeyNames() .C RuntimeFramework.cs (358): RegistryKey subKey = key.OpenSubKey(version); // Allocated resource variable: key.OpenSubKey(...) !E RuntimeFramework.cs (359): string monoPrefix = subKey.GetValue("SdkInstallRoot") as string; // RegistryKey.GetValue() throws: SecurityException // Allocated resource variable: subKey .P RuntimeFramework.cs (366): } // Allocated resource variable: subKey 383: Registry key not closed: key BD.RES.LEAKS-1 . RuntimeFramework.cs (372): string monoPrefix = null; . RuntimeFramework.cs (373): string version = null; . RuntimeFramework.cs (375): if (Environment.OSVersion.Platform == PlatformID.Win32NT) .C RuntimeFramework.cs (377): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); // Allocated resource variable: LocalMachine.OpenSubKey(...) . RuntimeFramework.cs (378): if (key != null) // Allocated resource variable: key . RuntimeFramework.cs (380): version = key.GetValue("DefaultCLR") as string; // Allocated resource variable: key . RuntimeFramework.cs (381): if (version != null #x26;#x26; version != "") // Allocated resource variable: key .P RuntimeFramework.cs (383): key = key.OpenSubKey(version); // Allocated resource variable: key 396: Registry key not closed: key BD.RES.LEAKS-1 . RuntimeFramework.cs (372): string monoPrefix = null; . RuntimeFramework.cs (373): string version = null; . RuntimeFramework.cs (375): if (Environment.OSVersion.Platform == PlatformID.Win32NT) .C RuntimeFramework.cs (377): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); // Allocated resource variable: LocalMachine.OpenSubKey(...) . RuntimeFramework.cs (378): if (key != null) // Allocated resource variable: key !E RuntimeFramework.cs (380): version = key.GetValue("DefaultCLR") as string; // RegistryKey.GetValue() throws: SecurityException // Allocated resource variable: key .P RuntimeFramework.cs (396): } // Allocated resource variable: key 396: Registry key not closed: key BD.RES.LEAKS-1 . RuntimeFramework.cs (372): string monoPrefix = null; . RuntimeFramework.cs (373): string version = null; . RuntimeFramework.cs (375): if (Environment.OSVersion.Platform == PlatformID.Win32NT) . RuntimeFramework.cs (377): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareNovellMono"); . RuntimeFramework.cs (378): if (key != null) . RuntimeFramework.cs (380): version = key.GetValue("DefaultCLR") as string; . RuntimeFramework.cs (381): if (version != null #x26;#x26; version != "") .C RuntimeFramework.cs (383): key = key.OpenSubKey(version); // Allocated resource variable: key.OpenSubKey(...) . RuntimeFramework.cs (384): if (key != null) // Allocated resource variable: key !E RuntimeFramework.cs (385): monoPrefix = key.GetValue("SdkInstallRoot") as string; // RegistryKey.GetValue() throws: SecurityException // Allocated resource variable: key .P RuntimeFramework.cs (396): } // Allocated resource variable: key 440: Registry key not closed: key2 BD.RES.LEAKS-1 . RuntimeFramework.cs (431): if (Environment.OSVersion.Platform == PlatformID.Win32NT) . RuntimeFramework.cs (433): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareMicrosoft.NETFrameworkpolicy"); . RuntimeFramework.cs (434): if (key != null) . RuntimeFramework.cs (436): string name in key.GetSubKeyNames() . RuntimeFramework.cs (438): if (name.StartsWith("v")) . RuntimeFramework.cs (444): } . RuntimeFramework.cs (436): string name in . RuntimeFramework.cs (438): if (name.StartsWith("v")) .C RuntimeFramework.cs (440): RegistryKey key2 = key.OpenSubKey(name); // Allocated resource variable: key.OpenSubKey(...) . RuntimeFramework.cs (441): in key2.GetValueNames() // Allocated resource variable: key2 . RuntimeFramework.cs (444): } // Allocated resource variable: key2 . RuntimeFramework.cs (436): string name in // Allocated resource variable: key2 . RuntimeFramework.cs (438): if (name.StartsWith("v")) // Allocated resource variable: key2 .P RuntimeFramework.cs (440): RegistryKey key2 = key.OpenSubKey(name); // Allocated resource variable: key2 447: Registry key not closed: key BD.RES.LEAKS-1 . RuntimeFramework.cs (431): if (Environment.OSVersion.Platform == PlatformID.Win32NT) .C RuntimeFramework.cs (433): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareMicrosoft.NETFrameworkpolicy"); // Allocated resource variable: LocalMachine.OpenSubKey(...) . RuntimeFramework.cs (434): if (key != null) // Allocated resource variable: key !E RuntimeFramework.cs (436): key.GetSubKeyNames() // RegistryKey.GetSubKeyNames() throws: IOException // Allocated resource variable: key .P RuntimeFramework.cs (447): } // Allocated resource variable: key 447: Registry key not closed: key2 BD.RES.LEAKS-1 . RuntimeFramework.cs (431): if (Environment.OSVersion.Platform == PlatformID.Win32NT) . RuntimeFramework.cs (433): RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SoftwareMicrosoft.NETFrameworkpolicy"); . RuntimeFramework.cs (434): if (key != null) . RuntimeFramework.cs (436): string name in key.GetSubKeyNames() . RuntimeFramework.cs (438): if (name.StartsWith("v")) . RuntimeFramework.cs (444): } . RuntimeFramework.cs (436): string name in . RuntimeFramework.cs (438): if (name.StartsWith("v")) .C RuntimeFramework.cs (440): RegistryKey key2 = key.OpenSubKey(name); // Allocated resource variable: key.OpenSubKey(...) Page 14 dotTEST Report [09/21/11 14:13:53]