Legacy · 2005–2012

A bit of history

During my Ph.D. and postdoc at USI I built a number of tools, most of them interactive software visualizations, to study the evolution of software systems and their defects. They are preserved here as they were published; most are written in Smalltalk and are no longer maintained.

Archive, not current work. This page documents research tools from more than a decade ago. For what I do today, see Research & R&D.

Churrasco is a framework that supports collaborative software evolution analysis through visualization. It is fully web-based, so a software system can be analyzed from the initial model creation to the final study from a web browser, without installing any tool. It relies on a centralized database and supports annotations, so the knowledge gained during an analysis is stored incrementally on the model of the system itself. Users import a project by giving the URL of its SVN repository and, optionally, of its Bugzilla repository, and then explore it with system complexity, correlation and Evolution Radar views.

Churrasco in a web browser, showing a system complexity view of ArgoUML
Churrasco visualizing the ArgoUML software system with a system complexity view.

Video tutorials

Source code

Churrasco is open source and written in Cincom Smalltalk (VisualWorks). Components:

  • Churrasco.st: the core, including meta-models, importers and linkers.
  • Episode.st: the web visualization module (system complexity, correlation view, Evolution Radar).
  • GPK.st: the Evolution Radar visualization engine.
  • MetaDBDevelopment.st: the Metabase, which generates Glorp descriptors from meta-model descriptions.

Running Churrasco also requires Moose, Glorp, Mondrian, Seaside, TwoFlower and HotDraw. The public Churrasco server is no longer online. Related publications: SCP 2010, CSMR 2008, WASDeTT 2008.

The Evolution Radar analyzes the evolution of software systems from the perspective of logical (change) coupling. The visualization integrates file-level and module-level coupling information, supports an in-depth analysis of couplings at every granularity, and characterizes the modules of a system in terms of their logical coupling dependencies.

The stand-alone Evolution Radar
Stand-alone version, for CVS and Subversion repositories.
The Evolution Radar integrated in the Refactoring Browser
Integrated in the Refactoring Browser IDE, for Smalltalk projects in a Store repository.

Downloads

Source code as Smalltalk parcels, with the required HotDraw graphical framework:

Related publications: TSE 2009, MSR 2006.

BugCrawler is a Smalltalk tool for analyzing the evolution of large software systems with interactive visualizations and software metrics. Its views are built from the system itself, CVS log files and Bugzilla problem reports.

BugCrawler screenshot
BugCrawler.

Related publications: CSMR 2007, CSMR 2006.

Visualizations of the life cycle of bugs in a bug repository, described in the VISSOFT 2007 paper “A Bug’s Life” – Visualizing a Bug Database.

Bug prediction dataset

The benchmark used in our comparison of bug prediction approaches (MSR 2010; Empirical Software Engineering, 2012) is available at bug.inf.usi.ch

Design flaws and defects dataset

This dataset supports the study of the relationship between design flaws and software defects (QSIC 2010). It consists of design-flaw matrices and post-release defect matrices for 70 to 108 versions of six systems: Lucene, Maven and Mina from the Apache Software Foundation, and Eclipse CDT, Eclipse PDE UI and Equinox from the Eclipse community.

In each matrix, a column is a version of the system and a row is a class; a cell holds the number of instances of the design flaw (or of post-release defects) in that class at that version, or −1 if the class does not exist in that version.

Example design flaw matrix for the brain method flaw
Structure of a design flaw matrix, shown for the brain method flaw.

The full dataset is available on request by email.