microsoft / microsoft/vscode-java-test
Code coverage: execution count not correct
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 340
- フォーク
- 173
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 18
説明
Version: 1.90.0 (Universal)
Commit: 89de5a8d4d6205e5b11647eb6a74844ca23d2573
Date: 2024-06-04T19:34:44.157Z
Electron: 29.4.0
ElectronBuildId: 9593362
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin x64 23.5.0
Test Runner for Java v0.41.1
Steps to reproduce:
- Run code coverage tool on Java project.
- Show inline coverage in editor window.
- The execution count shown alongside each statement is not correct.
Example: hovering over the "6x" decoration on line 41, the pop-up indicates the statement was executed 6 times:
I believe it is displaying the instruction count for line 41 found in the Jacoco report:
In any case, it would be great to have the option to turn off these decorations.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Java プロジェクトでコードカバレッジを実行し、エディターにインラインカバレッジを表示して、問題を再現します。デコレーションに表示される実行回数と JaCoCo レポートの命令数を比較します。表示される回数が正しいか、デコレーションを無効にできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- testing
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100