Skip to main content
QUICK REVIEW

[Paper Review] Towards Improving the Mental Model of Software Developers through Cartographic Visualization

Adrian Kuhn, David Erni|arXiv (Cornell University)|Jan 14, 2010
Data Visualization and AnalyticsComputer Science15 references4 citations
TL;DR

This paper proposes Codemap, an Eclipse plug-in that uses cartographic visualization to improve software developers' mental models by providing a stable, spatial representation of codebases. By integrating spatial navigation, metric overlays, and real-time collaboration cues into the IDE, the tool enhances understanding, navigation, and team awareness—demonstrated through preliminary user studies showing strong utility for search and reverse engineering over direct navigation.

ABSTRACT

Software is intangible and knowledge about software systems is typically tacit. The mental model of software developers is thus an important factor in software engineering. It is our vision that developers should be able to refer to code as being "up in the north", "over in the west", or "down-under in the south". We want to provide developers, and everyone else involved in software development, with a *shared*, spatial and stable mental model of their software project. We aim to reinforce this by embedding a cartographic visualization in the IDE (Integrated Development Environment). The visualization is always visible in the bottom-left, similar to the GPS navigation device for car drivers. For each development task, related information is displayed on the map. In this paper we present CODEMAP, an eclipse plug-in, and report on preliminary results from an ongoing user study with professional developers and students.

Motivation & Objective

  • To address the challenge of developers forming unstable, idiosyncratic mental models of software systems due to the intangible and evolving nature of code.
  • To provide a shared, spatial, and stable representation of software architecture that transcends traditional textual navigation.
  • To reduce cognitive load by leveraging spatial memory through a persistent, map-like visualization in the IDE.
  • To support key development tasks such as navigation, metric comparison, social awareness, and reverse engineering via a unified cartographic interface.
  • To evaluate whether spatial visualization improves developer performance and mental model coherence in real-world development settings.

Proposed method

  • The Codemap tool is implemented as an Eclipse plug-in that renders a continuous, spatial map of the software system based on lexical similarity and structural proximity (e.g., Law of Demeter).
  • The layout algorithm integrates both lexical similarity and structural relationships to produce a stable, visually coherent map that evolves consistently across version control changes.
  • The visualization displays code elements (classes, packages) as geographical features with labels, icons, and thematic overlays (e.g., test coverage, compiler errors, search results).
  • The map supports real-time collaboration by synchronizing open files across developers’ instances, indicated by colored icons.
  • Thematic layers are added via integration with existing Eclipse plugins (e.g., Eclemma for coverage, search plugins) to overlay metrics and results.
  • The system uses flow map algorithms to reduce visual clutter when rendering call graphs and other structural relationships.

Experimental results

Research questions

  • RQ1To what extent does a persistent cartographic visualization in the IDE improve developers’ ability to navigate and understand complex software systems?
  • RQ2How does spatial representation affect the cognitive load and mental model stability of developers during software development tasks?
  • RQ3In what ways does the map support or hinder specific development activities such as search, reverse engineering, and collaboration?
  • RQ4How do developers’ actual navigation behaviors compare to the intended use cases of the cartographic map?
  • RQ5Can a spatial visualization based on lexical and structural similarity outperform traditional textual navigation in terms of usability and efficiency?

Key findings

  • Participants in the user study almost never used the map for direct navigation, indicating that the map’s primary value lies in supporting indirect navigation tasks such as search and reverse engineering.
  • The map was particularly effective in helping developers explore call hierarchies and locate relevant code, as evidenced by the use of arrow edges and search result overlays.
  • The integration of metric overlays (e.g., test coverage, compiler errors) was perceived as highly useful for identifying problematic or under-tested areas of the codebase.
  • Social awareness features, such as real-time display of other developers’ open files, were found to enhance team coordination and situational awareness.
  • The layout algorithm was revised based on user feedback, shifting from pure lexical similarity to a hybrid model incorporating structural proximity (Law of Demeter), which improved map stability and interpretability.
  • The tool demonstrated that spatial representations can serve as a shared, stable reference point for team members, reducing ambiguity in codebase understanding.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.