Hapao – test coverage visualization tool

Hapao is a test coverage visualization tool created by the researchers Vanessa Pena and Alexandre Bergel and others in the Pleaid Group at the University of Chile. The Hapao tool uses the Class BluePrint metaphor from the suite of Polymetric Views to illustrate how the methods in a class have been covered during a set of tests. Hapao has been implemented in the Pharo programming language (similar to Smalltalk) and uses the Moose Software Analysis Platform.

The methods in the Test BluePrint visualization from the Hapao tool are represented as follows:

  • height: the cyclometric complexity of a method
  • width: the number of different methods that call the method
  • shading: the number of times the method has been executed, the darker the more it has been executed
  • red border: untested methods
  • blue border: abstract methods
  • green border: unit test methods
  • edges: call flow between methods determined by static analysis



About Craig Anslow

Craig Anslow is a Lecturer in Software Engineering at Victoria University of Wellington, New Zealand, with research interests in software visualization.
This entry was posted in Tools. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s