Repository Analysis

youzan/vant

A lightweight, customizable Vue UI library for mobile web apps.

0.1 Likely human-written View on GitHub
0.1
Adjusted Score
0.1
Raw Score
100%
Time Factor
2026-05-30
Last Push
24,305
Stars
TypeScript
Language
139,182
Lines of Code
1278
Files
9
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 9

Pattern Findings

9 matches across 2 categories. Click a row to expand file-level details.

Over-Commented Block5 hits · 5 pts
SeverityFileLineSnippet
LOWpackages/vant/src/image/test/index.spec.ts201// $on(eventName, hanlder) {
LOWpackages/vant/src/image/test/index.spec.ts221
LOWpackages/vant/src/image/test/index.spec.ts241// done();
LOW.github/workflows/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply need
LOW.github/workflows/codeql-analysis.yml41 # Initializes the CodeQL tools for scanning.
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippet
LOWpackages/vant/test/dom.ts55export function mockGetBoundingClientRect(rect: Partial<DOMRect>): () => void {
LOWpackages/vant/src/rate/test/index.spec.ts6function mockGetBoundingClientRect(items: DOMWrapper<Element>[]) {
LOWpackages/vant/src/lazyload/vue-lazyload/util.js25export function getBestSelectionFromSrcset(el, scale) {
LOWpackages/vant/src/image-preview/test/shared.ts12function triggerTwoFingerTouchmove(