October 2008 Archives

Word Clouds?

| | Comments (1) | TrackBacks (0)

We are always on the lookout for new ways to represent source code. Word Clouds caught my fancy.

Here is one of our own source code showing the top 50 most complex functions in source tree.

 clip_image002

We thought doing Classes by lines of code, Classes by Sum Complexity and Architectures by the same might also be interesting.

Q: Worth adding to Understand?

BTW: The Cloud was generated by Wordle.net.  We wrote a script that generates output that can be pasted into its text box.   I’ve attached it in case you want to try it on your own code.File Attachment: wordart.pl (2 KB)

 

(Build b466) - 23 Oct 2008

Highlights

  • Enhance the GUI for folder comparisons.
  • Fix many minor issues and inconsistencies
  • Enhance the Architecture Dependency Graph

So imagine you’re reviewing metrics for a small function:

  61 lines of code, pretty small, keeping functionality nice and modular. Good.

  Cyclomatic complexity of 30. Highly complex, but within the acceptable range. Good.

  CountPath metric 536,870,912. What is this? 536 Million paths in 61 lines of code, that can’t be right, can it?!?

Tip - Automated Metrics

| | Comments (0) | TrackBacks (0)

Several people have asked me lately about automating metrics with Understand 2.0. There are two quick ways to automate metrics, as a scheduled activity and via the command line:

(Build b465) - 03 Oct 2008

Highlights

  • Added new radar view for Differencing.
  • Added folding for Ada documents.

About this Archive

This page is an archive of entries from October 2008 listed from newest to oldest.

September 2008 is the previous archive.

November 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.