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.