A web-based collaborative LaTeX editor
This report presents the forensic synthetic code analysis of overleaf/overleaf, a JavaScript project with 17,927 GitHub stars. SynthScan v2.0 examined 499,065 lines of code across 3729 source files, recording 937 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 8.9 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 937 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | libraries/logger/test/unit/logging-manager-tests.js | 132 | this.bunyanLogger.debug.should.have.been.calledWith(this.logArgs) | CODE |
| CRITICAL⚡ | libraries/logger/test/unit/logging-manager-tests.js | 137 | this.bunyanLogger.error.should.have.been.calledWith(this.logArgs) | CODE |
| CRITICAL⚡ | libraries/logger/test/unit/logging-manager-tests.js | 142 | this.bunyanLogger.fatal.should.have.been.calledWith(this.logArgs) | CODE |
| CRITICAL⚡ | libraries/logger/test/unit/logging-manager-tests.js | 147 | this.bunyanLogger.info.should.have.been.calledWith(this.logArgs) | CODE |
| CRITICAL⚡ | libraries/logger/test/unit/logging-manager-tests.js | 152 | this.bunyanLogger.warn.should.have.been.calledWith(this.logArgs) | CODE |
| CRITICAL⚡ | libraries/logger/test/unit/logging-manager-tests.js | 157 | this.bunyanLogger.error.should.have.been.calledWith(this.logArgs) | CODE |
| CRITICAL | …/object-persistor/test/unit/MigrationPersistorTests.js | 222 | ).to.eventually.be.rejected.and.be.an.instanceOf(Errors.NotFoundError) | CODE |
| CRITICAL | …/object-persistor/test/unit/MigrationPersistorTests.js | 319 | ).to.eventually.be.rejected.and.be.an.instanceOf(Errors.NotFoundError) | CODE |
| CRITICAL | services/clsi/test/unit/js/LatexRunner.test.js | 93 | ctx.CommandRunner.run.should.have.been.calledWith( | CODE |
| CRITICAL⚡ | services/clsi/test/unit/js/LatexRunner.test.js | 117 | ctx.fs.writeFile.should.have.been.calledWith( | CODE |
| CRITICAL⚡ | services/clsi/test/unit/js/LatexRunner.test.js | 122 | ctx.fs.writeFile.should.have.been.calledWith( | CODE |
| CRITICAL⚡ | services/clsi/test/unit/js/LatexRunner.test.js | 127 | ctx.fs.unlink.should.have.been.calledWith( | CODE |
| CRITICAL⚡ | services/clsi/test/unit/js/LatexRunner.test.js | 130 | ctx.fs.unlink.should.have.been.calledWith( | CODE |
| CRITICAL | services/clsi/test/unit/js/LatexRunner.test.js | 154 | ctx.CommandRunner.run.should.have.been.calledWith(ctx.project_id, [ | CODE |
| CRITICAL | services/clsi/test/unit/js/LatexRunner.test.js | 244 | ctx.CommandRunner.run.should.have.been.calledWith(ctx.project_id, [ | CODE |
| CRITICAL | services/clsi/test/unit/js/ResourceWriter.test.js | 403 | return ctx.Metrics.Timer.prototype.done.called.should.equal(true) | CODE |
| CRITICAL | services/clsi/test/unit/js/ResourceWriter.test.js | 507 | return ctx.fs.writeFile.called.should.equal(false) | CODE |
| CRITICAL | services/clsi/test/unit/js/CompileController.test.js | 225 | ctx.res.send.should.have.been.calledWith({ | CODE |
| CRITICAL | services/clsi/test/unit/js/CompileController.test.js | 277 | ctx.res.send.should.have.been.calledWith({ | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 366 | ctx.DockerRunner._runAndWaitForContainer.calledTwice.should.equal(true) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 462 | ctx.DockerRunner._getContainerOptions.called.should.equal(true) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 488 | ctx.DockerRunner._getContainerOptions.called.should.equal(false) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 673 | ctx.container.start.called.should.equal(true) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 681 | ctx.DockerRunner.attachToContainer.called.should.equal(true) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 720 | ctx.DockerRunner.attachToContainer.called.should.equal(true) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 785 | ctx.container.wait.called.should.equal(true) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 811 | ctx.container.wait.called.should.equal(true) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 828 | ctx.container.wait.called.should.equal(true) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 860 | ctx.container.kill.called.should.equal(true) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 920 | ctx.DockerRunner.destroyContainer.callCount.should.equal(1) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 971 | ctx.Docker.prototype.getContainer.callCount.should.equal(1) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 984 | ctx.fakeContainer.remove.callCount.should.equal(1) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 997 | ctx.fakeContainer.remove.callCount.should.equal(1) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 1074 | ctx.Docker.prototype.getContainer.callCount.should.equal(1) | CODE |
| CRITICAL | services/clsi/test/unit/js/DockerRunner.test.js | 1087 | ctx.fakeContainer.kill.callCount.should.equal(1) | CODE |
| CRITICAL | services/clsi/test/unit/js/ResourceStateManager.test.js | 78 | ctx.fs.writeFile.called.should.equal(false) | CODE |
| CRITICAL | …es/clsi/test/unit/js/ProjectPersistenceManager.test.js | 67 | ctx.Metrics.gauge.should.have.been.calledWith( | CODE |
| CRITICAL | …es/clsi/test/unit/js/ProjectPersistenceManager.test.js | 88 | ctx.Metrics.gauge.should.have.been.calledWith( | CODE |
| CRITICAL | …es/clsi/test/unit/js/ProjectPersistenceManager.test.js | 107 | ctx.Metrics.gauge.should.have.been.calledWith( | CODE |
| CRITICAL | …es/clsi/test/unit/js/ProjectPersistenceManager.test.js | 175 | ctx.HistoryResourceWriter.clearCacheCb.should.have.been.calledWith( | CODE |
| CRITICAL | services/clsi/test/acceptance/js/DeleteOldFilesTest.js | 29 | this.body.compile.status.should.equal('success') | CODE |
| CRITICAL | services/clsi/test/acceptance/js/DeleteOldFilesTest.js | 39 | this.body.compile.status.should.equal('failure') | CODE |
| CRITICAL | …rvices/clsi/test/acceptance/js/BrokenLatexFileTests.js | 43 | this.body.compile.status.should.equal('failure') | CODE |
| CRITICAL | …rvices/clsi/test/acceptance/js/BrokenLatexFileTests.js | 73 | this.body.compile.status.should.equal('failure') | CODE |
| CRITICAL | services/clsi/test/acceptance/js/ClearCache.js | 62 | const outputFilePaths = this.compileResult.body.compile.outputFiles.map( | CODE |
| CRITICAL | services/clsi/test/acceptance/js/TimeoutTests.js | 30 | this.body.compile.error.should.equal('container timed out') | CODE |
| CRITICAL | services/clsi/test/acceptance/js/TimeoutTests.js | 34 | this.body.compile.status.should.equal('timedout') | CODE |
| CRITICAL | services/clsi/test/acceptance/js/StopCompile.js | 62 | const outputFilePaths = this.compileResult.body.compile.outputFiles.map( | CODE |
| CRITICAL⚡ | …ter/test/unit/js/HttpController/HttpControllerTests.js | 765 | this.DocumentManager.promises.acceptChangesWithLock.should.have.been.calledWith( | CODE |
| CRITICAL⚡ | …ter/test/unit/js/HttpController/HttpControllerTests.js | 773 | this.res.status.should.have.been.calledWith(200) | CODE |
| CRITICAL⚡ | …ter/test/unit/js/HttpController/HttpControllerTests.js | 774 | this.res.json.should.have.been.calledWith({ | CODE |
| CRITICAL | …ter/test/unit/js/HttpController/HttpControllerTests.js | 126 | this.DocumentManager.promises.getDocAndRecentOpsWithLock.should.have.been.calledWith( | CODE |
| CRITICAL | …ter/test/unit/js/HttpController/HttpControllerTests.js | 134 | this.res.json.should.have.been.calledWith({ | CODE |
| CRITICAL | …ter/test/unit/js/HttpController/HttpControllerTests.js | 160 | this.Metrics.Timer.prototype.done.called.should.equal(true) | CODE |
| CRITICAL | …ter/test/unit/js/HttpController/HttpControllerTests.js | 180 | this.DocumentManager.promises.getDocAndRecentOpsWithLock.should.have.been.calledWith( | CODE |
| CRITICAL | …ter/test/unit/js/HttpController/HttpControllerTests.js | 188 | this.res.json.should.have.been.calledWith({ | CODE |
| CRITICAL | …ter/test/unit/js/HttpController/HttpControllerTests.js | 214 | this.Metrics.Timer.prototype.done.called.should.equal(true) | CODE |
| CRITICAL | …ter/test/unit/js/HttpController/HttpControllerTests.js | 234 | this.DocumentManager.promises.getDocAndRecentOpsWithLock.should.have.been.calledWith( | CODE |
| CRITICAL | …ter/test/unit/js/HttpController/HttpControllerTests.js | 242 | this.res.json.should.have.been.calledWith({ | CODE |
| CRITICAL | …ter/test/unit/js/HttpController/HttpControllerTests.js | 255 | this.Utils.addTrackedDeletesToContent.called.should.equal(true) | CODE |
| 282 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | libraries/metrics/initialize.js | 31 | function initializeOpenTelemetryInstrumentation() { | CODE |
| LOW | libraries/metrics/initialize.js | 72 | function initializeOpenTelemetryLogging() { | CODE |
| LOW | libraries/mongo-utils/batchedUpdate.js | 51 | function refreshGlobalOptionsForBatchedUpdate(options = {}) { | CODE |
| LOW | libraries/mongo-utils/batchedUpdate.js | 296 | function batchedUpdateWithResultHandling( | CODE |
| LOW | …/overleaf-editor-core/test/unit/text_operation.test.js | 988 | function expectInverseToLeadToInitialState(fileData, operation) { | CODE |
| LOW | libraries/overleaf-editor-core/lib/file_map.js | 344 | function checkNewPathnameDoesNotConflict(fileMap, pathname, ignoredPathname) { | CODE |
| LOW | libraries/overleaf-editor-core/lib/file_map.js | 353 | function checkPathnamesDoNotConflict(fileMap) { | CODE |
| LOW | …rleaf-editor-core/lib/doc_updater_compatible_ranges.js | 16 | function getDocUpdaterCompatibleRanges(file) { | CODE |
| LOW | libraries/overleaf-editor-core/lib/ot_client.js | 92 | this.handleLocalOperation = function otClientHandleLocalOperation( | CODE |
| LOW | …s/overleaf-editor-core/lib/operation/text_operation.js | 849 | function calculateTrackingCommentSegments( | CODE |
| LOW | libraries/overleaf-editor-core/lib/operation/index.js | 294 | function transformAddFileSetFileMetadata(add, set) { | CODE |
| LOW | libraries/overleaf-editor-core/lib/operation/index.js | 328 | function transformMoveFileMoveFile(move1, move2) { | CODE |
| LOW | libraries/overleaf-editor-core/lib/operation/index.js | 388 | function transformMoveFileEditFile(move, edit) { | CODE |
| LOW | libraries/overleaf-editor-core/lib/operation/index.js | 408 | function transformMoveFileSetFileMetadata(move, set) { | CODE |
| LOW | libraries/overleaf-editor-core/lib/operation/index.js | 426 | function transformEditFileEditFile(edit1, edit2) { | CODE |
| LOW | libraries/overleaf-editor-core/lib/operation/index.js | 441 | function transformEditFileSetFileMetadata(edit, set) { | CODE |
| LOW | libraries/overleaf-editor-core/lib/operation/index.js | 446 | function transformSetFileMetadatas(set1, set2) { | CODE |
| LOW | …af-editor-core/lib/operation/edit_operation_builder.js | 81 | function isRawDeleteCommentOperation(raw) { | CODE |
| LOW | …af-editor-core/lib/operation/edit_operation_builder.js | 89 | function isRawSetCommentStateOperation(raw) { | CODE |
| LOW | libraries/redis-wrapper/RedisWebLocker.js | 68 | function countIfExceededLockTimeout() { | CODE |
| LOW | libraries/promise-utils/index.js | 280 | function promiseMapSettledWithLimit(concurrency, array, fn) { | CODE |
| LOW | libraries/fetch-utils/index.js | 116 | async function fetchRedirectWithResponse(url, opts = {}) { | CODE |
| LOW | libraries/validation-tools/handleValidationError.js | 4 | function createHandleValidationError(statusCode = 400) { | CODE |
| LOW | …s-token-encryptor/scripts/helpers/re-encrypt-tokens.js | 31 | async function reEncryptTokensInCollection({ | CODE |
| LOW | …ies/eslint-plugin/require-cio-snake-case-properties.js | 21 | function getUpdateUserAttributesArg(node) { | CODE |
| LOW | server-ce/hotfix/4.0.6/clean_sl_history_data.js | 13 | async function checkAllProjectsAreMigrated() { | CODE |
| LOW | server-ce/hotfix/3.5.6/clean_sl_history_data.js | 11 | async function checkAllProjectsAreMigrated() { | CODE |
| LOW | server-ce/hotfix/3.5.11/clean_sl_history_data.js | 13 | async function checkAllProjectsAreMigrated() { | CODE |
| LOW | server-ce/test/filestore-migration.spec.ts | 53 | function addNewBinaryFileAndCheckPrevious( | CODE |
| LOW | server-ce/test/filestore-migration.spec.ts | 277 | function ensureStopOnFirstErrorIsActive() { | CODE |
| LOW | server-ce/test/sandboxed-compiles.spec.ts | 231 | function checkRecompilesAfterErrors() { | CODE |
| LOW | server-ce/test/editor.spec.ts | 45 | function changeSpellCheckLanguageTo(lng: string) { | CODE |
| LOW | server-ce/test/project-sharing.spec.ts | 79 | function expectContentReadOnlyAccess() { | CODE |
| LOW⚡ | server-ce/test/project-sharing.spec.ts | 215 | function expectRestrictedReadOnlyAccess() { | CODE |
| LOW⚡ | server-ce/test/project-sharing.spec.ts | 222 | function expectFullReadAndWriteAccess() { | CODE |
| LOW⚡ | server-ce/test/project-sharing.spec.ts | 229 | function expectAnonymousReadAndWriteAccess() { | CODE |
| LOW⚡ | server-ce/test/project-sharing.spec.ts | 236 | function expectProjectDashboardEntry() { | CODE |
| LOW | server-ce/test/host-admin.js | 43 | function defaultDockerComposeOverride() { | CODE |
| LOW | server-ce/test/host-admin.js | 57 | function readDockerComposeOverride() { | CODE |
| LOW | server-ce/test/host-admin.js | 68 | function writeDockerComposeOverride(cfg) { | CODE |
| LOW | server-ce/test/helpers/project.ts | 11 | export function redirectEditorUrlWithQueryParams(newEditor: boolean) { | CODE |
| LOW | server-ce/test/helpers/project.ts | 84 | export function createProjectAndOpenInNewEditor( | CODE |
| LOW | server-ce/test/helpers/project.ts | 129 | export function openProjectViaLinkSharingAsAnon( | CODE |
| LOW | server-ce/test/helpers/project.ts | 144 | export function openProjectViaLinkSharingAsUser( | CODE |
| LOW | server-ce/test/helpers/project.ts | 166 | export function openProjectViaInviteNotification( | CODE |
| LOW | server-ce/test/helpers/project.ts | 231 | export function shareProjectByEmailAndAcceptInviteViaDash( | CODE |
| LOW | server-ce/test/helpers/project.ts | 256 | export function shareProjectByEmailAndAcceptInviteViaEmail( | CODE |
| LOW | server-ce/test/helpers/hostAdminClient.ts | 112 | export async function setMongoFeatureCompatibilityVersion( | CODE |
| LOW | server-ce/test/helpers/login.ts | 83 | export function resetActivateUserRateLimit() { | CODE |
| LOW | server-ce/test/helpers/login.ts | 87 | function handleActivateUserRateLimit() { | CODE |
| LOW | server-ce/test/helpers/waitUntilScrollingFinished.ts | 1 | export function waitUntilScrollingFinished(selector: string, start = -1) { | CODE |
| LOW | server-ce/test/helpers/compile.ts | 18 | export function prepareWaitForNextCompileSlot() { | CODE |
| LOW | server-ce/test/helpers/compile.ts | 25 | function waitForCompileRateLimitCoolOff() { | CODE |
| LOW | server-ce/test/helpers/beforeWithReRunOnTestRetry.ts | 1 | export function beforeWithReRunOnTestRetry(fn: () => void | Promise<any>) { | CODE |
| LOW | services/clsi/app/js/ConversionManager.js | 181 | async function convertLaTeXToDocumentInDirWithLock( | CODE |
| LOW | services/clsi/app/js/ConversionManager.js | 200 | async function convertLaTeXToDocumentInDir( | CODE |
| LOW | services/clsi/app/js/CompileController.js | 16 | function timeSinceLastSuccessfulCompile() { | CODE |
| LOW | services/clsi/app/js/HistoryResourceWriter.js | 142 | async function loadSnapshotFromClsiCache( | CODE |
| LOW | services/clsi/app/js/HistoryResourceWriter.js | 356 | function changesFromRawChangeOperations(raw) { | CODE |
| LOW | services/clsi/app/js/CLSICacheHandler.js | 121 | function notifyCLSICacheAboutBuild({ | CODE |
| 305 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server-ce/test/filestore-migration.spec.ts | 32 | const email = 'user@example.com' | CODE |
| LOW | server-ce/test/sandboxed-compiles.spec.ts | 23 | ensureUserExists({ email: 'user@example.com' }) | CODE |
| LOW | server-ce/test/sandboxed-compiles.spec.ts | 25 | login('user@example.com') | CODE |
| LOW | server-ce/test/sandboxed-compiles.spec.ts | 75 | login('user@example.com') | CODE |
| LOW | server-ce/test/sandboxed-compiles.spec.ts | 233 | login('user@example.com') | CODE |
| LOW | server-ce/test/sandboxed-compiles.spec.ts | 295 | login('user@example.com') | CODE |
| LOW | server-ce/test/sandboxed-compiles.spec.ts | 323 | ensureUserExists({ email: 'user@example.com' }) | CODE |
| LOW | server-ce/test/sandboxed-compiles.spec.ts | 325 | login('user@example.com') | CODE |
| LOW | server-ce/test/sandboxed-compiles.spec.ts | 340 | ensureUserExists({ email: 'user@example.com' }) | CODE |
| LOW | server-ce/test/sandboxed-compiles.spec.ts | 342 | login('user@example.com') | CODE |
| LOW | server-ce/test/learn-wiki.spec.ts | 9 | const REGULAR_USER = 'user@example.com' | CODE |
| LOW | server-ce/test/create-and-compile-project.spec.ts | 10 | const USER = 'user@example.com' | CODE |
| LOW | server-ce/test/project-list.spec.ts | 7 | const REGULAR_USER = 'user@example.com' | CODE |
| LOW | server-ce/test/upgrading.spec.ts | 8 | const USER = 'user@example.com' | CODE |
| LOW | server-ce/test/editor.spec.ts | 15 | const USER = 'user@example.com' | CODE |
| LOW | server-ce/test/history.spec.ts | 9 | ensureUserExists({ email: 'user@example.com' }) | CODE |
| LOW | server-ce/test/history.spec.ts | 11 | login('user@example.com') | CODE |
| LOW | server-ce/test/accounts.spec.ts | 7 | ensureUserExists({ email: 'user@example.com' }) | CODE |
| LOW | server-ce/test/accounts.spec.ts | 10 | login('user@example.com') | CODE |
| LOW | server-ce/test/git-bridge.spec.ts | 18 | const USER = 'user@example.com' | CODE |
| LOW | server-ce/test/templates.spec.ts | 10 | const ADMIN_USER = 'admin@example.com' | CODE |
| LOW | server-ce/test/templates.spec.ts | 11 | const REGULAR_USER = 'user@example.com' | CODE |
| LOW | server-ce/test/admin.spec.ts | 83 | const admin = 'admin@example.com' | CODE |
| LOW | server-ce/test/admin.spec.ts | 100 | const admin = 'admin@example.com' | CODE |
| LOW | server-ce/test/admin.spec.ts | 101 | const user1 = 'user@example.com' | CODE |
| LOW | server-ce/test/project-sharing.spec.ts | 25 | ensureUserExists({ email: 'user@example.com' }) | CODE |
| LOW | server-ce/test/project-sharing.spec.ts | 57 | login('user@example.com') | CODE |
| LOW | server-ce/test/project-sharing.spec.ts | 256 | login('user@example.com') | CODE |
| LOW | server-ce/test/project-sharing.spec.ts | 276 | login('user@example.com') | CODE |
| LOW | server-ce/test/project-sharing.spec.ts | 298 | login('user@example.com') | CODE |
| LOW | server-ce/test/project-sharing.spec.ts | 477 | login('user@example.com') | CODE |
| LOW | server-ce/test/project-sharing.spec.ts | 514 | login('user@example.com') | CODE |
| LOW | server-ce/test/graceful-shutdown.spec.ts | 11 | const USER = 'user@example.com' | CODE |
| LOW | …ices/web/frontend/stories/word-count-modal.stories.tsx | 28 | 'Lorem ipsum dolor sit amet.', | CODE |
| LOW | …ices/web/frontend/stories/word-count-modal.stories.tsx | 28 | 'Lorem ipsum dolor sit amet.', | CODE |
| LOW | …es/web/frontend/stories/settings/sso-alert.stories.tsx | 25 | 'user@example.com' | CODE |
| LOW | …rontend/stories/project-list/notifications.stories.tsx | 168 | inviterName: 'John Doe', | CODE |
| LOW | …rontend/stories/project-list/notifications.stories.tsx | 185 | inviterName: 'John Doe', | CODE |
| LOW | …s/web/frontend/stories/file-view/file-view.stories.jsx | 18 | text: `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| LOW | …s/web/frontend/stories/file-view/file-view.stories.jsx | 18 | text: `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| LOW | …s/web/frontend/stories/shared/autocomplete.stories.tsx | 275 | 'placeholder', | CODE |
| LOW | …s/web/frontend/stories/shared/notification.stories.tsx | 97 | <b>Lorem ipsum</b> | CODE |
| LOW | …s/web/frontend/stories/shared/notification.stories.tsx | 100 | Dolor sit amet, consectetur adipiscing elit. Proin lacus velit, | CODE |
| LOW | …s/web/frontend/stories/shared/notification.stories.tsx | 125 | <b>Lorem ipsum</b> | CODE |
| LOW | …s/web/frontend/stories/shared/notification.stories.tsx | 128 | Dolor sit amet, consectetur adipiscing elit. Proin lacus velit, | CODE |
| LOW | …s/web/frontend/stories/shared/notification.stories.tsx | 151 | <b>Lorem ipsum</b> | CODE |
| LOW | …s/web/frontend/stories/shared/notification.stories.tsx | 154 | Dolor sit amet, consectetur adipiscing elit. Proin lacus velit, | CODE |
| LOW | …s/web/frontend/stories/shared/notification.stories.tsx | 178 | <b>Lorem ipsum</b> | CODE |
| LOW | …s/web/frontend/stories/shared/notification.stories.tsx | 181 | Dolor sit amet, consectetur adipiscing elit. Proin lacus velit, | CODE |
| LOW⚡ | …s/web/frontend/stories/shared/notification.stories.tsx | 202 | content={<p>Lorem ipsum</p>} | CODE |
| LOW⚡ | …s/web/frontend/stories/shared/notification.stories.tsx | 209 | <Notification {...args} action={undefined} content={<p>Lorem ipsum</p>} /> | CODE |
| LOW⚡ | …s/web/frontend/stories/shared/notification.stories.tsx | 218 | content={<p>Lorem ipsum</p>} | CODE |
| LOW⚡ | …s/web/frontend/stories/shared/notification.stories.tsx | 227 | content={<p>Lorem ipsum</p>} | CODE |
| LOW⚡ | …s/web/frontend/stories/shared/notification.stories.tsx | 237 | content={<p>Lorem ipsum</p>} | CODE |
| LOW | …s/web/frontend/stories/shared/notification.stories.tsx | 283 | content={<p>Lorem ipsum</p>} | CODE |
| LOW | …frontend/stories/shared/ds/ds-form-control.stories.tsx | 45 | 'placeholder', | CODE |
| LOW | …st/frontend/features/settings/components/root.test.tsx | 11 | window.metaAttributesCache.set('ol-usersEmail', 'foo@bar.com') | CODE |
| LOW | …nd/features/settings/components/leave-section.test.tsx | 13 | window.metaAttributesCache.set('ol-usersEmail', 'foo@bar.com') | CODE |
| LOW | …features/settings/components/emails/sso-alert.test.tsx | 38 | 'user@example.com' | CODE |
| LOW | …features/settings/components/emails/sso-alert.test.tsx | 48 | 'user@example.com' | CODE |
| 58 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …c/ic/wlgitbridge/WLGitBridgeIntegrationTest/state.json | 66 | "content": "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\usepackag | CODE |
| HIGH | …c/ic/wlgitbridge/WLGitBridgeIntegrationTest/state.json | 66 | "content": "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\usepackag | CODE |
| HIGH | …c/ic/wlgitbridge/WLGitBridgeIntegrationTest/state.json | 85 | "content": "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\usepackag | CODE |
| HIGH | …c/ic/wlgitbridge/WLGitBridgeIntegrationTest/state.json | 85 | "content": "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\usepackag | CODE |
| HIGH | …c/ic/wlgitbridge/WLGitBridgeIntegrationTest/state.json | 104 | "content": "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\usepackag | CODE |
| HIGH | …c/ic/wlgitbridge/WLGitBridgeIntegrationTest/state.json | 104 | "content": "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\usepackag | CODE |
| HIGH | …c/ic/wlgitbridge/WLGitBridgeIntegrationTest/state.json | 123 | "content": "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\usepackag | CODE |
| HIGH | …c/ic/wlgitbridge/WLGitBridgeIntegrationTest/state.json | 123 | "content": "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\usepackag | CODE |
| HIGH | …c/ic/wlgitbridge/WLGitBridgeIntegrationTest/state.json | 142 | "content": "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\usepackag | CODE |
| HIGH | …c/ic/wlgitbridge/WLGitBridgeIntegrationTest/state.json | 142 | "content": "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\usepackag | CODE |
| HIGH | …c/ic/wlgitbridge/WLGitBridgeIntegrationTest/state.json | 161 | "content": "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\usepackag | CODE |
| HIGH | …bridge/snapshot/servermock/state/SnapshotAPIState.java | 112 | "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\u | CODE |
| HIGH | …bridge/snapshot/servermock/state/SnapshotAPIState.java | 112 | "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\u | CODE |
| HIGH | …bridge/snapshot/servermock/state/SnapshotAPIState.java | 127 | "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\u | CODE |
| HIGH | …bridge/snapshot/servermock/state/SnapshotAPIState.java | 127 | "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\u | CODE |
| HIGH | …bridge/snapshot/servermock/state/SnapshotAPIState.java | 142 | "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\u | CODE |
| HIGH | …bridge/snapshot/servermock/state/SnapshotAPIState.java | 142 | "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\u | CODE |
| HIGH | …bridge/snapshot/servermock/state/SnapshotAPIState.java | 157 | "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\u | CODE |
| HIGH | …bridge/snapshot/servermock/state/SnapshotAPIState.java | 157 | "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\u | CODE |
| HIGH | …bridge/snapshot/servermock/state/SnapshotAPIState.java | 172 | "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\u | CODE |
| HIGH | …bridge/snapshot/servermock/state/SnapshotAPIState.java | 172 | "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\u | CODE |
| HIGH | …bridge/snapshot/servermock/state/SnapshotAPIState.java | 187 | "\\\\documentclass[a4paper]{article}\\n\\n\\\\usepackage[english]{babel}\\n\\\\u | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-compose.yml | 41 | # Disables email confirmation requirement | COMMENT |
| LOW | docker-compose.yml | 61 | # OVERLEAF_EMAIL_SMTP_PORT: 587 | COMMENT |
| LOW | docker-compose.yml | 81 | ## Sandboxed Compiles: https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/server-pro-only-config | COMMENT |
| LOW | docker-compose.yml | 141 | # settings. We recommend using a properly managed nginx instance outside of the Overleaf Server Pro setup, | COMMENT |
| LOW | libraries/overleaf-editor-core/lib/safe_pathname.js | 21 | const BAD_FILE_RX = /(^\.$)|(^\.\.$)|(^\s+)|(\s+$)/g | COMMENT |
| LOW | libraries/overleaf-editor-core/lib/operation/index.js | 301 | return [add, set] | COMMENT |
| LOW | libraries/object-persistor/src/MigrationPersistor.js | 1 | const AbstractPersistor = require('./AbstractPersistor') | COMMENT |
| LOW | libraries/eslint-plugin/french-typography-in-locales.js | 1 | // French typographic spacing rules for JSON string values. | COMMENT |
| LOW | server-ce/config/settings.js | 61 | // --------- | COMMENT |
| LOW | services/clsi/app/js/ResourceStateManager.js | 1 | import Path from 'node:path' | COMMENT |
| LOW | services/chat/docker-compose.ci.yml | 61 | # Required when using the automatic database setup for initializing the | COMMENT |
| LOW | …/ic/wlgitbridge/bridge/swap/store/S3SwapStoreTest.java | 21 | s3 = null; | COMMENT |
| LOW | …bridge/snapshot/servermock/state/SnapshotAPIState.java | 221 | new HashMap<String, SnapshotPostbackRequest>() { | COMMENT |
| LOW | …ain/java/uk/ac/ic/wlgitbridge/server/Oauth2Filter.java | 101 | Log.debug("[{}] username is 'git', skipping password grant flow", projectId); | COMMENT |
| LOW | …s/features/pdf-preview/components/log-entry-header.tsx | 81 | function checkLocationSpanOverflow(observedElement: ResizeObserverEntry) { | COMMENT |
| LOW | …res/source-editor/extensions/changes/reject-changes.ts | 21 | COMMENT | |
| LOW | …res/source-editor/extensions/changes/reject-changes.ts | 41 | // | COMMENT |
| LOW | …res/source-editor/extensions/changes/reject-changes.ts | 61 | // | COMMENT |
| LOW | …/js/features/source-editor/languages/latex/snippets.ts | 1 | // 1. Convert from Ace `$1` to CodeMirror numbered placeholder format `${1}` or `#{1}` in snippets. | COMMENT |
| LOW | …editor/languages/latex/linter/errors-to-diagnostics.ts | 61 | continue | COMMENT |
| LOW | …e-editor/languages/latex/linter/latex-linter.worker.ts | 721 | // math mode on(=true) or | COMMENT |
| LOW | …e-editor/languages/latex/linter/latex-linter.worker.ts | 1581 | ) { | COMMENT |
| LOW | …/frontend/js/features/source-editor/commands/ranges.ts | 121 | COMMENT | |
| LOW | …/features/ide-react/editor/share-js-history-ot-type.ts | 81 | // Do not provide invert, only needed for reverting a rejected update. | COMMENT |
| LOW | …/frontend/js/features/ide-react/editor/share-js-doc.ts | 421 | // This can be cleared when hard reloading the document in which | COMMENT |
| LOW | …es/web/frontend/js/features/history/utils/file-tree.ts | 101 | } | COMMENT |
| LOW | services/web/frontend/js/shared/components/select.tsx | 61 | items: T[] | COMMENT |
| LOW | services/web/frontend/stylesheets/pages/cms.scss | 161 | padding-top: 0; | COMMENT |
| LOW | services/web/frontend/stylesheets/pages/cms.scss | 181 | // background-color: @ol-blue-gray-5; | COMMENT |
| LOW | services/web/frontend/stylesheets/pages/content.scss | 21 | */ | COMMENT |
| LOW | …res/source-editor/languages/latex/latex-linter.test.ts | 541 | // \renewcommand... | COMMENT |
| LOW | …res/source-editor/languages/latex/latex-linter.test.ts | 561 | // ] | COMMENT |
| LOW | …tor/components/codemirror-editor-autocomplete.spec.tsx | 101 | cy.get('@line').type(' \\') | COMMENT |
| LOW | …tor/components/codemirror-editor-autocomplete.spec.tsx | 121 | COMMENT | |
| LOW | services/web/config/settings.defaults.js | 161 | ), | COMMENT |
| LOW | services/web/config/settings.defaults.js | 181 | // {host: '127.0.0.1', port: 7005} | COMMENT |
| LOW | services/web/config/settings.defaults.js | 661 | cookieName: process.env.DEVICE_HISTORY_COOKIE_NAME || 'deviceHistory', | COMMENT |
| LOW | services/web/config/settings.defaults.js | 781 | // - text ranges spanning the whole doc | COMMENT |
| LOW | services/web/config/settings.defaults.js | 801 | // Automatic Snapshots | COMMENT |
| LOW | services/document-updater/app/js/RangesManager.js | 361 | // Tracked delete is at the same position as the op. | COMMENT |
| LOW | services/document-updater/app/js/DeleteQueueManager.js | 21 | // Maintain a sorted set of project flushAndDelete requests, ordered by timestamp | COMMENT |
| LOW | …rvices/document-updater/app/js/sharejs/types/simple.js | 1 | // TODO: This file was created by bulk-decaffeinate. | COMMENT |
| LOW | …ces/document-updater/app/js/sharejs/types/syncqueue.js | 1 | // TODO: This file was created by bulk-decaffeinate. | COMMENT |
| LOW | …ices/document-updater/app/js/sharejs/types/text-tp2.js | 21 | // A document is made up of a string and a set of tombstones inserted throughout | COMMENT |
| LOW | services/document-updater/app/js/sharejs/types/model.js | 21 | // | COMMENT |
| LOW | services/document-updater/app/js/sharejs/types/model.js | 61 | // ops:[{op, meta}] | COMMENT |
| LOW | services/document-updater/app/js/sharejs/types/model.js | 81 | // flush it from the cache. | COMMENT |
| LOW | services/document-updater/app/js/sharejs/types/model.js | 601 | } | COMMENT |
| LOW | services/document-updater/app/js/sharejs/types/model.js | 741 | : undefined | COMMENT |
| LOW | services/document-updater/app/js/sharejs/types/text.js | 21 | // {d:'str', p:100}: Delete 'str' at position 100 in the document | COMMENT |
| LOW | …es/document-updater/app/js/sharejs/server/syncqueue.js | 1 | // TODO: This file was created by bulk-decaffeinate. | COMMENT |
| LOW | …rvices/document-updater/app/js/sharejs/server/model.js | 61 | // | COMMENT |
| LOW | …rvices/document-updater/app/js/sharejs/server/model.js | 81 | // open. I don't know if I should keep open (but not being edited) documents live - | COMMENT |
| LOW | …rvices/document-updater/app/js/sharejs/server/model.js | 621 | // Each op returned is in the form {op:o, meta:m, v:version}. | COMMENT |
| LOW | …rvices/document-updater/app/js/sharejs/server/model.js | 761 | // | COMMENT |
| LOW | services/filestore/app/js/FileHandler.js | 121 | err | COMMENT |
| LOW | …ces/project-history/app/js/SummarizedUpdatesManager.js | 21 | // | COMMENT |
| LOW | services/project-history/app/js/SyncManager.js | 41 | const EXPIRE_RESYNC_HISTORY_INTERVAL_MS = 90 * 24 * 3600 * 1000 // 90 days | COMMENT |
| LOW | services/project-history/app/js/UpdateTranslator.js | 261 | pathname = pathname.replace(/^\//, '') | COMMENT |
| LOW | services/project-history/app/js/BlobManager.js | 21 | ) { | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2777 | // Step 1: Start a resync | COMMENT |
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2780 | // Step 2: Push resyncProjectStructure update (lists docs to sync) | COMMENT |
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2797 | // Step 3: Flush — processes structure update, adds /main.tex to resyncDocContents | COMMENT |
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2801 | // Step 4: Verify the sync state is stuck | COMMENT |
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2811 | // Step 5: Push a normal text update (simulating a user edit) | COMMENT |
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2824 | // Step 6: Flush again — the text update should be silently skipped | COMMENT |
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2828 | // Step 7: Verify the sync state is STILL stuck (text update was skipped) | COMMENT |
| LOW | …rvices/project-history/test/acceptance/js/SyncTests.js | 2842 | // Step 8: Verify a normal resync FAILS because sync is "ongoing" | COMMENT |
| LOW | services/history-v1/storage/scripts/recover_zip.js | 124 | // We need to check if the file contains nonBmp or null characters | COMMENT |
| LOW | services/history-v1/storage/lib/blob_store/index.js | 118 | // We need to check if the file contains nonBmp or null characters | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2777 | // Step 1: Start a resync | COMMENT |
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2780 | // Step 2: Push resyncProjectStructure update (lists docs to sync) | COMMENT |
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2797 | // Step 3: Flush — processes structure update, adds /main.tex to resyncDocContents | COMMENT |
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2801 | // Step 4: Verify the sync state is stuck | COMMENT |
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2811 | // Step 5: Push a normal text update (simulating a user edit) | COMMENT |
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2824 | // Step 6: Flush again — the text update should be silently skipped | COMMENT |
| LOW⚡ | …rvices/project-history/test/acceptance/js/SyncTests.js | 2828 | // Step 7: Verify the sync state is STILL stuck (text update was skipped) | COMMENT |
| LOW | …rvices/project-history/test/acceptance/js/SyncTests.js | 2842 | // Step 8: Verify a normal resync FAILS because sync is "ongoing" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | services/web/frontend/stylesheets/pages/plans-2026.scss | 99 | // ─── Plan cards ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | services/web/frontend/stylesheets/pages/plans-2026.scss | 475 | // ─── Organization logos ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | services/web/frontend/stylesheets/pages/plans-2026.scss | 493 | // ─── Feature comparison table ────────────────────────────────────────────── | COMMENT |
| MEDIUM | services/web/frontend/stylesheets/pages/plans-2026.scss | 803 | // ─── Quotes and FAQs section──────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …s/redis-wrapper/test/scripts/cluster/create-cluster.sh | 62 | # scale up as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …tor/components/codemirror-editor-figure-modal.spec.tsx | 700 | // TODO: Add tests for replacing image when we can match on image path | COMMENT |
| LOW | …tor/components/codemirror-editor-figure-modal.spec.tsx | 701 | // TODO: Add tests for changing image size when we can match on figure width | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …rvices/document-updater/app/js/sharejs/types/simple.js | 10 | // Its mostly included for demonstration purposes and its used in a lot of unit tests. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | services/document-updater/app/js/sharejs/types/text.js | 164 | // http://perfectionkills.com/instanceof-considered-harmful-or-how-to-write-a-robust-isarray/ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | services/web/types/utils.ts | 35 | * // Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | libraries/metrics/leaked_sockets.js | 23 | function handleRequest({ request: req }) { | CODE |