smaller detector defects found in the 8.0.0 self-audit

オープン
#439 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

Start with the cited checks in commit-size-control.ts, data-management.ts, code-documentation.ts, and performance-validator.ts, then inspect the security analyzers for the duplicate SECURITY.md finding. Use the 8.0.0 self-audit results as the baseline and verify each reported defect against the detector behavior; several points are explicitly unverified. Done means the confirmed defects are corrected and the self-audit no longer reports these false positives or misses.

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

説明

bug

Found in the 8.0.0 self-audit triage: RoC 7.29.1 (npm, 5fc54afe) on a clean clone of develop at 2d2fa9a, with typescript resolvable (verdict compliance, 0 failed / 46 warnings). The bucket method and per-law tables are kept by QA; counts are from that run.

  • Commit Size Control: the same change counted twice (two commits with an identical patch-id); generated files excluded from the line count but not from the file count (commit-size-control.ts:107-131, :253-275).
  • Test Data Management: LONG_STRING_ASSERTION (data-management.ts:51) flags exact expected-value assertions such as expect(result.lawName).toBe('angular-testing-excellence') as hardcoded test data (99 of 100 files of that finding).
  • Dead Code Elimination: never checks unused code at all; real dead code (an exported decorator mixin and a benchmark helper with no consumer) is not found.
  • Code Documentation: class documentation coverage ignores a leading file JSDoc for the file's only exported class (50.4% → 97.5% when counted); absolute paths appear in messages (relativisation at code-documentation.ts:235, suspected separator mismatch on Windows — not verified).
  • Security Vulnerability Response: a missing SECURITY.md is reported twice by two analyzers.
  • Pre-Deployment Checklist: health-check clause suspected to pass on any filename containing status/health (performance-validator.ts:194-201) — not verified.
主要言語
TypeScript
スター
0
フォーク
0
平均マージ
38分
マージ済み PR(30日)
96

環境構築

はじめの一歩

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

Rule-Of-Code/RoC のほかの issue

Rule-Of-Code/RoC の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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