smaller detector defects found in the 8.0.0 self-audit

Đang mở
#439 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
devtools, testing-qa

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Merge trung bình
38 phút
Pull request đã merge (30 ngày)
96

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Rule-Of-Code/RoC

Tất cả issue của Rule-Of-Code/RoC

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.