Published Sep 3, 2019

Episode 130: Code Visualization with Michele Lanza

Explore the transformative power of code visualization with Michele Lanza as he unveils innovative techniques like code cities and software metrics visualization, enhancing the identification of code issues and fostering interdisciplinary collaboration.
Episode Highlights
Software Engineering Radio - the podcast for professional software developers logo

Popular Clips

Questions from this episode

Episode Highlights

  • Metrics Visualization

    explores the power of visualizing software metrics to enhance understanding of code quality and design. He explains how visualization leverages pre-attentive attributes like line length, width, and color to help the brain quickly identify anomalies without reading the code 1. This approach allows developers to spot outliers and potential issues in large systems efficiently.

    Visualization is about breaking down complexity, that's the whole point. If a visualization does not succeed in doing that, then it's useless.

    ---

    Lanza emphasizes that unlike UML, which can become overwhelming with large systems, effective visualizations abstract complexity into simple, interpretable images 2.

       

    Code Smells

    Detecting code smells is another crucial application of software visualization. discusses using metric-based detection strategies to identify problematic design patterns like God classes, which centralize system intelligence and misuse other classes 3. By visualizing these metrics, developers can quickly pinpoint areas needing attention, akin to how CAT scans highlight active brain areas.

    We represent the systems as 3D cities all grayed out. And where there is a design problem, we just use live colors.

    ---

    This method simplifies the process of inspecting large systems by visually highlighting sections with design issues, making it easier to address them efficiently 4.

Related Episodes