Modules and Custom Aggregation

The difference between CAST-computed modules and user-defined groupings.

Modules

A module is a group of objects that belong together from a functional or technical point of view — for example, a payment processing module or an authentication module.

CAST Imaging computes modules automatically during the analysis. The analysis engine groups objects based on how they call each other and how they are organized in the source code. You can see modules in the Module scope.

Custom aggregation

Custom aggregation lets you create your own groupings when the automatically computed modules do not match your team’s understanding of the application.

For example, you might group all objects related to a specific microservice, or all objects that will be affected by a planned change.

Custom aggregations appear as a new aggregation option in the Investigation panel. They are saved on the server and visible to all users.

When to use each

Module Custom aggregation
Created by CAST analysis You
Based on Code structure and call graph Your own criteria
Editable No Yes
Best for Understanding the existing structure Planning changes, migrations

Learn more