Skip to main content

This service is in pilot. Features, scoring rules, and outputs may change.

Sustainable Code Insights

A static analysis tool that assesses code sustainability, structural performance risk, and green coding practices across software repositories.

This tool is intended for developers and platform teams reviewing code sustainability and structural performance risk. This tool analyses source code and configuration files. It does not measure live runtime energy usage or system performance.

Last generated: Generated: —

Best practices detected

Files analysed

Live sustainability dashboard

View sustainability metrics, performance indicators, and optimisation opportunities for the selected repository.

View dashboard

What each section shows

  • Dashboard – Overall sustainability score, radar view, and key structural risks.
  • Performance metrics – Structural performance indicators and trends over time.
  • Code analysis and recommendations – File‑level green coding assessment, issues, and optimisation guidance.

Green coding principles

These principles describe how the tool evaluates long‑term sustainability and structural performance risk, rather than measuring live system energy usage.
Energy‑efficient algorithms
Prefer efficient algorithms and data structures to reduce unnecessary computation.
Memory optimisation
Reduce memory overhead through careful use of data structures and explicit resource management.
Resource cleanup
Ensure files, connections, and other resources are released promptly when no longer required.
Asynchronous processing
Use asynchronous and non‑blocking patterns to improve efficiency and scalability.
Avoid unnecessary computation
Eliminate redundant processing, repeated calculations, and unnecessary background tasks.
Modular and reusable code
Design small, reusable components to reduce duplication and simplify maintenance.
Configuration efficiency
Keep configuration files small, modular, and reusable to reduce parsing and maintenance cost.
Data transfer reduction
Minimise the amount of data transferred between systems and avoid unnecessary network calls.
Scalable design
Design systems that scale efficiently under increased load without requiring excessive resources.
Maintainability and longevity
Write clear, maintainable code to reduce rework and extend the usable life of software systems.
By improving code structure and applying green coding practices, teams can reduce long‑term performance risk and support more sustainable software delivery.

Sustainability metrics overview

● Excellent (85‑100) ● Good (70‑84) ● Fair (50‑69) ● Needs work (<50)

Scores range from 0 to 100. Higher values indicate stronger sustainability characteristics. Dashed and dotted rings represent benchmark and target reference values, not measured runtime performance.

Summary for this repository

Why is the overall score lower?

The overall score includes repository‑level risk factors in addition to individual directory scores.

Critical areas

Areas with low sustainability scores should be reviewed and monitored.

Directory scores show structural sustainability for individual areas. The overall score reflects additional repository‑level risk factors such as concentration and growth trends.