Repository Analysis

marko-js/marko

A declarative, HTML-based language that makes building web apps fun

1.0 Likely human-written View on GitHub
1.0
Adjusted Score
1.0
Raw Score
100%
Time Factor
2026-05-26
Last Push
14,374
Stars
JavaScript
Language
111,794
Lines of Code
763
Files
95
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 0MEDIUM 0LOW 94

Pattern Findings

95 matches across 5 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers81 hits · 85 pts
SeverityFileLineSnippet
LOW.sizes/dom.js1214function syncControllableFormInput(el, hasChanged, onChange) {
LOW.sizes/dom.js1884function createBranchWithTagNameOrRenderer(
LOWpackages/runtime-tags/src/html/attrs.ts389function escapeSingleQuotedAttrValue(value: string) {
LOWpackages/runtime-tags/src/html/attrs.ts398function replaceUnsafeSingleQuoteAttrChar(match: string) {
LOWpackages/runtime-tags/src/html/attrs.ts402function escapeDoubleQuotedAttrValue(value: string) {
LOWpackages/runtime-tags/src/html/attrs.ts411function replaceUnsafeDoubleQuoteAttrChar(match: string) {
LOWpackages/runtime-tags/src/html/serializer.ts1755function compareRegisteredReferences(a: Reference, b: Reference) {
LOW…s/runtime-tags/src/translator/visitors/program/html.ts239export function replaceRegisteredFunctionNode(node: t.Node) {
LOW…s/runtime-tags/src/translator/visitors/program/html.ts264function addRegisteredDeclarations(body: t.Statement[]) {
LOW…s/runtime-tags/src/translator/visitors/program/html.ts285function getRegisteredFnExpression(
LOW…me-tags/src/translator/visitors/program/pre-analyze.ts276function buildChangeHandlerFunction(
LOW…me-tags/src/translator/visitors/program/pre-analyze.ts299function getChangeHandlerFromObjectPattern(
LOW…me-tags/src/translator/visitors/program/pre-analyze.ts350function getStringOrIdentifierValue(path: StringOrIdPath) {
LOW…runtime-tags/src/translator/visitors/tag/custom-tag.ts233function importOrSelfReferenceName(
LOW…runtime-tags/src/translator/visitors/tag/native-tag.ts1110function trackDelimitedAttrArrayItems(
LOW…runtime-tags/src/translator/visitors/tag/native-tag.ts1146function trackDelimitedAttrObjectProperties(
LOWpackages/runtime-tags/src/translator/core/if.ts390function assertHasPrecedingCondition(tag: t.NodePath<t.MarkoTag>) {
LOWpackages/runtime-tags/src/translator/core/if.ts443function assertOptionalIfAttribute(tag: t.NodePath<t.MarkoTag>) {
LOWpackages/runtime-tags/src/translator/core/for.ts432function forTypeToHTMLResumeRuntime(type: ForType) {
LOWpackages/runtime-tags/src/translator/util/scope-read.ts27export function createScopeReadExpression(
LOW…ags/src/translator/util/normalize-string-expression.ts3export default function normalizeStringExpression(
LOW…/runtime-tags/src/translator/util/binding-prop-tree.ts60function hasSupersetExcludeProperties(
LOW…/runtime-tags/src/translator/util/serialize-reasons.ts168export function getSerializeSourcesForExpr(expr: t.NodeExtra) {
LOW…/runtime-tags/src/translator/util/serialize-reasons.ts174export function getSerializeSourcesForExprs(exprs: Opt<t.NodeExtra> | boolean) {
LOW…/runtime-tags/src/translator/util/serialize-reasons.ts190export function getSerializeSourcesForRef(ref: ReferencedBindings) {
LOW…ags/src/translator/util/set-tag-sections-downstream.ts31function crawlSectionsAndSetBinding(
LOWpackages/runtime-tags/src/translator/util/writer.ts118export function getSectionMetaIdentifiers(section: Section) {
LOW…src/translator/util/get-declared-binding-expression.ts6export function getDeclaredBindingExpression(
LOW…es/runtime-tags/src/translator/util/serialize-guard.ts62export function getScopeReasonDeclaration(
LOW…es/runtime-tags/src/translator/util/serialize-guard.ts130function getOrHoist(
LOW…es/runtime-tags/src/translator/util/translate-attrs.ts175export function getTranslatedBodyContentProperty(
LOW…es/runtime-tags/src/translator/util/translate-attrs.ts185export function addDynamicAttrTagStatements(
LOW…gs/src/translator/util/to-first-expression-or-block.ts17export function toParenthesizedExpressionIfNeeded(expr: t.Expression) {
LOW…time-tags/src/translator/util/nested-attribute-tags.ts156function hasRepeatedDynamicAttrTags(attrTags: t.NodePath<t.MarkoTag>[]) {
LOW…s/runtime-tags/src/translator/util/to-property-name.ts3export function isValidPropertyIdentifier(name: string) {
LOW…me-tags/src/translator/util/is-only-child-in-parent.ts18export function getOnlyChildParentTagName(
LOW…me-tags/src/translator/util/is-only-child-in-parent.ts39export function getOptimizedOnlyChildNodeBinding(
LOWpackages/runtime-tags/src/translator/util/references.ts245export function getOrCreatePropertyAlias(binding: Binding, property: string) {
LOWpackages/runtime-tags/src/translator/util/references.ts461function trackReferencesForBinding(babelBinding: t.Binding, binding: Binding) {
LOWpackages/runtime-tags/src/translator/util/references.ts585function createBindingsAndTrackReferences(
LOWpackages/runtime-tags/src/translator/util/references.ts1660export function getDebugNamesAsIdentifier(refs: ReferencedBindings) {
LOWpackages/runtime-tags/src/translator/util/references.ts1694export function getSectionInstancesAccessor(section: Section) {
LOWpackages/runtime-tags/src/translator/util/references.ts1701export function getSectionInstancesAccessorLiteral(section: Section) {
LOWpackages/runtime-tags/src/translator/util/references.ts1852export function hasNonConstantPropertyAlias(ref: Binding) {
LOWpackages/runtime-tags/src/translator/util/references.ts1898function resolveReferencedBindingsInFunction(
LOWpackages/runtime-tags/src/translator/util/references.ts2006function resolveReferencedBindings(
LOWpackages/runtime-tags/src/translator/util/references.ts2124function resolveExpressionReference(
LOWpackages/runtime-tags/src/translator/util/references.ts2177function getMemberExpressionPropString(
LOWpackages/runtime-tags/src/translator/util/references.ts2236export function getAllSerializeReasonsForExtra(
LOWpackages/runtime-tags/src/translator/util/references.ts2263export function getAllSerializeReasonsForBinding(
LOWpackages/runtime-tags/src/translator/util/references.ts2370function addNumericPropertiesUntil(props: Opt<string>, len: number) {
LOWpackages/runtime-tags/src/translator/util/sections.ts159export function getOrCreateSection(path: t.NodePath<any>) {
LOWpackages/runtime-tags/src/translator/util/sections.ts315export function getSectionRegisterReasons(section: Section) {
LOWpackages/runtime-tags/src/translator/util/sections.ts405export function finalizeParamSerializeReasonGroups(section: Section) {
LOWpackages/runtime-tags/src/translator/util/get-root.ts137function isFunctionOrVariableDeclaration(
LOWpackages/runtime-tags/src/translator/util/signals.ts120export function setSectionSerializedValue(
LOWpackages/runtime-tags/src/translator/util/signals.ts130export function setBindingSerializedValue(
LOWpackages/runtime-tags/src/translator/util/signals.ts184export function getBindingGetterIdentifier(
LOWpackages/runtime-tags/src/translator/util/signals.ts1022export function writeHTMLResumeStatements(
LOWpackages/runtime-tags/src/translator/util/signals.ts1509export function replaceRegisteredFunctionNode(node: t.Node) {
21 more matches not shown…
Over-Commented Block11 hits · 11 pts
SeverityFileLineSnippet
LOW…ages/runtime-tags/src/translator/visitors/tag/index.ts41 exit(tag) {
LOWpackages/runtime-tags/src/__tests__/serializer.test.ts501 );
LOWpackages/runtime-class/CHANGELOG.md5341 // title: 'Home',
LOWpackages/runtime-class/index.d.ts221 /** Inserts the dom for the current instance before a sibling DOM element. */
LOWpackages/runtime-class/browser-refresh.js1// This is a noop in Marko 5 and should eventually be removed.
LOW…ages/runtime-class/test/components-pages/index.test.js41 var browser = createBrowserWithMarko(__dirname, html, {
LOWpackages/runtime-class/test/markoc/index.test.js21// let resolve = fixture.resolve;
LOWpackages/runtime-class/test/markoc/index.test.js41// return childProcess.spawnSync(markocPath, args, options);
LOW…es/runtime-class/test/async-vdom-builder/index.test.js141
LOWpackages/runtime-class/src/runtime/vdom/VNode.js81 },
LOW…ages/compiler/src/taglib/loader/loadTaglibFromProps.js181
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICAL…ages/runtime-tags/src/translator/visitors/tag/index.ts71 tag.hub.file.metadata.marko.watchFiles.push(tagDef.translator.path);
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippet
LOW…kages/runtime-class/src/runtime/vdom/morphdom/index.js672 // For transcluded content, we need to check if the element belongs to a different component
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippet
LOWpackages/runtime-class/docs/syntax.md475 <p>Lorem ipsum....</p>