Repository Analysis

validatorjs/validator.js

String validation

0.4 Likely human-written View on GitHub
0.4
Adjusted Score
0.4
Raw Score
100%
Time Factor
2026-04-24
Last Push
23,749
Stars
JavaScript
Language
26,187
Lines of Code
144
Files
11
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 11

Pattern Findings

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

Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippet
LOWREADME.md37validator.isEmail('foo@bar.com'); //=> true
LOWREADME.md65 validator.isEmail('foo@bar.com'); //=> true
LOWtest/clientSide.test.js22 assert.strictEqual(min.isEmail('foo@bar.com'), true);
LOWtest/validators.test.js15 'foo@bar.com',
LOWtest/validators.test.js115 'foo@bar.com',
LOWtest/validators.test.js147 'foo@bar.com',
LOWtest/validators.test.js225 'foo@bar.com',
LOWtest/validators.test.js958 'user@example.com',
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippet
LOW.github/workflows/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply need
LOW.github/workflows/codeql-analysis.yml61 # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippet
LOWsrc/lib/isEAN.js35function getPositionWeightThroughLengthAndIndex(length, index) {