Sonar Custom reports

2019-08-06 14:25发布

I need to generate custom reports using Sonar sql server database data. The structure of the database is quite confusing me. How can I get below details of my project? LoC(lines of code) Rule Compliance % Comment % Public Documented API % Security Violations Violations (excluding Info) Duplicated Line %

Once I get these details how can I stucture my report because root data is having many childs.

标签: sonarqube
2条回答
霸刀☆藐视天下
2楼-- · 2019-08-06 14:47

I think you probably really want to use the web services to extract data, rather than reading from the database. See http://docs.codehaus.org/display/SONAR/Web+Services for documentation.

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2019-08-06 14:47

I don't recommend to directly request database because it's not considered as an API. It deeply evolves over time.

There are currently two reporting plugins that generate PDF :

If you want to generate your own report, then you should implement a plugin or request web services from a dedicated application.

查看更多
登录 后发表回答