Codacy Badge always A

Hi I have run the analysis of different C projects for embedded systems.
The codacy badge is always A … .
How is possible ?
Can I discover how it is computed ?

Thanks a lot

Hi Simone,

A repository’s grade is calculated as the average of the grade of these six categories:

  • Code Style
  • Compatibility
  • Error Prone
  • Performance
  • Security
  • Unused Code

In turn, the grade for each category is calculated as described in our documentation:

Codacy calculates grades based on the number of issues for every thousand lines of code (KLOC). Steve McConnell, in his book ‘Code Complete,’ wrote about average bugs per LOC: Industry Average: “about 15–50 errors per 1000 lines of delivered code.” He further states this is usually representative of code that has some level of structured programming behind it but probably includes a mix of coding techniques.

Hope this makes it clearer :smiley:


Thanks for explaining rafael