Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 6.1

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.