Campwood Logo  

Campwood Software

 

Source Monitor - Known Bugs (Version 2.6 and earlier)

[To report a problem, please send an e-mail to Jim.]

Bugs in newer versions of SourceMonitor available here.

In Version 2.6.8.123 (released December 15, 2010):

Number
Description
Date Reported
Status
142

Ampersands not escaped in XML export of operator methods (e.g. operator&&).

April 2 , 2011
Fix in V3.0.0.168
141

Method View crashes on selection of context "Chart Method Metrics" for a file.

March 27 , 2011
Fix in V3.0.0.168
140

In C: Blocks inside case statements not parsed properly.

February 28 , 2011
Fix in V3.0.0.168
139

In C#: new object initializers not parsed correctly, caused method detection errors.

December 23 , 2010
Fix in V2.6.12.128
138

In C#: code following event declarations skipped until next close block.

December 23 , 2010
Fix in V2.6.10.126
137

Added new command line option to suppress all dialogs.

December 19 , 2010
Fix in V2.6.10.126

In Version 2.6.3.104 (released June 24, 2010):

Number
Description
Date Reported
Status
136

The command file tag <modified_complexity> not working.

November 30 , 2010
Fix in V2.6.7.122
135

Incorrect display of charted values that have thousands separators .

November 24 , 2010
Fix in V2.6.7.122
134

The separators in numbers incorrect for non-English locales.

October 25 , 2010
Fix in V2.6.6.120
133

The command file tag <modified_complexity> caused SourceMonitor to crash.

November 2 , 2010
Fix in V2.6.6.120
132

In VB.NET, SourceMonitor fails to parse new syntax added in Version 10 such as lambdas and auto-implemented properties.

July 27, 2010 and October 7, 2010

Fix in V2.6.6.120
131

In VB.NET: Not parsing "When" keyword in Catch statements.

July 19, 2010
Fix in V2.6.6.112
130

In VB.NET: SyncLock followed by a parenthesis not starting a new block.

July 9, 2010
Fix in V2.6.6.112
129

In VB.NET: Ternary If statements in Dim statements not parsed properly.

July 4, 2010
Fix in V2.6.6.104
128

In C, function pointers not parsed correctly..

June 30, 2010
Fix in V2.6.6.104
127

All exports produce spurious error (introduced with the new export of Kiviat diagrams) .

June 26, 2010
Fix in V2.6.6.104
126

The lines and statements columns don't sort properly when the values are > 1000 .

June 30, 2010
Fix in V2.6.6.104

In Version 2.5.1.0 (released May 31, 2009):

Number
Description
Date Reported
Status
125

On computers with small monitors, the bottom of the Kiviat exported image showed the bottom of the Windows screen.

June 13 , 2010

Fix in V2.6.2.102

124

VB.NET: Not detecting ternary comparisons (each now counts as 2 in the complexity).

March 16, 2010

Fix in V2.5.1.4

123

VB.NET: Errors parsing Case (...) and Return (...).

January 14, 2010

Fix in V2.5.1.3

122

Projects whose names contained backslashes crashed exports. Backslashes can no longer be entered.

October 21, 2009

Fix in V2.5.1.3

121

VB6: Errors parsing of continuation lines in blocks.

October 7 , 2009

Fix in V2.5.1.3

120

Export of metrics to XML does not use UTF-8 for non-ASCII characters.

July 2 , 2009

Fix in V2.6.6.120

119

C#: Some nullable variables caused SourceMonitor to crash.

August 27, 2009

Fix in V2.5.1.2

118

Java: Nested array initializers not parsed correctly.

August 25, 2009

Fix in V2.5.1.2

117

C++: The initializer list for inline constructors in header files were counted as methods.

August 19 , 2009

Fix in V2.5.1.2

116

VB.NET: Calls to methods with no parentheses and no arguments not parsed properly.

June 10, 2009

Fix in V2.5.1.2

115

C#: SourceMonitor crash when C# code had no white space around conditional operators '?' and ':'. This fix solves the crash, but does sometimes missinterpret the conditional.

June 9, 2009

Fix in V2.5.1.2

In Version 2.5.0.2 (released August 26, 2008):

Number
Description
Date Reported
Status
114

Delphi: Not parsing nested subroutines properly.

May 20, 2009

Fix in V2.5.1.0

113

C++: Comments inside #else blocks not parsed properly.

