Code review example

Code reviews ask tough questions.

Understand™ answers tough questions.

Understand™ for Code Reviews

fits naturally into any code review or inspection method

rapidly provides answers to questions asked during the review

automatically checks code review entrance requirements such as coding standards, complexity, and size maximums

Don't know what your code is actually doing? Understand™ can help.

"A large part of my career has been spent debugging and maintaining other people’s code and that means I spend a lot of time figuring out what a program actually did and how that was different from what it was supposed to do. Understand... deals with that cognitive dissonance by helping me envision a program’s flow and structure and to figure out the changes necessary to fix the errors. It’s a very cool tool!"

Dave Phelps, Senior Software Engineer, Scientific Games International

A Visual Code Review Tool

You can easily review source code by displaying call graphs, dependency charts, control flow graphs, and many other diagrams. 

Understand editor showing multiple graphs and reports

Understand™: The Code Review Process

The core to any review process, whether formal "Fagen" style inspection, independent group review, extreme programming, or even chaotic open source type group reviews, is knowing the intent for the code and comparing that to what it actually does. 

You'll need to ask both "is it doing what we expect?" and "is it doing MORE than we intend?" 

Consider this example:

if (tankAirPressure>safeTankAirPressure) bleedAirTank(safeTankAirPressure) ; 

In English, during review we might translate this to:

"If the tank pressure is greater than '180psi' then bleed off air pressure".

The next question should be... 

What side effects could bleedAirTank() have?


As reviewers we need to verify what "safe psi" is. We also need to ensure that bleedAirTank uses the correct value and that it only bleeds off air pressure. Understand™ provides one-click access to definitions of each of these implementations, as well as dependency and depends-on trees that might indicate extra or less work is being done.  For instance, we would be concerned if we knew that calling bleedOffAirPressure also causes fuel to be bled off too. 

Improve your code reviews with Understand™

Increase efficiency. Code reviews don't have to take forever.

Increase effectiveness. Find more bugs.

Impress your boss. It's that awesome.

Supported Languages

Ada, COBOL, C/C++, C#, Fortran, Java, Jovial, Pascal, PL/M, Python, VHDL, Objective C/C++, HTML, PHP, JavaScript, XML

Understand™ Your Code

Start working smarter with the world's most powerful source code review tool. It's up and running in under five minutes and comes with legendary product support. You’ll have two weeks to explore all that Understand™ can do for you.