Repository Analysis

QwikDev/qwik

Instant-loading web apps, without effort

0.7 Likely human-written View on GitHub
0.7
Adjusted Score
0.7
Raw Score
100%
Time Factor
2026-05-30
Last Push
22,013
Stars
TypeScript
Language
239,334
Lines of Code
1951
Files
146
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 2MEDIUM 7LOW 137

Pattern Findings

146 matches across 6 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers64 hits · 64 pts
SeverityFileLineSnippet
LOWstarters/apps/starter-partytown-test/src/root.tsx30function partyTownExampleWhichBlocksMainThreadForOneSecond() {
LOWscripts/validate-cli.ts151function assertRightQwikDepsVersions(appPkgJson: any, qwikVersion: string, starterType: string) {
LOWscripts/validate-cli.ts190async function copyLocalQwikDistToTestApp(appDir: string) {
LOWscripts/submodule-optimizer.ts124async function generatePlatformBindingsData(config: BuildConfig) {
LOWscripts/api-docs.ts7export async function generateQwikApiMarkdownDocs(config: BuildConfig, apiJsonInputDir: string) {
LOWscripts/api-docs.ts11export async function generateQwikCityApiMarkdownDocs(
LOWscripts/api-docs.ts24async function generateApiMarkdownPackageDocs(
LOWscripts/api-docs.ts41async function generateApiMarkdownSubPackageDocs(
LOWscripts/qwik-city.ts123function serviceWorkerRegisterBuild(swRegisterCode: string) {
LOWscripts/qwik-city.ts195async function buildAdapterCloudflarePagesVite(config: BuildConfig) {
LOWscripts/qwik-city.ts307async function buildAdapterNodeServerVite(config: BuildConfig) {
LOWscripts/qwik-city.ts333async function buildAdapterNetlifyEdgeVite(config: BuildConfig) {
LOWscripts/qwik-city.ts420async function buildAdapterVercelEdgeVite(config: BuildConfig) {
LOWscripts/qwik-city.ts476async function buildMiddlewareCloudflarePages(config: BuildConfig) {
LOWscripts/qwik-city.ts521async function buildMiddlewareNetlifyEdge(config: BuildConfig) {
LOWscripts/qwik-city.ts564async function buildMiddlewareRequestHandler(config: BuildConfig) {
LOWscripts/qwik-city.ts588async function buildMiddlewareVercelEdge(config: BuildConfig) {
LOWscripts/api.ts262function generateQwikCityReferenceModules(config: BuildConfig) {
LOWscripts/api.ts276function generateServerReferenceModules(config: BuildConfig) {
LOWscripts/release.ts89export async function commitPrepareReleaseVersion(config: BuildConfig) {
LOWscripts/submodule-testing.ts66async function generateTestingPackageJson(config: BuildConfig) {
LOWscripts/create-qwik-cli.ts94async function syncBaseStarterVersionsFromQwik(config: BuildConfig) {
LOWpackages/insights/src/components/icons/error.tsx3export const ErrorIcon = function MaterialSymbolsChatErrorSharp(
LOWpackages/insights/src/components/icons/edit.tsx3export const EditIcon = function MaterialSymbolsEditSquareOutlineRounded(
LOWpackages/insights/src/stats/edges.ts189 function initializeVectorsAndSymbolMap() {
LOWpackages/eslint-plugin-qwik/src/jsxKey.ts135 function checkFunctionsBlockStatement(node) {
LOWpackages/eslint-plugin-qwik/src/jsxKey.ts153 function checkArrowFunctionWithJSX(node) {
LOWpackages/eslint-plugin-qwik/src/validLexicalScope.ts457function getElementTypeOfArrayType(type: ts.Type, checker: ts.TypeChecker): ts.Type | undefined {
LOWpackages/qwik/src/optimizer/src/manifest.ts394export function generateManifestFromBundles(
LOWpackages/qwik/src/optimizer/src/plugins/bundle-graph.ts37export function convertManifestToBundleGraph(
LOWpackages/qwik/src/optimizer/src/plugins/plugin.ts911 async function getQwikServerManifestModule(isServer: boolean) {
LOWpackages/qwik/src/optimizer/src/plugins/rollup.ts130export async function normalizeRollupOutputOptions(
LOWpackages/qwik/src/optimizer/src/plugins/rollup.ts156export async function normalizeRollupOutputOptionsObject(
LOWpackages/qwik/src/server/qwik.server.api.md20export function getQwikPrefetchWorkerScript(opts?: {
LOWpackages/qwik/src/server/scripts.ts24export function getQwikPrefetchWorkerScript(opts: { debug?: boolean } = {}) {
LOWpackages/qwik/src/server/preload-impl.ts232function normalizePreLoaderOptions(
LOWpackages/qwik/src/cli/migrate-v2/update-dependencies.ts97export async function removeTsMorphFromPackageJson() {
LOWpackages/qwik/src/cli/migrate-v2/replace-package.ts24function replacePackageInDependencies(oldPackageName: string, newPackageName: string) {
LOWpackages/qwik/src/cli/utils/integrations.ts8export async function sortIntegrationsAndReturnAsClackOptions(
LOWpackages/qwik/src/cli/code-mod/code-mod.ts331function updateDefineConfigFnReturn(ts: TypeScript, fnBody: Block, updates: ViteConfigUpdates) {
LOWpackages/qwik/src/cli/code-mod/code-mod.ts469function updateObjectLiteralExpression(
LOWpackages/docs/scripts/showcase.ts32async function captureMultipleScreenshots() {
LOWpackages/docs/src/routes/(ecosystem)/showcase/index.tsx177function getLighthouseColorForScore(score: number) {
LOWpackages/docs/src/routes/api/qwik-server/api.json29 "content": "Provides the `qwik-prefetch-service-worker.js` file as a string. Useful for tooling to inline the qwik
LOW…y/src/middleware/request-handler/request-event.unit.ts12function createMockServerRequestEvent(url = 'http://localhost:3000/test'): ServerRequestEvent {
LOW…eware/request-handler/resolve-request-handlers.unit.ts14function createMockServerRequestEvent(url = 'http://localhost:3000/test'): ServerRequestEvent {
LOW…middleware/request-handler/resolve-request-handlers.ts459function csrfLaxProtoCheckMiddleware(requestEv: RequestEvent) {
LOWpackages/qwik-city/src/utils/pathname.ts50export function getPathnameForDynamicRoute(
LOW…kages/qwik-city/src/adapters/shared/vite/post-build.ts76function createNotFoundPathsModule(basePathname: string, notFounds: string[][], format: string) {
LOW…ty/src/buildtime/runtime-generation/generate-routes.ts89function getClientRouteBundleNames(qwikPlugin: QwikVitePlugin, r: BuildRoute) {
LOW…uildtime/runtime-generation/generate-service-worker.ts3export function generateServiceWorkerRegister(ctx: BuildContext, swRegister: string) {
LOW…ckages/qwik-city/src/buildtime/markdown/frontmatter.ts51export function frontmatterAttrsToDocumentHead(attrs: FrontmatterAttrs | undefined) {
LOW…qwik-city/src/buildtime/routing/resolve-source-file.ts194function resolveServiceWorkerEntry(opts: NormalizedPluginOptions, sourceFile: RouteSourceFile) {
LOWpackages/qwik-dom/lib/Element.js1334function htmlLocalNameElementFilter(lname) {
LOWpackages/qwik-dom/lib/Element.js1349function namespaceLocalNameElementFilter(ns, lname) {
LOWpackages/qwik-dom/lib/htmlelts.js1520 ctor: function HTMLTableHeaderCellElement(doc, localName, prefix) {
LOWpackages/qwik-dom/lib/defineElement.js48function EventHandlerChangeHandler(elt, name, oldval, newval) {
LOWpackages/qwik-dom/lib/HTMLParser.js2887function isMathmlTextIntegrationPoint(n) {
LOWpackages/qwik-dom/lib/Document.js109function validateAndExtract(namespace, qualifiedName) {
LOWpackages/qwik-dom/lib/NodeIterator.js106 get: function pointerBeforeReferenceNode() {
4 more matches not shown…
Over-Commented Block63 hits · 63 pts
SeverityFileLineSnippet
LOWstarters/features/cypress/cypress/support/commands.ts1/// <reference types="cypress" />
LOWstarters/features/cypress/cypress/support/commands.ts21// -- This is a dual command --
LOWstarters/features/cypress/cypress/support/component.ts1// ***********************************************************
LOWstarters/features/cypress/cypress/support/component.ts41// Example use:
LOWstarters/e2e/todo.spec.ts81 // test('should add item, remove item, set filter.', async ({ page }) => {
LOWstarters/e2e/todo-old.spec.ts81 // Flaky on E2E Tests (ubuntu-latest, chromium)
LOWstarters/apps/base/qwik.env.d.ts1// This file can be used to add references for global types like `vite/client`.
LOWscripts/validate-cli.ts101 // console.log(`${emoji} ${projectName}: copy @builder.io/qwik distribution`);
LOWscripts/validate-cli.ts121 // cwd: appDir,
LOWpackages/qwik/src/core/qwik.core.api.md641export type PropFunctionProps<PROPS extends Record<any, any>> = {
LOWpackages/qwik/src/core/render/dom/visitor.ts261 }
LOWpackages/qwik/src/optimizer/core/src/test.rs3601}
LOWpackages/qwik/src/optimizer/src/path.ts1// 'path' module extracted from Node.js v8.11.1 (only the posix part)
LOWpackages/qwik/src/optimizer/src/qwik.optimizer.api.md461 // (undocumented)
LOWpackages/qwik/src/optimizer/src/manifest.ts561 // n,
LOWpackages/qwik/src/optimizer/src/manifest.ts581 // ])
LOWpackages/qwik/src/wasm/src/lib.rs21 .map_err(|e| Error::from(JsValue::from_str(&e.to_string())))?;
LOWpackages/qwik/src/wasm/src/lib.rs41// })
LOWpackages/docs/src/repl/ui/repl-share-url.ts81// NEVER CHANGE THIS DATA or the filesToStr() output
LOWpackages/docs/src/components/qwik-gpt/index.tsx81 // const run = async () => {
LOWpackages/docs/src/components/qwik-gpt/search.tsx1// import { server$ } from '@builder.io/qwik-city';
LOWpackages/docs/src/components/qwik-gpt/search.tsx21// });
LOWpackages/docs/src/components/qwik-gpt/search.tsx41// type: 'id',
LOWpackages/docs/src/components/qwik-gpt/search.tsx61// results_hash: resultsHash,
LOWpackages/docs/src/components/qwik-gpt/search.tsx81// {
LOWpackages/docs/src/components/qwik-gpt/search.tsx101// }
LOW…ckages/docs/src/components/docsearch/useTouchEvents.ts21 // }
LOWpackages/docs/src/components/docsearch/screen-state.tsx41// // We don't update the screen when Autocomplete is loading or stalled to
LOWpackages/docs/src/routes/query/index.tsx1import { component$ } from '@builder.io/qwik';
LOWpackages/docs/src/routes/query/index.tsx21export default component$(() => {
LOWpackages/docs/src/routes/query/index.tsx41 // >
LOWpackages/docs/src/routes/query/[id]/index.tsx1import { component$ } from '@builder.io/qwik';
LOWpackages/docs/src/routes/query/[id]/index.tsx21// .limit(1);
LOWpackages/docs/src/routes/query/[id]/index.tsx41// });
LOWpackages/docs/src/routes/query/[id]/index.tsx61 // return (
LOWpackages/docs/src/routes/query/[id]/index.tsx81 // <h2 class="text-3xl">Input:</h2>
LOWpackages/docs/src/routes/query/[id]/index.tsx101 // <td class="border border-slate-600">{i}</td>
LOWpackages/docs/src/routes/query/[id]/index.tsx121 // 'bg-red-400': result.rate < 0,
LOW…ges/qwik-city/src/runtime/src/qwik-city.runtime.api.md301// Warning: (ae-forgotten-export) The symbol "MenuModuleLoader" needs to be exported by the entry point index.d.ts
LOW…uildtime/runtime-generation/generate-service-worker.ts21}
LOW…uildtime/runtime-generation/generate-service-worker.ts41// .then((names) => {
LOW…wik-city/src/buildtime/vite/qwik-city.buildtime.api.md21// @public (undocumented)
LOWpackages/qwik-dom/lib/EventTarget.js61 }
LOWpackages/qwik-dom/lib/htmlelts.js261
LOWpackages/qwik-dom/lib/attributes.js61 this._setattr(attr.name, v);
LOWpackages/qwik-dom/lib/HTMLParser.js3321 // Called when a script finishes loading
LOWpackages/qwik-dom/lib/HTMLParser.js4221
LOWpackages/qwik-dom/lib/HTMLParser.js4381
LOWpackages/qwik-dom/lib/HTMLParser.js4401
LOWpackages/qwik-dom/lib/HTMLParser.js4421 // being called reentrantly, say from a call to
LOWpackages/qwik-dom/lib/HTMLParser.js4441 // be parser-executed" flag is set.
LOWpackages/qwik-dom/lib/CharacterData.js21 // terminate these steps.
LOWpackages/qwik-dom/lib/CharacterData.js61 // If offset is greater than the context object's
LOWpackages/qwik-dom/lib/CharacterData.js81 // If offset+count is greater than the context
LOWpackages/qwik-dom/lib/Node.js681 // Return the lastModTime value for this node. (For use as a
LOWpackages/qwik-dom/lib/Node.js761 this.removeChild(child);
LOWpackages/qwik-dom/lib/xmlnames.js1'use strict';
LOWpackages/qwik-dom/lib/Document.js621 // buffer.
LOWpackages/qwik-dom/lib/Document.js861
LOW.github/workflows/ci.yml1# Build and test everything
3 more matches not shown…
Slop Phrases6 hits · 17 pts
SeverityFileLineSnippet
MEDIUMstarters/apps/preloader-test/src/entry.preview.tsx7 * Feel free to modify this file, but don't remove it!
MEDIUMstarters/apps/base/src/entry.preview.tsx7 * Feel free to modify this file, but don't remove it!
MEDIUMpackages/insights/src/entry.preview.tsx7 * Feel free to modify this file, but don't remove it!
MEDIUM…utes/api/qwik-city-middleware-request-handler/api.json333 "content": "```typescript\nexport interface RequestEventBase<PLATFORM = QwikCityPlatform> \n```\n\n\n<table><thead
MEDIUMe2e/adapters-e2e/src/entry.preview.tsx7 * Feel free to modify this file, but don't remove it!
MEDIUMe2e/qwik-react-e2e/src/entry.preview.tsx7 * Feel free to modify this file, but don't remove it!
Cross-Language Confusion (JS/TS)2 hits · 10 pts
SeverityFileLineSnippet
HIGHpackages/eslint-plugin-qwik/src/validLexicalScope.ts543 print("Hello World");
HIGHpackages/eslint-plugin-qwik/src/validLexicalScope.ts558 print("Hello World");
AI Slop Vocabulary5 hits · 6 pts
SeverityFileLineSnippet
LOWpackages/qwik/src/core/qrl/qrl.public.ts93 * ## Question: Why not just use `import()`?
MEDIUM…ges/docs/src/routes/api/qwik-city-vite-vercel/api.json29 "content": "```typescript\nexport interface VercelEdgeAdapterOptions extends ServerAdapterOptions \n```\n**Extends
LOWpackages/docs/src/routes/api/qwik/api.json1875 "content": "The `QRL` type represents a lazy-loadable AND serializable resource.\n\nQRL stands for Qwik URL.\n\nUs
LOWpackages/docs/src/routes/api/qwik/api.json1889 "content": "The `QRL` type represents a lazy-loadable AND serializable resource.\n\nQRL stands for Qwik URL.\n\nUs
LOWpackages/docs/src/routes/api/qwik-city/api.json953 "content": "Prevent navigation attempts. This hook registers a callback that will be called before SPA or browser
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippet
LOW…s/apps/qwikcity-test/src/routes/docs/overview/index.md11Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eleifend molestie erat, at sagittis libero euismod id. Etia
LOW…s/apps/qwikcity-test/src/routes/docs/overview/index.md11Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eleifend molestie erat, at sagittis libero euismod id. Etia
LOWpackages/qwik/src/cli/add/update-files.unit.ts47 "name": "John Doe",
LOWpackages/qwik/src/cli/add/update-files.unit.ts123 '{ \n // Comment Foo\n "css.lint.unknownAtRules": "ignore",\n // Comment\n "
LOW…-exporting-loaders/third-party/third-party-library.tsx5 return { name: 'John Doe' };
LOW…s/qwik-city/src/buildtime/markdown/frontmatter.unit.ts20 assert.equal(attrs.title, 'Lorem Ipsum');