Code from Az Devops not recognize

Template for a good new topic, formatted with Markdown:

  • ALM / CI used : Azure DevOps
  • Scanner command used when applicable : In az DevOps YAML :
    - task: SonarCloudAnalyze@1
  • Languages of the repository : YAML, JAVA,
  • Error observed : Yaml or JSON code not analysed

β†’ Is there any explanation or way to force all the code to be analysed?

Hello,

SonarCloud analyzes only the JSON or YAML files that are required to be scanned because we have rules that can be applied to them. We count LOCs only in these files because this is what impacts the price you pay at the end of the month. We don’t want to charge you artificially. :slight_smile:

Alex

1 Like