Repository Analysis

appium/appium

Cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol

0.2 Likely human-written View on GitHub
0.2
Adjusted Score
0.2
Raw Score
100%
Time Factor
2026-05-30
Last Push
21,579
Stars
TypeScript
Language
135,149
Lines of Code
788
Files
26
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 0LOW 25

Pattern Findings

26 matches across 4 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers20 hits · 20 pts
SeverityFileLineSnippet
LOWpackages/fake-driver/lib/commands/find.ts10export function getExistingElementForNode(
LOWpackages/base-driver/lib/express/websocket.ts68export async function removeAllWebSocketHandlers(this: AppiumServer): Promise<boolean> {
LOWpackages/base-driver/lib/express/middleware.ts41export function allowCrossDomainAsyncExecute(basePath: string): RequestHandler {
LOWpackages/base-driver/lib/express/middleware.ts42 function allowCrossDomainAsyncExecuteHandler(
LOWpackages/base-driver/lib/express/middleware.ts106export function tryHandleWebSocketUpgrade(
LOWpackages/base-driver/lib/protocol/errors.ts1004function generateBadParametersMessage(
LOWpackages/base-driver/lib/protocol/errors.ts1138export function errorFromMJSONWPStatusCode(code: number, value: string | {message: string} = ''): ProtocolError {
LOWpackages/base-driver/lib/protocol/protocol.ts220export function validateExecuteMethodParams(params: any[], paramSpec?: PayloadParams): any[] {
LOWpackages/base-driver/lib/protocol/protocol.ts362function hasMultipleRequiredParamSets(
LOWpackages/base-driver/lib/helpers/levenshtein-match.ts21export function rankLevenshteinCandidates(
LOWpackages/base-driver/lib/helpers/levenshtein-match.ts57export function sortByLevenshteinDistance(target: string, candidates: readonly string[]): string[] {
LOWpackages/support/test/unit/logger/helpers.ts36export function assertOutputDoesntContain(writers: ReturnType<typeof setupWriters>, output: string) {
LOWpackages/support/lib/env.ts40 async function findAppiumDependencyPackage(
LOWpackages/appium/test/e2e/e2e-helpers.ts132export async function readAppiumArgErrorFixture(name: string): Promise<string> {
LOWpackages/appium/test/e2e/e2e-helpers.ts138export function formatAppiumArgErrorOutput(stderr: string): string {
LOWpackages/appium/lib/inspector-commands.ts105function methodMapToRestCommandsInfo (mm: MethodMap<any>): Record<string, RestMethodsToCommandsMap> {
LOWpackages/appium/lib/inspector-commands.ts122function executeMethodMapToCommandsInfo(emm: ExecuteMethodMap<any>): RestMethodsToCommandsMap {
LOWpackages/appium/lib/bootstrap/main-helpers.ts54export function determineAppiumHomeSource(appiumHomeFromArgs?: string | null): string {
LOWpackages/appium/lib/bootstrap/main-helpers.ts217function logDefaultCapabilitiesWarning(caps: ParsedArgs<CliCommandServer>['defaultCapabilities']): void {
LOWpackages/appium/lib/cli/extension-command.ts1238async function getRemoteExtensionVersionReq(
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippet
HIGHpackages/appium/lib/extension/extension-config.ts269 print(_activeNames?: ExtName<ExtType>[]): void {
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippet
LOWpackages/base-driver/lib/protocol/protocol.ts161 * @param requestParams - Express route parameters (e.g. sessionId, element id)
LOWpackages/images-plugin/lib/types.ts21 imageMatchMethod: string;
LOWpackages/images-plugin/lib/types.ts41 // This setting allows users to scale a template image they send to Appium server
LOWpackages/appium/lib/appium.ts681 this.log.debug(
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOW.github/workflows/build.yml72 # Check if package.json has test:e2e script and it's not a no-op