Hello,
We are trying to improve our COBOL code analysis integration. Currently, we have a directory that contains all the copybooks that we have and another directory in which only the program(s) that we need to analyze are copied.
This analysis has a longer duration due to the large number of copybooks that we have, so we have tried to do a test by analyzing the programs with the expanded copybooks. In this case, we have encountered the problem that it sonarqube lists a multitude of errors for variables that are defined in the expanded copies but are not being used by the analyzed program. Is there any way to analyze the code with the expanded copies, indicating to SonarQube that it has the expanded copies and not reporting the defects of unused variables? Indicate that what we do not want is to have to deactivate said quality profile rule
Thanks