Is there an EndOfAnalysis event to recognize that there is no more files?

Dear Sonar Scanner Team,

Could you please let me know how to find out in my java custom rule plugin that the we leave the last file? I would like to create a report on the end of the analysis.

Thank you!

Best regards,
Mark

Hi Mark,

The API org.sonar.plugins.java.api does not expose an EndOfAnalysis feature, so it’s not possible. The org.sonar.java.EndOfAnalysisCheck interface used by some internal JavaCheck is not part of the org.sonar.plugins.java.api package, so this interface could be changed or removed in any future sonar-java release.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.