A rejected nested COV_JUSTIFIED_START lets its STOP close the enclosing region
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 73/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- testing-qa
調査の方向性
Issue で示されたエントリーポイント justify.scan_file_for_markers から始め、不明な ID と、プラットフォームでフィルタリングされた COV_JUSTIFIED_START マーカーがリージョンスタック上でどのように処理されるかを追ってください。Issue の再現例を使って、どの行が正当化され、どの警告が報告されるかを確認してください。拒否された内側のリージョンの STOP が外側のリージョンを閉じなくなり、内側の行をクレジットするかどうかという Issue の未解決の問いが解決されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Found while reviewing the user manual against the implementation at fe013fe. Reproduced by calling justify.scan_file_for_markers.
A COV_JUSTIFIED_START whose id is unknown, or filtered out by the platform, is reported as a warning and is not pushed onto the region stack. Its COV_JUSTIFIED_STOP then closes the enclosing region instead. Lines inside the rejected region are credited to the outer justification, and the lines after it up to the outer STOP are not.
Reproduction
// COV_JUSTIFIED_START outer
int a;
// COV_JUSTIFIED_START nope
int b;
// COV_JUSTIFIED_STOP
int c;
// COV_JUSTIFIED_STOP
With only outer in the YAML, the scan justifies lines 2, 3 and 4 under outer and warns:
a.cpp:3: COV_JUSTIFIED_START references unknown ID 'nope'
a.cpp:7: COV_JUSTIFIED_STOP without matching START
Expected: the inner STOP closes the rejected inner region, so that outer justifies lines 2 to 6 and only the unknown id is reported. Whether the lines of the rejected inner region count under outer needs a decision; they must not be the only ones that do.
Effect
The set of justified lines depends on a marker that the tool itself rejected. The same happens when the inner justification lists another platform than the one given with --platform.
- 主要言語
- Python
- スター
- 0
- フォーク
- 4
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 16
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-score/coverage_tool のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
eclipse-score/coverage_tool#101 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
eclipse-score/coverage_tool#99 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
eclipse-score/coverage_tool#98 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
eclipse-score/coverage_tool#95 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
eclipse-score/coverage_tool#27 ·
メンテナーはふだん 2 日以内に返信
eclipse-score/coverage_tool の issue をすべて見る
似ている issue
-
accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
future-agi/future-agi#5908 ·
メンテナーはふだん 1 日以内に返信
-
Placeholder export disables HTML image input for picture description対応中かも @cloudiful が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
docling-project/docling-serve#817 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
Techiebutler/freeframe#687 ·
メンテナーはふだん 1 日以内に返信
-
Parse truncated verbose GC logs up to the first XML error対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug verbose GC
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
IBM/javacore-analyser#677 ·
メンテナーはふだん 1 日以内に返信
-
Image publishing fails for annotated release tags (v0.2.3 never published)対応中かも @zgypa-agent が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
bolton-brush/BFD9000#119 ·