Merge pull request #2333 from PR0M3TH3AN/audit-report-unstable-11659156663651364283

Audit Report for Unstable Branch
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-10 22:54:12 -05:00
commit 09fbc7330b
3 files changed
+50

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# Audit Report (Unstable Branch)
## File Size
- **Grandfathered Oversized Files:** 44
- **Total Excess Lines:** 54,278 (sum of lines exceeding the 1000-line limit for each file)
## innerHTML Usage
- **Total Assignments:** 125
## Lint Status
- **Failures:** None
- `lint:assets` skipped (build required)
- `lint:sw-compat` skipped (git history unavailable)
## Comparison
No previous report found in the repository for comparison.
+17
View File
@@ -0,0 +1,17 @@
const fs = require('fs');
const content = fs.readFileSync('file_size.log', 'utf8');
const lines = content.split('\n');
let totalExcess = 0;
let count = 0;
lines.forEach(line => {
const match = line.match(/\((\d+) lines\)/);
if (match) {
const lines = parseInt(match[1], 10);
if (lines > 1000) {
totalExcess += (lines - 1000);
count++;
}
}
});
console.log('Count:', count);
console.log('Total Excess:', totalExcess);
+17
View File
@@ -0,0 +1,17 @@
import { readFileSync } from 'node:fs';
const content = readFileSync('file_size.log', 'utf8');
const lines = content.split('\n');
let totalExcess = 0;
let count = 0;
lines.forEach(line => {
const match = line.match(/\((\d+) lines\)/);
if (match) {
const lines = parseInt(match[1], 10);
if (lines > 1000) {
totalExcess += (lines - 1000);
count++;
}
}
});
console.log('Count:', count);
console.log('Total Excess:', totalExcess);