Carbide CodeScanner

carbidecxx13.gifI tried out the new beta Carbide.c++ 1.3 CodeScanner earlier this week. It’s a static code analysis tool  that scans code to detect potential problems such as memory cleanup, adherence to Symbian coding idioms as well as general coding standards such as using hardcoded constants.

Nokia has acquired Codecanner from Adobe who, in turn, acquired a short-lived mobile company called Mobile Innovation Ltd who first developed the scanner.

The project settings have a new pane that allows you to enable/disable specific tests…

codescanner.gif

 

The scanner can be run on an individual file or a whole project. It worked well for me and quickly managed to pick up problems in my code. The errors/warnings integrate well into Carbide and show in exactly the same way as normal compilation errors/warnings (shown in the left margin of the source code). The only problem I had was the warnings/errors didn’t go away when I started compiling again they just combined with usual compile errors - a beta bug I think!

CodeScanner will be available in Carbide.c++ Professional and OEM Editions. i.e. Sadly CodeScanner won’t be available in the Express and Designer editions. This is a shame because Express users are probably new to Symbian coding and are the people who could make best use of the Scanner.

 

Related Articles:

Comments are closed.