Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Fix analyzer warnings in Benchmarking and Examples projects

オープン 初心者向け
#167 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
csharp
領域
tooling

調査の方向性

まず CI build または analyzer を実行し、HdrHistogram.Benchmarking/Program.cs、HdrHistogram.Examples/Program.cs、LeadingZeroCountBenchmarkBase.cs の指定された箇所を調査します。比較用の BBarry 実装名の意図を維持しながら CA1852、CA1707、CA1829 の警告に対処し、その後、10 件すべての警告がなくなったことを確認します。

索引モデルが issue の本文から書いたものです。

説明

Summary

The CI build reports 10 analyzer warnings in the HdrHistogram.Benchmarking and HdrHistogram.Examples projects.
These are pre-existing and not introduced by any recent PR.

Warnings

CA1852 — Type can be sealed (×2)
  • HdrHistogram.Benchmarking/Program.cs#L9
  • HdrHistogram.Examples/Program.cs#L3
CA1707 — Remove underscores from member/type names (×6)
  • LeadingZeroCountBenchmarkBase.BBarry_imp1() — line 189
  • LeadingZeroCountBenchmarkBase.BBarry_imp2() — line 199
  • LeadingZeroCountBenchmarkBase.BBarry_imp3() — line 209
  • LeadingZeroCountBenchmarkBase.BBarry_imp4() — line 219
  • BBarry32BitIfShiftLookupWith64BitShiftBranch_2 — line 46
  • BBarry32BitIfShiftLookupWith64BitShiftBranch_3 — line 79
CA1829 — Use Length instead of Count() (×1)
  • LeadingZeroCountBenchmarkBase.cs#L42

Notes

All warnings are in the benchmarking and examples projects, not the main library.
The underscore names (BBarry_imp*) reference a contributor's implementation variants used for comparative benchmarking — renaming should preserve the intent of identifying the author/variant.

Reference

  • Observed in PR #164 build annotations
主要言語
C#
スター
185
フォーク
31
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

HdrHistogram/HdrHistogram.NET のほかの issue

HdrHistogram/HdrHistogram.NET の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。