Skip to content

Why is my file over 150 KB missing?#

Codacy Cloud currently doesn't analyze files that are larger than 150 KB. Codacy doesn't display these files on the Files page, and doesn't take them into account when grading your repository.

Why is there a limit?#

As part of our performance improvement measures, we spent time breaking down the total time it takes to analyze a repository and found that a large percentage of time was spent on files that didn't add value to our users. Those files tend to be the biggest in the repository and are typically generated by or dependent on a third-party. It increased analysis time significantly due to the file size and even resulted in timeouts at some point, preventing the flagging of real issues.

As a solution to this problem, we placed a size limit to the files that Codacy would analyze. This decreased the average analysis time and the number of timeouts, thus improving the overall performance for our users.

What if I need to analyze a file that exceeds this limit?#

While Codacy will ignore your file by default, you can still analyze it by running the analysis locally using the Codacy Analysis CLI. The Codacy Analysis CLI doesn't have any limitation on file size.

Was this page helpful?

Your feedback helps us improve the documentation.