arXiv:2610.09910cs.SEOct 2026

Manuscript Offprint

arXiv:2610.09910

Analysis and Visualization of the Linux Kernel's Software Evolution Using the City Metaphor

Malte Hansen, Lukas Damerau, Moritz Bugla, David Moreno-Lumbreras, Wilhelm Hasselbring

Malte Hansen

Department of Computer Science

Kiel University

Kiel, Germany

malte.hansen@email.uni-kiel.de

Lukas Damerau

Department of Computer Science

Kiel University

Kiel, Germany

lukas.damerau@email.uni-kiel.de

Moritz Bugla

Department of Computer Science

Kiel University

Kiel, Germany

stu237520@mail.uni-kiel.de

David Moreno-Lumbreras

Escuela de Ingeniería de Fuenlabrada

Universidad Rey Juan Carlos

Fuenlabrada, Spain

david.morenolu@urjc.es

Wilhelm Hasselbring

Department of Computer Science

Kiel University

Kiel, Germany

hasselbring@email.uni-kiel.de

Abstract—The Linux kernel is one of the largest and longest-maintained open source projects in existence. With more than 40 million lines of code, understanding the kernel's internal structure and assessing its software evolution is a great challenge. In this paper, we present an approach to visualize the Linux kernel using our software visualization tool ExplorViz. We analyze commits from the Linux Git repository using a custom analysis service. The web-based frontend utilizes the 3D city metaphor for visualization of the software structure. Metrics such as the number of lines are collected for each file and are accumulated for directories and commits. Calculated metrics can be mapped to the building's dimensions or be displayed via a heat map. A wide range of visualization, search, and filter options enable the interactive exploration of the visualized data. We present both a visualization of all files in the kernel repository and a visual analysis of the code evolution of Rust files in the Linux kernel.

Demo video: https://youtu.be/3ODnERqD8g0

Index Terms—software visualization, city metaphor, linux, web, 3D

I. INTRODUCTION

The Linux kernel is among the largest and longest-maintained open-source projects ever developed. With tens of thousands of source code files, comprehending its internal structure and code evolution presents a significant challenge. Several tools have been developed and evaluated in research to visualize different aspects of the Linux kernel [1], [2]. The city metaphor is a common approach that has proven effective for visualizing the structure and code evolution of software systems [3], [4].

In this paper, we present a comprehensive visualization of the Linux kernel repository with our web-based software visualization tool ExplorViz [5], [6]. The analysis of the files and computation of metrics is handled by a dedicated Code Analyzer service that is integrated into the software system of ExplorViz. This is a distinguishing factor of our approach compared to visualization frameworks such as BabiaXR that also support the city metaphor, but rely on input from external tools [7].

We present the tool architecture that enables the analysis of Git repositories without the need for external tools in Section II. To showcase the performance and capabilities of our code analysis, we first perform an analysis and visualization in Section III that includes all files in the kernel's repository. This is complemented by a visual analysis of the kernel's Rust files in Section IV to assess the progress and state of the Rust for Linux project. The paper is concluded with a summary and outlook in Section V.