关于SonarQube 5.6.7及Java插件4.15.0文档统计功能缺失的确认请求
Yes, the Public API and Pub. undoc. API documentation statistics metrics were indeed removed in the sonar-java-plugin-4.15.0.12310 version.
These metrics were part of the older API documentation tracking feature in the SonarQube Java plugin. Starting with version 4.15, the plugin deprecated and removed these specific metrics as part of a refactor of how code documentation is analyzed. The comment statistics you're still seeing are part of a separate, retained set focused on code comment density, not API-level documentation coverage.
Since you're running SonarQube 5.6.7 (a 2017 LTS release), sonar-java-plugin-4.15.0.12310 is among the later plugin versions compatible with this SonarQube instance. If you absolutely need those missing API documentation metrics back, you'll have to downgrade the Java plugin to a version prior to 4.15 (like 4.14.x or earlier) that still includes them. Just keep in mind that downgrading means you'll miss out on bug fixes and other improvements introduced in the 4.15 plugin release.
The removal of these metrics was called out in the plugin's release notes for version 4.15, framed as a cleanup to streamline the plugin's analysis capabilities by removing outdated metrics that were no longer a core focus.
内容的提问来源于stack exchange,提问作者user4948798

