googleapis / googleapis/google-cloud-java

Sonarqube coverage check is not working for all components

未关闭
#13,011 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p3 type: bug
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
157

描述

## [![Quality Gate Failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-failed-20px.png 'Quality Gate Failed')](https://sonarcloud.io/dashboard?id=googleapis_google-cloud-java_generator&pullRequest=12955) **Quality Gate failed for 'gapic-generator-java-root'**
Failed conditions
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/failed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=googleapis_google-cloud-java_generator&pullRequest=12955&metric=new_coverage&view=list) (required ≥ 80%)

[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=googleapis_google-cloud-java_generator&pullRequest=12955)

_Originally posted by @sonarqubecloud[bot] in https://github.com/googleapis/google-cloud-java/issues/12955#issuecomment-4375121251_

贡献指南

打开贡献指南

调研方向

从报告中链接的针对 pull request 12955 的 SonarQube Cloud 分析开始,并将 gapic-generator-java-root 的失败结果与其他组件进行比较。追踪仓库的 coverage 和 quality-gate 配置,然后复现该检查;当每个组件的 coverage 都得到正确评估,并且 80% 的新代码阈值按预期处理时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
ci-cd, testing-qa
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。