I noticed that scanning the code in SonarQube is giving more Code smells thanscanning the same program in SonarLint. I read several topics, some of them may give an explanation but this not exactly the same situation we are having. I’m adding some screenshots to illustrate the situation.
Hi @SteveH , thank you for your post, I am glad to see you are using SonarLint for COBOL analysis in VSCode
From your screenshots, it seems that you are using Zowe explorer to work on remote files, as opposed to having all source and copybook files available locally. So my first guess would be that SonarLint is failing to resolve Copybook files, and hence the analysis results are not “complete”.
If you haven’t already, I suggest you have a look at COBOL analysis requirements in our docs. Also, to be able to accurately pinpoint the issue, we would need SonarLint logs.