question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Improvement][*] Improvement the code reported by sonar

See original GitHub issue

Describe the improvement

#3321 is for bug reported by sonar. This issue is for code smell and VULNERABILITY part reported by sonar, and is the sub-task of #3321

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
CalvinKirscommented, Oct 27, 2020

Hi @CalvinKirs, can you suggest another issue for me if this one is not available?

Sorry to reply to you so late, I have already passed @yangyichao-mango , this issue is recommended for you to complete, thank you very much for your participation

1reaction
yangyichao-mangocommented, Jul 28, 2020

It is suggested that we should analyze which ones need to be modified according to sonar’s suggestions, which do not need to be modified according to sonar’s suggestions, and which need to be modified to implement the code.

For example: some bugs don’t exist originally, but they will be recognized as bugs by sonar due to an extra keyword written in the code. However, sonar’s suggestions sometimes suggest us to adapt these changes rather than revert them.


建议我们应该分析一遍哪些是需要根据sonar的建议修改,哪些不需要根据sonar的建议修改,哪些需要去改实现代码。

举例:有些bug是原本不存在的,但是由于编写代码时多写了一个关键字,就会被sonar识别成为bug。但是sonar的修改建议有时候会让我们去适配这些改动,而不是revert这些改动。

If you are interested in these, welcome to submit a pr and fix them~

Read more comments on GitHub >

github_iconTop Results From Across the Web

Successful adoption of SonarQube to improve code quality
Improving quality within SonarSource. Our CEO Olivier Gaudin likes to talk about how we improved our own code quality using SonarQube. The story ......
Read more >
Clean as you code - SonarQube Documentation
Clean as you code is an approach to code quality that eliminates many of the challenges that come with traditional approaches.
Read more >
How To Improve Code Quality With SonarQube
But today, I'll introduce a tool for improving code quality that brings ... You can look at the report in the SonarQube GUI...
Read more >
How to improve your code using SonarQube - Java PDF Blog
Here we show you how you can use it to improve your code. ... This processes and manages code analysis reports and provides...
Read more >
What needs improvement with SonarQube? - PeerSpot
There can be some performance degradation if we are applying Sonar Link to large code or code that is complex. When the code...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found