scitools.com

← Architecture catalog

AI Namespace is one of Understand's built-in architectures — automatic ways to group a codebase (by directory, git history, language, …) for graphs, metrics, and dependency analysis.

AI Namespace

Languages: Basic, C, C#, C++, JavaScript, PHP, Pascal
Group entities by their parent namespace.

For each entity in the database that is of a kind used by default for AI overviews (classes, packages, files, functions, procedures, methods, routines, and global objects), this architecture checks if the entity's parent is a namespace. If it is, the entity is mapped to the longname of that namespace. Entities without a namespace parent are not mapped to any architecture component.

This is useful for organizing code by namespace structure, which can help with understanding the organization and relationships within a codebase.