如何使用 SonarQube 重用代码行 API

How to get reuse lines of code using SonarQube API

是否可以使用 API 来获取 重用代码行的总和 ?请指教

附加信息:

  1. 重用 LOC = 初始基线的代码行数(在项目开始发展之前,与以后删除代码无关)

  2. 不考虑删除的 LOC

  3. 注释、测试脚本、自动生成的行被排除在外。仅包含操作软件的源代码

此致, 米尔恰

你想要的是Lines of Code - New Lines of Code,API调用当然存在get these values