-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SonarCloudにBugだと言われているC++クラス定義に対策したい #1605
Labels
Comments
This was referenced Mar 26, 2021
This was referenced Apr 8, 2021
This was referenced Jun 5, 2021
This was referenced Jun 6, 2021
Merged
Criticalレベルの残4件のうち2件はrule of fiveで対応できそうに見えます。
|
確認してみました。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
問題内容
SonarCloudにより、C++クラス定義に関するBugs(Criticalレベル)警告が検出されています。
全部で80件が検出されており、警告の総数263件の3割を占めています。
再現手順
CIによる自動実行で毎回検出されています。
https://sonarcloud.io/project/issues?id=sakura-editor_sakura&resolved=false&severities=CRITICAL&types=BUG
クリーンな状態からSonarCloud解析を開始したレポジトリでは検出されない問題なので、なんらかの検出レベル調整を行った影響で不当に重い警告に昇格している可能性があります。
対策として考えられるのは3つくらい。
実態として「問題のあるコード」なのは間違いなさそうなので、実質的には 3 の一択かと思います。
再現頻度
100%
問題のカテゴリ
(「コーディング作法」の問題)
環境情報
スクリーンショット
The text was updated successfully, but these errors were encountered: