Yokasoft                  Home  Release Notes  Documentation  Screen Shots  Links


CodeInspect version 1.1 release notes

CodeInspect is currently a freeware. IT'S FREE.

CodeInspect is a new C++ code analyser or 'lint'.
It's designed to work best with Microsoft Visual C++.
CodeInspect can be used to find nonportable, suspicious or bugged code.


CodeInspect doesn't modify the registry nor does it installs any files in
the system directories. To uninstall CodeInspect, simply delete all the files
and everything will be ok.

Descrition of files and programs:

CodeInspect.exe: Interface to inspect projects and to set options.
DspLint.exe: Command line tool to lint an entire project (.dsp) file.
Lint.exe: Command line tool to lint one or more files. Same usage as microsoft's cl compiler.
CodeInspect Help.chm: Help file.
Lint.cfg: Contains the setting.
LintMessage.dat: Contains the messages list.


Warnings

Here is the list of warnings that CodeInspect can detect.
Each warning can be turned on or off using CodeInspect.exe

  • C++ style comment in C source.

  • Unused macro constant.

  • Unused macro function.

  • System header should be included using < and > delimiters : <header>.

  • Nonstandard charizing operator '#@' used.

  • Use of old style ANSI/ISO C++ header 'old-header', prefer 'new-header'.

  • Use of old style ANSI C header 'old-header' in C++ source, prefer 'new-header'.

  • 'header' is not an ANSI C header.

  • 'header' is not an ANSI/ISO C++ header.

  • Macro constant identifier should be all uppercase.

  • Macro function identifier should be all uppercase.

  • Parentheses are missing around a complex macro.

  • Parentheses are missing around a macro parameter 'param'.

  • A macro argument 'name' with side effects is evaluated more than once after macro expansion.

  • Identifier 'name' is reserved for the implementation use.

  • Assignment '=' inside an if.

  • Assignment '=' inside a while.

  • Enum forward declaration is a nonstandard extension.

  • Macro 'macro-name' could be a const variable.

  • Macro 'macro-name' could be an inline function.

  • 'header' has already been included.

  • 'using namespace std' is not recommended.

  • Assignment to self.

  • Using == or != with floating point values is dangerous.

To contact us

info@yokasoft.com
codeinspect@yokasoft.com

Copyright © 2006 Yokasoft.  All rights reserved