Vybel Standard v2.3
A method for grading the health of the code of any website or app, whether written by hand, with AI or both; it looks in particular for the gaps that are common when code is written fast.
Principles
- Deterministic. The grade involves no AI: the same code analyzed with the same version of the standard always gets the same grade and the same report ID.
- Reproducible. Time-based measures (how old a document is, recent activity) are calculated relative to the date of the analyzed commit, not the date of the analysis.
- Static. None of the project’s code is executed. Uncertain heuristics are marked “to verify” and weigh less in the grade.
- Comparable. Quality rules are scaled to the size of the project, so that small and large projects are compared fairly.
- Verifiable. A label is verifiable when it covers a git commit with no local changes: any new analysis of that commit, under the same version of the standard, yields the same grade.
- Grounded in standards. The rules draw on recognized standards: the OWASP Top 10 for security, the GDPR for personal data, ISO/IEC 25010 for the software quality characteristics, the RGESN (Arcep, ADEME) for efficiency. The label replaces neither a security audit nor a conformity certification.
- One folder, one project. A folder of a repository (the app, the site, the back end of a monorepo) can be analyzed alone: it is graded as a project of its own, and what the repository around it provides counts for it (lockfile, continuous integration, linter, TypeScript configuration at the root).
How the grade is calculated
- Each area starts at 100. Each issue subtracts points according to its severity and its extent, relative to the size of the project.
- The overall score combines the areas by importance: Security counts the most, then Production readiness; Docs & AI context and Efficiency count the least.
- Some requirements apply regardless of the average. When one isn’t met, the score is brought below the limit gradually, so that every improvement stays visible:
- A requires automated tests, no important or blocking issues, and no weak area;
- B requires no important issues in security, structure, or duplication;
- one blocking issue caps the grade at D, three or more at E.
Scale
| Grade | Score | Meaning |
|---|---|---|
| A — Excellent | 85–100 | Healthy project: you’re in control of your code. |
| B — Good | 70–84 | Project in good shape, with a few knots to untangle. |
| C — Fair | 55–69 | The project is starting to get tangled: now’s the time to clean up. |
| D — Fragile | 40–54 | The project is turning into a tangled mess: every change risks breaking something else. |
| E — Critical | 0–39 | Project at risk: deal with the blocking issues before going any further. |
What is checked
Each area groups several rules. Their detailed list, thresholds and penalties are not published: they are refined from one version to the next, and knowing them would reward optimizing the grade rather than the code. Every report details the issues found in the project, how serious each one is and what it costs.
Security
Are your data and keys protected? Secrets written in the code or visible from the browser, exposed .env files, databases (Supabase, Firebase) open to everyone, webhooks without signature verification, API routes without access control, dynamically injected code.
Production readiness
Can you ship and maintain it with confidence? Automated tests, strict typing, continuous integration, linter and check scripts, documented environment variables, leftover development traces, committed generated files, error tracking in production; and for personal data, trackers without consent and a privacy policy.
Structure
Is the code split up in a way that’s easy to follow? Files that are too large and functions that are too complex (measured by their logic: markup and fixed data do not count, and a piece split out mechanically still counts with the original function), components defined inside another component, circular dependencies, imports leading to missing files, catch-all folders.
Duplication
Is the same code written more than once? Copy-pasted code, duplicate functions and files, service clients created several times.
Dead code & debt
Is the project weighed down by abandoned code? Files and components never used, old versions and copies, commented-out code, TODOs, disabled checks, bypassed typing.
Stack
Are the tools consistent and up to date? Redundant or unused libraries, abandoned dependencies, mixed package managers or non-reproducible installs.
Docs & AI context
Can a human or an AI agent understand the project? README, documentation and instructions for AI agents: present, up to date and consistent, with no working documents left behind by AI.
Efficiency
Does the code use resources for nothing? Media that is too heavy, requests repeated for no reason or too often, scheduled tasks that run too often, AI calls repeated or without a limit, agent instructions that are too long.
Versions
The standard is versioned. Every report states the version that produced it, and grades only compare within the same version: the same commit analyzed with the same version always gets the same grade.
Vybel improves it regularly: new rules, finer detection, new languages. A new version can move a grade: Vybel Pro’s monitoring doesn’t count that as a regression of the project.
Limitations
- The analysis is static: it doesn’t prove that the app works; it measures risk and maintainability.
- Some checks rely on heuristics; their results are marked “to verify.”
- The Efficiency area spots what multiplies resource consumption in the code (oversized media, repeated requests, overly frequent jobs, AI calls in loops); it measures neither the energy used nor the carbon footprint, which depend on traffic and hosting.
- The rules on personal data check that consent management and a privacy policy exist, never what they say: a Vybel label is not a GDPR compliance audit.
- Functions are analyzed in 13 languages (JavaScript, TypeScript, Python, Rust, Go, Java, Kotlin, Swift, C#, C, C++, PHP and Scala); Ruby, Dart, Lua and Objective-C are covered by the general rules. Depending on the language, some checks don’t apply.