Why does CodeScene Show 'N/A' Code Health Score for Some Files?
The 'N/A' score indicates that CodeScene couldn’t calculate a score for the file. If you're working with one of our supported languages, this usually happens because the file doesn't contain any methods or functions that can be analyzed. For example, files with only data definitions, like the one below, won’t produce a score:
alphabet = [
"a",
"b",
"c",
// etc.
]While the code is valid, CodeScene requires at least one method or function to compute a score.
More in Code Health
How to Adapt Code Health to Your Coding Standards?What Are the Different Code Health Scores?What Are the Examples of Code Health Quality Issues?What Are the Default Threshold Values for Different Programming Languages?Still need help? Ask the team