Article Preview
Buy Now
FEATURE
PostMortem: Reality Check
Code Analysis Software
Issue: 6.1 (November/December 2007)
Author: Dr. Scott Steinman
Author Bio: Reality Check (Carbon)
Article Description: No description available.
Article Length (in bytes): 23,126
Starting Page Number: 11
Article Number: 6108
Related Web Link(s):
http://software-in-motion.com
Excerpt of article text...
I came to REALbasic from the world of C++ and Java. While I came to love the ease and speed of programming in REALbasic, I missed some of the advanced programming utilities that I could use with Java, such as static analysis, documentation, and refactoring tools. My goal was to bring some of these tools to REALbasic, with the encouragement of Mars Saxman and my wife, Barbara.
Reality Check is a quality assurance (QA) tool for REALbasic that I introduced at my presentation at the 2006 Real World conference. It analyzes REALbasic program source code for potential errors in object-oriented and procedural code design and adherence to coding standards. It is modeled after similar tools that are available for other programming languages.
The program reads a REALbasic project in either binary or XML format, then breaks the project down into its constituent elements. Classes, modules, windows, and interfaces are further broken down into code, constants, and properties. Code is divided into methods, event handlers, and menu handlers. Data is broken down into constants, variables, properties, and method parameters. List boxes of each construct, data item and code item, along with the properties such as scope and data type, can be viewed in the main program window. Method code can be viewed in a fourth list box. In essence, the main window acts as an OOP code browser (see Figure 1).
...End of Excerpt. Please purchase the magazine to read the full article.