May 18, 2009

Fix in V2.5.1.0

112

When both a Project View and a Checkpoint View are open, clicking 2 or more times outside either view crashes SourceMonitor.

March 20, 2009

Fix in V2.5.1.0

111

C#: Not parsing multi-dimensional array initializers properly.

March 19, 2009

Fix in V2.5.1.0

110

Delphi: Not parsing comments inside some argument lists.

March 17 , 2009

Fix in V2.5.1.0

109

All languages: Long file pathnames filled printed page, no metrics printed (pathnames are now shown with ellipses if longer than half a page).

February 18 , 2009

Fix in V2.5.1.0

108

All languages: The average complexity in checkpoint Kiviat diagrams was not based on all methods in the checkpoint.

January 9, 2009

Fix in V2.5.0.5

107

C#: Conditionals (...?...:...) in return statements not counted in complexity.

December 22, 2008

Fix in V2.5.0.5

106

VB.NET: Continuation line character ('_') mis-parsed inside conditional statements. Example:
If thisBoolean And _
thatBoolean Then

Novenber 17 , 2008

Fix in V2.5.0.4

105

When the metrics details dialog is created in response to a command line request (as when you display it in Visual Studio), the Copy and Print buttons crash SourceMonitor.

October 1 , 2008

Fix in V2.5.0.3

104

VB.NET statments like this are mis-parsed: AddHandler (CType(sender, MyType)).Property, AddressOf MyHandler, that is, the first set of parentheses imply an event method, not an AddHandler statement.

August 29, 2008
No fix planned. Please use a workaround : remove the offending parentheses.
103
In C, only the last of all functions with the same name are displayed in the Functions View (and the view caption is in error).
August 21 , 2008
Fix in V2.5.0.3
102
The export XML Schemas and DTDs are out of date.
August 20 , 2008
Fix in V2.5.0.3

In Version 2.5.0.1 (released July 30, 2008):

Number
Description
Date Reported
Status
101
Command line scripts for project with option "All subdirectories" produce empty checkpoints. Workaround: include the element "<include_subdirectories>true</include_subdirectories>" in the script.
August 4 , 2008
Fixed in V2.5.0.2
100
In Project View, copy checkpoint to clipboard crashes SourceMonitor.
July 31, 2008
Fixed in V2.5.0.2

In Version 2.4.0.5 (released November 3, 2007):

Number
Description
Date Reported
Status
99
Bugs in parsing VB.NET - now parse optional spaces following continuation
character ('_'), optional "Then" in block "If" statements, and optional
parentheses following the name of a property.
July 24 , 2008
Fixed in V2.5.0.1
98
Bug in parsing VB.NET "Else If" statements.
July 23 , 2008
Fixed in V2.5.0.1
97
Bug in parsing VB.NET Catch statements that have additonal statements on the
same line (separated by ':' characters).
July 20 , 2008
Fixed in V2.5.0.1
96
If a command file doesn't specify a <source_directory> value, the project's source directory is not used and the command fails.
June 30 , 2008
Fixed in V2.5.0.1
95
In V2.4.1.0: command files no longer create new checkpoints (invalid date error logged).
June 27 , 2008
Fixed in V2.5.0.1
94
When selecting subdirectories for a project, below level 1 subdirectories not following the selection state of the parent directory.
May 30 , 2008
Fixed in V2.5.0.1
93
Month names not displayed properly when Windows "Region Options" set to a Cryllic language.
May 21 , 2008
Fixed in V2.5.0.1
92
Not skipping trailing comments in some cases.
May 6 , 2008
Fixed in V2.5.0.1
91
In Delphi the Metrics Details dialog showed the wrong most complex function name.
April 28 , 2008
Fixed in V2.5.0.1
90
In C#: 1) operator "??" not counted in complexity metric; and 2) Unblocked if (...) whose single statement was an exit ("break;" or "return;") caused method complexity errors.
March 20, 2008
Fixed in V2.5.0.1
89
In VB.NET, goto labels that contain keywords such as NEXT or LOOP not parsed correctly.
March 20, 2008
Fixed in V2.5.0.1
88
In VB.NET, comments following #Const statements not handled properly.
March 19, 2008
Fixed in V2.5.0.1
87
Various user interface problems with SourceMonitor running on Windows Vista. Some are cosmetic, but attempts to sort columns sometimes crash SourceMonitor.
February 28 , 2008

