smaller detector defects found in the 8.0.0 self-audit

Aperta
#439 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
38m
PR unite (30g)
96

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Rule-Of-Code/RoC

Tutte le issue di Rule-Of-Code/RoC

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.