MGMattia Giannaccari

Mattia Giannaccari

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Mattia Giannaccari has a total of 2 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Class Archetypes: Principles, Detection, Evolution

    by Mattia Giannaccari, Marco Raglianti, Michele Lanza


  • Open Access

    ZION: System Exploration With Class Contours

    by Mattia Giannaccari, Marco Raglianti, Michele Lanza

    Understanding the structure and behavior of classes and their roles in a software system is essential for maintaining and evolving object-oriented software. Reading source code provides limited support for quick comprehension or pattern identification. A class as a long stream of text in the IDE fails to communicate crucial information about its different components (e.g., attributes, methods, instance vs. class side code), while IDE outlines are just a band-aid solution. We present ZION, our tool to visualize the source code by representing classes as 2D architectural structures. ZION defines Class Contours by encoding class components (e.g., attributes, methods) into customizable building features (e.g., doors, windows). This allows tailored visualizations for identifying class roles and patterns, common archetypes, and hotspots for application logic. We present ZION's design, its features, alongside examples to highlight how the emerging visual patterns and the interactive visualization navigation enhance understanding complex software systems.


  • Open Access

    System Comprehension and Source Code Manipulation in eXtended Reality

    by Mattia Giannaccari

    Comprehending a codebase requires developers to construct mental models spanning multiple levels of abstraction, from architectural overviews to individual components. These components differ across paradigms (e.g., classes in object-oriented systems, functions in functional programming). Software visualization supports this process by translating abstract software structures into perceptually meaningful forms that align with human cognitive processes. When grounded in familiar metaphors, such as cities or landscapes, visualization can further narrow the gap between abstract program constructs and developers’ mental models. How can language-agnostic expressive metaphors, direct manipulation, and extended-reality be integrated to create immersive, explorable virtual-city environments that help developers explore, understand, and refactor complex, large software systems? Our research advances this idea by extending the city metaphor to represent classes and packages as buildings and districts, where architectural details encode structural and behavioral properties. We classify classes into Class Archetypes using heuristics based on metrics, intra-class, and inter-class relationships. We then develop a specific building for each archetype: Utility classes become factories, data classes become depots, constant definers become archives, and adapter classes appear as surrounding structures. Building on this foundation, we aim to develop a unified, interactive, and immersive visual language for program comprehension.