Cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol
This report summarizes scanner evidence for appium/appium, a TypeScript project with 22,167 GitHub stars. SynthScan examined 142,490 lines of code across 850 source files, recording 37 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.3 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 30 finding(s).
Are imports declared and package/API names verified? 7 finding(s).
Are wrappers, guards, and repeated structures necessary? 26 finding(s).
Which changes need focused human review? 37 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 37 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/fake-driver/lib/commands/find.ts | 11 | export function getExistingElementForNode(this: FakeDriver, node: FakeElement): string | null { | CODE |
| LOW | packages/base-driver/lib/express/websocket.ts | 62 | export async function removeAllWebSocketHandlers(this: AppiumServer): Promise<boolean> { | CODE |
| LOW | packages/base-driver/lib/express/middleware.ts | 44 | export function allowCrossDomainAsyncExecute(basePath: string): RequestHandler { | CODE |
| LOW | packages/base-driver/lib/express/middleware.ts | 45 | function allowCrossDomainAsyncExecuteHandler(req: Request, res: Response, next: NextFunction): void { | CODE |
| LOW | packages/base-driver/lib/express/middleware.ts | 114 | export function tryHandleWebSocketUpgrade({ | CODE |
| LOW | packages/base-driver/lib/protocol/errors.ts | 943 | function generateBadParametersMessage(paramRequirements: ParameterRequirements, paramNames: string[]): string { | CODE |
| LOW | packages/base-driver/lib/protocol/errors.ts | 1073 | export function errorFromMJSONWPStatusCode(code: number, value: string | {message: string} = ''): ProtocolError { | CODE |
| LOW | packages/base-driver/lib/protocol/protocol.ts | 228 | export function validateExecuteMethodParams(params: any[], paramSpec?: PayloadParams): any[] { | CODE |
| LOW | packages/base-driver/lib/protocol/protocol.ts | 363 | function hasMultipleRequiredParamSets( | CODE |
| LOW | packages/base-driver/lib/basedriver/helpers.ts | 500 | export function filenameFromContentDisposition(header: string): string | undefined { | CODE |
| LOW | …e-driver/lib/basedriver/commands/bidi-subscriptions.ts | 21 | export function refreshEventSubscriptions(driver: BidiSubscriptionDriver): void { | CODE |
| LOW | packages/base-driver/lib/helpers/levenshtein-match.ts | 21 | export function rankLevenshteinCandidates( | CODE |
| LOW | packages/base-driver/lib/helpers/levenshtein-match.ts | 61 | export function sortByLevenshteinDistance(target: string, candidates: readonly string[]): string[] { | CODE |
| LOW | packages/support/test/unit/logger/helpers.ts | 37 | export function assertOutputDoesntContain(writers: ReturnType<typeof setupWriters>, output: string) { | CODE |
| LOW | packages/support/lib/zip.ts | 390 | async function assertFileDestinationWithinRoot( | CODE |
| LOW | packages/support/lib/zip.ts | 700 | async function processYauzlEntriesSequentially( | CODE |
| LOW | packages/support/lib/env.ts | 36 | export const findAppiumDependencyPackage = memoize(async function findAppiumDependencyPackage( | CODE |
| LOW | packages/support/lib/env.ts | 92 | function isMissingPackageJsonError(err: unknown): boolean { | CODE |
| LOW | packages/appium/test/e2e/e2e-helpers.ts | 164 | export async function readAppiumArgErrorFixture(name: string): Promise<string> { | CODE |
| LOW | packages/appium/test/e2e/e2e-helpers.ts | 170 | export function formatAppiumArgErrorOutput(stderr: string): string { | CODE |
| LOW | packages/appium/lib/inspector-commands.ts | 99 | function methodMapToRestCommandsInfo(mm: MethodMap<any>): Record<string, RestMethodsToCommandsMap> { | CODE |
| LOW | packages/appium/lib/inspector-commands.ts | 116 | function executeMethodMapToCommandsInfo(emm: ExecuteMethodMap<any>): RestMethodsToCommandsMap { | CODE |
| LOW | packages/appium/lib/bootstrap/main-helpers.ts | 55 | export function determineAppiumHomeSource(appiumHomeFromArgs?: string | null): string { | CODE |
| LOW | packages/appium/lib/bootstrap/main-helpers.ts | 214 | function logDefaultCapabilitiesWarning(caps: ParsedArgs<CliCommandServer>['defaultCapabilities']): void { | CODE |
| LOW | packages/appium/lib/cli/extension-command.ts | 1320 | async function getRemoteExtensionLatestStableMajors(pkgName: string): Promise<string[]> { | CODE |
| LOW | packages/appium/lib/cli/extension-command.ts | 1341 | async function getRemoteExtensionVersionReq(pkgName: string, pkgVer?: string): Promise<string | null> { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/fake-plugin/lib/plugin.ts | 21 | '/session/:sessionId/fake_data': { | CODE |
| LOW | packages/appium/test/e2e/plugin.e2e.spec.ts | 171 | await axios.post(`${testServerBaseSessionUrl}/${sessionId}/fake_data`, { | CODE |
| LOW | packages/appium/test/e2e/plugin.e2e.spec.ts | 174 | assert.deepStrictEqual((await axios.get(`${testServerBaseSessionUrl}/${sessionId}/fake_data`)).data.value, { | CODE |
| LOW | packages/appium/docs/ja/developing/build-plugins.md | 345 | '/session/:sessionId/fake_data': { | CODE |
| LOW | packages/appium/docs/zh/developing/build-plugins.md | 256 | '/session/:sessionId/fake_data': { | CODE |
| LOW | packages/appium/docs/en/developing/build-plugins.md | 341 | '/session/:sessionId/fake_data': { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/appium/lib/extension/extension-config.ts | 260 | print(_activeNames?: ExtName<ExtType>[]): void { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/images-plugin/lib/types.ts | 21 | // if the image returned by getScreenshot differs in size or aspect ratio | COMMENT |
| LOW | packages/images-plugin/lib/types.ts | 41 | // e.g. If a user has an image of 270 x 32 pixels which was originally 1080 x 126 pixels, | COMMENT |
| LOW | packages/appium/lib/appium.ts | 681 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/build.yml | 70 | # Check if package.json has test:e2e script and it's not a no-op | COMMENT |