flutter / flutter/devtools

`dcm analyze` false positives

オープン 初心者向け
#9,942 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
a: quality cost: low P2
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
18

説明

@incendial finding some more false positives here. I can file these somewhere else if that is better for you, just let me know.
```
packages/devtools_app/test/screens/debugger/syntax_highlighter_test.dart (1 issue):
WARNING This test group does not contain any test cases.
at packages/devtools_app/test/screens/debugger/syntax_highlighter_test.dart:514:7
avoid-empty-test-groups : https://dcm.dev/docs/rules/common/avoid-empty-test-groups
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by running `dcm analyze` against `packages/devtools_app/test/screens/debugger/syntax_highlighter_test.dart` and inspect the empty test group reported at line 514. Determine why `avoid-empty-test-groups` flags this case, then verify that analysis no longer reports this false positive while still detecting genuinely empty groups.

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

評価

技術スタック
dart
領域
testing-qa, tooling
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
68/100

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

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