Repository Analysis

mochajs/mocha

☕️ Classic, reliable, trusted test framework for Node.js and the browser

0.3 Likely human-written View on GitHub
0.3
Adjusted Score
0.3
Raw Score
100%
Time Factor
2026-05-30
Last Push
22,883
Stars
JavaScript
Language
55,738
Lines of Code
231
Files
11
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 0LOW 10

Pattern Findings

11 matches across 4 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers6 hits · 6 pts
SeverityFileLineSnippet
LOWtest/unit/runner.spec.js694 function genOverlongSingleLineMessage() {
LOWtest/unit/runner.spec.js705 function genOverlongMultiLineMessage() {
LOWtest/integration/options/parallel.spec.js70async function assertReporterOutputEquality(reporter) {
LOWtest/integration/plugins/root-hooks.spec.js12function extractHookOutputFromResult(res) {
LOWtest/reporters/helpers.js199function createRunReporterFunction(ReporterClass) {
LOWlib/mocha.js1279 function hasGlobalTeardownFixtures() {
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippet
HIGH.github/CONTRIBUTING.md126However, **all code contributions, whether written by humans or generated by AI, must meet the same quality standards**.
Fake / Example Data2 hits · 3 pts
SeverityFileLineSnippet
LOWtest/unit/runner.spec.js710 "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";
LOWtest/unit/runner.spec.js710 "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippet
LOWdocs/src/env.d.ts1/// <reference path="../.astro/types.d.ts" />
LOWlib/nodejs/esm-utils.js61 if (