Fixed in V2.5.0.1

86
In C#, a return or goto inside a block inside a case statement cancels parsing of the rest of the source file.
February 21 , 2008
Fixed in V2.5.0.1
85
SourceMonitor does not (yet!) support C# V3.0, in particular automatic properties are not parsed properly.
January 2, 2008
Fixed in V2.5.0.1
84
The file exclude filter doesn't work when a space follows a ';' separator, & when a filter entry doesn't start with '*'.
January 4, 2008
Fixed in V2.5.0.1
83
C#: not parsing property/indexer get and set methods properly.
November 15, 2007
Fixed in V2.5.0.1

In Version 2.3.6.1 (released February 6, 2007):

Number
Description
Date Reported
Status
82
Errors in Delphi when optional ';' is missing, and when there is no space before the keyword "then"..
October 26, 2007

Fix in V2.4.0.5

81
In VB.NET, SourceMonitor misparsed quote strings in attributes, didn't accept class names surrounded by square brackets.
October 25, 2007

Fix in V2.4.0.5

80
In VB.NET, MustOverride modifier in declarations cause parser to miss the end of all subsequent methods.
October 22, 2007

Fix in V2.4.0.5

79
In C#, catch statements with arguments not counted in complexity counts.
October 22, 2007

Fix in V2.4.0.5

78
In C++, complex initializer block hides method.
October 11, 2007

Fix in V2.4.0.5

77
In C++, macros that look like method calls miscounted as functions.
September 23, 2007

Fix in V2.4.0.5

76
In VB6, if statements of the form "If xyz Then Resume Next" not parsed properly.
August 13, 2007

Fix in V2.4.0.5

75
Since SourceMonitor doesn't process macros in C, they are parsed as if they were function calls. If the call arguments contain a question mark, it is mistaken for the start of a conditional and SourceMonitor goes looking for the colon. This should happen in C++ as well (it has been added). Parser changed to require white space before the '?' inside a parenthesis. This will solve many macros but not all.
August 10, 2007

Fix in V2.4.0.5

74
In a command file script, specification of <project_language>VBNET</project_language> not reported as an error.
August 09, 2007

Fix in V2.4.0.5

73
VB.NET case statements not parsed correctly causing incorrect complexity and statement metrics.
August 08, 2007

Fix in V2.4.0.5

72
In VB.NET, variable names ending in "try" incorrectly parsed.
July 20, 2007

Fix in V2.4.0.5

