Visualizing project metadata

March 3, 2015 Laura Kogler

I recently prepared an experience report which included some graphs illustrating key points about the engagement’s progress and history. I’ve been asked about how to generate these kinds of graphs, so here are some pointers!

Tracker velocity chart

VelocityChart

This kind of graph is easy to generate using Pivotal Tracker, by clicking the “Charts” option in the left hand side menu.

There is one trick, which is that by default, the chart will only show the past 12 weeks of history. If you want to show more than that, you have to open the “Done” tab. At the top, you will see a small message that reads “Displaying last X iterations. Display all.” If you click on that link, it will load your entire project history into the browser. Then when you go to the “Charts” tab, it should show you charts that include the whole project, not just the last few weeks.
Screen Shot 2015-03-03 at 12.15.07 PM

Lines of code chart

lines_of_code

To generate this, I used the Perl Count Lines Of Code tool. I used git to check out a snapshot of the code from each week of the engagement, and ran the CLOC tool for each week. I then imported the numbers I got into a google spreadsheet to make the chart.

One thing to watch out for: when running CLOC, make sure you tell it to exclude things like external libraries and build artifacts so that your numbers only reflect true lines of source code that the team wrote.

Jenkins test history

Jenkins unit tests

 

In Jenkins, you can view a chart of build times and status by clicking the “trend” link in the “Build History” box for a project.

Screen Shot 2015-03-03 at 11.57.58 AM

This built-in chart is not very customizable, as far as I can tell. There are a number of other Jenkins plugins available for creating different kinds of charts and graphs, but I haven’t used them. If anybody has recommendations for a better graphing tool for Jenkins, I would love to hear about it!

 

 

About the Author

Biography

More Content by Laura Kogler
Previous
Searching for BDD patterns in Python
Searching for BDD patterns in Python

I’ve been writing automated tests in a Test Driven Development style for about 6 years now. Much of my expe...

Next
Helping to Overcome Poverty with Technology at Tenderloin Creative Labs
Helping to Overcome Poverty with Technology at Tenderloin Creative Labs

Pivotal employees recently volunteered to work with the San Francisco City Academy as a way to give back vi...

How do you measure digital transformation?

Take the Benchmark