Software Cartography: Thematic Software Visualization with Consistent Layout

Kuhn, Adrian; Erni, David; Loretan, Peter; Nierstrasz, Oscar (2010). Software Cartography: Thematic Software Visualization with Consistent Layout. Journal of software maintenance and evolution - research and practice, 22(3), pp. 191-210. Chichester: John Wiley & Sons, Ltd. 10.1002/smr.414

[img] Text
Kuhn_et_al-2010-Journal_of_Software_Maintenance_and_Evolution%3A_Research_and_Practice.pdf - Published Version
Restricted to registered users only
Available under License Publisher holds Copyright.

Download (511kB) | Request a copy

Software visualizations can provide a concise overview of a complex software system. Unfortunately, as software has no physical shape, there is no `natural' mapping of software to a two-dimensional space. As a consequence most visualizations tend to use a layout in which position and distance have no meaning, and consequently layout typically diverges from one visualization to another. We propose an approach to consistent layout for software visualization, called Software Cartography, in which the position of a software artifact reflects its vocabulary, and distance corresponds to similarity of vocabulary. We use Latent Semantic Indexing (LSI) to map software artifacts to a vector space, and then use Multidimensional Scaling (MDS) to map this vector space down to two dimensions. The resulting consistent layout allows us to develop a variety of thematic software maps that express very different aspects of software while making it easy to compare them. The approach is especially suitable for comparing views of evolving software, as the vocabulary of software artifacts tends to be stable over time. We present a prototype implementation of Software Cartography, and illustrate its use with practical examples from numerous open-source case studies.

Item Type:

Journal Article (Original Article)


08 Faculty of Science > Institute of Computer Science (INF)
08 Faculty of Science > Institute of Computer Science (INF) > Software Composition Group (SCG)

UniBE Contributor:

Kuhn, Adrian and Nierstrasz, Oscar Marius




John Wiley & Sons, Ltd.




Factscience Import

Date Deposited:

04 Oct 2013 14:17

Last Modified:

27 Oct 2019 20:43

Publisher DOI:


Web of Science ID:




URI: (FactScience: 209610)

Actions (login required)

Edit item Edit item
Provide Feedback