71
Command file directories in element <source_subtree> with multiple directories (separated by '\') included multiple times .
July 19, 2007

Fix in V2.4.0.5

70
In VB.NET, "IF" statements that end in 'Exit <whatever>' incorrectly parsed..
July 11, 2007

Fix in V2.4.0.5

69
In Delphi, ... "stdcall; external ..." incorrectly parsed.
July 9, 2007

Fix in V2.4.0.5

68
In C#, failed to parse "??" operator (usually produces complexity errors. )
June 22 , 2007

Fix in V2.4.0.5

67
In Checkpoint View under Microsoft Vista OS, get "Invalid argument" error when you try to sort any column.
June 8 , 2007

Fix in V2.4.0.5

66
In Delphi, the "external" keyword was ignored. Also now parse all the way down to the final "end." statement (statement and line counts increase slightly).
May 29 , 2007

Fix in V2.4.0.5

65
In VB.NET and VB6: remarks identified by the Rem keyword sometimes confused with calls.
May 29 , 2007

Fix in V2.4.0.5

64
In VB.NET, a comment following "Then" is not parsed correctly and following metrics are not counted.
February 20, 2007

Fix in V2.4.0.5

63
In C++, the statement "case _T(':'):" causes errors in method counts.
February 8, 2007
Fix in V2.4.0.5

In Version 2.2.0.1 (released June 14, 2006):

Number
Description
Date Reported
Status
62
In C++, when a namespace name is prepended to a class name, it is used as the class name .
Spetember 13 , 2006
Fix in V2.3.6.1
61
In the Project View, the average complexity is incorrect: it is an average of the maximum complexities, not of all checkpoint complexities.
October 10, 2006
Fix in V2.3.6.1
60
In Delphi, unterminated single statements following an Else are not recognized and complexity values are incorrectly reported.
September 22, 2006
Fix in V2.3.6.1
59
In a command file, the flag "Include subdirectories" is NOT taken from an existing project if its value is true. Workaround: add the following to your command file: <include_subdirectories>true</include_subdirectories>.
August 24, 2006
Fix in V2.3.6.1

In Version 2.1.8.8 (released March 29, 2006):

Number
Description
Date Reported
Status
58
C++ labels not parsed properly if followed immediately by a branch statement.
June 13 , 2006
Fix in V2.2.0.1
57
C++ function-level metrics not displayed properly in Method View.
May 30 , 2006
Fix in V2.2.0.1
56
In Delphi, an empty if statement is not parsed properly causing incorrect complexity. An empty if statement is "if a > b then" with no following statements or "begin/end" block.
May 17 , 2006
Fix in V2.2.0.1
55
Export incorrectly reads source code directory, fails to do export.
May 4 , 2006
Fix in V2.2.0.1
54
In C#, SourceMonitor mis-parses literal quote characters ('\"').
April 24 , 2006
Fix in V2.2.0.1
53
Export of C# code with generics to XML has illegal XML characters ("<>").
April 21 , 2006
Fix in V2.2.0.1
52
Can't do metrics on a single C# file from the command line.
April 21 , 2006
Fix in V2.2.0.1
51
The C# "goto case" syntax is mis-parsed, thus producing errors in the method metrics.
April 19 , 2006
Fix in V2.2.0.1
50
If you open the Options dialog and select any language tab, then right click below the bottom row of data: SourceMonitor locks up and must be killed with the Windows Task Manager.
April 18 , 2006
Fix in V2.2.0.1
49
When SourceMonitor is run by a user with a " Least-Privileged User Account " it is killed by a security violation trying to write the log file.
April 13 , 2006
Fix in V2.2.0.1

In Version 2.0.4.7 (released January 12, 2005):

Number
Description
Date Reported
Status
48
In Delphi, the Most Complex Subroutine is confused by nested functions.
March 13 , 2006
Fix in V2.1.8.8.
47
In C#, variables whose names begin with "interface" (for example, "interfaces") are not parsed properly.
February 27 , 2006
Fix in V2.1.8.8.
46
In Delphi, string constants in call parameters not parsed properly.
January 11, 2006
Fix in V2.1.8.8.
45
Heading errors, quoted numbers in CSV export files.
November 3, 2005
Fix in V2.1.8.8.
44
C method produces "Unknown" exception.
July 20, 2005
Fix in V2.1.8.8.
43
Inconsistent XML output: "9+" and "9 +".
June 12, 2005
Fix in V2.1.8.8.
42
Command line arguments not processed properly when all arguments are quoted.
June 8, 2005
Fix in V2.1.8.8.
41
C# case statement with conditionals mistaken for a method.
May 12, 2005
Fix in V2.1.8.8.
40
C# using statement mistaken for a method.
May 12, 2005
Fix in V2.1.8.8.
39
Comment count errors: off by one when ignore headers/footers enabled, off by one for /*...*/ all on one line.
February 6, 2005
Fix in V2.1.8.8.
38
In C#, the following is incorrectly counted as a method: result.Add( new object[]{0} );
January 27, 2005
Fix in V2.1.8.8.

In Version 2.0.3.2 (released October 25, 2004):

Number
Description
Date Reported
Status
37
The percent comments with header/footer comments ignored are in error in C++ when all comments are in headers or footers.
December 8, 2004
Fix in V2.0.4.7.
36
For Delphi, the complexity for some funtions is incorrect.
November 11, 2004
Fix in V2.0.4.7.
35
When a large value metric is added to the Kiviat graph (specifically "Lines") the point is plotted at too small a radius.
November 10, 2004
Fix in V2.0.4.7.

In Version 2.0.2.4 (released August 24, 2004):

Number
Description
Date Reported
Status
34
The exported metrics files for languages with generics (C++, Java, C#) may contain invalid XML if the most complex method name contains"<...>".
September 29, 2004
Fix in V2.0.3.2.
33
The "-" flag in command line execution causes SourceMonitor to crash. Example: /D-C# <file> crashes but /DC# <file> does not.
September 23, 2004
Fix in V2.0.3.2.
32
Win95 and Win98 systems get an error about a missing export to regarding SHGetFolderPathA and can't run SourceMonitor.
September 9, 2004
Fix in V2.0.3.2.

In Version 1.3.1.6 (released August 25, 2003):

Number
Description
Date Reported
Status
31
Spurrious dialog displayed when non-admin user starts SourceMonitor.
August 9, 2004
Fix in V2.0
30
Command line command to display the details in one file fails if the file pathname is in quotes.
June 17,2004
Fix in V2.0
29
New syntax in Delphi V7 and V8 causes parsing errors.
April 16,2004
Fix in V2.0
28
Program blows up parsing large C# file.
April 16,2004

Fix in V1.3.2

27
Mis-parses C# code when a method call appears inside an initializer.
April 14, 2004
Fix in V1.3.2
26

Template parameters included in method return types not parsed properly.
Example: std::vector<std::string>::const_iterator MyClass::MyMethod() {...}

December 20, 2003
Fix in V2.0
25
Crash on large C# file (? - need more data to identify problem)
November 2003
Can't reproduce
24
Export to CSV file creates empty file. 
September 10, 2003
Fix in V1.3.2

In Version 1.3.0.20 (released May 28, 2003):

Number
Description
Date Reported
Status
23
In Delphi, not counting nested function statements in the size of a method. 
July 14, 2003
Fix in V1.3.1.6
22
In C++, not parsing the vector form of operator new[] properly.
July 12, 2003
Fix in V1.3.1.6
21
In Java, annonymous inner class parse errors: may cause incorrect method sizes, call counts and method counts.
June 30, 2003
Fix in V1.3.1.6
20
In Delphi, nested procedures and functions are not treated as subroutines.
June 30, 2003
Fix in V1.3.1.6
19
If you try to create a project whose files are in a read-only directory (e.g. on a CD), you are not allowed to create the project no matter where you try to put the project file.
June 23, 2003
Fix in V1.3.1.6
18
When in non-English locales, metrics data export uses the locale's character for floating point numbers - should always use '.' for the decimal point.
June 23, 2003
Fix in V1.3.1.6
17
On a batch file command line, if the command file pathname is inside quotes it is ignored.
June 19, 2003
Fix in V1.3.1.6
16
If you try to parse files in an empty directory, SourceMonitor crashes.
May 29, 2003
Fix in V1.3.1.6

In Version 1.3.0.19 (released May 6, 2003):

Number
Description
Date Reported
Status
15
In Project Properties, if no terminal backslash is entered for the source code directory, no files are found for new checkpoints.
May 28, 2003
Fix in V1.3.0.20
14
Java files with multiple calls within blocks are not parsed correctly.
May 28, 2003
Fix in V1.3.0.20

In Version 1.2.0.6 (released January 2003):

Number
Description
Date Reported
Status
13
Typedefs of the following form cause errors in C++: 'typedef a::b <Ptr *>::c type;'
May 5, 2003
Fix in V1.3
12
The following form of method implementation is not handled correctly:

return_type
ClassName:: <----- this line is not understood
functionName() {... }

March 31, 2003
Fix in V1.3
11
In C++, explicit literal quotes ("\"") not handled properly.
March 4, 2003
Fix in V1.3
10
In C++, the contents of #else blocks are ignored.
March 4, 2003
Fix in V1.3
9
Numbers larger than 999 are exported to CSV files with embedded commas (e.g., 1,234).
January 17, 2003
Fix in V1.3
8
For HTML, all files with file extension ".html" are included twice in each checkpoint.
January 17, 2003
Fix in V1.3

In Version 1.2.0.5 (released January 2003):

For the C language, the project and file views have the wrong labels (the data are correct). Workaround: go into File | Options and under the "C" tab, edit and save one of the labels (you can change and restore a label to the same word). Fixed in version 1.2.0.6.

In Version 1.0.6.3 (released March 2000):

Number
Description
Status
7
Some template classes are not counted properly (don't have a detailed diagnosis).
Fix in V1.1
6
Doesn't recognize (*...*) as a comment, does count {$...} as a comment in Delphi.
Fix in V1.1
5
Error is reported for source files with 0 bytes (should be ignored).
Fix in V1.1
4
The .csv export files contain spurious spaces (some versions of Excel can't import them).
Fix in V1.1
3
If "class" is the first text string in a file the program crashes.
Fix in V1.1
2
Classes that have no methods are ignored.
Fix in V1.1
1
If you edit the file extension list in the new project dialog, the changes are ignored (workaround: change the list in the Options dialog).
Fix in V1.1

Campwood Home Page