Understand™ for Code Reviews
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™: 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...
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™
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.