Managing VE Repository When Lines of Code Reach Set Limit

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, the number of lines of code analyzed can impact the tool's performance and is restricted based on the edition of Visual Expert you are using.

Here's how to manage your VE repository if you reach the maximum LOC limit.

1. Increase Capacity

If your projects exceed the maximum LOC allowed by your VE edition, consider upgrading your plan.
Contact the VE support team to purchase additional capacity:

  • Basic Edition: Limited to 0.5 million lines of code.
  • Professional Edition: Limited to 5 million lines of code.
  • Enterprise Edition: More than 5 million lines of code.

2. Remove Unnecessary Projects

The number of lines of code is calculated across all of your projects. To stay within the LOC limit, you can delete projects that are no longer needed. Follow these steps to manage your project usage:

Viewing Lines of Code Usage by Project

  1. Via License and Product Information
    • Click the file icon next to the Home tab ➔ Select [License and Product].
      Check the color-coded usage indicators:
      Color Usage Information
      Green Usage is within limits.
      Yellow Usage exceeds 80%.
      Red Usage exceeds 90%.
      Dark Red Usage is above 100%.

    Color Code for Usage

  2. Direct View
    • Click the [ i ] icon in the bottom right corner. (You can also find it on the Home page.)
      Color Code for Usage
      Home page shortcut for LOC information
    • The number of lines of code will be displayed for each project.
      Manage Lines of Code for VE Projects
    • You can see here the number of lines of code used by each project.

Deleting a Project

Navigate to the Open Project icon ➔ Select the project you wish to delete ➔ Click [Remove].
Delete Unused VE Projects

By either increasing your capacity or optimizing your project load, you can effectively manage the number of lines of code within Visual Expert and maintain optimal performance.

 

More from Code Review features in Visual Expert

 

Visual Expert, Code Cleanup, Lines of Code, Remove Unused Projects, Manage VE Repository