Geting error for code coverage and duplication analysis

Template for a good new topic, formatted with Markdown:

  • ALM used (GitHub, Bitbucket Cloud, Azure DevOps) :- git hub
  • CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI :- Circle CI

I’m unable to see the code coverage values on Sonar cloud. Also i am getting error for security hotspot and duplication . Non of the analysis steps are working fine. Can you please help here . Below are details.

[0.0% Security Hotspots Reviewed: Required≥ 100%]
[FAILEDD Security Rating on New Code: RequiredA]
([FAILED4.32% Duplications: Required≤ 3.0%]
[FAILED0.0% Coverage: Required≥ 80.0%

Hi,

Please share your analysis log.

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Thx,
Ann

Quality GateFailed

Last analysis 2 days ago25db932f

New Issues
27
No conditions set

Accepted Issues

Valid issues that were not fixed

CoverageFAILED

[0.0%]
Required ≥ 80.0%

on [

**0.0%**Estimated after merge

DuplicationsFAILED

[4.3%
Required ≤ 3.0%

on [2.5k]
**4.1%**Estimated after merge

Security HotspotsFAILED

[1]
Required ≥ 100%

Hello, just sent my log , please do check and let me know.

Thank you!!!
Appreciate your help in advance .

Hi,

That’s not your analysis log. Please reference the guide I linked earlier.

 
Ann

1 Like