AI Slop Code Risk Monitor

juspay/hyperswitch

SlopCodeMonitor badge for juspay/hyperswitch Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for juspay/hyperswitch, a Rust project with 45,588 GitHub stars. SynthScan examined 1,914,751 lines of code across 12444 source files, recording 2533 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 1.6 (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.

1.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
45.6K
Stars
Rust
Language
1.9M
Lines of Code
12.4K
Files
2.5K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 3.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1405 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.9/100 · LOW

Are imports declared and package/API names verified? 944 finding(s).

Agent Over-Engineering Ratio 1.4/100 · LOW

Are wrappers, guards, and repeated structures necessary? 215 finding(s).

PR Review Velocity Impact 7.7/100 · LOW

Which changes need focused human review? 2533 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 15HIGH 5MEDIUM 197LOW 2316

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 2533 distinct pattern matches across 18 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.

Fake / Example Data929 hits · 964 pts
SeverityFileLineSnippetContext
LOWcrates/common_utils/src/payout_method_utils.rs73 #[schema(value_type = String, example = "John Doe")]COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs132 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs162 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs192 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs230 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs253 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs408 #[schema(value_type = String, example = "John Doe")]COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs426 #[schema(value_type = String, example = "John Doe")]COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs458 #[schema(value_type = String, example = "John Doe")]COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs471 #[schema(value_type = String, example = "John Doe")]COMMENT
LOW…hyperswitch_domain_models/src/router_response_types.rs971 Some("Jane Doe".to_string()),CODE
LOWcrates/test_utils/tests/connectors/nuvei_ui.rs122 Event::Trigger(Trigger::ChangeQueryParam("sender_holder", "John Doe")),CODE
LOWcrates/test_utils/tests/connectors/nuvei_ui.rs136 Event::Trigger(Trigger::SendKeys(By::Id("ctl00_ctl00_mainContent_ServiceContent_txtCustomerName"), "John DoeCODE
LOWcrates/diesel_models/src/payment_attempt.rs4882 "card_holder_name": "John Doe"CODE
LOWcrates/openapi/src/routes/merchant_account.rs76 "primary_contact_person": "John Doe",CODE
LOWcrates/openapi/src/routes/merchant_account.rs87 "key_1": "John Doe",CODE
LOWcrates/openapi/src/routes/merchant_account.rs208 "primary_contact_person": "John Doe",CODE
LOWcrates/openapi/src/routes/payment_method.rs19 "card_holder_name": "John Doe"CODE
LOWcrates/openapi/src/routes/payments.rs208 "name": "John Doe",CODE
LOWcrates/openapi/src/routes/customers.rs13 "name": "John Doe"CODE
LOWcrates/openapi/src/routes/customers.rs58 "name": "John Doe"CODE
LOWcrates/openapi/src/routes/customers.rs130 "name": "John Doe"CODE
LOWcrates/openapi/src/routes/customers.rs165 "name": "John Doe"CODE
LOWcrates/openapi/src/routes/customers.rs294 "name": "John Doe"CODE
LOWcrates/openapi/src/routes/customers.rs328 "name": "John Doe"CODE
LOWcrates/api_models/src/payment_methods.rs929 #[schema(value_type = String,example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs933 #[schema(value_type = Option<String>,example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1004 #[schema(value_type = String,example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1008 #[schema(value_type = Option<String>,example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1080 #[schema(value_type = Option<String>,example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1084 #[schema(value_type = String,example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1109 #[schema(value_type = String,example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1113 #[schema(value_type = Option<String>,example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1160 #[schema(value_type = String,example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1164 #[schema(value_type = Option<String>,example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1218 #[schema(value_type = String, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1222 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1284 #[schema(value_type = String,example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1288 #[schema(value_type = Option<String>,example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs1897 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs2221 #[schema(value_type=Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs4729 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs4733 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payment_methods.rs64 "card_holder_name": "John Doe"}))]CODE
LOWcrates/api_models/src/payment_methods.rs563 "card_holder_name": "John Doe"}))]CODE
LOWcrates/api_models/src/payouts.rs401 #[schema(value_type = String, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payouts.rs463 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payouts.rs490 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payouts.rs518 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payouts.rs561 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payouts.rs596 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payouts.rs621 #[schema(value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payouts.rs710 #[schema(value_type = String, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payouts.rs720 #[schema(value_type = String, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payouts.rs812 #[schema(value_type = String, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payouts.rs835 #[schema(value_type = String, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payments.rs153 #[schema(max_length = 255, value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payments.rs209 #[schema(max_length = 255, value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payments.rs239 #[schema(max_length = 255, value_type = Option<String>, example = "John Doe")]COMMENT
LOWcrates/api_models/src/payments.rs3223 #[schema(value_type = String, example = "John Doe")]COMMENT
869 more matches not shown…
Over-Commented Block1150 hits · 916 pts
SeverityFileLineSnippetContext
LOWcrates/storage_impl/src/platform_wrapper.rs1/// Platform wrapper for database operationsCOMMENT
LOWcrates/storage_impl/src/merchant_connector_account.rs21/// Every list query in this module is a row-subset of one of two supersets — all accountsCOMMENT
LOWcrates/storage_impl/src/utils.rs21// Replay-only fail-loud: a faithless replay (mis-routed / missing schema) mustCOMMENT
LOWcrates/storage_impl/src/redis/cache.rs41/// Largest percentage of a redis TTL that jitter may add on top: `10` -> up to 10% more.COMMENT
LOWcrates/storage_impl/src/redis/cache.rs61/// `time_to_idle`, since these caches are keyed per merchant and profile and an entry unreadCOMMENT
LOWcrates/storage_impl/src/redis/cache.rs141COMMENT
LOWcrates/storage_impl/src/redis/cache.rs481 } else {COMMENT
LOWcrates/storage_impl/src/redis/cache.rs821 /// The redis lifetime that lets redis, rather than the database, absorb a miss from thisCOMMENT
LOWcrates/common_utils/src/tokenization.rs1//! Module for tokenization-related functionalityCOMMENT
LOWcrates/common_utils/src/consts.rs141/// www.example.comCOMMENT
LOWcrates/common_utils/src/types.rs1021 // TODO: Remove this function in future once description in router data is updated to domain typeCOMMENT
LOWcrates/common_utils/src/types.rs1301 /// Card subtype on this rail (issuer product name).COMMENT
LOWcrates/common_utils/src/types.rs1321/// Co-badged card networks for a card BIN, stored as a JSONB array of [`SecondaryNetwork`] objectsCOMMENT
LOWcrates/common_utils/src/types.rs1341 /// The name of the regulated interchange capCOMMENT
LOWcrates/common_utils/src/types.rs1361/// The `cost` column of `cards_info` — a JSON array of interchange caps.COMMENT
LOWcrates/common_utils/src/types.rs1381#[derive(Clone, Debug, Default, PartialEq, Eq, serde::Serialize, serde::Deserialize)]COMMENT
LOWcrates/common_utils/src/lib.rs121 ///COMMENT
LOWcrates/common_utils/src/lib.rs341 feature = "deja",COMMENT
LOWcrates/common_utils/src/lib.rs401 .collect()COMMENT
LOWcrates/common_utils/src/lib.rs521/// The current process id.COMMENT
LOWcrates/common_utils/src/lib.rs541/// Ambient state, like [`process_id`]: it differs between a recording host and aCOMMENT
LOWcrates/common_utils/src/new_type.rs21)]COMMENT
LOWcrates/common_utils/src/new_type.rs41/// - Otherwise, keeps `unmasked_char_count` characters unmasked only at the end.COMMENT
LOWcrates/common_utils/src/synth_shape.rs1//! Deterministic, panic-free stand-ins for a generator's output on a replay miss.COMMENT
LOWcrates/common_utils/src/errors.rs21 #[error("Failed to parse enum: {0}")]COMMENT
LOWcrates/common_utils/src/errors.rs41 /// Failed to parse Float value for converting to decimal pointsCOMMENT
LOWcrates/common_utils/src/errors.rs61 IntegerOverflow,COMMENT
LOWcrates/common_utils/src/errors.rs101 EncodingFailed,COMMENT
LOWcrates/common_utils/src/errors.rs121COMMENT
LOWcrates/common_utils/src/ucs_types.rs1use crate::id_type;COMMENT
LOWcrates/common_utils/src/ucs_types.rs41/// Represents a resource ID for the Unified Connector Service (UCS).COMMENT
LOWcrates/common_utils/src/macros.rs441/// # Use CaseCOMMENT
LOWcrates/common_utils/src/macros.rs461/// 4. **Tag Delimiter:** The macro invocation must specify a `tag_delimiter` literal,COMMENT
LOWcrates/common_utils/src/macros.rs481///COMMENT
LOWcrates/common_utils/src/macros.rs501/// tag_delimiter = ":",COMMENT
LOWcrates/common_utils/src/macros.rs521/// assert_eq!(invalid_format, Setting::Invalid); // Malformed input yields InvalidCOMMENT
LOWcrates/common_utils/src/payout_method_utils.rs61 /// Extended bin of card, contains the first 8 digits of card numberCOMMENT
LOWcrates/common_utils/src/payout_method_utils.rs101}COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs161 /// Account holder nameCOMMENT
LOWcrates/common_utils/src/payout_method_utils.rs241COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs261/// Masked payout method details for PayShap proxy bank transfer payout methodCOMMENT
LOWcrates/common_utils/src/payout_method_utils.rs301 /// The bank account typeCOMMENT
LOWcrates/common_utils/src/payout_method_utils.rs321 /// The account number, identifying the end-user's account in the bank.COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs341 /// Additional data for paypal wallet payout methodCOMMENT
LOWcrates/common_utils/src/payout_method_utils.rs361#[serde(tag = "field_type", rename_all = "snake_case")]COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs381 },COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs421 /// Card expiry yearCOMMENT
LOWcrates/common_utils/src/payout_method_utils.rs441COMMENT
LOWcrates/common_utils/src/payout_method_utils.rs461 #[schema(value_type = String, example = "DE89370400440532013000")]COMMENT
LOWcrates/common_utils/src/link_utils.rs141COMMENT
LOWcrates/common_utils/src/crypto.rs61COMMENT
LOWcrates/common_utils/src/crypto.rs981 Ok(())COMMENT
LOWcrates/common_utils/src/crypto.rs1141 }COMMENT
LOWcrates/common_utils/src/custom_serde.rs1//! Custom serialization/deserialization implementations.COMMENT
LOWcrates/common_utils/src/types/list.rs1//! List-query pagination and sorting types.COMMENT
LOWcrates/common_utils/src/types/authentication.rs21 /// MerchantLevel: Authentication at the merchant levelCOMMENT
LOWcrates/common_utils/src/id_type/global_id/customer.rs1use crate::errors;COMMENT
LOWcrates/hyperswitch_domain_models/src/payments.rs1001 /// Denotes the last instance which updated the paymentCOMMENT
LOWcrates/hyperswitch_domain_models/src/payments.rs1021 /// The billing address for the order in a denormalized form.COMMENT
LOW…s/hyperswitch_domain_models/src/connector_endpoints.rs221/// struct ConnectorParamsWithKeysCOMMENT
1090 more matches not shown…
Decorative Section Separators178 hits · 507 pts
SeverityFileLineSnippetContext
MEDIUM…ch_connectors/src/connector_relay/fiservcommercehub.rs72// ── Status Mapping ────────────────────────────────────────────────────────────COMMENT
MEDIUM…ch_connectors/src/connector_relay/fiservcommercehub.rs104// ── Request Structs ───────────────────────────────────────────────────────────COMMENT
MEDIUM…ch_connectors/src/connector_relay/fiservcommercehub.rs183// ── Response Structs ──────────────────────────────────────────────────────────COMMENT
MEDIUM…ch_connectors/src/connector_relay/fiservcommercehub.rs274// ── Helper Methods ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/api_models/src/unreferenced_refund.rs9// ─── Request ────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/api_models/src/unreferenced_refund.rs70// ─── Response ────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs22// ─── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs110// ─── Consumer Group Validation ────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs140// ─── Key Commands ─────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs542// ─── Get / Multiple Keys ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs761// ─── Serialization ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs874// ─── TTL ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs931// ─── Hash Commands ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs1176// ─── MSETNX ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs1268// ─── Stream Commands ──────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs1586// ─── Consumer Group Commands ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs1850// ─── List Commands ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs1885// ─── Lua Scripts ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs1960// ─── SCAN ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs1999// ─── Pub/Sub ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs2071// ─── on_error / max_failure_threshold_seconds ─────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs2162// ─── Cluster-mode tests ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs2373// ─── Authenticated connections (Redis ACL / AUTH) ─────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/test.rs2522// ─── TLS connections (`rediss://`) ────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/types.rs15// ─── RedisValue — wrapper whose inner type depends on the active backend ─────COMMENT
MEDIUMcrates/redis_interface/src/types.rs27// ─── Shared configuration types ─────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/types.rs254// ─── RedisEntryId ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/types.rs285// ─── Reply type enums ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/types.rs383// ─── Stream types ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/types.rs405// ─── Stream trim types ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/types.rs482// ─── RedisKey ────────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/types.rs509// ─── Tests (backend-neutral only) ────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs.rs21// ─── Cluster abstraction ────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs.rs63// ─── Subscriber client with auto-resubscribe ────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs.rs328// ─── Publisher client ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs.rs352// ─── Connection pool ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs.rs611// ─── RedisSettings helpers (redis-rs backend only) ────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/fred.rs26// ─── RedisClient (publisher) ────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/fred.rs67// ─── SubscriberClient ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/fred.rs170// ─── Connection pool ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/fred.rs435// ─── RedisConfig ─────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs/types.rs8// ─── RedisValue impls ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs/types.rs133// ─── RedisEntryId ────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs/types.rs144// ─── Reply type trait impls ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs/types.rs247// ─── Redis-rs-specific helpers ───────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs/types.rs302// ─── Backend-specific tests ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs/commands.rs47 // ─── Key Commands ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs/commands.rs764 // ─── Hash Commands ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs/commands.rs1171 // ─── Set Commands ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs/commands.rs1231 // ─── Stream Commands ─────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs/commands.rs1480 // ─── List Commands ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs/commands.rs1676 // ─── Lua Scripting ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/redis_rs/commands.rs1709 // ─── Transactions ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/fred/types.rs12// ─── RedisValue impls ────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/fred/types.rs65// ─── RedisEntryId → XID ──────────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/fred/types.rs99// ─── Reply type trait impls ──────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/fred/types.rs180// ─── StreamCapKind / StreamCapTrim conversions ───────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/fred/types.rs200// ─── StreamTrimConfig → XCap ─────────────────────────────────────────────────COMMENT
MEDIUMcrates/redis_interface/src/module/fred/types.rs210// ─── RedisScanType → fred ScanType ──────────────────────────────────────────COMMENT
MEDIUMcrates/external_services/src/superposition.rs44// ── Deja record/replay boundary for Superposition READS ──────────────────────COMMENT
118 more matches not shown…
TODO Padding124 hits · 188 pts
SeverityFileLineSnippetContext
LOWcrates/hyperswitch_connectors/src/connectors/noon.rs247 //TODO: implement sessions flowCOMMENT
LOW…ates/hyperswitch_connectors/src/connectors/breadpay.rs183 //TODO: implement sessions flowCOMMENT
LOW…yperswitch_connectors/src/connectors/worldpayvantiv.rs194 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/thunes.rs161 //TODO: implement functions when support enabledCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/thunes.rs165 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/paysafe.rs314 //TODO: implement sessions flowCOMMENT
LOW…ates/hyperswitch_connectors/src/connectors/coinbase.rs171 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/xendit.rs192 //TODO: implement sessions flowCOMMENT
LOW…s/hyperswitch_connectors/src/connectors/worldpayxml.rs233 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/boku.rs185 //TODO: implement sessions flowCOMMENT
LOW…tes/hyperswitch_connectors/src/connectors/truelayer.rs225 //TODO: implement sessions flowCOMMENT
LOW…ates/hyperswitch_connectors/src/connectors/paystack.rs163 //TODO: implement functions when support enabledCOMMENT
LOW…ates/hyperswitch_connectors/src/connectors/paystack.rs167 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/inespay.rs172 //TODO: implement functions when support enabledCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/inespay.rs176 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/dwolla.rs174 //TODO: implement functions when support enabledCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/dwolla.rs178 //TODO: implement sessions flowCOMMENT
LOW…ates/hyperswitch_connectors/src/connectors/authipay.rs224 //TODO: implement sessions flowCOMMENT
LOW…tes/hyperswitch_connectors/src/connectors/chargebee.rs373 //TODO: implement functions when support enabledCOMMENT
LOW…tes/hyperswitch_connectors/src/connectors/chargebee.rs691 // TODO: implement functions when support enabledCOMMENT
LOW…witch_connectors/src/connectors/juspaythreedsserver.rs215 //TODO: implement functions when support enabledCOMMENT
LOW…witch_connectors/src/connectors/juspaythreedsserver.rs221 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/finix.rs372 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/dlocal.rs191 //TODO: implement sessions flowCOMMENT
LOW…tes/hyperswitch_connectors/src/connectors/datatrans.rs195 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/affirm.rs188 //TODO: implement sessions flowCOMMENT
LOW…s/hyperswitch_connectors/src/connectors/barclaycard.rs343 //TODO: implement functions when support enabledCOMMENT
LOW…s/hyperswitch_connectors/src/connectors/barclaycard.rs347 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/tesouro.rs186 //TODO: implement sessions flowCOMMENT
LOW…ates/hyperswitch_connectors/src/connectors/novalnet.rs251 //TODO: implement sessions flowCOMMENT
LOW…onnectors/src/connectors/cybersourcedecisionmanager.rs392 //TODO: implement sessions flowCOMMENT
LOW…hyperswitch_connectors/src/connectors/peachpayments.rs188 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/hyperpg.rs168 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/gigadat.rs206 //TODO: implement sessions flowCOMMENT
LOW…hyperswitch_connectors/src/connectors/custombilling.rs153 //TODO: implement functions when support enabledCOMMENT
LOW…hyperswitch_connectors/src/connectors/custombilling.rs157 //TODO: implement sessions flowCOMMENT
LOW…es/hyperswitch_connectors/src/connectors/silverflow.rs283 //TODO: implement sessions flowCOMMENT
LOW…es/hyperswitch_connectors/src/connectors/cashtocode.rs196 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/stax.rs348 //TODO: implement sessions flowCOMMENT
LOW…es/hyperswitch_connectors/src/connectors/prophetpay.rs159 //TODO: implement functions when support enabledCOMMENT
LOW…es/hyperswitch_connectors/src/connectors/prophetpay.rs163 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/bambora.rs179 //TODO: implement sessions flowCOMMENT
LOW…erswitch_connectors/src/connectors/wellsfargopayout.rs163 //TODO: implement functions when support enabledCOMMENT
LOW…erswitch_connectors/src/connectors/wellsfargopayout.rs167 //TODO: implement sessions flowCOMMENT
LOW…tch_connectors/src/connectors/globalpayments_realex.rs187 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/ilixium.rs178 //TODO: implement sessions flowCOMMENT
LOW…ates/hyperswitch_connectors/src/connectors/coingate.rs169 //TODO: implement sessions flowCOMMENT
LOW…ates/hyperswitch_connectors/src/connectors/jpmorgan.rs201 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/payu.rs526 //TODO: implement sessions flowCOMMENT
LOW…ctors/src/connectors/unified_authentication_service.rs166 //TODO: implement functions when support enabledCOMMENT
LOW…ctors/src/connectors/unified_authentication_service.rs172 //TODO: implement sessions flowCOMMENT
LOW…yperswitch_connectors/src/connectors/dummyconnector.rs192 //TODO: implement sessions flowCOMMENT
LOW…ates/hyperswitch_connectors/src/connectors/katapult.rs176 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/paytm.rs168 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/sift.rs176 //TODO: implement sessions flowCOMMENT
LOW…/hyperswitch_connectors/src/connectors/multisafepay.rs251 //TODO: implement sessions flowCOMMENT
LOWcrates/hyperswitch_connectors/src/connectors/tokenex.rs177 //TODO: implement sessions flowCOMMENT
LOW…ates/hyperswitch_connectors/src/connectors/razorpay.rs212 //TODO: implement functions when support enabledCOMMENT
LOW…ates/hyperswitch_connectors/src/connectors/razorpay.rs216 //TODO: implement sessions flowCOMMENT
LOW…/hyperswitch_connectors/src/connectors/deutschebank.rs188 //TODO: implement sessions flowCOMMENT
64 more matches not shown…
Hallucination Indicators15 hits · 150 pts
SeverityFileLineSnippetContext
CRITICAL…switch_connectors/src/connectors/adyen/transformers.rs3297 if let Some(auth_data) = value.0.router_data.request.authentication_data.as_ref() {CODE
CRITICAL…nectors/unified_authentication_service/transformers.rs1033 let message_category = item.router_data.request.transaction_details.message_category.clone().map(|category| matcCODE
CRITICAL…ch_connectors/src/connectors/santander/transformers.rs726 value.0.router_data.request.feature_metadata.clone(),CODE
CRITICALcrates/router/src/types/domain/types.rs17 global_tenant_id: app_state.conf.multitenancy.global_tenant.tenant_id.clone(),CODE
CRITICALcrates/router/src/types/domain/types.rs42 global_tenant_id: state.conf.multitenancy.global_tenant.tenant_id.clone(),CODE
CRITICALcrates/router/src/core/payments/vault_session.rs271 modular_service_prefix: state.conf.micro_services.payment_methods_prefix.0.clone(),CODE
CRITICALcrates/router/src/core/payments/flows/session_flow.rs254 let mut url = state.conf.connectors.applepay.base_url.to_owned();CODE
CRITICALcrates/router/src/core/payment_methods/transformers.rs1425 modular_service_prefix: state.conf.micro_services.payment_methods_prefix.0.clone(),CODE
CRITICALcrates/router/src/core/payment_methods/transformers.rs2075 modular_service_prefix: state.conf.micro_services.payment_methods_prefix.0.clone(),CODE
CRITICALcrates/router/src/core/payment_methods/transformers.rs2245 modular_service_prefix: state.conf.micro_services.payment_methods_prefix.0.clone(),CODE
CRITICALcrates/router/src/core/payment_methods/transformers.rs2294 modular_service_prefix: state.conf.micro_services.payment_methods_prefix.0.clone(),CODE
CRITICALcrates/router/src/core/payment_methods/transformers.rs2452 modular_service_prefix: state.conf.micro_services.payment_methods_prefix.0.clone(),CODE
CRITICALcypress-tests/cypress/support/commands.js4869 ).to.exist.and.to.be.a("string");CODE
CRITICALpostman/collection-json/tunnel.postman_collection.json1376 " pm.expect(jsonData.refunds).to.be.an('array').and.to.have.lengthOf.at.least(1);",CODE
CRITICAL…llection-dir/tunnel/Refund/Create-Refund/event.test.js32 pm.expect(jsonData.refunds).to.be.an('array').and.to.have.lengthOf.at.least(1);CODE
Structural Annotation Overuse31 hits · 58 pts
SeverityFileLineSnippetContext
LOWadd_connector.md1032### Step 1: Configure Your ConnectorCOMMENT
LOWadd_connector.md1051### Step 2: Build WebAssembly ComponentsCOMMENT
LOWadd_connector.md1068### Step 3: Verify IntegrationCOMMENT
LOW⚡crates/hyperswitch_domain_models/src/router_data.rs1422 // Step 1: Determine attempt_status using existing logicCOMMENT
LOW⚡crates/hyperswitch_domain_models/src/router_data.rs1431 // Step 2: Check if amount was capturedCOMMENT
LOWcrates/hyperswitch_domain_models/src/router_data.rs1443 // Step 3: Map to intent status based on both attempt_status and amount_capturedCOMMENT
LOW⚡crates/hyperswitch_domain_models/src/router_data.rs1880 // Step 1: Determine attempt_status using existing logicCOMMENT
LOW⚡crates/hyperswitch_domain_models/src/router_data.rs1890 // Step 2: Check if amount was capturedCOMMENT
LOW⚡crates/hyperswitch_domain_models/src/router_data.rs1900 // Step 3: Map to intent status based on both attempt_status and amount_capturedCOMMENT
LOW⚡crates/api_models/src/revenue_recovery_data_backfill.rs300 // Step 1: Open the fileCOMMENT
LOW⚡crates/api_models/src/revenue_recovery_data_backfill.rs306 // Step 2: Parse CSV into typed recordsCOMMENT
LOWcrates/payment_methods/src/core/migration.rs152 // Step 1: Validate form-level conflictsCOMMENT
LOW⚡crates/payment_methods/src/core/migration.rs171 // Step 2: Parse CSVCOMMENT
LOW⚡crates/payment_methods/src/core/migration.rs178 // Step 3: Validate CSV vs Form conflictsCOMMENT
LOW⚡crates/payment_methods/src/core/migration.rs185 // Step 4: Prepare the merchant connector account IDs for returnCOMMENT
LOWcrates/payment_methods/src/core/migration.rs199 // Step 5: Return the updated structureCOMMENT
LOWcrates/injector/src/injector.rs658 // Step 1: process the templateCOMMENT
LOW⚡crates/injector/src/injector.rs670 // Step 2: determine content-type from headersCOMMENT
LOW⚡crates/injector/src/injector.rs678 // Step 3: send via the strategyCOMMENT
LOW…s/hyperswitch_interfaces/src/micro_service/executor.rs59 // Step 1: Build path and URL.COMMENT
LOW…s/hyperswitch_interfaces/src/micro_service/executor.rs85 // Step 2: Build headers and inject trace/request/tenant context.COMMENT
LOW⚡…s/hyperswitch_interfaces/src/micro_service/executor.rs117 // Step 3: Attach body (if any).COMMENT
LOW⚡…s/hyperswitch_interfaces/src/micro_service/executor.rs122 // Step 4: Execute request and decode response.COMMENT
LOW…/merchant_connector_webhook_management/transformers.rs292 // Step 1: Remove stored entries for scopes that failed or are being replaced.COMMENT
LOW…/merchant_connector_webhook_management/transformers.rs309 // Step 2: Persist the new webhook IDs for fully-successful scopes.COMMENT
LOWcrates/router/src/services/authentication.rs955 // Step 1: Admin API Key and API Key Fallback (if allowed)COMMENT
LOWcrates/router/src/services/authentication.rs973 // Step 2: Try Platform AuthCOMMENT
LOWcrates/router/src/services/authentication.rs1195 // Step 1: Admin API Key and API Key Fallback (if allowed)COMMENT
LOWcrates/router/src/services/authentication.rs1211 // Step 2: Platform authenticationCOMMENT
LOW⚡cypress-tests/cypress/support/redirectionHandler.js469 // Step 1: Select Bitcoin from the currency dropdownCOMMENT
LOW⚡cypress-tests/cypress/support/redirectionHandler.js476 // Step 2: Wait briefly for any network selection modal to appear,COMMENT
Verbosity Indicators29 hits · 56 pts
SeverityFileLineSnippetContext
LOWcrates/hyperswitch_domain_models/src/type_encryption.rs1676 // Index 4 would be ':', but we need to check if this is foundCOMMENT
LOW⚡crates/hyperswitch_domain_models/src/router_data.rs1422 // Step 1: Determine attempt_status using existing logicCOMMENT
LOW⚡crates/hyperswitch_domain_models/src/router_data.rs1431 // Step 2: Check if amount was capturedCOMMENT
LOWcrates/hyperswitch_domain_models/src/router_data.rs1443 // Step 3: Map to intent status based on both attempt_status and amount_capturedCOMMENT
LOW⚡crates/hyperswitch_domain_models/src/router_data.rs1880 // Step 1: Determine attempt_status using existing logicCOMMENT
LOW⚡crates/hyperswitch_domain_models/src/router_data.rs1890 // Step 2: Check if amount was capturedCOMMENT
LOW⚡crates/hyperswitch_domain_models/src/router_data.rs1900 // Step 3: Map to intent status based on both attempt_status and amount_capturedCOMMENT
LOW⚡crates/api_models/src/revenue_recovery_data_backfill.rs300 // Step 1: Open the fileCOMMENT
LOW⚡crates/api_models/src/revenue_recovery_data_backfill.rs306 // Step 2: Parse CSV into typed recordsCOMMENT
LOWcrates/payment_methods/src/core/migration.rs152 // Step 1: Validate form-level conflictsCOMMENT
LOW⚡crates/payment_methods/src/core/migration.rs171 // Step 2: Parse CSVCOMMENT
LOW⚡crates/payment_methods/src/core/migration.rs178 // Step 3: Validate CSV vs Form conflictsCOMMENT
LOW⚡crates/payment_methods/src/core/migration.rs185 // Step 4: Prepare the merchant connector account IDs for returnCOMMENT
LOWcrates/payment_methods/src/core/migration.rs199 // Step 5: Return the updated structureCOMMENT
LOWcrates/injector/src/injector.rs658 // Step 1: process the templateCOMMENT
LOW⚡crates/injector/src/injector.rs670 // Step 2: determine content-type from headersCOMMENT
LOW⚡crates/injector/src/injector.rs678 // Step 3: send via the strategyCOMMENT
LOW…s/hyperswitch_interfaces/src/micro_service/executor.rs59 // Step 1: Build path and URL.COMMENT
LOW…s/hyperswitch_interfaces/src/micro_service/executor.rs85 // Step 2: Build headers and inject trace/request/tenant context.COMMENT
LOW⚡…s/hyperswitch_interfaces/src/micro_service/executor.rs117 // Step 3: Attach body (if any).COMMENT
LOW⚡…s/hyperswitch_interfaces/src/micro_service/executor.rs122 // Step 4: Execute request and decode response.COMMENT
LOW…/merchant_connector_webhook_management/transformers.rs292 // Step 1: Remove stored entries for scopes that failed or are being replaced.COMMENT
LOW…/merchant_connector_webhook_management/transformers.rs309 // Step 2: Persist the new webhook IDs for fully-successful scopes.COMMENT
LOWcrates/router/src/services/authentication.rs955 // Step 1: Admin API Key and API Key Fallback (if allowed)COMMENT
LOWcrates/router/src/services/authentication.rs973 // Step 2: Try Platform AuthCOMMENT
LOWcrates/router/src/services/authentication.rs1195 // Step 1: Admin API Key and API Key Fallback (if allowed)COMMENT
LOWcrates/router/src/services/authentication.rs1211 // Step 2: Platform authenticationCOMMENT
LOW⚡cypress-tests/cypress/support/redirectionHandler.js469 // Step 1: Select Bitcoin from the currency dropdownCOMMENT
LOW⚡cypress-tests/cypress/support/redirectionHandler.js476 // Step 2: Wait briefly for any network selection modal to appear,COMMENT
AI Slop Vocabulary13 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUM…connectors/src/connectors/netcetera/netcetera_types.rs345/// Enum indicating whether the 3DS Requestor requests the ACS to utilize Decoupled Authentication.COMMENT
MEDIUM…connectors/src/connectors/netcetera/netcetera_types.rs1522 /// characters and it shall have a canonical format as defined in IETF RFC 4122. This may utilize any of the specifiCOMMENT
MEDIUM…connectors/src/connectors/netcetera/netcetera_types.rs1553 /// limited to 36 characters and it shall be in a canonical format as defined in IETF RFC 4122. This may utilize anyCOMMENT
MEDIUM…connectors/src/connectors/netcetera/netcetera_types.rs1574 /// canonical format as defined in IETF RFC 4122. This may utilize any of the specifiedCOMMENT
MEDIUMcrates/smithy/src/lib.rs1142 // Use more robust parsing that handles all serde attributesCOMMENT
MEDIUMcrates/smithy/src/lib.rs1236 // Use more robust parsing that handles all serde attributesCOMMENT
MEDIUMcrates/test_utils/src/newman_runner.rs314 // This will be replaced by a more robust and efficient account creation or reuse existing old accountCOMMENT
MEDIUMcrates/api_models/src/payments.rs2338 /// The transaction authentication can be set to undergo payer authentication. By default, the authentication will bCOMMENT
MEDIUMcrates/api_models/src/payments.rs7911 /// The transaction authentication can be set to undergo payer authentication. By default, the authentication will bCOMMENT
MEDIUMcrates/hyperswitch_interfaces/src/api/gateway.rs7//! The gateway abstraction allows seamless switching between execution paths withoutCOMMENT
MEDIUMcypress-tests/cypress/support/redirectionHandler.js5509 // For embedded flows using an iframe - use robust detection:COMMENT
MEDIUMcypress-tests/mitm-proxy/mitm_replay.py57 # (robust against legacy filenames without the seq suffix).COMMENT
MEDIUMloadtest/k6/helper/k6-summary.js425 // TODO: something more robust?COMMENT
Hyper-Verbose Identifiers31 hits · 32 pts
SeverityFileLineSnippetContext
LOW…ore/payment_link/payment_link_initiate/payment_link.js457function handleFormReadyForSubmission() {CODE
LOW…ore/payment_link/payment_link_initiate/payment_link.js740function renderDynamicMerchantDetails(paymentDetails) {CODE
LOW…ore/payment_link/payment_link_initiate/payment_link.js883function createHyperSwitchBrandingSVGElement(wrapperId) {CODE
LOWcrates/router/src/services/api.rs1600 function submitCollectionReference(collectionReference) {{CODE
LOWcypress-tests/cypress/utils/featureFlags.js15function getConnectorCredentialIndex(connectorType) {CODE
LOWcypress-tests/cypress/support/mitmProxy.js173function replayJsConnectorRedirect(CODE
LOWcypress-tests/cypress/support/redirectionHandler.js43export function handleSimulatorRedirectFlow(nextActionUrl) {CODE
LOWcypress-tests/cypress/support/redirectionHandler.js257function normalizeConnectorForRedirect(connectorId) {CODE
LOWcypress-tests/cypress/support/redirectionHandler.js934function affirmPayLaterRedirection(CODE
LOWcypress-tests/cypress/support/redirectionHandler.js4937function paymentLinkCardRedirection(CODE
LOWcypress-tests/cypress/support/redirectionHandler.js5118function payoutLinkInitRedirection(redirectionUrl) {CODE
LOWcypress-tests/cypress/support/redirectionHandler.js5291function payoutLinkCardRedirection(CODE
LOWcypress-tests/cypress/support/commands.js73function skipRedirectionInMockServer(commandName) {CODE
LOWcypress-tests/cypress/support/commands.js87function getConnectorIdForRedirect(globalState) {CODE
LOWcypress-tests/cypress/support/commands.js138function getExpectedMerchantConnectorId(CODE
LOWcypress-tests/cypress/support/commands.js174function expectWebhookStatusMembers(actualWebhook, expectedWebhook) {CODE
LOWcypress-tests/cypress/support/commands.js187function createIndividualRolloutConfig(CODE
LOWcypress-tests/cypress/support/commands.js558function sanitizeValidationServiceUrl(url) {CODE
LOWcypress-tests/cypress/support/commands.js758function cleanupProcessedRequestIds(CODE
LOWcypress-tests/cypress/support/commands.js9799 function processResultsSequentially(CODE
LOW…ss/e2e/spec/Payment/54-IntegrationTypeValidation.cy.js34function merchantIntegrationTypeContext() {CODE
LOW…ress-tests/cypress/e2e/spec/Payment/45-BankDebit.cy.js17function skipIfLocalVaultUnavailable(testContext, testName, data) {CODE
LOW…UnifiedConnectorService/0002-ElavonPgHostedFlows.cy.js33function syncRefundThroughConnector(data) {CODE
LOWcypress-tests/cypress/e2e/configs/Payment/Utils.js380function shouldProceedWithOperation(multipleConnector, multipleConnectors) {CODE
LOWcypress-tests/cypress/e2e/configs/Payment/Utils.js430export function createMerchantConnectorAccount(CODE
LOWcypress-tests/cypress/e2e/configs/Payment/Utils.js454export function createBusinessProfilesAndMerchantConnectorAccounts(CODE
LOWcypress-tests/cypress/e2e/configs/Payment/Commons.js6021export function integrationTypeMismatchMessage(header, merchantConfig) {CODE
LOW⚡cypress-tests/mitm-proxy/redirect_proxy.py47def _extract_redirect_segment(path: str) -> str | None:CODE
LOWcypress-tests/dashboard/dashboard.js999function setupFailedTestsCollapsible() {CODE
LOWloadtest/k6/helper/k6-summary.js158function toFixedNoTrailingZerosTrunc(val, prec) {CODE
LOWloadtest/k6/helper/k6-summary.js220function nonTrendMetricValueForSum(metric, timeUnit) {CODE
Self-Referential Comments6 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUM.typos.toml132 "CHANGELOG.md", # This file contains all the commitsCODE
MEDIUMscripts/notify_scarf.sh4# Define the URL and parametersCOMMENT
MEDIUMscripts/prestart_hook.sh12# Define the URL and parametersCOMMENT
MEDIUM…ithub/api-migration-compatibility/migration-rules.yaml2# This file defines SQL patterns that are considered breaking changes or warningsCOMMENT
MEDIUM.github/workflows/release-stable-version.yml129 # Create a lightweight tag to point to the checked out CalVer tagCOMMENT
MEDIUM.github/workflows/cypress-tests-runner.yml1079 # Create an isolated venv for mitmproxy so we don't touch theCOMMENT
Redundant / Tautological Comments13 hits · 16 pts
SeverityFileLineSnippetContext
LOWconfig/config.example.toml235use_xray_generator = false # Set this to true for AWS X-ray compatible tracesCODE
LOWconfig/docker_compose.toml27use_xray_generator = false # Set this to true for AWS X-ray compatible tracesCODE
LOWconfig/deployments/env_specific.toml204use_xray_generator = false # Set this to true for AWS X-ray compatible tracesCODE
LOWscripts/seed_superposition.sh125# Check if seed file existsCOMMENT
LOW⚡scripts/hyperswitch-explore.sh648 # Check if migrations already appliedCOMMENT
LOW⚡scripts/hyperswitch-explore.sh742# Check if a port is in useCOMMENT
LOWscripts/hyperswitch-explore.sh670 # Check if already migratedCOMMENT
LOWscripts/create_default_user.sh17# Check if user needs to be createdCOMMENT
LOWscripts/migration_runner_entrypoint.sh5# Check if DATABASE_URL is provided, otherwise construct it from individual componentsCOMMENT
LOWscripts/poststart_hook.sh44# Check if the response contains an errorCOMMENT
LOWscripts/prestart_hook.sh6# Check if ONE_CLICK_SETUP is set to true; if so, skip executionCOMMENT
LOW.github/workflows/release-nightly-version-reusable.yml92 # Check if any tags exist on the current branch which contain the current UTC dateCOMMENT
LOW.github/scripts/validate_migrations.sh15# Check if migration directory existsCOMMENT
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHcypress-tests/mitm-proxy/mitm_capture.py115except json.JSONDecodeError:CODE
HIGHcypress-tests/mitm-proxy/mitm_capture.py129except OSError:CODE
HIGHcypress-tests/mitm-proxy/redirect_proxy.py189except Exception:CODE
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHadd_connector.md892 You can see an example of this here: [`billwerk.rs`](https://github.com/juspay/hyperswitch/blob/2309c5311cb9a01ef371f3CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHcypress-tests/cypress/e2e/configs/Payment/Authipay.js962 TRIGGER_SKIP: true, // Skip as requested by userCODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWcypress-tests/mitm-proxy/start_record.sh4# Usage:COMMENT
LOWcypress-tests/mitm-proxy/start_replay.sh4# Usage:COMMENT
LOWscripts/hyperswitch-explore.sh6# Usage:COMMENT
Excessive Try-Catch Wrapping3 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡cypress-tests/mitm-proxy/redirect_proxy.py66 except Exception:CODE
LOWcypress-tests/mitm-proxy/redirect_proxy.py189 except Exception:CODE
LOWcypress-tests/mitm-proxy/redirect_proxy.py202 except Exception as exc:CODE
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/events/src/lib.rs67#[must_use = "make sure to call `emit` or `try_emit` to actually emit the event"]COMMENT
LOWscripts/add_connector.sh5 # Comment below line to stop undoing changes when the script is triggered, make sure you undo this change before pusCOMMENT
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcypress-tests/mitm-proxy/mitm_capture.py142CODE