Repository Analysis

decaporg/decap-cms

A Git-based CMS for Static Site Generators

0.9 Likely human-written View on GitHub
0.9
Adjusted Score
0.9
Raw Score
100%
Time Factor
2026-05-27
Last Push
19,105
Stars
JavaScript
Language
157,872
Lines of Code
882
Files
119
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 0MEDIUM 4LOW 114

Pattern Findings

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

Hyper-Verbose Identifiers92 hits · 102 pts
SeverityFileLineSnippet
LOWcypress/utils/steps.js115function assertUnpublishedEntryInEditor() {
LOWcypress/utils/steps.js119function assertPublishedEntryInEditor() {
LOWcypress/utils/steps.js123function assertUnpublishedChangesInEditor() {
LOWcypress/utils/steps.js171function assertWorkflowStatusInEditor(status) {
LOWcypress/utils/steps.js234function updateWorkflowStatusInEditor(newStatus) {
LOWcypress/utils/steps.js244function publishAndCreateNewEntryInEditor() {
LOWcypress/utils/steps.js251function publishAndDuplicateEntryInEditor(entry) {
LOWcypress/utils/steps.js357function createPostPublishAndCreateNew(entry) {
LOWcypress/utils/steps.js368function createPostPublishAndDuplicate(entry) {
LOWcypress/utils/steps.js392function editPostPublishAndCreateNew(entry1, entry2) {
LOWcypress/utils/steps.js402function editPostPublishAndDuplicate(entry1, entry2) {
LOWcypress/utils/steps.js426function updateExistingPostAndExit(fromEntry, toEntry) {
LOWcypress/utils/steps.js475function validateNestedObjectFields({ limit, author }) {
LOWcypress/utils/steps.js646function validateObjectFieldsAndExit(setting) {
LOWcypress/utils/steps.js651function validateNestedObjectFieldsAndExit(setting) {
LOWcypress/utils/steps.js656function validateListFieldsAndExit(setting) {
LOWcypress/utils/steps.js661function validateNestedListFieldsAndExit(setting) {
LOWcypress/utils/steps.js666function assertFieldValidationError({ message, fieldLabel }) {
LOWcypress/utils/steps.js688function assertListControlErrorStatus(colors = ['', ''], alias) {
LOWpackages/decap-cms-widget-file/src/withFileControl.js114function SortableMultiImageWrapper({
LOWpackages/decap-cms-lib-util/src/path.ts57export function fileExtensionWithSeparator(p: string) {
LOWpackages/decap-cms-lib-util/src/API.ts353export async function throwOnConflictingBranches(
LOWpackages/decap-cms-lib-util/src/git-lfs.ts43function removeGitAttributesCommentsFromLine(line: string) {
LOWpackages/decap-cms-lib-util/src/git-lfs.ts93export async function getPointerFileForMediaFileObj(
LOWpackages/decap-cms-lib-util/src/git-lfs.ts114export async function getLargeMediaFilteredMediaFiles(
LOWpackages/decap-cms-lib-util/src/unsentRequest.js6function isAbortControllerSupported() {
LOW…cap-cms-widget-richtext/src/serializers/slateRemark.js240 function normalizeFlankingWhitespace(nodes) {
LOW…cap-cms-widget-richtext/src/serializers/slateRemark.js257 function convertInlineAndTextChildren(nodes = []) {
LOW…chtext/src/serializers/remarkEscapeMarkdownEntities.js239export default function remarkEscapeMarkdownEntities() {
LOW…ges/decap-cms-widget-richtext/src/serializers/index.js89function markdownToRemarkRemoveTokenizers({ inlineTokenizers }) {
LOW…ms-widget-richtext/src/serializers/remarkShortcodes.js68export function createRemarkShortcodeStringifier({ plugins }) {
LOW…ms-widget-richtext/src/serializers/remarkShortcodes.js69 return function remarkStringifyShortcodes() {
LOW…-richtext/src/serializers/remarkStripTrailingBreaks.js12export default function remarkStripTrailingBreaks() {
LOW…ol/components/Toolbar/EditorComponentsToolbarButton.js16function EditorComponentsToolbarButton({ disabled, editorComponents, allowedEditorComponents, t }) {
LOWpackages/decap-cms-ui-default/src/DropDown/getCoords.js17function computeCoordsFromPlacement({ reference, target, dropdownPosition }) {
LOWpackages/decap-cms-widget-list/src/typedListHelpers.js12export function resolveFunctionForTypedField(field) {
LOWpackages/decap-cms-widget-list/src/typedListHelpers.js25export function getErrorMessageForTypedFieldAndValue(field, value) {
LOWpackages/decap-cms-lib-widgets/src/stringTemplate.ts147function getExplicitFieldReplacement(key: string, data: Map<string, unknown>) {
LOW…/blocks/locations/areCurrentAndPreviousBlocksOfType.js5function areCurrentAndPreviousBlocksOfType(editor, type) {
LOW…/plugins/blocks/locations/isCursorInNonDefaultBlock.js3function isCursorInNonDefaultBlock(editor) {
LOW…ns/blocks/locations/isCursorCollapsedAfterSoftBreak.js3function isCursorCollapsedAfterSoftBreak(editor) {
LOW…s/blocks/locations/isCursorAtStartOfNonEmptyHeading.js3function isCursorAtStartOfNonEmptyHeading(editor) {
LOW…plugins/blocks/locations/isCursorAtStartOfBlockType.js5function isCursorAtStartOfBlockType(editor, type) {
LOW…/plugins/lists/transforms/mergeWithPreviousListItem.js5function mergeWithPreviousListItem(editor) {
LOW…plugins/lists/transforms/convertParagraphToListItem.js6function convertParagraphToListItem(editor) {
LOW…/lists/locations/isCursorInItemContainingNestedList.js3function isCursorInItemContainingNestedList(editor) {
LOW…lists/locations/isSelectionWithinNoninitialListItem.js3function isSelectionWithinNoninitialListItem(editor) {
LOW…/lists/locations/isCursorAtNoninitialParagraphStart.js3function isCursorAtNoninitialParagraphStart(editor) {
LOW…/plugins/lists/selectors/getListContainedInListItem.js5function getListContainedInListItem(editor) {
LOW…cap-cms-widget-markdown/src/serializers/slateRemark.js243 function normalizeFlankingWhitespace(nodes) {
LOW…cap-cms-widget-markdown/src/serializers/slateRemark.js260 function convertInlineAndTextChildren(nodes = []) {
LOW…rkdown/src/serializers/remarkEscapeMarkdownEntities.js242export default function remarkEscapeMarkdownEntities() {
LOW…ges/decap-cms-widget-markdown/src/serializers/index.js88function markdownToRemarkRemoveTokenizers({ inlineTokenizers }) {
LOW…ms-widget-markdown/src/serializers/remarkShortcodes.js68export function createRemarkShortcodeStringifier({ plugins }) {
LOW…ms-widget-markdown/src/serializers/remarkShortcodes.js69 return function remarkStringifyShortcodes() {
LOW…-markdown/src/serializers/remarkStripTrailingBreaks.js12export default function remarkStripTrailingBreaks() {
LOWpackages/decap-server/src/middlewares/common/index.ts11export function registerCommonMiddlewares(app: express.Express, options: Options) {
LOWpackages/decap-cms-core/src/formats/formats.ts60function frontmatterDelimiterIsList(
LOW…ecap-cms-core/src/components/Editor/EditorInterface.js45function ReactSplitPaneGlobalStyles() {
LOWpackages/decap-cms-core/src/actions/entries.ts429export function changeDraftFieldValidation(
32 more matches not shown…
Over-Commented Block14 hits · 14 pts
SeverityFileLineSnippet
LOWcypress/plugins/index.js1// ***********************************************************
LOWcypress/support/commands.js1// ***********************************************
LOWcypress/support/e2e.js1// ***********************************************************
LOWcypress/e2e/markdown_widget_list_spec.js341 // it('affects only selected list items', () => {
LOWcypress/e2e/markdown_widget_list_spec.js361 // <p>baz</p>
LOWcypress/e2e/markdown_widget_list_spec.js381 // .confirmMarkdownEditorContent(
LOWcypress/e2e/markdown_widget_list_spec.js401 // <li>
LOWcypress/e2e/markdown_widget_list_spec.js421 // <p>foo</p>
LOWcypress/e2e/markdown_widget_list_spec.js441 // .confirmMarkdownEditorContent(
LOWcypress/e2e/markdown_widget_list_spec.js461 // `,
LOWcypress/e2e/markdown_widget_list_spec.js481 // </li>
LOWpackages/decap-cms-backend-git-gateway/README.md41 # If you need to customize the authorize or token endpoints for PKCE, do that here
LOWpackages/decap-cms-widget-code/data/languages-raw.yml1# https://github.com/github/linguist/blob/d2e09563c19fe026873289bad3ceb586a1be09d7/lib/linguist/languages.yml
LOWpackages/decap-cms-widget-code/data/languages-raw.yml21# listed alphabetically)
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippet
MEDIUMdev-test/index.html47 content: "---\ntitle: CHAPTER 1. Loomings.\nboolean: true\ntext: >-\n Call me Ishmael. Some years ago—never min
MEDIUMdev-test/index.html47 content: "---\ntitle: CHAPTER 1. Loomings.\nboolean: true\ntext: >-\n Call me Ishmael. Some years ago—never min
MEDIUMdev-test/backends/test/index.html47 content: "---\ntitle: CHAPTER 1. Loomings.\nboolean: true\ntext: >-\n Call me Ishmael. Some years ago—never min
MEDIUMdev-test/backends/test/index.html47 content: "---\ntitle: CHAPTER 1. Loomings.\nboolean: true\ntext: >-\n Call me Ishmael. Some years ago—never min
Fake / Example Data8 hits · 10 pts
SeverityFileLineSnippet
LOWcypress/utils/constants.js3const setting1 = { limit: 10, author: 'John Doe' };
LOWcypress/utils/constants.js4const setting2 = { name: 'Jane Doe', description: 'description' };
LOWdev-test/index.html47 content: "---\ntitle: CHAPTER 1. Loomings.\nboolean: true\ntext: >-\n Call me Ishmael. Some years ago—never min
LOWdev-test/index.html47 content: "---\ntitle: CHAPTER 1. Loomings.\nboolean: true\ntext: >-\n Call me Ishmael. Some years ago—never min
LOWdev-test/index.html84 content: "---\ntitle: \"This FAQ item # " + i + "\"\ndate: " + dateString + "T00:00:00.000Z\n---\n\n# Loren ipsum
LOWdev-test/backends/test/index.html47 content: "---\ntitle: CHAPTER 1. Loomings.\nboolean: true\ntext: >-\n Call me Ishmael. Some years ago—never min
LOWdev-test/backends/test/index.html47 content: "---\ntitle: CHAPTER 1. Loomings.\nboolean: true\ntext: >-\n Call me Ishmael. Some years ago—never min
LOWdev-test/backends/test/index.html78 content: "---\ntitle: \"This FAQ item # " + i + "\"\ndate: " + dateString + "T00:00:00.000Z\n---\n\n# Loren ipsum
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICAL…i-auth/src/__tests__/NetlifyAuthenticationPage.spec.js32 const errorCallback = window.netlifyIdentity.on.mock.calls.find(