Description of issue
Depending on the plan you're subscribed to, you can run the analysis on projects with a maximum ammount of lines of code (for more information about the limits of your subscription, see Our Subscription Plans).
In case you want to run the analysis on a project with more lines of code than the ones supported by your subscription, you'll see something like this on your home page:
Here are some ways to avoid this issue:
Gitignore your external dependencies:
Having the external dependencies in your remote repository is considered a bad practice in general, and it can also be the reason you exceed your lines of code quota in Code Inspector. To fix this you can create a .gitignore file where you include the external dependencies folder so it's not tracked with the rest of your code.
If you need references take a look at these .gitignore tamplates for different languages.
Add .ci-ignore to your project:
.gitignore, but specific to Code Inspector, the
.ci-ignorefile contains the files and folders that should be ignored when running the analysis. This is another way you can prevent reaching your maximum lines of code quota. For more information see Ignore Files and Violations.
Upgrade your plan: If you need to run the analysis on larger projects, and you already prevented unnecessary files to be tracked by Git or Code Inspector, you can upgrade your subscription plan such that enough lines of code are allowed per repository. See our Upgrade Account page for more information. If you need a custom plan, do not hesitate in contacting us.