Basically we are trying to scan the code repository which is in Bitbucket. Normally there is no issues with Java or Python related projects. Sonar cloud scan is working fine. Even the documentation provided by the sonar is straight forward. However the APEX language there is no complete details mentioned.
There’s no meaningful difference between how you would analyze say, a Python project, than an Apex project. It’s just executing the sonar-scanner against a repository of code.
What happens when you try to analyze Apex code the same way you’re analyzing Python code?