In software development, the total number of lines of code (LOC) is a key metric that measures the size and complexity of a project.
Visual Expert (VE) uses this data to conduct code analysis, generate documentation, and provide insights into code quality and maintainability. However, each Visual Expert edition has a maximum LOC volume that can be analyzed.
When this limit is reached, repository updates may be blocked unless capacity is increased or unnecessary projects are removed.
Below are the four key concepts to understand and manage your LOC usage effectively.
A Visual Expert license is tied to a Visual Expert repository. Your VE license specifies the number of lines of code that your repository can contain.
To calculate LOC usage:
This total is compared to the LOC limit defined by your VE license.
You can view your current LOC usage through two interfaces.
To check LOC usage via License and Product information:
| Color | Usage Information |
|---|---|
| Green | Usage is within limits. |
| Yellow | Usage exceeds 80%. |
| Red | Usage exceeds 90%. |
| Dark Red | Usage is above 100%. |
This section shows the overall LOC consumption of your repository.
You can also check LOC usage directly from the interface:

These views allow you to quickly identify which projects contribute most to your LOC usage.
If the total LOC of your projects exceeds the maximum allowed by your license, you can upgrade to increase capacity.
Default capacities per edition:
To expand capacity, contact the Visual Expert support team and request an upgrade to a higher plan or additional LOC extension.
Since LOC usage is calculated across all VE projects in your repository, removing unused or outdated projects can help you stay within your LOC limit.
To delete a project:

This reduces the total LOC count and may restore repository functionality if the limit was exceeded.