{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"PaypalRecurringApi.build_create_profile_request (cyclomatic 30): PaypalRecurringApi.build_create_profile_request has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"43315392bdaeac87f6e427d83edff2255a2d32625bf8d186739934d8b739bb51"}},{"ruleId":"D1","level":"warning","message":{"text":"PaypalExpressGateway.build_setup_request (cyclomatic 30): PaypalExpressGateway.build_setup_request has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal_express.rb"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af587aedea7c95f3d5ce6912d5538f5b9c13b40385d4dbbf4a7ca97f5feb408"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkpointGateway.parameters (cyclomatic 28): LinkpointGateway.parameters has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/linkpoint.rb"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d61076e06a15b55607718425d587a62c52d350fd7732573230feafd7b3402d"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthorizeNetGateway.parse_normal (cyclomatic 24): AuthorizeNetGateway.parse_normal has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net.rb"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db6a889f8741f4b39c076aaf0fa3f9de4fa28f2d3f2eb88f0b8c177f0d4276e"}},{"ruleId":"D1","level":"warning","message":{"text":"ElavonGateway.add_level_3_fields (cyclomatic 24): ElavonGateway.add_level_3_fields has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/elavon.rb"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1fcf77e55f8d5eb925d108580a37f64ce21ec81cf73be96ccf6d9d39888740"}},{"ruleId":"D1","level":"warning","message":{"text":"PsigateGateway.parameters (cyclomatic 24): PsigateGateway.parameters has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/psigate.rb"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"01acf873fb7825cc490f95c7afa81a713cc67e3432e462a9be2b28a6e784bfb2"}},{"ruleId":"D1","level":"warning","message":{"text":"TransFirstTransactionExpressGateway.add_contact (cyclomatic 24): TransFirstTransactionExpressGateway.add_contact has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/trans_first_transaction_express.rb"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7801ce8c74deef716117012d9f166ea447b76764075287940d2a00eb434867"}},{"ruleId":"D1","level":"warning","message":{"text":"OrbitalGateway.add_ecp_details (cyclomatic 23): OrbitalGateway.add_ecp_details has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/orbital.rb"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"2713c6dcb6018c39acc3197a76c131c75acd731d3030abb375a6b7ac08e02b30"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeGateway.add_creditcard (cyclomatic 23): StripeGateway.add_creditcard has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe.rb"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"149c127061270c428185bc98e0f308a546e86a658087be687c675d1f8b719191"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckoutV2Gateway.add_payment_sender_data (cyclomatic 22): CheckoutV2Gateway.add_payment_sender_data has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd69256333889c00d882e906b9dd7c719af12aa6433008ba693cd8c462bc311"}},{"ruleId":"D1","level":"warning","message":{"text":"PayflowGateway.build_recurring_request (cyclomatic 22): PayflowGateway.build_recurring_request has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"731a6bde7ab6fa76b98cae2bf3cf645e278c3e58197702f2c601db9b0f0edbe8"}},{"ruleId":"D1","level":"warning","message":{"text":"RedsysGateway.build_merchant_data (cyclomatic 22): RedsysGateway.build_merchant_data has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"966a4f3d1b00c447533f9cbe393815c0a13d6ace48e95582a85fbf0fe2c6f0fa"}},{"ruleId":"D1","level":"warning","message":{"text":"VantivExpressGateway.add_line_items (cyclomatic 22): VantivExpressGateway.add_line_items has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e6383ab337c24e6585834cd38ce47cea479cbe8ca8673aa22dad352c99ad8c"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckoutV2Gateway.add_payment_method (cyclomatic 21): CheckoutV2Gateway.add_payment_method has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"627a62ee419f674d555aabf337a666cf0e8a53bc15962574818fb7fb55900ca3"}},{"ruleId":"D1","level":"warning","message":{"text":"CredoraxGateway.add_sender (cyclomatic 21): CredoraxGateway.add_sender has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc868c6a769137fd1e171ca2f7addeb0518c680dcab1938d948dc8388d5fea4"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobalCollectGateway.add_flight_legs (cyclomatic 21): GlobalCollectGateway.add_flight_legs has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/global_collect.rb"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f723de855a4ee70d5b23e97f7decf33fe68dd50d6a44b9b3c51b6ced5279209a"}},{"ruleId":"D1","level":"warning","message":{"text":"VantivExpressGateway.add_address (cyclomatic 21): VantivExpressGateway.add_address has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3546277f25cdf71b1101723ac206b5c06fd2a0f91e922203f48f5a213e5dc774"}},{"ruleId":"D1","level":"warning","message":{"text":"VantivExpressGateway.add_level_3_data (cyclomatic 21): VantivExpressGateway.add_level_3_data has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de81912f7e23aa4eca13d179acff9c30017369bcf70ffc8d63a8d8b84222539"}},{"ruleId":"D1","level":"warning","message":{"text":"WepayGateway.add_product_data (cyclomatic 21): WepayGateway.add_product_data has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/wepay.rb"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f812f1ef9aaf14327314893a6abc2954cb9da02d3889bad5986059d4d27060"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckoutV2Gateway.add_payout_destination_data (cyclomatic 20): CheckoutV2Gateway.add_payout_destination_data has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc69cc9f3586e117a126d10e68cea658bc138eca49453e0733c097e93ac77ee"}},{"ruleId":"D1","level":"warning","message":{"text":"NuveiGateway.add_user_details (cyclomatic 20): NuveiGateway.add_user_details has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nuvei.rb"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dcb87cc6d4ee9eb4387d2ea2da987c80c957cab31b2a08105eda3540ef4e16"}},{"ruleId":"D1","level":"warning","message":{"text":"PayflowGateway.build_credit_card_request (cyclomatic 20): PayflowGateway.build_credit_card_request has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5a1d7f94adf1088c21f2d92474f834eb593780d5e0db62423ea908ce9984f7"}},{"ruleId":"D1","level":"warning","message":{"text":"StripePaymentIntentsGateway.add_aft_recipient_details (cyclomatic 20): StripePaymentIntentsGateway.add_aft_recipient_details has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe_payment_intents.rb"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"495f0fe5356320ad6315fc6bb3a92c19cb68b32e64703b9b40ae41adfd71c5f5"}},{"ruleId":"D1","level":"warning","message":{"text":"StripePaymentIntentsGateway.add_aft_sender_details (cyclomatic 20): StripePaymentIntentsGateway.add_aft_sender_details has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe_payment_intents.rb"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a720296e43bc17b2480a06fdb58caebaf8aa9cc2863ade25ae5c23002fc1ce6"}},{"ruleId":"D1","level":"warning","message":{"text":"CyberSourceGateway.add_merchant_descriptor (cyclomatic 19): CyberSourceGateway.add_merchant_descriptor has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"420c6de53ce295ab54d5be4a7858f4af802416b4180444b7ca65d04b1082c1b9"}},{"ruleId":"D1","level":"warning","message":{"text":"MundipaggGateway.add_submerchant (cyclomatic 19): MundipaggGateway.add_submerchant has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mundipagg.rb"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceab5be37a268431356fa266d37a299b7d3a96c3c2c657e7696f4d9ff5bee3f"}},{"ruleId":"D1","level":"warning","message":{"text":"PayTraceGateway.add_line_items (cyclomatic 19): PayTraceGateway.add_line_items has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_trace.rb"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bced60247df9bc67646ee7810eadadc82055fa3bcc20a878b59dee1ec72452"}},{"ruleId":"D1","level":"warning","message":{"text":"CredoraxGateway.add_recipient (cyclomatic 18): CredoraxGateway.add_recipient has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b880acf9b2b5ed958be38782524c47343a817a885e4f9fab9577c0b66f4575"}},{"ruleId":"D1","level":"warning","message":{"text":"DecidirGateway.add_aggregate_data (cyclomatic 18): DecidirGateway.add_aggregate_data has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9655fb783d501a6153d40fc8fe0229f201a84831a3b80546d7cdf036ffbef4"}},{"ruleId":"D1","level":"warning","message":{"text":"DecidirPlusGateway.add_aggregate_data (cyclomatic 18): DecidirPlusGateway.add_aggregate_data has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir_plus.rb"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc8db5b08ec061d97250f6ee8f37ad02d5ccc428ebafdf8af42d31872a6a428"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementGateway.add_address (cyclomatic 18): ElementGateway.add_address has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da547418e0b4d642fdc32e0b07042ee5a68f9b48c0b364311e9e75f20a13b6d"}},{"ruleId":"D1","level":"warning","message":{"text":"VantivExpressGateway.add_transaction (cyclomatic 18): VantivExpressGateway.add_transaction has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daa8c6a0dbd6fd4a67bc6272d81c24722a00919104a75126a7ae24531f5019c"}},{"ruleId":"D1","level":"warning","message":{"text":"WorldpayGateway.add_aft_data (cyclomatic 18): WorldpayGateway.add_aft_data has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay.rb"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabe57ed14e82b559611f381909c45ac6444e4f4e48cdb636323491de48806c8"}},{"ruleId":"D1","level":"warning","message":{"text":"WorldpayOnlinePaymentsGateway.create_post_for_auth_or_purchase (cyclomatic 18): WorldpayOnlinePaymentsGateway.create_post_for_auth_or_purchase has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay_online_payments.rb"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c30aced87f9e05b619f2ae2b2a19ab5c83d301cf3c798d0ffbd78e19ce1f37c"}},{"ruleId":"D1","level":"warning","message":{"text":"WorldpayOnlinePaymentsGateway.commit (cyclomatic 18): WorldpayOnlinePaymentsGateway.commit has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay_online_payments.rb"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0822e36b9245a475533777a006f32b22bcd6abe3b846a36dbb6ff231abe3d1"}},{"ruleId":"D1","level":"warning","message":{"text":"AdyenGateway.add_extra_data (cyclomatic 17): AdyenGateway.add_extra_data has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"27118b0e51c01c48d80648a8258b2211ce136ebb4b8d7f4420380c541e6a779a"}},{"ruleId":"D1","level":"warning","message":{"text":"CredoraxGateway.add_3d_secure (cyclomatic 17): CredoraxGateway.add_3d_secure has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8f58f8220f5639a60d63cef3ccf05241ac57be097679dcc22ee76a831a2658"}},{"ruleId":"D1","level":"warning","message":{"text":"CyberSourceGateway.add_normalized_threeds_2_data (cyclomatic 17): CyberSourceGateway.add_normalized_threeds_2_data has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eb8fae00e263f466ab14dfc603dc5a41680305223973516fdab77f1caaf3a2"}},{"ruleId":"D1","level":"warning","message":{"text":"PayflowGateway.build_reference_sale_or_authorization_request (cyclomatic 17): PayflowGateway.build_reference_sale_or_authorization_request has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d321ae70967911d9cbd77f9ded0daf98b95fbe5167338c96ade9405debf8f894"}},{"ruleId":"D1","level":"warning","message":{"text":"PaypalRecurringApi.build_change_profile_request (cyclomatic 17): PaypalRecurringApi.build_change_profile_request has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"784f961e9f4b50087aa6315064247663a7f9873b36552be142005454a3bf0af5"}},{"ruleId":"D1","level":"warning","message":{"text":"TrustCommerceGateway.add_addresses (cyclomatic 17): TrustCommerceGateway.add_addresses has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/trust_commerce.rb"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d2bd472d1d86907657bb155ef3b9dab8d6b36ee57af64a195f1edcb3b8b071"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckoutV2Gateway.add_recipient_data (cyclomatic 16): CheckoutV2Gateway.add_recipient_data has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81137a923fb844178361270f9f3a2092463efb1ef97b3ad2c691590f66bb4e4"}},{"ruleId":"D1","level":"warning","message":{"text":"CyberSourceGateway.add_address (cyclomatic 16): CyberSourceGateway.add_address has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99b24da27d614c83006a5f788edc408bed3173c9c813dd37d7fdd21b496b722"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementGateway.add_transaction (cyclomatic 16): ElementGateway.add_transaction has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de8bdbfb63ffc88e0e961987bc1f65f0cc75a5c264202d919f2d6e944acfb76"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementGateway.add_lodging (cyclomatic 16): ElementGateway.add_lodging has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a039c2c8e61cb2b1c2c864735749ffa311585ecb9b7cb85ad536e503f79e0f"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobalCollectGateway.add_lodging_data (cyclomatic 16): GlobalCollectGateway.add_lodging_data has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/global_collect.rb"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"639ede4908a3608f8cfca1ebe6e44aa4625f19918044440f50b3fa3af4b0da3c"}},{"ruleId":"D1","level":"warning","message":{"text":"LitleGateway.add_line_item_information_for_level_three_visa (cyclomatic 16): LitleGateway.add_line_item_information_for_level_three_visa has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/litle.rb"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f316b377f6d752d4c1be6dbf0bcd3c92d67c509abcc992b084c8aaddf84ef247"}},{"ruleId":"D1","level":"warning","message":{"text":"MoneiGateway.add_customer (cyclomatic 16): MoneiGateway.add_customer has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/monei.rb"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c2145f47fe664ffc26105c587d37e47f6ff70023609ddece57af2d4b05c561"}},{"ruleId":"D1","level":"warning","message":{"text":"PayflowExpressGateway.add_pay_data (cyclomatic 16): PayflowExpressGateway.add_pay_data has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow_express.rb"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"900dbbcd8a2990be858771aa9dff3cefe5be98a2a076dd72891ca304c460ee81"}},{"ruleId":"D1","level":"warning","message":{"text":"PriorityGateway.add_additional_data (cyclomatic 16): PriorityGateway.add_additional_data has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/priority.rb"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a50e57f3608efcd740b3378bff22f70d1ad7e9e0a9b4a7e0cd7d1bd97684ea"}},{"ruleId":"D1","level":"warning","message":{"text":"VantivExpressGateway.add_lodging (cyclomatic 16): VantivExpressGateway.add_lodging has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67fd9cdf276e40d766892a83daeb4f053ec2f92ae93742a998248f27c8a792e"}},{"ruleId":"D2","level":"warning","message":{"text":"VantivExpressGateway.add_address (cognitive 52): VantivExpressGateway.add_address has cognitive complexity 52 (threshold 15). Drivers by points: if/else 18 (50 pts), boolean chains 2 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3202fb7a4205740cc2e12123195bd8e9edc854b5c7f1f64b48187a0a5008fa1c"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeGateway.add_creditcard (cognitive 50): StripeGateway.add_creditcard has cognitive complexity 50 (threshold 15). Drivers by points: if/else 20 (44 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe.rb"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d504c7b749d97797fe1c9f455621de406d0309f6d616af453382cb7a809a16"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkpointGateway.parameters (cognitive 46): LinkpointGateway.parameters has cognitive complexity 46 (threshold 15). Drivers by points: if/else 21 (37 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/linkpoint.rb"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"843e1b8d99300c71bedd9effb06a3cbb75958f8996c6aaf7de72c0139d311785"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutV2Gateway.add_payment_method (cognitive 44): CheckoutV2Gateway.add_payment_method has cognitive complexity 44 (threshold 15). Drivers by points: if/else 19 (41 pts), boolean chains 2, match/switch 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fda7701a130a03510ed2703ee33d094ae983149357b9865a666415263293b8"}},{"ruleId":"D2","level":"warning","message":{"text":"PsigateGateway.parameters (cognitive 40): PsigateGateway.parameters has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (35 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/psigate.rb"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec68d4e783e25d9d68024873e849c7595178946584a5699b35774eeeb2f7a9c"}},{"ruleId":"D2","level":"warning","message":{"text":"PayflowGateway.build_recurring_request (cognitive 39): PayflowGateway.build_recurring_request has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc9d8e5d9147b0589aedfe1658f77fe9e4f0eb84a5d5d1e96fe02201122dbc3"}},{"ruleId":"D2","level":"warning","message":{"text":"TransFirstTransactionExpressGateway.add_contact (cognitive 37): TransFirstTransactionExpressGateway.add_contact has cognitive complexity 37 (threshold 15). Drivers by points: if/else 22 (36 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/trans_first_transaction_express.rb"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc2dfb179b0315e68e03daa2cda530c5cb11cae8508de7d717c8a85b8a014f3"}},{"ruleId":"D2","level":"warning","message":{"text":"MundipaggGateway.add_submerchant (cognitive 35): MundipaggGateway.add_submerchant has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (35 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mundipagg.rb"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3306e132a27372964604383fe28d4c7195726c9ee98a02e5a4050d5745dc898"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthorizeNetGateway.parse_normal (cognitive 34): AuthorizeNetGateway.parse_normal has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 10 (20 pts), if/else 14 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net.rb"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba20ebecc11aba4ea87f4d3380573d9e1f2b78a64fb25780d1d916bc9fd32348"}},{"ruleId":"D2","level":"warning","message":{"text":"PaypalRecurringApi.build_create_profile_request (cognitive 32): PaypalRecurringApi.build_create_profile_request has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 15, if/else 11 (13 pts), ternaries 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"73901be0df3e8f206586631d640d666c5162fd305ed9d251dd16592b895e8d31"}},{"ruleId":"D2","level":"warning","message":{"text":"PaypalExpressGateway.build_setup_request (cognitive 32): PaypalExpressGateway.build_setup_request has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21 (22 pts), ternaries 5 (7 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal_express.rb"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0064d30e93b4989741e67677704959527338570181b1e60501a9daee48405ae"}},{"ruleId":"D2","level":"warning","message":{"text":"StripePaymentIntentsGateway.add_aft_recipient_details (cognitive 32): StripePaymentIntentsGateway.add_aft_recipient_details has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (32 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe_payment_intents.rb"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca428701c0d5ca6fa2aef4f68a52acc38e47eb248b75313906c873b9ef552f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementGateway.add_address (cognitive 31): ElementGateway.add_address has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (30 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00f7324a5575c6a73b47c770a6304e7a8388fd9776b895e7a0e4b17ad434d2c"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutV2Gateway.add_payment_sender_data (cognitive 30): CheckoutV2Gateway.add_payment_sender_data has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"102a9eb82c2a08e7404862f3215ff11475f54d90232ee035bd95b11224c5d304"}},{"ruleId":"D2","level":"warning","message":{"text":"RedsysGateway.build_merchant_data (cognitive 30): RedsysGateway.build_merchant_data has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 6 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"308dd3bd4820297b87ebce7eb401c3a4bbb6a35328a7783f5ad460106d5fe0fd"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementGateway.add_lodging (cognitive 29): ElementGateway.add_lodging has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (29 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7527bb9c5368422a55beb9eda751897d410ff6a51f73ad61e7c7757828819a05"}},{"ruleId":"D2","level":"warning","message":{"text":"TrustCommerceGateway.add_addresses (cognitive 29): TrustCommerceGateway.add_addresses has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/trust_commerce.rb"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede7cc6ba361b24e47851e9f940a85d9291e4a74980796d6d88b404c4f939f54"}},{"ruleId":"D2","level":"warning","message":{"text":"VantivExpressGateway.add_lodging (cognitive 29): VantivExpressGateway.add_lodging has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (29 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13267ea6504b5440679e9944a5756aae2e88f76ee73d726e03e7dd2e51d090c"}},{"ruleId":"D2","level":"warning","message":{"text":"PaypalCommonAPI.legacy_parse (cognitive 28): PaypalCommonAPI.legacy_parse has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d1ef09b6c950b65631ba5114a14bd1d7e33121e2205f076c551576ea40bef2"}},{"ruleId":"D2","level":"warning","message":{"text":"WorldpayOnlinePaymentsGateway.commit (cognitive 28): WorldpayOnlinePaymentsGateway.commit has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4, error handling 2 (3 pts), ternaries 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay_online_payments.rb"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e42ba71a3a18e73fbdfe497261c93128788507268177811025d737431b770fe"}},{"ruleId":"D2","level":"warning","message":{"text":"EwayManagedGateway.parse (cognitive 27): EwayManagedGateway.parse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (27 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/eway_managed.rb"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"255c2fc37ca578d73e655114a2061e098fe95f03f74ae81eab92c060d49b4315"}},{"ruleId":"D2","level":"warning","message":{"text":"StripePaymentIntentsGateway.add_aft_sender_details (cognitive 27): StripePaymentIntentsGateway.add_aft_sender_details has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18 (27 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe_payment_intents.rb"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0ba08b339cf4cc29edf7a27fb0e1aae982ce49fc5205c49525160ea734557c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConektaGateway.add_billing_address (cognitive 26): ConektaGateway.add_billing_address has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/conekta.rb"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e9aaba7740519c721075a792ffacfa660532c94256fa6a299073daeb8ee6db"}},{"ruleId":"D2","level":"warning","message":{"text":"MoneiGateway.add_customer (cognitive 26): MoneiGateway.add_customer has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/monei.rb"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"430a7d2ad5f306f8d367b085df57564296b9a4836ec2d815467deb3667949422"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutV2Gateway.add_payout_destination_data (cognitive 25): CheckoutV2Gateway.add_payout_destination_data has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"435e7d5a56f377b311f42c8fc65e252df9f5e94f34e375e57d47bf6e9f3611ed"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkpointGateway.build_items (cognitive 25): LinkpointGateway.build_items has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 3 (7 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/linkpoint.rb"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5762d087df3c654fb5d50a83cc005d1359b4b277c0d86b2fa470344a37d745f9"}},{"ruleId":"D2","level":"warning","message":{"text":"RedsysGateway.add_external_mpi_fields (cognitive 25): RedsysGateway.add_external_mpi_fields has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (25 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1d84aae8cdbb6300d991b3f9e2d5768bcdd207328c63fd8a55b53801e8aad5"}},{"ruleId":"D2","level":"warning","message":{"text":"ElavonGateway.add_level_3_fields (cognitive 23): ElavonGateway.add_level_3_fields has cognitive complexity 23 (threshold 15). Drivers by points: if/else 23. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/elavon.rb"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"92adfb859edbd3557a3b6b4681a847e604e11556bbba0e98271d44ec5b3e0837"}},{"ruleId":"D2","level":"warning","message":{"text":"KushkiGateway.add_amount_by_country (cognitive 23): KushkiGateway.add_amount_by_country has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (23 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/kushki.rb"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec46ecbecc7c311991916f0458d7cd6fccb1361d79e6145a1b3160007b1f2991"}},{"ruleId":"D2","level":"warning","message":{"text":"PayuLatamGateway.add_buyer (cognitive 22): PayuLatamGateway.add_buyer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payu_latam.rb"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7475cba4ee84f4438b2f3585eebf8736935727c61914829c839fc11add86fe7"}},{"ruleId":"D2","level":"warning","message":{"text":"SafeChargeGateway.add_customer_details (cognitive 22): SafeChargeGateway.add_customer_details has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/safe_charge.rb"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d192d3f531a53ec7e2c968da42ed1c44f77d642908e4ec7bcb3dc1161b642db"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutV2Gateway.add_recipient_data (cognitive 21): CheckoutV2Gateway.add_recipient_data has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b74c06566a4f6db4a0c3766aef4c9d84c39cd6d11363fa3b2a9f15f076fe3c7"}},{"ruleId":"D2","level":"warning","message":{"text":"LitleGateway.add_level_two_data (cognitive 21): LitleGateway.add_level_two_data has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/litle.rb"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"622f55e36de7ea6afc107725921ed1b5e634f1c05253fe685348a09624990738"}},{"ruleId":"D2","level":"warning","message":{"text":"VantivExpressGateway.add_line_items (cognitive 21): VantivExpressGateway.add_line_items has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81ba42c14c402cc5c6587bdec07bc7573e0e034f7483d07a8617d8a341023fd"}},{"ruleId":"D2","level":"warning","message":{"text":"CreditCard.validate_essential_attributes (cognitive 20): CreditCard.validate_essential_attributes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/credit_card.rb"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"289081fb65ae82e0aa1e439671b41933a9af76f762b6ab0fb7ddd986436edb6e"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthorizeNetGateway.parse_cim (cognitive 20): AuthorizeNetGateway.parse_cim has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 7, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net.rb"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79d53b0a818f5d7764482c3d6e27048de66101500a5ef0b3bb097a10c46ae58"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthorizeNetCimGateway.add_transaction (cognitive 20): AuthorizeNetCimGateway.add_transaction has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net_cim.rb"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"255ae4137dbb92a6c9d8467762af36818899d210cac3c9a4b0c41c26e32c4229"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutV2Gateway.add_3ds (cognitive 20): CheckoutV2Gateway.add_3ds has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1eeb55edfc50e6b8fdbc8bea717afeb144eb1cab5dd6ba2a0e4245ee4caaa5"}},{"ruleId":"D2","level":"warning","message":{"text":"CredoraxGateway.add_sender (cognitive 20): CredoraxGateway.add_sender has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, boolean chains 8, ternaries 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"52120311c3f91f34568b3fb1af07c220a289bae0d3dbccbc46c96e539566bd91"}},{"ruleId":"D2","level":"warning","message":{"text":"CredoraxGateway.add_3d_secure (cognitive 20): CredoraxGateway.add_3d_secure has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc5aff4df0f003d6660fdfc7fedc101fdd6f6d9a3b5f18acf8a190bd2c459a2"}},{"ruleId":"D2","level":"warning","message":{"text":"ForteGateway.add_billing_address (cognitive 20): ForteGateway.add_billing_address has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/forte.rb"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c3d34f56e37014b2a7f90028b68f373504995b77fcc4a138c4ea0a8ae753e1"}},{"ruleId":"D2","level":"warning","message":{"text":"LitleGateway.add_payment_method (cognitive 20): LitleGateway.add_payment_method has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/litle.rb"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0305459b39dbb11ce8211d8b1bdbe28022bcbb0aa5f2fcfd8390b8843349cfd6"}},{"ruleId":"D2","level":"warning","message":{"text":"MonerisGateway.add_payment_source (cognitive 20): MonerisGateway.add_payment_source has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/moneris.rb"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fefe36d2c51d6c267996cf5bfdab563c86e39f22c67be620e3d18b1293af7d"}},{"ruleId":"D2","level":"warning","message":{"text":"PinGateway.add_3ds (cognitive 20): PinGateway.add_3ds has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pin.rb"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe0265a5bbdd6a813812797aa0c3e23740a6dcb635c15d5452410b0bd5e1ed2"}},{"ruleId":"D2","level":"warning","message":{"text":"UsaEpayTransactionGateway.add_payment (cognitive 20): UsaEpayTransactionGateway.add_payment has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_transaction.rb"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8617430787f5964555176f2856a740960f82d2cebf192952a531f0db075a01"}},{"ruleId":"D2","level":"warning","message":{"text":"WepayGateway.add_product_data (cognitive 20): WepayGateway.add_product_data has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/wepay.rb"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8812964d9e675c5928fd99851babba47b47fc656f6643abcc6dc969a0dc5498"}},{"ruleId":"D2","level":"warning","message":{"text":"CredoraxGateway.add_recipient (cognitive 19): CredoraxGateway.add_recipient has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afd302b5fbb0651b1724625de0a30f3925cafd3815140ec5d2ed40e81245605"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobalCollectGateway.add_flight_legs (cognitive 19): GlobalCollectGateway.add_flight_legs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/global_collect.rb"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"553b5a8393f347a95f8751633a8d3de2284ead4c4ccc411ec10f98494eb5257e"}},{"ruleId":"D2","level":"warning","message":{"text":"IridiumGateway.parse_element (cognitive 19): IridiumGateway.parse_element has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/iridium.rb"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72797623b3335b44b8ff6c0abb5243bbe8bb673e471f86106a327331eb5fbb0"}},{"ruleId":"D2","level":"warning","message":{"text":"PayJunctionV2Gateway.add_address (cognitive 19): PayJunctionV2Gateway.add_address has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (19 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_junction_v2.rb"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e38aa77bc26e4a47eeb83942c11ad5a400bab3c7835abfdb093a91ae458ae2"}},{"ruleId":"D2","level":"warning","message":{"text":"PayflowGateway.build_credit_card_request (cognitive 19): PayflowGateway.build_credit_card_request has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fafd3128a710105cdcfddbf150ab4c3f5546d437545f1eeb47fc8dfe7aa212"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeGateway.add_source_owner (cognitive 19): StripeGateway.add_source_owner has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe.rb"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bb56d676703624c17e46fd05981e5ba3547f1e3bd8af980059a0855f3375fc"}},{"ruleId":"D2","level":"warning","message":{"text":"WorldpayGateway.add_aft_data (cognitive 19): WorldpayGateway.add_aft_data has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17 (19 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay.rb"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8b85d262fa60b8079bfcab6f8d35013e9d17ebe1dc47284093f25364a55585"}},{"ruleId":"D2","level":"warning","message":{"text":"AdyenGateway.add_3ds (cognitive 18): AdyenGateway.add_3ds has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90fa87994b10aeca9daa4ba5d32b90db1ff1010ae6d2bceb16850e8efd6a1ca"}},{"ruleId":"D2","level":"warning","message":{"text":"BraintreeBlueGateway.verify (cognitive 18): BraintreeBlueGateway.verify has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/braintree_blue.rb"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"236fc68bac655c6a5314a33f84fbcd179fb77f56d944056701b4bc712f683f6c"}},{"ruleId":"D2","level":"warning","message":{"text":"CyberSourceGateway.add_merchant_descriptor (cognitive 18): CyberSourceGateway.add_merchant_descriptor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0cd5850cdf1dc697b94e6e0ba574be278bcd4580125444575fa0c395202260"}},{"ruleId":"D2","level":"warning","message":{"text":"ElavonGateway.add_stored_credential (cognitive 18): ElavonGateway.add_stored_credential has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/elavon.rb"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a573274421bea4a157d0bf9b196ef8b894e836047b94723366d8cbcd6e27a8b"}},{"ruleId":"D2","level":"warning","message":{"text":"NuveiGateway.add_user_details (cognitive 18): NuveiGateway.add_user_details has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nuvei.rb"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"443ac198aa5121d953c84ce9c7eea66091dfc545131f0893c738d6933a03a4c0"}},{"ruleId":"D2","level":"warning","message":{"text":"PayTraceGateway.add_line_items (cognitive 18): PayTraceGateway.add_line_items has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_trace.rb"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"b158081dc76090291ad05f08dfc338f8ce61e18b9abf1dadc03afeac17c97bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"PayflowGateway.add_three_d_secure (cognitive 18): PayflowGateway.add_three_d_secure has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3a65c322e65b2f5bd8da4b46511febef73f981ee59c5437d0e677aa5cf292a"}},{"ruleId":"D2","level":"warning","message":{"text":"UsaEpayAdvancedGateway.parse (cognitive 18): UsaEpayAdvancedGateway.parse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_advanced.rb"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b481bc139c8f8d9265455f0bfa1c80fbb3ded9f487942d1a7ae9e315a862b6c"}},{"ruleId":"D2","level":"warning","message":{"text":"VantivExpressGateway.add_level_3_data (cognitive 18): VantivExpressGateway.add_level_3_data has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76112a8d91c4d9c561213a9316c3c612de9f11f608a2a729d37391231634796"}},{"ruleId":"D2","level":"warning","message":{"text":"WepayGateway.store (cognitive 18): WepayGateway.store has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/wepay.rb"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"debab2c1acae7b27b1a3a1853f1626bce3a47967b43eb2afe9008c2eb6166b0b"}},{"ruleId":"D2","level":"warning","message":{"text":"DecidirGateway.add_aggregate_data (cognitive 17): DecidirGateway.add_aggregate_data has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c88dc3de44f96740963e80448d814e9b15241ea9c4a4f0a149a83e071f3f8b8"}},{"ruleId":"D2","level":"warning","message":{"text":"DecidirPlusGateway.add_aggregate_data (cognitive 17): DecidirPlusGateway.add_aggregate_data has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir_plus.rb"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"040f9eb39fe855be7bbfabc5a96be995f664da580ba0d537095d8f7ebad75bac"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementGateway.add_transaction (cognitive 17): ElementGateway.add_transaction has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, ternaries 3 (5 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d958503e48d5a2d6e82e8932bce80eb73293fd8cb9cb50178825bf4b63940f"}},{"ruleId":"D2","level":"warning","message":{"text":"HpsGateway.add_card_or_token_customer_data (cognitive 17): HpsGateway.add_card_or_token_customer_data has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/hps.rb"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f057e7dac6f5d8806cd169c4ebb1b3c47a99fc216c98c2738d5f88610fca3ac"}},{"ruleId":"D2","level":"warning","message":{"text":"MundipaggGateway.add_billing_address (cognitive 17): MundipaggGateway.add_billing_address has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mundipagg.rb"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7409a43c92f51eb4f32b8fdc4baf89c2a9f94eb793aa5f3fffd1ba8dce1c31fe"}},{"ruleId":"D2","level":"warning","message":{"text":"OgoneGateway.add_d3d (cognitive 17): OgoneGateway.add_d3d has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ogone.rb"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"137a965a579c73c3908e2b35e5a9404cd7a7e5e5687f79b491fba7868aa09927"}},{"ruleId":"D2","level":"warning","message":{"text":"PaypalRecurringApi.build_change_profile_request (cognitive 17): PaypalRecurringApi.build_change_profile_request has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 4, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5167428881c65854399307a0091c5ecb9a4eed96321f63b006097b736c2f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"VantivExpressGateway.add_transaction (cognitive 17): VantivExpressGateway.add_transaction has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 6, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"86001046517a879977fe44dbf924395cea871f622f1d46592394727dae11781f"}},{"ruleId":"D2","level":"warning","message":{"text":"WorldpayOnlinePaymentsGateway.create_post_for_auth_or_purchase (cognitive 17): WorldpayOnlinePaymentsGateway.create_post_for_auth_or_purchase has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, ternaries 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay_online_payments.rb"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd22fe52b579cd03698ab51d7f017d7acb43adfdcce68f61756f0e00eda075b5"}},{"ruleId":"D2","level":"warning","message":{"text":"AdyenGateway.add_extra_data (cognitive 16): AdyenGateway.add_extra_data has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fe70ff5c6f10e07946cd8d031a05ef069a8a62a9cbf6b4e6d1ee594cdcaca7"}},{"ruleId":"D2","level":"warning","message":{"text":"CardConnectGateway.add_address (cognitive 16): CardConnectGateway.add_address has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/card_connect.rb"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32c12d1f06c7dd426a3003a799314428c6d5758aaf21f3f49d4f17d775cd0dc"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutV2Gateway.add_customer_data (cognitive 16): CheckoutV2Gateway.add_customer_data has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd6408e5c6b1b84a218b627e8f7594dbcc1c4e857e30c6bd5edcc85f4dfc977"}},{"ruleId":"D2","level":"warning","message":{"text":"ConektaGateway.add_address (cognitive 16): ConektaGateway.add_address has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/conekta.rb"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7623e688c615b4cea2f1bc292b23219ccec329d2c5d18c18edd72db4e858f75"}},{"ruleId":"D2","level":"warning","message":{"text":"CyberSourceGateway.add_normalized_threeds_2_data (cognitive 16): CyberSourceGateway.add_normalized_threeds_2_data has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b47d5be4c235a48fc063ad64f7fed57b4aaa5ed31933a5d2d7c9d5fa310dcc"}},{"ruleId":"D2","level":"warning","message":{"text":"HpsGateway.add_card_or_token_payment (cognitive 16): HpsGateway.add_card_or_token_payment has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/hps.rb"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55a4615ef81198fcb71978eda896163140e909c8e97d8ff7049325431b1021d"}},{"ruleId":"D2","level":"warning","message":{"text":"OrbitalGateway.add_ecp_details (cognitive 16): OrbitalGateway.add_ecp_details has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/orbital.rb"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a469ae23a9455875e120bfc606c5aa4ffadab2332f869d21156c8536d3cb3d"}},{"ruleId":"D2","level":"warning","message":{"text":"PayflowGateway.build_reference_sale_or_authorization_request (cognitive 16): PayflowGateway.build_reference_sale_or_authorization_request has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca61f2fed224934995c7177cfb5941d3a1e4e93785888aa7c93cf588ee9b8a1e"}},{"ruleId":"D2","level":"warning","message":{"text":"StripeGateway.store (cognitive 16): StripeGateway.store has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe.rb"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d1b355af7eb52697e4c4ef1041f66656b143a9429fde9bfee47ea4a6c489b8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CyberSourceGateway: TooManyMethods \u2014 116 methods. The bar is 30 methods; this is 86 over it, 3.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d69b788598648f94e239a93641e1aca048146d4c3aeb275d3829ceea2a7ce0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorldpayGateway: TooManyMethods \u2014 114 methods. The bar is 30 methods; this is 84 over it, 3.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40aa96567700260807371bd5464d8f81af2a4090bcf21600c3c6b3d3420db64"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OrbitalGateway: TooManyMethods \u2014 99 methods. The bar is 30 methods; this is 69 over it, 3.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/orbital.rb"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6588cfab9dcd822520e7197d61ffd2c2871bbd2cd91cb77a639ea3a6b034ef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UsaEpayAdvancedGateway: TooManyMethods \u2014 90 methods. The bar is 30 methods; this is 60 over it, 3.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_advanced.rb"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdc5a02b9861ed6c75aa1bec8ed2ff77461c4f7a65182c4a44d3f899019d99d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AdyenGateway: TooManyMethods \u2014 83 methods. The bar is 30 methods; this is 53 over it, 2.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd51de8439e65945ee13d389858086933e9ce2fb8ecc42ca33ff0c778b17272d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AuthorizeNetGateway: TooManyMethods \u2014 79 methods. The bar is 30 methods; this is 49 over it, 2.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6a67becbd38685ee9215c3c0a5a10da9950baa19b37e91b7bd5def13627e00"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StripePaymentIntentsGateway: TooManyMethods \u2014 77 methods. The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe_payment_intents.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9673acf3d4dbbc97e605bd48cb03e07ab8bad01b9bc1b8617d18d7abcecce44"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BraintreeBlueGateway: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/braintree_blue.rb"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d4f6ea5ea23234420165fab9ff84a247e600cbf5590ee01f9533eb8293dd2d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StripeGateway: TooManyMethods \u2014 75 methods. The bar is 30 methods; this is 45 over it, 2.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65fd4dbd9b714e752bd01dea885504242e35b58fc4dc1ffa66e96bdda1c19dc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CheckoutV2Gateway: TooManyMethods \u2014 69 methods. The bar is 30 methods; this is 39 over it, 2.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e93fcbc5a5c0d93fa2aa2ccd94d7efbf2e81a46093f4d9652933577df3e9b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/cyber_source.rb: FileTooLong \u2014 1139 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 639 over it, 2.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b283e865c298209935dcfd4f76047efc435aff2a2a56b45d955a3a2097e8163a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/worldpay.rb: FileTooLong \u2014 1008 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 508 over it, 2.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b05a6cd723c1925e87042f197963fa200ac1439a2644fbe1c027c6ab3d0d8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/authorize_net.rb: FileTooLong \u2014 974 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 474 over it, 1.95\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df0bfe306a5bab5bc760f7ff37e8f090b7244334e2c92f18caa564b8a73d3ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AuthorizeNetCimGateway: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net_cim.rb"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b14c7081f25b5c63ec60dfe75c0c0eadfb48137fdcf76dc17555c1991a1b5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/orbital.rb: FileTooLong \u2014 924 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 424 over it, 1.85\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/orbital.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61469b0b400233af5c87a6a9464ab6be2332f209e9ebcbebbb055c3abfeabade"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BlueSnapGateway: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_snap.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d69c603792c4723b32d58586a5e0c306b6f254a7ddf1a3c6c5ff47f1e89ef61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/braintree_blue.rb: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 377 over it, 1.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/braintree_blue.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d50db58f3abd226492ac441e86312063e366f917cef9cac6d45db7a10b71a6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PayeezyGateway: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payeezy.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d97421e40664d81431e79cfa7276f69947214cd18c6e1e5f93fe6bea9ae7c04"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaypalCommonAPI: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"90752df75c7f0dfe7d768ec36097b8958cecaa751c3063fd3f3b24014c233d9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/adyen.rb: FileTooLong \u2014 866 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 366 over it, 1.73\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d85c7a495097f9963a2a52fa9ccb8fa5403af97efcb54aaa297882ab312b0e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CyberSourceRestGateway: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source_rest.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2af5b769ccaf922ff9e141bb9c6100591fc72489ef98f6524a114f524a006a3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NuveiGateway: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nuvei.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a72d80dd5bb4247484f8b4b027a81376f637006f7abe71e566a323d8f147da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/usa_epay_advanced.rb: FileTooLong \u2014 834 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 334 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_advanced.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd06efdb5e5832dbbc27c5115ed5a1ffd64ba882f34f671415bb34df4e34981"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FirstdataE4V27Gateway: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4_v27.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aebb74346c9e9bb1d3fe59eb508d8425a4b09888b03fd16f721d20c289083f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GlobalCollectGateway: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/global_collect.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccee63624855c5e0e72032b424232c37dcc90d24c18d3e27edcf0292b47765b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LitleGateway: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/litle.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8630a8e3b2e627a2edaecbf379703fa9812b34a0ef02c12ea825d42c0104335f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RapydGateway: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/rapyd.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc07553dd895cd939853150716e4a09275284803c417b4cdb48b811bd82e7f99"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SagePayGateway: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/sage_pay.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd6d1f9ee9648d17ab90da8835da4443cd537feb76fdd9c1ae47c0fac7d5659"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ElavonGateway: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/elavon.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6cced60922c7b837d866e15b79ceecac0ddc815956beadddb6139634215655"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedsysGateway: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca98e1541aef866aaa0cb643b8d5945ec50305af95543f3c26fd65e2f3a686ff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CredoraxGateway: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ad38beb1575edb885ff6ba22b2867df87c4c3773b6b6683353ab8dec7a8add"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FirstdataE4Gateway: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e556799fdcd5daa9ee8e8e6e7fcac468903ec5f8c3829a8707ed43d7e13a0b7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaysafeGateway: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paysafe.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b3d24e03ccc569927e3f1d88df7878ca6281526259873697317a1084f76b56"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PriorityGateway: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/priority.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51e1b69677e2801b2a221ad24248c2daef90e54d7adbfb8d4d916bb30f9ec6f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransFirstTransactionExpressGateway: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/trans_first_transaction_express.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"084cc316ef6ffdc6d5247fcc0f3ce395ac0da084d64e7fd861b58733706d7949"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/stripe_payment_intents.rb: FileTooLong \u2014 711 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 211 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe_payment_intents.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"026e8b529971eabc0aec78104c280a5e52937e6a94a5d92b16f2e5a17eea5002"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IpgGateway: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ipg.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8894e1cbd27c990995f373c370c8cf02fe5efed06b4c73e15f90ed68d633280"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/stripe.rb: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 194 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cfaf80aa526d93006ae062c87c8174607af041abaf55946e2ad06a7e389ae3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AirwallexGateway: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/airwallex.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1dd41646be4e9a2396beae084450bffadee10133f2a35d1b73f53762d0da53"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BeanstreamCore: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2aee156cb30078a6d93f074ae3ff4a82932f4644c19c2011676135be52f1a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/checkout_v2.rb: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 168 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f2f4d6242b714c06a7922a3f1ac71e354ccb96c17b5447f74f52d1c73ea47e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommerceHubGateway: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/commerce_hub.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"659a6675c37beb60e8da1b171356145b17a376f2ec7746515a3c231278a0dadf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EbanxGateway: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ebanx.rb"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b07d7b0ad15518231520954de9910a588bb78ecbb09553f67435c4c1da0919b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MonerisGateway: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/moneris.rb"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7697ec3cc9b155d185306f2d971476ddfb64789c5282ae32920fa05e659b6e1c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QuickbooksGateway: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/quickbooks.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cc655abd8bb7e40f88502c7b84f1c95b3eee6bf5f68970420e781c933b14e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VantivExpressGateway: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c77362bd749fe1ba10bd3964fd55a8b31faa1934ae0c31bb8c755db3870247"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NmiGateway: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nmi.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3efa7ade0ca4f33b7dc315da53963febdc5d8bfa0b9256ee9e01fd56185ce89"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OgoneGateway: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ogone.rb"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd23564bee068e92653cd7b6b73446e1ee984edde671d18f26153b98e53058e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PayTraceGateway: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_trace.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95337c5355e212c57cdcab4002c2a37da7c19e296e3797f118b9e26c7abe1f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QuickpayV10Gateway: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/quickpay/quickpay_v10.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"08033f1cc17b8a42b042bede79c8a1edda86ca4c7ced6124a606bb8d8164cddd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CenposGateway: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cenpos.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"74887006b9e3fcfb1340d37a54671108a066f59934f1efd7954e94413618a297"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HpsGateway: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/hps.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"314d22ba9ad73a20c2d7bff8e77bd52723f269ed3a3c13084c82064f3abbaa69"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Latitude19Gateway: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/latitude19.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2851e9699813c441cd1404e5b5f22fc87d06930cdd9d9482414a8d5542e438"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PayflowGateway: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bc7d550d06fe594efe4aae43739432bcf192247c25c4d32bc666853992f54d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RealexGateway: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/realex.rb"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"552df4927560e042c73e10ebcd89fc52ab944df1fa4199da652b7ab87a0f547f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ElementGateway: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a081ceef014c6bcc8a318ad7233f3043d21364083747a925465a7f05ad3b48"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MoneiGateway: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/monei.rb"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc252d569420db3fd3f90b32717dff16df8d65cae5ece90f508789a58a9ac46"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PinGateway: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pin.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7b38dc5c40aa004ea388d5f0a2bed7bf6ddb2fcdf701244a0674fe1fcbd908"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlexoGateway: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/plexo.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d5b26095cc515119540fce326eebeb6ad7de0c8332af7461c29eb67c4dbfec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedsysRestGateway: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys_rest.rb"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5780b1ef2031833c72fba0d6bc0f34f79200bc712f444dad95ff38d3bd2d1962"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DecidirPlusGateway: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir_plus.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e648abb9334f328d662cb3a833ddfbd2fa81d110d2de224d52d074ff6e11f78"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlexChargeGateway: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/flex_charge.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e24d9cccb041e1d7a150c2dc2d4fef74968d8a095343ef8914880404556b10a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JetpayV2Gateway: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay_v2.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"483933119d47de91277aa25b5d97ffb4c17cdd757c7581a76606dc95789e03a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MundipaggGateway: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mundipagg.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e035a57e7a9d0ac888124d441c988de98421d86a40dada468da45629cd4ad61"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaymentezGateway: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paymentez.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cc96e11a56aa1421fd6ce9b775ce528d7b9afdf688e93c11d4bf67b81facc4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BarclaycardSmartpayGateway: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/barclaycard_smartpay.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c27ba6ea21546402629e82ce25123b0d0cf78232b6f966c7ce2a22c48425ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FortisGateway: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/fortis.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c362a62ce1475f1ca8bbf5617fef6520bc0048e58df0836857aa4e40f9618895"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IatsPaymentsGateway: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/iats_payments.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab17dad555a1629e3cc3c55b0d00547fb83173e684763581d1acc2c6249cae2b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IveriGateway: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/iveri.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7121f1e35fa8498083107787b774d0de0a812a6942b7619943f319a83160479"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Shift4Gateway: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/shift4.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5581d68c55397858f74208febe0313698e2e9b07fcf378a90b4f44dbae59f8ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BluePayGateway: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_pay.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec2d954661f322761143240949421f065201922c5204cd2c78c34d870eecb1e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CardConnectGateway: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/card_connect.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"777397dd37969f55ebd74fa963a3469536ce3a14480f0d3c586f89bdc5b0edbb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OptimalPaymentGateway: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/optimal_payment.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6010e65744e07d9aa4fe6162cbe2ce13d41ff1deff734b238e98e21f82373698"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SimetrikGateway: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/simetrik.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7446cddc110e1c9f04734ce2e6a515b3df5e6c018c7833d04f73f09d8c6e072f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/vantiv_express.rb: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 47 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2defc2a6c934bf6c7d7d5be902fa32418afbbe813d39c12a5f8476039349e4f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/authorize_net_cim.rb: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 43 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net_cim.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf37f2bdbd963acdb589440ece1328930d01c031210309c9525a576c1e5f4d7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/litle.rb: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/litle.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0633d9fb70cb265d7ea1a6368d812844529ec881494487b68eb4fa8e06a63e05"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CardknoxGateway: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cardknox.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1aea1c220eea5efe1ee49e7c7f1fd00a7e4f48315cb4217a4fb1df8883b6b5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CecabankJsonGateway: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cecabank/cecabank_json.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8e82556afc0eefac029bcd3446610e045c4006d26afa1e6753cdcaab7a7d2e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ForteGateway: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/forte.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5430407f8c2e435148f40f4dc2183e4b1f1ebee2028e1d9b2396d3ed3220e8ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MokaGateway: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/moka.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b66e263de3c0841bc17cb61a644017074cc63953adbe3a1e85f171a2ec57b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NetbanxGateway: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/netbanx.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bed384d6bfd61301d44f3178a95a93ff7660641cdf5bde69db477068df3e978"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PayConexGateway: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_conex.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7b5b6fb13407d3fbb4ed8825ef85916c21fb8a0c539226ecdaf6e51afef9c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaymentExpressGateway: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payment_express.rb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0f2ef16ede2bece0e9fe4b445677c11c9cfed729df000e6e2e1dd58d4ead1f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QvalentGateway: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/qvalent.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec78af53df17c7609e52b902244881316d2ef8f4d9994ffbd5db98e04458e344"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SageGateway: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/sage.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2aa4d3d001b1d37d6fe241a734b20b8eb66aeeb2f955fffb20750347d96ea91"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VancoGateway: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vanco.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec13bca88769afdd98350507dbf400895531b639b174e3ef0a34f575c6192db"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VersaPayGateway: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/versa_pay.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06806071817fa9ad151e255c13536e4035dfdd26b83a2a0742420ad510f241a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gateways/blue_snap.rb: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 25 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_snap.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68559ba28aff83d9521498f9174a6ba1c913722ee35347538c7c8bbae6e065f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DecidirGateway: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24ca399bc1fbdbde3d838269b74dd5fafa1b4db0d3596220a08180da144cd37"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EwayRapidGateway: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/eway_rapid.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d92b376572bc3ed651762093a77ce66b4f5f6594b3aa9983c3b491ab85d3dd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HiPayGateway: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/hi_pay.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a36ad71307eb34d1596b4553b69f4dbc5bc9a022ee433b228cc2ebd481a0b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IxopayGateway: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ixopay.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed70284b3be08ab3697201f06234cc2f4553047bca85f2ba0ddc05088fa47f9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OppGateway: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/opp.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa5fd2ff5b4b284a9f93ca149880a00b489003ae9643cdaeac7d0868d5859b1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SecurionPayGateway: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/securion_pay.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1464d572c9dd78f774437ef7b31283ff2cc1281dc9993eecb52ca04d3f013d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SkipJackGateway: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/skip_jack.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd037b31d0ed39b68f13d83d04cf526a5d8c985e16a33ac82c15e2b704f6930"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SmartPs: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/smart_ps.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6557819c11cfc297f22a4aa7acb7b8fa2d9949a1f02e7cd2f67263958fa8f308"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TelrGateway: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/telr.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1dd5490a1cc3f6480e5758928d6014552d5f2f1c0336c2f51f12512d983f71"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrustCommerceGateway: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/trust_commerce.rb"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"89eae8739e8fd9c21e53c589895535fefa37c5d10587979b65c4131c1d2ec63f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorldNetGateway: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/world_net.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4508e1d679ec107c44ce3438be8d84f945bdc16c4eb56057548cae404db7e0ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/active_merchant/billing/gateways/braintree/braintree_common.rb:16-28 | lib/active_merchant/billing/gateways/litle.rb:238-247 | lib/active_merchant/billing/gateways/orbital.rb:299-311 | lib/active_merchant/billing/gateways/payeezy.rb:131-146 | lib/active_merchant/billing/gateways/quickbooks.rb:134-146 | lib/active_merchant/billing/gateways/stripe.rb:252-267 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/braintree/braintree_common.rb"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff01d8b5bc0926427d63909cc227f8c4ebc96c817983e6afd877222f14a44257"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/active_merchant/billing/gateways/card_connect.rb:295-313 | lib/active_merchant/billing/gateways/ct_payment.rb:207-219 | lib/active_merchant/billing/gateways/decidir_plus.rb:239-256 | lib/active_merchant/billing/gateways/deepstack.rb:224-255 | lib/active_merchant/billing/gateways/ezic.rb:154-169 | lib/active_merchant/billing/gateways/mit.rb:229-241 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/card_connect.rb"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6111771f3aa46ee1fe02c322d62d7057cb1721e3d4fe2a313d5d9fbc8a0252a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/active_merchant/billing/gateways/cams.rb:142-154 | lib/active_merchant/billing/gateways/federated_canada.rb:75-96 | lib/active_merchant/billing/gateways/money_movers.rb:66-87 | lib/active_merchant/billing/gateways/verifi.rb:129-152 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cams.rb"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0e1e766a439462faebd9ee36bf098bc5faf6b260260281efda81eb0c1619b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lib/active_merchant/billing/gateways/stripe_payment_intents.rb:466-504 | lib/active_merchant/billing/gateways/stripe_payment_intents.rb:508-538 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe_payment_intents.rb"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f05d7c1a157f15fcf6319fdc7bc4de22c13483780f67cf6b2f546a0dd09be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lib/active_merchant/billing/gateways/payflow.rb:134-166 | lib/active_merchant/billing/gateways/payflow.rb:170-204 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"035b05c2d2d97cae1b29b2d88b7746d9f41c99fc647f5c5eab4e2bf12361636e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/active_merchant/billing/gateways/deepstack.rb:104-120 | lib/active_merchant/billing/gateways/deepstack.rb:124-140 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/deepstack.rb"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d5ff8b333a9abec2d58a28e707056c224e149fff7ffea230b035ec6d5bb88f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lib/active_merchant/billing/gateways/element.rb:299-321 | lib/active_merchant/billing/gateways/vantiv_express.rb:459-487 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"afce268ba17b2c906be8786deb336ae8547206020d2266c9a4ed8ab836f9bbfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/active_merchant/billing/gateways/element.rb:228-250 | lib/active_merchant/billing/gateways/vantiv_express.rb:389-409 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c958ee96011ac94670debd8aaa9b03db9baf3131c22dd33adc80449179c8053"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/active_merchant/billing/gateways/payscout.rb:61-84 | lib/active_merchant/billing/gateways/transact_pro.rb:117-135 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payscout.rb"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3c90199640a251bfe8b5ad1d0ff72ff5274aa4337bb10db705e4002cad1def"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/active_merchant/billing/gateways/element.rb:207-220 | lib/active_merchant/billing/gateways/vantiv_express.rb:355-368 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0e1a1fd08fb6c104787267a86b9c94d03f4cfcb18b07464eb84439d636c015"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/active_merchant/billing/gateways/instapay.rb:73-90 | lib/active_merchant/billing/gateways/worldpay_us.rb:94-115 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/instapay.rb"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"77848c56dbe450b61880f3898c43d2e8254b52332a09eabdb8a41d43780ebe11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/active_merchant/billing/gateways/rapyd.rb:129-141 | lib/active_merchant/billing/gateways/rapyd.rb:303-317 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/rapyd.rb"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff4d3bd13fd56e313456b24c0b4acd7a53f27076debfa1755886063a2810644"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/active_merchant/billing/gateways/adyen.rb:728-747 | lib/active_merchant/billing/gateways/barclaycard_smartpay.rb:359-378 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12e26a9de1a5763b67562f16b9e1c9a0d74bead33813438dbd658817089c3b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): lib/active_merchant/billing/gateways/commerce_hub.rb:172-190 | lib/active_merchant/billing/gateways/commerce_hub.rb:210-227 | lib/active_merchant/billing/gateways/simetrik.rb:262-276 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/commerce_hub.rb"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6257f8d4e3c046c6914cd031753edf9d75b6ef04629190f3085e8573720fe61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/active_merchant/billing/gateways/decidir.rb:370-390 | lib/active_merchant/billing/gateways/decidir_plus.rb:293-310 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb6b5d4a24a7e670e543054f6577e001f141376a092c7abc10ef0877555f76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/active_merchant/billing/gateways/blue_pay.rb:160-176 | lib/active_merchant/billing/gateways/blue_pay.rb:180-197 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_pay.rb"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4060449c0b1b971f07c3252d608a5d73d6853720131ecf6523d4ea200319123e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/active_merchant/billing/gateways/nab_transact.rb:173-200 | lib/active_merchant/billing/gateways/secure_pay_au.rb:217-241 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nab_transact.rb"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"947e2ed9574f81cbd4b5060a1b3fcbb9e3641ecc693eb239bdc10f82981f6315"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/active_merchant/billing/gateways/cc5.rb:123-130 | lib/active_merchant/billing/gateways/garanti.rb:180-189 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cc5.rb"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"28310900e9c614727ac36faf34ebcfbabd6227f638fe5bfb6f6fa05d13f7d3db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/active_merchant/billing/gateways/elavon.rb:41-57 | lib/active_merchant/billing/gateways/elavon.rb:61-76 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/elavon.rb"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db73b6bb8ec9e2483196d963f1fa3f65fe3c83d891a0ba2b92238645b80c8f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/active_merchant/billing/gateways/element.rb:325-346 | lib/active_merchant/billing/gateways/vantiv_express.rb:550-571 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f63c55a724a54c04de20ddec15d9fd3cc4a262106a1ef6b22a4023b0b2825d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/active_merchant/billing/gateways/firstdata_e4.rb:350-366 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:375-392 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd0bf9061cfe27f096515e6025ae9b920fdbbbb53bfdd595a30869394efd112"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/active_merchant/billing/gateways/redsys.rb:198-213 | lib/active_merchant/billing/gateways/redsys.rb:217-232 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db8da5dcd621d3878076f6a107a5c781b550cf898b718ef9e1e07165804d65b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/card_connect.rb:177-185 | lib/active_merchant/billing/gateways/hi_pay.rb:126-136 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/card_connect.rb"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf3422758282c8797a31aee5506b032843f48d0bda218ecbd95c587b3d4aa8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/blue_snap.rb:270-278 | lib/active_merchant/billing/gateways/blue_snap.rb:353-364 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_snap.rb"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3799dc47447f9fd0a00cf436bd91c49cf858d7944b0b7eb728f7c3f1a1a5d3d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): lib/active_merchant/billing/gateways/vpos.rb:37-55 | lib/active_merchant/billing/gateways/vpos.rb:79-92 | lib/active_merchant/billing/gateways/vpos.rb:96-110 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vpos.rb"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d57fb6839b097d0b244d927ecc32e81e17ad3222016160f07c3511e49bc4929"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): lib/active_merchant/billing/gateways/data_cash.rb:94-116 | lib/active_merchant/billing/gateways/data_cash.rb:120-138 | lib/active_merchant/billing/gateways/data_cash.rb:142-162 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/data_cash.rb"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c072e96ffcaf07e6dce2a859d732020582278f662286c62bef79bada0b7d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/active_merchant/billing/gateways/credorax.rb:142-160 | lib/active_merchant/billing/gateways/credorax.rb:164-184 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcda84848bc18cea976997731cf4678dfbd6c8cacb7091e8d65a917af3c811d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/active_merchant/billing/gateways/merchant_ware.rb:239-258 | lib/active_merchant/billing/gateways/merchant_ware_version_four.rb:206-230 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_ware.rb"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1ded9eb5890f8e1f8a99c597a00bfaa6e40a5ed28e58fad92a691182720be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/bank_frick.rb:93-101 | lib/active_merchant/billing/gateways/inspire.rb:110-119 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bank_frick.rb"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"301f9db7bb2971b2b52e51f5e6d5d7b3bc4d62158cf4ca9e1c3fa7ba350e5524"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/active_merchant/billing/gateways/pay_trace.rb:53-73 | lib/active_merchant/billing/gateways/pay_trace.rb:97-111 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_trace.rb"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c56e6d43c9e9110e67632c1c071148cfd609f92e788727887c4b3a7d1edf5d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): lib/active_merchant/billing/gateways/metrics_global.rb:159-187 | lib/active_merchant/billing/gateways/payscout.rb:109-127 | lib/active_merchant/billing/gateways/secure_pay.rb:49-68 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/metrics_global.rb"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9460789d59f640a68f7bacdfc8149ce5e31953d58465059823f2096c51c713d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/active_merchant/billing/gateways/simetrik.rb:65-81 | lib/active_merchant/billing/gateways/simetrik.rb:85-101 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/simetrik.rb"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ef6e1c6106b7df87108771fadf25d64421be113eb9e2cea5b4389f2fe7d868"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): lib/active_merchant/billing/gateways/realex.rb:162-171 | lib/active_merchant/billing/gateways/realex.rb:175-186 | lib/active_merchant/billing/gateways/realex.rb:190-202 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/realex.rb"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"735885a520e873e1b069549acefa8aacdb14a67d757b3ebf418ed64b1719e51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/active_merchant/billing/gateways/firstdata_e4.rb:299-312 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:265-280 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"d318599677601c11a041a3868c16cc6e9c952bdf091542e40a659943400a9537"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/sage.rb:182-193 | lib/active_merchant/billing/gateways/sage.rb:197-208 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/sage.rb"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1681cdbc2764f55c31308af237bd7a330f41f76fd79f21a1fd9a60796b270d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/active_merchant/billing/gateways/latitude19.rb:304-322 | lib/active_merchant/billing/gateways/payu_latam.rb:345-361 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/latitude19.rb"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77d3e4ad0d963960756a5b08c2619e723c6d5e51481d4bbff60195faf7aef3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/active_merchant/billing/gateways/authorize_net_cim.rb:948-967 | lib/active_merchant/billing/gateways/usa_epay_advanced.rb:1590-1609 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net_cim.rb"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9650db96560345ee6e15abda76359a8b47f470764c50e02ea7779db54606c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/active_merchant/billing/gateways/cyber_source.rb:1368-1384 | lib/active_merchant/billing/gateways/iridium.rb:408-424 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98665069b31723a036472f2da63892f468baf5cf24c87ca1468ec8eebc92751"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/element.rb:254-265 | lib/active_merchant/billing/gateways/vantiv_express.rb:413-426 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c9c2e54ea895fba3e7f22433a98a2bfe0f8b3dc343065e7914866fb2601d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lib/active_merchant/billing/gateways/merchant_ware.rb:292-312 | lib/active_merchant/billing/gateways/merchant_ware_version_four.rb:263-283 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_ware.rb"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e8ea22b692bd925551f7934655debe88b6fb76d81a520515285b8cfbc2358d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/active_merchant/billing/gateways/cyber_source.rb:320-331 | lib/active_merchant/billing/gateways/flex_charge.rb:104-115 | lib/active_merchant/billing/gateways/redsys.rb:277-290 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fa92cbe42bd6addcd2c3e1be919d86a0589acfb13b97a49f27c19b4add73eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/active_merchant/billing/gateways/jetpay.rb:341-347 | lib/active_merchant/billing/gateways/jetpay_v2.rb:369-375 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdfaefda7535b775895b02a9ba0bd14cfccf3eb119793538b36b21d7d833095"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/active_merchant/billing/credit_card_methods.rb:553-558 | lib/active_merchant/billing/credit_card_methods.rb:562-566 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/credit_card_methods.rb"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d01bfeac10214088d139306a35676ba5a057e9e3e8ccb0c7ca325846f8cb09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/active_merchant/billing/gateways/pagarme.rb:118-134 | lib/active_merchant/billing/gateways/securion_pay.rb:267-283 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pagarme.rb"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1007be893c8ff6c2a6208e12f4796c8a4d626394ff470290b1f690a42a067f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/active_merchant/billing/gateways/payeezy.rb:36-50 | lib/active_merchant/billing/gateways/payeezy.rb:54-68 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payeezy.rb"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6952c652be74b66818693242c33ce7f81722ee6e4d570827f8110b4a4327fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/bogus.rb:122-130 | lib/active_merchant/billing/gateways/bogus.rb:146-154 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bogus.rb"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8311d81c12d19fe9bd730ab505cccd42a603c808265eca06844addef7580984e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/active_merchant/billing/gateways/decidir.rb:138-156 | lib/active_merchant/billing/gateways/decidir_plus.rb:185-203 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e0cd3d9aaf0ba7d16ff4a332bcb1d6a724c3cf7767871bc41725c884f2202a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/active_merchant/billing/gateways/bambora_apac.rb:173-194 | lib/active_merchant/billing/gateways/ipp.rb:139-152 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bambora_apac.rb"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a90f11e0bb2a7693ad633557490dcdf2194b23c29302ba41aaadd4cce8f4833"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/active_merchant/billing/gateways/usa_epay_transaction.rb:48-63 | lib/active_merchant/billing/gateways/usa_epay_transaction.rb:67-82 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_transaction.rb"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7e6a1a4c11fe93c00e5bf1e0900056156b9ba6e571fb4d095b467d20efa2f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/firstdata_e4.rb:233-244 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:207-219 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36e953e5c455685c3ac0e43658e91a62214a6a0106db3fc98b75b107f97b017"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): lib/active_merchant/billing/gateways/latitude19.rb:230-246 | lib/active_merchant/billing/gateways/latitude19.rb:250-267 | lib/active_merchant/billing/gateways/latitude19.rb:271-286 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/latitude19.rb"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b219f00d625e16845f822cbf7a25c5387a762d8cb9be8eb01705f9eaac5f0156"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/active_merchant/billing/gateways/cyber_source.rb:1388-1399 | lib/active_merchant/billing/gateways/ipg.rb:389-399 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db1f8cef4fe7e73c49dc65e2ee48bcb649724ab7618ae19fe28ce6e2edb5ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/active_merchant/billing/gateways/litle.rb:28-40 | lib/active_merchant/billing/gateways/litle.rb:135-147 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/litle.rb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca216f0b8272b90697c6c081c186cb9be1943e0294bff4911e37df9eb47f752"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/active_merchant/billing/gateways/blue_snap.rb:463-477 | lib/active_merchant/billing/gateways/telr.rb:166-181 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_snap.rb"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"203fb9c7f9f4733d3b3e9fcab96fbcaa64fa753fbe7a01d8b027a46185d66a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/active_merchant/billing/gateways/ipg.rb:355-368 | lib/active_merchant/billing/gateways/safe_charge.rb:249-261 | lib/active_merchant/billing/gateways/world_net.rb:180-192 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ipg.rb"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"c682bf16151a7bb83a366bec9e6432b57d50343a52f3c11f74ff24d8d287baf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): lib/active_merchant/billing/gateways/safe_charge.rb:58-68 | lib/active_merchant/billing/gateways/safe_charge.rb:72-82 | lib/active_merchant/billing/gateways/safe_charge.rb:98-108 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/safe_charge.rb"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98ee289fca8f8d47936ed589b790d1c7dcbd7a99145f05d33b8da9a3a63057c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/active_merchant/billing/gateways/authorize_net_arb.rb:150-159 | lib/active_merchant/billing/gateways/authorize_net_cim.rb:489-500 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net_arb.rb"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc66098bb97f4bb7cd0278e118eb3df032fb8ae38067962814cf0ab8a292834"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lib/active_merchant/billing/gateways/bogus.rb:42-55 | lib/active_merchant/billing/gateways/bogus.rb:134-142 | lib/active_merchant/billing/gateways/bogus.rb:158-166 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bogus.rb"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41d83461c65ee6925727f90f0c4870266f9af2e939836f119ae29d83043a8ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/active_merchant/billing/gateways/inspire.rb:171-182 | lib/active_merchant/billing/gateways/smart_ps.rb:227-237 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/inspire.rb"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"598a8d3f110d0247e1fa73278dd4118b6198b2d2d37614857ee37ed4c4ad61b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/active_merchant/billing/gateways/payu_latam.rb:192-202 | lib/active_merchant/billing/gateways/payu_latam.rb:230-240 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payu_latam.rb"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4059f2476f020a370427fd9c1242a44ea14800a8decfa692600a3f363b6d4e6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/active_merchant/billing/gateways/cardprocess.rb:233-240 | lib/active_merchant/billing/gateways/payeezy.rb:311-321 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cardprocess.rb"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef480ea7a7ca16f32c5424a3f059ddf10494b3c5dd60cbe34152a1a89cdd930"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/d_local.rb:344-354 | lib/active_merchant/billing/gateways/securion_pay.rb:167-175 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/d_local.rb"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02edab0cd78db4ef2e0480d7c16d069df39a911821bcea7750feb91e1312285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/ebanx.rb:45-56 | lib/active_merchant/billing/gateways/ebanx.rb:60-72 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ebanx.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c455ed99f2a0e4e1d02508ed0c71038d3f1b10be4257fbd651863f0ab615de6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb:229-240 | lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb:244-257 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf050cd4ea18259960c85c735ec0deb3e77132ce3278e1ea197a25361308bfe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/active_merchant/billing/gateways/pin.rb:157-169 | lib/active_merchant/billing/gateways/trexle.rb:108-121 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pin.rb"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e496607e881bf26744f920d45de06851a57742f78499dfabb33083f30009ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/active_merchant/billing/gateways/digitzs.rb:210-222 | lib/active_merchant/billing/gateways/forte.rb:203-216 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/digitzs.rb"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35d8974f298cc5d9ad720f085551242fb0b462bc679448da2c7218fce9f28e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/active_merchant/billing/gateways/hdfc.rb:141-154 | lib/active_merchant/billing/gateways/worldpay_us.rb:185-201 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/hdfc.rb"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ca97bcba79248893acc2fd0f63133582614a12a341fd3371feca2ef896af14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/active_merchant/billing/gateways/adyen.rb:771-785 | lib/active_merchant/billing/gateways/monei.rb:277-291 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab8595cdf27c823882a62a5bdfe582204c9b3ae790d78c1e35b74faf61f5f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/active_merchant/billing/gateways/ixopay.rb:142-156 | lib/active_merchant/billing/gateways/ixopay.rb:160-175 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ixopay.rb"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9314acdeaf62fc1b55483dfaa198d07308082924d8cfe2fea947f2b8c97a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/active_merchant/billing/gateways/realex.rb:118-132 | lib/active_merchant/billing/gateways/telr.rb:215-229 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/realex.rb"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"202abb0982449f2f8e825f6492d6dd0c877cf616f77f61d5747d3ddd48ef878f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/active_merchant/billing/gateways/usa_epay_advanced.rb:1475-1482 | lib/active_merchant/billing/gateways/usa_epay_advanced.rb:1486-1493 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_advanced.rb"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9cd269424ac61c6e0556c4b67831f14773cdb186ded35ae62c186927abe684"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): lib/active_merchant/billing/gateways/cenpos.rb:222-238 | lib/active_merchant/billing/gateways/checkout.rb:183-198 | lib/active_merchant/billing/gateways/hdfc.rb:110-126 | lib/active_merchant/billing/gateways/payex.rb:359-377 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cenpos.rb"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49253e07931bdff5fe36d155548372fa84e39162d63d76805ae42461a8bce58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/credorax.rb:526-537 | lib/active_merchant/billing/gateways/pay_conex.rb:207-220 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab6c75e2e7d735092ea704bd1a6d09b0a890dd2a595c5b12e39d3856eef833b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): lib/active_merchant/billing/gateways/culqi.rb:212-229 | lib/active_merchant/billing/gateways/kushki.rb:278-294 | lib/active_merchant/billing/gateways/pay_junction_v2.rb:130-145 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/culqi.rb"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"22eeebfb80d763e5dfefede6d65b6cb0a844e79ffac138ebcb308f8e44d41552"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/active_merchant/billing/gateways/hps.rb:31-41 | lib/active_merchant/billing/gateways/hps.rb:142-153 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/hps.rb"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e4b863464e406611ed502cd39159d7ed02227d75fcddc610c203305bf029ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/active_merchant/billing/gateways/merchant_ware.rb:134-146 | lib/active_merchant/billing/gateways/merchant_ware_version_four.rb:132-144 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_ware.rb"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6972c35d9870a890c6e0c5141c987ebb6736de3c12db33ba92c493cdc3b9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/active_merchant/billing/gateways/nab_transact.rb:123-135 | lib/active_merchant/billing/gateways/secure_pay_au.rb:140-150 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nab_transact.rb"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5487c0fe7c3968e39bd6343938b8e23ab1ac1fccd6b3dd7f220a33d3bfa8beb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/payex.rb:61-72 | lib/active_merchant/billing/gateways/payex.rb:89-100 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payex.rb"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf784d718f48aa92aec2abc77151aeecbb888cf3bcd3fce0e08d41df07bd5cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/realex.rb:206-214 | lib/active_merchant/billing/gateways/realex.rb:219-228 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/realex.rb"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10697859a09970a3988d4ddf159e5dfea94144e46351d9941dad01d192c838d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/active_merchant/billing/gateways/sage_pay.rb:86-100 | lib/active_merchant/billing/gateways/sage_pay.rb:104-118 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/sage_pay.rb"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b6b7a487a360a297803158ea2d7b1d840156e583b90bb12ccf348e198f8374"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/active_merchant/billing/gateways/commerce_hub.rb:282-290 | lib/active_merchant/billing/gateways/commerce_hub.rb:305-311 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/commerce_hub.rb"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"793e66cb443bd200b23c8b268b28e600554780835cb1a9794ce5ddbea1f44b7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/latitude19.rb:113-121 | lib/active_merchant/billing/gateways/latitude19.rb:125-133 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/latitude19.rb"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d66ee571a70c9f54187fbb593fc669e188c3267b120573ab65fe9b1258ecfd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/active_merchant/billing/gateways/mercury.rb:300-314 | lib/active_merchant/billing/gateways/plugnpay.rb:177-189 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mercury.rb"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"32be3267a091e4598e0316866d7e58ff05259996e474198174a8ff1da0e6dc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/active_merchant/billing/gateways/authorize_net.rb:300-312 | lib/active_merchant/billing/gateways/authorize_net.rb:334-350 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net.rb"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d93034e093faf3af03eaca8e18e21d315521fee8128bc21e483b0d7c902927e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/active_merchant/billing/gateways/firstdata_e4.rb:172-187 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:143-160 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d796770af5938674472b87a9174a7d889679d6f8de7e1753b89f8113717bf69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/jetpay.rb:284-295 | lib/active_merchant/billing/gateways/jetpay_v2.rb:296-308 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdab1d7e96950dfed73492e7129679e80bbb90e728f8936875958c9ea8fd811b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/active_merchant/billing/gateways/payex.rb:245-258 | lib/active_merchant/billing/gateways/payex.rb:262-275 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payex.rb"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ae47066486f8fa6d56f80d57484410bb551edb5c93ae7c48d4e7d6aeefb036"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/smart_ps.rb:36-46 | lib/active_merchant/billing/gateways/smart_ps.rb:62-70 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/smart_ps.rb"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea90c99f6a217deb17a3fdaf31073fd20ceb99f65d533ba5f142ff6a12fc3a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): lib/active_merchant/billing/gateways/element.rb:31-44 | lib/active_merchant/billing/gateways/vantiv_express.rb:177-191 | lib/active_merchant/billing/gateways/vantiv_express.rb:195-208 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b961f4680551f273a87be7d6bb2f335c5d531898ea1168bcd1271b5a66e8512"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/kushki.rb:97-110 | lib/active_merchant/billing/gateways/kushki.rb:114-125 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/kushki.rb"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46432e23d1748eef7544b3b8bf38168441b4fa828579ac5200ea8362fd09b2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/active_merchant/billing/gateways/redsys_rest.rb:193-206 | lib/active_merchant/billing/gateways/redsys_rest.rb:210-223 | lib/active_merchant/billing/gateways/redsys_rest.rb:264-275 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys_rest.rb"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"79441b0fad8947f9874982d0cbdc077526cd25d581a2ae7d4ef65cef5a3d6dad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/active_merchant/billing/gateways/worldpay_online_payments.rb:24-30 | lib/active_merchant/billing/gateways/worldpay_online_payments.rb:51-56 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay_online_payments.rb"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55a40e9dc133cf5ed458ece0222193889348c165bca7c92cdb09c6c038e1e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): lib/active_merchant/billing/gateways/bogus.rb:59-67 | lib/active_merchant/billing/gateways/bogus.rb:71-79 | lib/active_merchant/billing/gateways/bogus.rb:83-90 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bogus.rb"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b93f9da37de479491c94732ecc7977fb1b656e870d10d42e625374c7b8d542"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/active_merchant/billing/gateways/mercado_pago.rb:21-25 | lib/active_merchant/billing/gateways/mercado_pago.rb:29-33 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mercado_pago.rb"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bbe3b9d33e324b023a4f3a2eec27873751e54ac4b3eb5ce9b9c95f82ac3436"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/active_merchant/billing/gateways/cecabank/cecabank_json.rb:103-106 | lib/active_merchant/billing/gateways/cecabank/cecabank_json.rb:110-114 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cecabank/cecabank_json.rb"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c42c872aa6bffd2418c1a97835ee30ddd2817681f9164083869a8adfa50e818"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/vpos.rb:168-186 | lib/active_merchant/billing/gateways/wompi.rb:156-167 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vpos.rb"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3126108a26a0720deacea7807718d6320b1dc57725d8b8b68f1ac7630e3136d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/creditcall.rb:233-244 | lib/active_merchant/billing/gateways/pro_pay.rb:266-278 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/creditcall.rb"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2db18dab56d50188be36a685129782cda454dfb819ebc837ad661c9966b95d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/active_merchant/billing/gateways/cyber_source.rb:198-205 | lib/active_merchant/billing/gateways/cyber_source.rb:214-221 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a62b0cc486ef66f1a7d924bb2fa3a73b8c71c8c96c2d5c0a0e3112e0deaf3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/active_merchant/billing/gateways/efsnet.rb:146-156 | lib/active_merchant/billing/gateways/sage.rb:260-271 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/efsnet.rb"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0d4cc02ae4b6df707a86d54cdde8ab3f906fed38e5ad96d772406273fdf820"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): lib/active_merchant/billing/gateways/vantiv_express.rb:212-224 | lib/active_merchant/billing/gateways/vantiv_express.rb:228-239 | lib/active_merchant/billing/gateways/vantiv_express.rb:258-269 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace2ad8d4fc543c4f9aea0e722e4d7cf7813a322d5b17853251e181c43e1685b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/active_merchant/billing/gateways/cardprocess.rb:125-131 | lib/active_merchant/billing/gateways/ncr_secure_pay.rb:91-95 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cardprocess.rb"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"943a833f88459d364f6a79f023c565f485bab3818e7f66dc135c585d49b1c1cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): lib/active_merchant/billing/gateways/elavon.rb:146-155 | lib/active_merchant/billing/gateways/elavon.rb:159-169 | lib/active_merchant/billing/gateways/elavon.rb:173-182 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/elavon.rb"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8318920b2a76b6ef0e46de5e8a0c7e906fccf88e77e1938740dc68d6283e0717"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:437-448 | lib/active_merchant/billing/gateways/firstdata_e4.rb:394-405 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4_v27.rb"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"e104ee5711d874eba1609d05318fe4ac4f584774a3670f5374a88d01452cca5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/active_merchant/billing/gateways/payment_express.rb:320-336 | lib/active_merchant/billing/gateways/sage.rb:439-449 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payment_express.rb"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca61726fd286f5d940b06bfa679ec7dfb7ce0bb5c46139daae93d3c76f2adf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/active_merchant/billing/gateways/authorize_net.rb:502-512 | lib/active_merchant/billing/gateways/authorize_net.rb:537-544 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net.rb"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab87c8ed685041f14bc87afe2747381a64eb891bed0f0eebcbe115f93622a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/active_merchant/billing/gateways/element.rb:121-130 | lib/active_merchant/billing/gateways/vantiv_express.rb:273-282 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d5f8ec102f30234a9f6e09461b7c6963f9d2087c1fd3d88b2ffd6d561cdebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/active_merchant/billing/gateways/ixopay.rb:283-300 | lib/active_merchant/billing/gateways/ncr_secure_pay.rb:118-128 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ixopay.rb"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c5434c5e1b180e9c04f0671557b9c1be7fe575900519941e4e891df29c533a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb:30-38 | lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb:44-54 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33ece0c18494ce5ed976d625965ee338bb5aa5d2f6f9c4ef4f8eaa5d637aded"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/active_merchant/billing/gateways/global_collect.rb:38-49 | lib/active_merchant/billing/gateways/rapyd.rb:112-121 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/global_collect.rb"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"704762f2f3b3a29d044e4b7281acdb7e0a611d7d16006cc5a9c6628dc9fe7198"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): lib/active_merchant/billing/gateways/authorize_net_arb.rb:406-416 | lib/active_merchant/billing/gateways/flo2cash.rb:162-172 | lib/active_merchant/billing/gateways/orbital.rb:925-935 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net_arb.rb"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2780ca1dce34441a94ee0449be808769506928d19cd36074204533910fcaff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/active_merchant/billing/gateways/flex_charge.rb:236-239 | lib/active_merchant/billing/gateways/nuvei.rb:329-332 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/flex_charge.rb"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e5f4ec84d8e7711196e66627f08bf385594904cd72a2d44512c9eb01bc28ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/active_merchant/billing/gateways/flex_charge.rb:291-298 | lib/active_merchant/billing/gateways/multi_pay.rb:173-180 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/flex_charge.rb"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36e536454532c12ac0cc977fcfb74311c15598bbf74a4d5a4e9675925c3eef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/active_merchant/billing/gateways/quantum.rb:83-92 | lib/active_merchant/billing/gateways/quantum.rb:104-113 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/quantum.rb"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa42bf8ef7c5e03b4929682661321e4de513a460da1a1efe06aa95b35fcba63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/active_merchant/billing/gateways/vantiv_express.rb:243-254 | lib/active_merchant/billing/gateways/vantiv_express.rb:286-298 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3287e45bcc7b080b793fbb1861a49b548277a12fb886974725eceb236d14da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/active_merchant/billing/gateways/jetpay.rb:270-280 | lib/active_merchant/billing/gateways/jetpay_v2.rb:273-282 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a709bdbad94d31d69dc24f229002ad13022501aeab945ce840006cb71d9871"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/monei.rb:265-273 | lib/active_merchant/billing/gateways/adyen.rb:759-767 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/monei.rb"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e183022574f69c3a56b00a5c3721723f830b1c0a3edc5fd71bdc7641cd25c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/check.rb:76-84 | lib/active_merchant/billing/check.rb:99-109 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/check.rb"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15618c2a32519a86b51e18c0687bae40fc8526460163bdf4cd0666a3fede40e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/active_merchant/billing/gateways/exact.rb:204-213 | lib/active_merchant/billing/gateways/wirecard.rb:311-323 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/exact.rb"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebefba94a9e2026cd34e415752f56d8e85ee6129285a0fc466f5c4bdc31bb31e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): lib/active_merchant/billing/gateways/monei.rb:321-331 | lib/active_merchant/billing/gateways/omise.rb:201-211 | lib/active_merchant/billing/gateways/pagarme.rb:146-156 | lib/active_merchant/billing/gateways/stripe.rb:671-681 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/monei.rb"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf56161d7b1f32fb5e01b573d3fa6b55035b2996d9a62ac3df30691ff4178c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/active_merchant/billing/gateways/shift4.rb:67-77 | lib/active_merchant/billing/gateways/shift4.rb:81-92 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/shift4.rb"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"815de602534489c1db76b0d917b5100dcae61c8e7af711581715a979dcb804cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): lib/active_merchant/billing/gateways/credorax.rb:253-257 | lib/active_merchant/billing/gateways/cyber_source.rb:237-241 | lib/active_merchant/billing/gateways/cyber_source_rest.rb:88-92 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a34ecedbd3c91b4bcdb5e3fb9db2b4c611cb3238a8b7675eae59bb5772d9af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/active_merchant/billing/gateways/ipg.rb:74-78 | lib/active_merchant/billing/gateways/payu_latam.rb:96-102 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ipg.rb"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9375116dfc7e037e1dc994093679be531ff27b280787d13747b7907fcd06ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/nab_transact.rb:234-242 | lib/active_merchant/billing/gateways/secure_pay_au.rb:185-193 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nab_transact.rb"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96d23c7a7ed46a14d13d1c2844880ee8e5b57db88fb361c21d2d1d47f78fcbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/active_merchant/billing/gateways/redsys.rb:664-669 | lib/active_merchant/billing/gateways/redsys_rest.rb:494-499 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"7413f41d1e7a53b8046d02c345e555cad40b9bb43160156206b28d8c7cb482c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/active_merchant/billing/gateways/secure_pay.rb:80-91 | lib/active_merchant/billing/gateways/metrics_global.rb:199-208 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/secure_pay.rb"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a312e7318a0148caf0be6e6130714aaf0ae9924651022d74739be768a1a5b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lib/active_merchant/billing/gateways/bambora_apac.rb:156-169 | lib/active_merchant/billing/gateways/bank_frick.rb:136-148 | lib/active_merchant/billing/gateways/ipp.rb:122-135 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bambora_apac.rb"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"217633bfb37428a106ecdbf85a8cd403d7836d60255735bffed6759b325f34dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/active_merchant/billing/gateways/credorax.rb:188-198 | lib/active_merchant/billing/gateways/credorax.rb:202-212 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e468740901008f7b9eb497375f981aae995a35bee6777c497bc6f335cebf1540"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/nab_transact.rb:106-119 | lib/active_merchant/billing/gateways/secure_pay_au.rb:122-136 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nab_transact.rb"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7149f3697dfab34edc53e98bbc549802efddb5f826d1545b08331ebeccc527"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/active_merchant/billing/gateways/element.rb:287-295 | lib/active_merchant/billing/gateways/vantiv_express.rb:448-455 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"788ed8c0d79716abb8bd17bfffe7e3d2c19e21b198e5743eeca1cb8096db0749"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/active_merchant/billing/gateways/pin.rb:136-140 | lib/active_merchant/billing/gateways/trexle.rb:88-91 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pin.rb"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a3b0ccfc180168c3b7df5c0679fc69e423052089b944b63db553c5f2949097"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/active_merchant/billing/gateways/allied_wallet.rb:99-103 | lib/active_merchant/billing/gateways/visanet_peru.rb:107-112 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/allied_wallet.rb"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ea8b17c64b2988df7a21657207aacebda379bfbb91e94491280a4fc6c85950"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/active_merchant/billing/gateways/adyen.rb:180-185 | lib/active_merchant/billing/gateways/stripe.rb:168-172 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbe082780ca5cd7cf529c72ec1d4e23cbdf89ac72121a58d377d1876c8e50cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/active_merchant/billing/gateways/first_pay/first_pay_json.rb:131-140 | lib/active_merchant/billing/gateways/first_pay/first_pay_xml.rb:131-140 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/first_pay/first_pay_json.rb"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2ca1a54e00c27c0010f8a2db6f7574d8d48d43b82d2bf5a3582e97e4515d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/active_merchant/billing/gateways/maxipago.rb:83-92 | lib/active_merchant/billing/gateways/secure_pay_au.rb:245-254 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/maxipago.rb"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ec2e1d2500866ac439e9d77b0b74cb842df2d954dbfc046ea36085c63080d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/active_merchant/billing/gateways/inspire.rb:75-82 | lib/active_merchant/billing/gateways/smart_ps.rb:90-97 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/inspire.rb"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c55ac85c60847f1c6564f30b0b980acdfc978cc9a6c9234a4be52bb85e9fb80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/active_merchant/billing/gateways/instapay.rb:154-158 | lib/active_merchant/billing/gateways/payscout.rb:152-158 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/instapay.rb"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60d5b4c733fc55dd2d853b7bb78b59b01f141c6522f84cf0463dd418c73662b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/active_merchant/billing/gateways/pro_pay.rb:256-262 | lib/active_merchant/billing/gateways/world_net.rb:170-176 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pro_pay.rb"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3ba34950d1b38f33566ac8b07e3627478de46db90ac011398472e33d5c5581"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/active_merchant/billing/gateways/banwire.rb:17-26 | lib/active_merchant/billing/gateways/merchant_one.rb:37-43 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/banwire.rb"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc1da7fda5d39c632fb79d41f842b7a1c426b4c25981e901dc91fb8536e08b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): lib/active_merchant/billing/gateways/bpoint.rb:74-77 | lib/active_merchant/billing/gateways/iveri.rb:69-72 | lib/active_merchant/billing/gateways/worldpay.rb:122-126 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bpoint.rb"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3067e58e1a92021c55a8b510a207a484027fd0c236040de24b93c0db74749b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/data_cash.rb:277-285 | lib/active_merchant/billing/gateways/secure_net.rb:234-243 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/data_cash.rb"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f41ab17a09cf218a899d5f230cad5b8aa3d7f5787a7e70a5bc6640fdb45a7ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): lib/active_merchant/billing/gateways/bank_frick.rb:105-108 | lib/active_merchant/billing/gateways/transact_pro.rb:139-143 | lib/active_merchant/billing/gateways/world_net.rb:140-143 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bank_frick.rb"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cf03e35337958b0598d86bd7dcc01100fb63d5a7f95c4f63a5d1f6b5f451c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/active_merchant/billing/gateways/firstdata_e4.rb:316-318 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:295-297 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc96a50d454ebbd99192958ddbc9a13dc95c91dffbbdb0e2ed9aff2c1d622504"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/active_merchant/billing/gateways/jetpay.rb:386-388 | lib/active_merchant/billing/gateways/jetpay_v2.rb:424-426 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c5f9b2cad29d77f5e699508108ad32542be250b0d1dd1c2350600c0eb9610a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lib/active_merchant/billing/gateways/loan_payment_pro_ach.rb:63-73 | lib/active_merchant/billing/gateways/moka.rb:224-232 | lib/active_merchant/billing/gateways/pagarme.rb:160-169 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/loan_payment_pro_ach.rb"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"135109ee6a2679f502456fef0ba1668571d8662e3de852efafa6ee480f8f7220"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/active_merchant/billing/gateways/pay_conex.rb:92-95 | lib/active_merchant/billing/gateways/sage.rb:117-120 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_conex.rb"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"20557b454cd8576251fb00943d0e1666cdf334a73ca42023f0853c2a4db629c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/active_merchant/billing/gateways/exact.rb:217-219 | lib/active_merchant/billing/gateways/firstdata_e4.rb:450-452 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/exact.rb"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3022e3897d9005365a1e6bcc68884092796ef93675684bbdb5570c680072d53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lib/active_merchant/billing/gateways/pago_facil.rb:81-89 | lib/active_merchant/billing/gateways/payu_in.rb:204-212 | lib/active_merchant/billing/gateways/s5.rb:198-211 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pago_facil.rb"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e1baf58377e863204049856617a0bb733d5f42482400bdf16c6dbfa8daa0a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/pay_secure.rb:69-77 | lib/active_merchant/billing/gateways/quickpay/quickpay_v4to7.rb:165-173 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_secure.rb"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"634c8f07d4482c37c1f0bdb50bb65a841263e66cc59deacd4acf1057d217dd07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/active_merchant/billing/gateways/pin.rb:146-148 | lib/active_merchant/billing/gateways/trexle.rb:97-99 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pin.rb"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"562124b1520601066d15fedfeb184f363ea48423d6d3fde66997f87c1fbea5ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/active_merchant/billing/gateways/federated_canada.rb:155-158 | lib/active_merchant/billing/gateways/money_movers.rb:147-150 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/federated_canada.rb"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f8f4f8d12419061bd1b2b8b4e4c54625c25b1c40a5c7032fe8fae4c0673445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/active_merchant/billing/gateways/merchant_e_solutions.rb:39-45 | lib/active_merchant/billing/gateways/secure_pay.rb:35-43 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_e_solutions.rb"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a70cd4eab5fd09b570a5f210bf2f0df3bb7e6831386ece5fca35838000c110"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/active_merchant/billing/gateways/conekta.rb:30-37 | lib/active_merchant/billing/gateways/trexle.rb:56-64 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/conekta.rb"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29620f326f3569ee244d9bc860a0331eb0e44e4b79d2f2e530c71d0e85d38bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): lib/active_merchant/billing/gateways/inspire.rb:34-40 | lib/active_merchant/billing/gateways/merchant_e_solutions.rb:29-35 | lib/active_merchant/billing/gateways/ogone.rb:256-262 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/inspire.rb"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a6ae46f9523b821a093f6efcd1ea15f1858136d3f49c56bbffaaf3345ff249"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/active_merchant/billing/gateways/inspire.rb:44-50 | lib/active_merchant/billing/gateways/ogone.rb:163-170 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/inspire.rb"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6f7daf7a04ba0a08c45ea4b6ed0440ee6f8ea7e989ebb8fdf727e8fcec9847"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): lib/active_merchant/billing/gateways/allied_wallet.rb:76-82 | lib/active_merchant/billing/gateways/firstdata_e4.rb:144-149 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:115-120 | lib/active_merchant/billing/gateways/openpay.rb:116-122 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/allied_wallet.rb"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1b255160a07d5a964e185583994cd104076533430b6d3e1d79e55f5f36aec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): lib/active_merchant/billing/gateways/merchant_one.rb:27-33 | lib/active_merchant/billing/gateways/netpay.rb:67-73 | lib/active_merchant/billing/gateways/swipe_checkout.rb:37-43 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_one.rb"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d06dc3a42820ec944928b7520def5d59cdd61bb1f3177a30e4e6e120cdae24a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/active_merchant/billing/gateways/micropayment.rb:20-25 | lib/active_merchant/billing/gateways/nmi.rb:90-97 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/micropayment.rb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1cc9bf0f6712678b7d401ba74d6665fb747ac92dbb4713ae11c346d96eb76b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/active_merchant/billing/gateways/cashnet.rb:42-47 | lib/active_merchant/billing/gateways/evo_ca.rb:108-114 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cashnet.rb"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a60b2c40e0e5b497dc455dd5fdf8944098366c1a66cdb5742387c6c689d26c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/active_merchant/billing/gateways/data_cash.rb:289-293 | lib/active_merchant/billing/gateways/modern_payments_cim.rb:215-219 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/data_cash.rb"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c67d42655cd415ae6a170a851a1ef6735bacc804b8cc09fa75fb28d8bf03d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/active_merchant/billing/gateways/iats_payments.rb:39-47 | lib/active_merchant/billing/gateways/pago_facil.rb:20-27 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/iats_payments.rb"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a0de0b45a659708e266f615e3945186b7d5e578ddabd9e284950deb09ddcbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/active_merchant/billing/gateways/instapay.rb:40-47 | lib/active_merchant/billing/gateways/trexle.rb:27-34 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/instapay.rb"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0936e212261b81f2124725bf35e12a64036ea43588295c5a504eba5cd33881"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/active_merchant/billing/gateways/borgun.rb:208-209 | lib/active_merchant/billing/gateways/mercury.rb:337-338 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/borgun.rb"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"915acdabe2772e6ad7d3752b20f973b95e368415dd4085e396da265f76518c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/active_merchant/billing/gateways/inspire.rb:128-132 | lib/active_merchant/billing/gateways/smart_ps.rb:167-171 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/inspire.rb"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3149e47d6aa9148b06b3d1933171d8dd182be2da96a5308bfac4bff3c997f7ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): lib/active_merchant/billing/gateways/inspire.rb:161-167 | lib/active_merchant/billing/gateways/netbilling.rb:185-190 | lib/active_merchant/billing/gateways/paybox_direct.rb:166-171 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/inspire.rb"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6226490be590104395c2c2dedec3638540d82fad498f15f2a542993bf59de085"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/active_merchant/billing/gateways/jetpay.rb:336-337 | lib/active_merchant/billing/gateways/jetpay_v2.rb:348-349 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"25608e2cd20876c6f5be4abb3b935f933f5b1a42a43b87e964c67c8735666cc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): lib/active_merchant/billing/gateways/cardprocess.rb:91-94 | lib/active_merchant/billing/gateways/migs.rb:127-130 | lib/active_merchant/billing/gateways/paymentez.rb:117-120 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cardprocess.rb"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad659e6034f8fddb8127fa901f937bbbdaab3c6de2627c3fcc4486c689a8f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/active_merchant/billing/gateways/bridge_pay.rb:150-153 | lib/active_merchant/billing/gateways/global_transport.rb:91-94 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bridge_pay.rb"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"19649f670b2619b680f7ec45e695f8406040fa33fc59628e0d0e99dc80f04154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): lib/active_merchant/billing/gateways/jetpay.rb:175-176 | lib/active_merchant/billing/gateways/jetpay_v2.rb:171-172 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73e5a5c89e4a9d3c9de7fa0dc27de7a186ee5a26a0a5577c7b782da7c9d7592"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/active_merchant/billing/gateways/latitude19.rb:393-402 | lib/active_merchant/billing/gateways/payu_latam.rb:465-474 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/latitude19.rb"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ffe97755f89417e142bf04b64f73b2990ca1b6b3eda6492854135736b04a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/active_merchant/billing/gateways/allied_wallet.rb:92-95 | lib/active_merchant/billing/gateways/merchant_partners.rb:107-109 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/allied_wallet.rb"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"418f2f82adc989c5cb53bd52239f39cdef13d6fc55c778b012cf67d33b66b525"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/active_merchant/billing/gateways/netpay.rb:98-104 | lib/active_merchant/billing/gateways/paybox_direct.rb:136-140 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/netpay.rb"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"095bda85a8f48e1d1952c03273006c21e14865779ba49a1ee1cd1201e3bcff9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/active_merchant/billing/gateways/authorize_net_arb.rb:164-167 | lib/active_merchant/billing/gateways/authorize_net_cim.rb:505-508 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net_arb.rb"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e781b309dacb170a45e80373e0cdbd0cc00f79147ce4535387f9feb5173b151b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/active_merchant/billing/gateways/conekta.rb:190-192 | lib/active_merchant/billing/gateways/stripe.rb:661-663 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/conekta.rb"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1410f85076e3ac514b48b38aa556bc3c13e109326ccac53756eef2cddcf590"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/active_merchant/billing/gateways/datatrans.rb:209-217 | lib/active_merchant/billing/gateways/fat_zebra.rb:229-237 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/datatrans.rb"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"101115c187c8d40c33be023eeefd8dacff42e02b2cc055fe5f2fb5f956a5ba26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/active_merchant/billing/gateways/pin.rb:295-302 | lib/active_merchant/billing/gateways/trexle.rb:171-180 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pin.rb"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"afddafb8cf3d4f7bf7a3178aea7125060f8a01a86656ca47f860c6e1d96e85d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/active_merchant/billing/gateways/efsnet.rb:37-45 | lib/active_merchant/billing/gateways/verifi.rb:88-93 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/efsnet.rb"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cb503b070c918231a28fabc24b4272186f1653e1672193f348a5ce9de1a910"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/active_merchant/billing/gateways/quickbooks.rb:172-174 | lib/active_merchant/billing/gateways/stripe.rb:372-374 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/quickbooks.rb"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf5727a6eaaedadce89e6db1381ca21eb04196e099cb6feab2339e2b2186f79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/active_merchant/billing/gateways/braintree/braintree_common.rb:3-8 | lib/active_merchant/billing/gateways/cecabank/cecabank_common.rb:7-12 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/braintree/braintree_common.rb"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fc3aa60bf316106ea4ae60b6ceeb9f4e48263ecdd300cdf5cd5f05c75007d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lib/active_merchant/billing/gateways/nab_transact.rb:142-169 | lib/active_merchant/billing/gateways/secure_pay_au.rb:154-181 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/nab_transact.rb\u0060 and \u0060lib/active_merchant/billing/gateways/secure_pay_au.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nab_transact.rb"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"698798c14d5cebe1a399453c54bd0195082de3441bb4b59c474da9a51ee1fa15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lib/active_merchant/billing/gateways/metrics_global.rb:258-278 | lib/active_merchant/billing/gateways/secure_pay.rb:156-176 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/metrics_global.rb\u0060 and \u0060lib/active_merchant/billing/gateways/secure_pay.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/metrics_global.rb"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"34038c7aba1300aa542e3ffc144cd01b74cc78ef852ab39a96319cdde4ff6243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lib/active_merchant/billing/gateways/merchant_ware.rb:262-280 | lib/active_merchant/billing/gateways/merchant_ware_version_four.rb:234-251 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/merchant_ware.rb\u0060 and \u0060lib/active_merchant/billing/gateways/merchant_ware_version_four.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/merchant_ware.rb:262\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_ware.rb"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"0336f8a325a689904aef7d3fdf883c0ef4b281f30bf7ccec2ef5be3b24b8ad9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/active_merchant/billing/gateways/nab_transact.rb:173-191 | lib/active_merchant/billing/gateways/secure_pay_au.rb:217-235 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/nab_transact.rb\u0060 and \u0060lib/active_merchant/billing/gateways/secure_pay_au.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nab_transact.rb"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0a254d81ddb13dda1daea77f7b8ca82a3ddd6e90b5cfaabbbfb6c816906274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/active_merchant/billing/gateways/transact_pro.rb:26-44 | lib/active_merchant/billing/gateways/transact_pro.rb:48-66 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/transact_pro.rb"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"79eec8c91bbdd177ba45fdc5ec08f9c56c475fbaa67e0dba4c51a9b75b7b86c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lib/active_merchant/billing/gateways/moneris.rb:48-65 | lib/active_merchant/billing/gateways/moneris.rb:73-90 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/moneris.rb"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e4db5ff390d669e248a73dd8494f0d85e04a535ca045c642db07b352bd0739"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/active_merchant/billing/gateways/element.rb:233-249 | lib/active_merchant/billing/gateways/vantiv_express.rb:393-409 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/element.rb\u0060 and \u0060lib/active_merchant/billing/gateways/vantiv_express.rb\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/active_merchant/billing/gateways/element.rb:232\u0060 calls \u0060Value\u0060 and \u0060lib/active_merchant/billing/gateways/vantiv_express.rb:392\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92b74882c267698df6128083a798f9b52b7c7f8783b45de0f9d187a38409ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/active_merchant/billing/gateways/federated_canada.rb:75-90 | lib/active_merchant/billing/gateways/money_movers.rb:66-81 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/federated_canada.rb\u0060 and \u0060lib/active_merchant/billing/gateways/money_movers.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/federated_canada.rb"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b95f275cf02c0d8ad43265c7b3526b6da65810c7e20bbd1c5e9a7ddae88b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/active_merchant/billing/gateways/balanced.rb:41-55 | lib/active_merchant/billing/gateways/balanced.rb:59-73 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/balanced.rb"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"663d10c3a3b12db4e1493c74437442d720095b300e1fc2ce99018db93094bb05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/active_merchant/billing/gateways/balanced.rb:227-241 | lib/active_merchant/billing/gateways/cecabank/cecabank_xml.rb:164-178 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/balanced.rb"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c77832733e4d89b3f30e983cdb3c26a02f80f3a86da7873e19e61a382109be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lib/active_merchant/billing/gateways/federated_canada.rb:119-132 | lib/active_merchant/billing/gateways/money_movers.rb:110-124 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/federated_canada.rb\u0060 and \u0060lib/active_merchant/billing/gateways/money_movers.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/federated_canada.rb"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a6fe256fb08d7341521f4f25a24b78e441b4100fe8aeeb0a48b3bd3288a949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): lib/active_merchant/billing/gateways/federated_canada.rb:84-96 | lib/active_merchant/billing/gateways/money_movers.rb:75-87 | lib/active_merchant/billing/gateways/verifi.rb:139-152 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/federated_canada.rb\u0060 and \u0060lib/active_merchant/billing/gateways/money_movers.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/federated_canada.rb"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca1f040089f453fee38aed078e9f91e02e8969759a596612e56f9d946a9b414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lib/active_merchant/billing/gateways/bridge_pay.rb:168-180 | lib/active_merchant/billing/gateways/payex.rb:364-377 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/active_merchant/billing/gateways/payex.rb:361\u0060 calls \u0060XML\u0060, \u0060xpath\u0060 and \u0060lib/active_merchant/billing/gateways/bridge_pay.rb:166\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bridge_pay.rb"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7ff91993510e9e972627e0a8b4ec6e738aa4c856b26bf42dd9de3386fbc8f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/active_merchant/billing/gateways/decidir.rb:141-154 | lib/active_merchant/billing/gateways/decidir_plus.rb:188-201 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5122871bc02bd8fe5aa9ad87d56cd1e5e191cf48424511fd6faf7ee0363725f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/active_merchant/billing/gateways/firstdata_e4.rb:353-366 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:379-392 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb\u0060 and \u0060lib/active_merchant/billing/gateways/firstdata_e4_v27.rb\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb:353\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"467292c4c242b4ca3c04588b151b3ec360db30e07a52052dcb9c63623c1a0f16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/active_merchant/billing/gateways/spreedly_core.rb:240-253 | lib/active_merchant/billing/gateways/vanco.rb:60-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/spreedly_core.rb"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e02893eeb97b7fe49bb6edb12d5be462145b46ab49d75c95d565bdf04980c5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/active_merchant/billing/gateways/borgun.rb:25-37 | lib/active_merchant/billing/gateways/borgun.rb:41-53 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/borgun.rb"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"257f8a7de441fe1f0bc31d852cf719a326e895980ea5cd318325d956dafc916e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/active_merchant/billing/gateways/element.rb:325-337 | lib/active_merchant/billing/gateways/vantiv_express.rb:550-562 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/element.rb\u0060 and \u0060lib/active_merchant/billing/gateways/vantiv_express.rb\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/element.rb:325\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbade6ad05820db90ae52f177d9db465795e16aa936ebe8243166b21a1e19c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/active_merchant/billing/gateways/firstdata_e4.rb:299-311 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:265-277 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb\u0060 and \u0060lib/active_merchant/billing/gateways/firstdata_e4_v27.rb\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:279\u0060 calls \u0060add_wallet_provider_id\u0060 and \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb:312\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d136c7e0ccb9cec507540a294cab68a6c2452d90c48b8131a224d1df7fd253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/active_merchant/billing/gateways/metrics_global.rb:212-224 | lib/active_merchant/billing/gateways/secure_pay.rb:95-107 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/metrics_global.rb\u0060 and \u0060lib/active_merchant/billing/gateways/secure_pay.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/metrics_global.rb"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"529f3db3f15b91cdb0e2ea0e28387a479cd816be4d2759edda6f648528db032c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/active_merchant/billing/gateways/payeezy.rb:38-50 | lib/active_merchant/billing/gateways/payeezy.rb:56-68 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payeezy.rb"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89cd6cfa92f30cb5d82d1833da933c13d8fdc05ee56431757c4f6ba31709d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/active_merchant/billing/gateways/shift4.rb:35-47 | lib/active_merchant/billing/gateways/shift4.rb:51-63 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/shift4.rb"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd055fc8674809bee1158666c6f949ea80a889f30b6592f16a03aa9ac05d941b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/active_merchant/billing/gateways/simetrik.rb:65-77 | lib/active_merchant/billing/gateways/simetrik.rb:85-97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/simetrik.rb"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"64952791a39fa52812b98a54c2cb1d51e1e22e21a563bacd3c001812d358c408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lib/active_merchant/billing/gateways/borgun.rb:147-158 | lib/active_merchant/billing/gateways/checkout.rb:186-198 | lib/active_merchant/billing/gateways/hdfc.rb:114-126 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/borgun.rb"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bde5d7c3d23dad50440fc387d2c6277377a3f826e1ca4a26b264badf46eb75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/active_merchant/billing/gateways/adyen.rb:993-1004 | lib/active_merchant/billing/gateways/barclaycard_smartpay.rb:382-393 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"50887ab7003fe1e536ba2fc67ef7b34a30a5a6212daee56d91c52218f9b47505"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/active_merchant/billing/gateways/cyber_source.rb:391-402 | lib/active_merchant/billing/gateways/cyber_source.rb:467-478 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a94ae059b47321bd097400994ebf31f0f419c29752f8dc0b94b73ef87f0a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lib/active_merchant/billing/gateways/nmi.rb:35-46 | lib/active_merchant/billing/gateways/nmi.rb:50-60 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nmi.rb"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffc74ed76e4451cde814608d39510b38b8a89855ef7b310c5a850ec47d7e596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/active_merchant/billing/gateways/pagarme.rb:123-134 | lib/active_merchant/billing/gateways/securion_pay.rb:272-283 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pagarme.rb"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d6d5f59649c0f07e2abd16914b1a3e00381d37ec446b29aab57af89b7292ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/active_merchant/billing/gateways/qbms.rb:226-237 | lib/active_merchant/billing/gateways/qbms.rb:247-258 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/qbms.rb"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb9027ef6f092dc17f54bf1c97e037698444af5ed8d76b563da29ee2fe4f538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/active_merchant/billing/gateways/redsys.rb:202-213 | lib/active_merchant/billing/gateways/redsys.rb:221-232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe148be7735cc2d600ad0d027b0c16c2e2cf8f8612919744cc64ed0f64d4aa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/active_merchant/billing/gateways/authorize_net_cim.rb:951-961 | lib/active_merchant/billing/gateways/usa_epay_advanced.rb:1593-1603 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net_cim.rb"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb4272cda6820101ab7b7d8db34eb6181dd991901b9544c4d858576f379a31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/active_merchant/billing/gateways/bank_frick.rb:122-132 | lib/active_merchant/billing/gateways/s5.rb:184-194 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/bank_frick.rb:122\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bank_frick.rb"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1357e9845c00197147246328ccff1c8068fa3546ec7f93eee7c091aaf0c3656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/active_merchant/billing/gateways/ct_payment.rb:35-45 | lib/active_merchant/billing/gateways/ct_payment.rb:90-100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ct_payment.rb"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdde098fcabed9bbb0f68d430f73a629cacccdcede01ed11a9ff83909f28bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): lib/active_merchant/billing/gateways/firstdata_e4.rb:248-258 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:223-231 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb\u0060 and \u0060lib/active_merchant/billing/gateways/firstdata_e4_v27.rb\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"8096e49086fc0d787e9eb93829882b93eb995652a8bd41bb3c1181e334f49507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/active_merchant/billing/gateways/forte.rb:26-36 | lib/active_merchant/billing/gateways/forte.rb:40-50 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/forte.rb"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1df7e2bea7b8b678bb8b2b20f248c82c8c68982883d0ae318d38840110cdeb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/active_merchant/billing/gateways/qvalent.rb:25-35 | lib/active_merchant/billing/gateways/qvalent.rb:39-49 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/qvalent.rb"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e76be040483bec440366169ef530d2a3db355fb71f256f2168d23fb74747b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): lib/active_merchant/billing/gateways/card_connect.rb:300-309 | lib/active_merchant/billing/gateways/ct_payment.rb:210-219 | lib/active_merchant/billing/gateways/decidir_plus.rb:247-256 | lib/active_merchant/billing/gateways/deepstack.rb:233-242 | lib/active_merchant/billing/gateways/mit.rb:232-241 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/card_connect.rb"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"85229e98c0abb4134120dee40e3c692f1d1a72a739a406f65e5453b8c2ed8d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/active_merchant/billing/gateways/hps.rb:31-40 | lib/active_merchant/billing/gateways/hps.rb:128-137 | lib/active_merchant/billing/gateways/hps.rb:142-151 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/active_merchant/billing/gateways/hps.rb:152\u0060 calls \u0060add_stored_credentials_for_recurring_billing\u0060 and \u0060lib/active_merchant/billing/gateways/hps.rb:41\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/hps.rb"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b795cda66f5908d6c3678c0103e6d91e9fb40bf4d048025c96e582c2fe41da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/active_merchant/billing/gateways/adyen.rb:728-737 | lib/active_merchant/billing/gateways/barclaycard_smartpay.rb:359-368 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8a872f7de4e4c60ab3e2265a1baf3371bf6d77913260ad75348d0979e4a4f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/active_merchant/billing/gateways/blue_pay.rb:80-89 | lib/active_merchant/billing/gateways/blue_pay.rb:104-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_pay.rb"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0285ab7912eeab6dcd38dbbf32185361f32f6a7560eadbe692ce0b60e25efe6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/active_merchant/billing/gateways/blue_pay.rb:168-176 | lib/active_merchant/billing/gateways/blue_pay.rb:188-197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_pay.rb"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d73138cc96148f43991caf292a212321b9656e53befc7fd65b8287873b921f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/active_merchant/billing/gateways/checkout.rb:34-43 | lib/active_merchant/billing/gateways/checkout.rb:47-56 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout.rb"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b93c6c406f9406a503b075a9ee5e7debfa18d696dfa3c9420bf850b4a35819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/active_merchant/billing/gateways/credorax.rb:142-151 | lib/active_merchant/billing/gateways/credorax.rb:164-173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"41306b0ab5926ec2a690e7a1df815e92307359ce110fb8d0a06c89c4d3c3c35a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/active_merchant/billing/gateways/ebanx.rb:45-54 | lib/active_merchant/billing/gateways/ebanx.rb:60-69 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ebanx.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d2be7488d605d797cd84861dc021be387c6b5b42f94a01704daa903683eca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/active_merchant/billing/gateways/merchant_warrior.rb:28-37 | lib/active_merchant/billing/gateways/merchant_warrior.rb:41-50 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_warrior.rb"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"15229ca3d27f1aea58173dc6e803db1dbd924ea448e2c3e1ed60d988c7c5b113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/active_merchant/billing/gateways/redsys_rest.rb:197-206 | lib/active_merchant/billing/gateways/redsys_rest.rb:214-223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys_rest.rb"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7334819e5ae8ff585e256b493ffb5e6f35fcc4b478a8dbc92e4f7bf85f2692c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): lib/active_merchant/billing/gateways/braintree/braintree_common.rb:18-26 | lib/active_merchant/billing/gateways/litle.rb:238-246 | lib/active_merchant/billing/gateways/orbital.rb:299-308 | lib/active_merchant/billing/gateways/payeezy.rb:131-139 | lib/active_merchant/billing/gateways/quickbooks.rb:134-142 | lib/active_merchant/billing/gateways/stripe.rb:252-260 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/payeezy.rb:131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/active_merchant/billing/gateways/orbital.rb:309\u0060 calls \u0060gsub\u0060, \u0060r\u0060 and \u0060lib/active_merchant/billing/gateways/litle.rb:247\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/braintree/braintree_common.rb"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bb6b15a6db1ffd73ac9e23d84f506faffd6ec9907105abecde5c6bac4b4dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/active_merchant/billing/gateways/commerce_hub.rb:176-189 | lib/active_merchant/billing/gateways/commerce_hub.rb:213-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/active_merchant/billing/gateways/commerce_hub.rb:175\u0060 calls \u0060name_from_address\u0060, \u0060name_from_payment\u0060 and \u0060lib/active_merchant/billing/gateways/commerce_hub.rb:212\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/commerce_hub.rb"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe031aab51c4fa0b750e70b42f52770988d41a39edd3eeb1b393f8ccecbf25cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/element.rb:313-321 | lib/active_merchant/billing/gateways/vantiv_express.rb:478-486 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/element.rb\u0060 and \u0060lib/active_merchant/billing/gateways/vantiv_express.rb\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e2441acc900f725de670f725cba39fc407d2301c972eee8bade016be577504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/firstdata_e4.rb:282-290 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:248-256 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb\u0060 and \u0060lib/active_merchant/billing/gateways/firstdata_e4_v27.rb\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb:282\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c6d8827d05d8e80a2c13d245a2efecffd80cec6878546572ea1f1027d0c083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/inspire.rb:140-148 | lib/active_merchant/billing/gateways/smart_ps.rb:179-187 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/inspire.rb"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c8505723a1f6f55923daebca7a372501fcdff663b432c0a425b6e8f31a1ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lib/active_merchant/billing/gateways/itransact.rb:277-286 | lib/active_merchant/billing/gateways/itransact.rb:288-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/itransact.rb"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"9816425e48dc608dbeea21ff1cfb729d7aa607ae8c65e647853906d0027bcf6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/latitude19.rb:60-68 | lib/active_merchant/billing/gateways/latitude19.rb:72-80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/latitude19.rb"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"128e0d125fdefe70443c421e37cefdb0b410d7a762e47fab2741d55a5498a130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/merchant_partners.rb:168-177 | lib/active_merchant/billing/gateways/paysafe.rb:365-373 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/merchant_partners.rb:168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_partners.rb"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"43526abf50d2a3499a4142dde33515eab7eec5b138e7e84aa2268371c7a1287d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/smart_ps.rb:23-31 | lib/active_merchant/billing/gateways/smart_ps.rb:36-44 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/active_merchant/billing/gateways/smart_ps.rb:45\u0060 calls \u0060add_eci\u0060 and \u0060lib/active_merchant/billing/gateways/smart_ps.rb:32\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/smart_ps.rb"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d4dd09027f0ae052e6ce80bda94b674d742e0e692d875728f6d508454386d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/bridge_pay.rb:166-173 | lib/active_merchant/billing/gateways/telr.rb:215-222 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bridge_pay.rb"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f546d5f3564c65a032b432238075bc0eb1874648cc9a14c6008e48af944f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/active_merchant/billing/gateways/card_connect.rb:300-306 | lib/active_merchant/billing/gateways/ezic.rb:158-165 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/card_connect.rb:300\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/card_connect.rb"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4953f76c1f22ada172d701f3a879c9e3ca5830ff6ceabee7e9df2e0e642fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/cyber_source.rb:381-388 | lib/active_merchant/billing/gateways/cyber_source.rb:448-455 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c274b3b654e1efd0c68c54bb51ce279b92b7216820c80b0efcc87b290b65d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/cyber_source.rb:1388-1395 | lib/active_merchant/billing/gateways/ipg.rb:389-396 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d62b2aa4bd326993706ea58e170ff2dfe98b1a52fd9e229ceb6626190b19ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/decidir.rb:378-385 | lib/active_merchant/billing/gateways/decidir_plus.rb:300-307 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/decidir.rb:378\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eaacd1af148bf1259b9775bc36c26f79758a4be3684723db070bd630617bb88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/element.rb:255-262 | lib/active_merchant/billing/gateways/vantiv_express.rb:416-423 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/element.rb\u0060 and \u0060lib/active_merchant/billing/gateways/vantiv_express.rb\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5f2f9516eaffa4f9a82b6be7810dc6fa638572f8d16e30f6bf149345ec43e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/firstdata_e4.rb:233-240 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:207-214 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb\u0060 and \u0060lib/active_merchant/billing/gateways/firstdata_e4_v27.rb\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:216\u0060 calls \u0060add_wallet_provider_id\u0060 and \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb:242\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"befdd85e3b2a1ebe23736f004bcb251676fcfe45062965101e3e6e5713431a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/global_collect.rb:361-369 | lib/active_merchant/billing/gateways/global_collect.rb:372-380 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/global_collect.rb"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd5a6f2ae433b822543da0d215b8694d9e77ae0f16c0820f8ace66cd0ef090d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lib/active_merchant/billing/gateways/instapay.rb:74-80 | lib/active_merchant/billing/gateways/worldpay_us.rb:96-103 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/instapay.rb"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"284dd3ddba7c9ce2992a6109b44d839e9cadf48e2b4bbc9e6e381ab0ec9edd42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/mit.rb:170-177 | lib/active_merchant/billing/gateways/mit.rb:182-189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mit.rb"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"03189a0a827286c9828048e2b190a69d5b99ea8dfefe885f742306f6dcc1256d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/payflow.rb:149-156 | lib/active_merchant/billing/gateways/payflow.rb:186-193 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d396229256e929344a3f9dd31e229ce8eafe51145f2536d90b8549a4827a0529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/worldpay.rb:239-246 | lib/active_merchant/billing/gateways/worldpay.rb:428-435 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay.rb"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c24c910f4293ee9c0aac42b46765c592282c136e29819f21dc632adf3afafa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lib/active_merchant/billing/gateways/cams.rb:148-154 | lib/active_merchant/billing/gateways/federated_canada.rb:77-83 | lib/active_merchant/billing/gateways/money_movers.rb:68-74 | lib/active_merchant/billing/gateways/verifi.rb:131-137 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/federated_canada.rb\u0060 and \u0060lib/active_merchant/billing/gateways/money_movers.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cams.rb"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64b05f22ad5f05fa8eb7390b05e2b26af5e6372ab438d67c7876f3ae1cb8793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/active_merchant/billing/gateways/inspire.rb:113-119 | lib/active_merchant/billing/gateways/metrics_global.rb:260-266 | lib/active_merchant/billing/gateways/secure_pay.rb:158-164 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/metrics_global.rb\u0060 and \u0060lib/active_merchant/billing/gateways/secure_pay.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/inspire.rb"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dad954cca2787ff59e4dd97a1b780ace24aadeb7e01ddbcfb65aa08a63e16d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/active_merchant/billing/gateways/element.rb:302-308 | lib/active_merchant/billing/gateways/vantiv_express.rb:467-473 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/element.rb\u0060 and \u0060lib/active_merchant/billing/gateways/vantiv_express.rb\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69f9ff6ad007927e4683bdc0885b45a69880fb26530524d618b4ee8fb768aad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/active_merchant/billing/gateways/realex.rb:140-146 | lib/active_merchant/billing/gateways/realex.rb:190-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/realex.rb"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a419e8d371cff4867169df4c184c2e36cda2ca66a0534bcb6ea4558cbcc5e52e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/active_merchant/billing/gateways/vpos.rb:82-88 | lib/active_merchant/billing/gateways/vpos.rb:101-107 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vpos.rb"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c009e71481d433b47ad3d28c17393e7f273322ddb9b6a851f39eedf9b122488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/active_merchant/billing/gateways/mastercard.rb:147-152 | lib/active_merchant/billing/gateways/mastercard.rb:158-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mastercard.rb"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8828002574c11f8cf6da9e3ec37895e494f23872e530bd739d12fa9cf21eb818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/active_merchant/billing/gateways/jetpay.rb:353-357 | lib/active_merchant/billing/gateways/jetpay_v2.rb:382-386 | lib/active_merchant/billing/gateways/jetpay_v2.rb:395-399 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/jetpay.rb\u0060 and \u0060lib/active_merchant/billing/gateways/jetpay_v2.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f676ff2926f7c8fa83efa517031f51584dd9d315f6e57d7a72c231d296a29a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/active_merchant/billing/gateways/payflow.rb:134-139 | lib/active_merchant/billing/gateways/payflow.rb:170-174 | lib/active_merchant/billing/gateways/payflow.rb:268-272 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be1e6979741b841e650f56268bf45b8bbf20d14bb737e5e311f1d951d05c6c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/active_merchant/billing/gateways/decidir.rb:224-243 | lib/active_merchant/billing/gateways/decidir_plus.rb:146-165 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bffb6fad222396b227e3d9e01e2b6de59d955c792891d34576bfd50591a7e63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/active_merchant/billing/gateways/jetpay.rb:364-368 | lib/active_merchant/billing/gateways/jetpay_v2.rb:380-384 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/jetpay.rb\u0060 and \u0060lib/active_merchant/billing/gateways/jetpay_v2.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"80001826d58e02fb870930747e116489a49f7938419740fe0aa6d3678580d9fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/active_merchant/billing/gateways/payu_latam.rb:209-215 | lib/active_merchant/billing/gateways/payu_latam.rb:218-224 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payu_latam.rb"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7e1e6749ec1551316cb9bfc03b494662f1203a8817ed6654d6a03f86c0a864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/active_merchant/billing/gateways/adyen.rb:751-755 | lib/active_merchant/billing/gateways/monei.rb:257-261 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad2547183924443fcdc218d837e0e6d3598004356dac2ed496577c12250c0d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/active_merchant/billing/gateways/adyen.rb:841-847 | lib/active_merchant/billing/gateways/stripe.rb:746-752 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ad036cc71d2a04a7510c2f2ddf6087a91d47bc4199b23a8d378677cdb417eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/active_merchant/billing/gateways/allied_wallet.rb:30-35 | lib/active_merchant/billing/gateways/merchant_partners.rb:31-36 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/allied_wallet.rb"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81da726f7d2b5b80053fc1e8bf710edb9b831e937c4a51757858af14e36ab67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 11): lib/active_merchant/billing/gateways/allied_wallet.rb:185-189 | lib/active_merchant/billing/gateways/cc5.rb:176-180 | lib/active_merchant/billing/gateways/flo2cash.rb:176-180 | lib/active_merchant/billing/gateways/garanti.rb:242-246 | lib/active_merchant/billing/gateways/jetpay.rb:316-320 | lib/active_merchant/billing/gateways/jetpay_v2.rb:328-332 | lib/active_merchant/billing/gateways/maxipago.rb:144-148 | lib/active_merchant/billing/gateways/merchant_warrior.rb:216-220 | lib/active_merchant/billing/gateways/nab_transact.rb:289-293 | lib/active_merchant/billing/gateways/qvalent.rb:268-272 | lib/active_merchant/billing/gateways/secure_pay_au.rb:286-290 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/jetpay.rb\u0060 and \u0060lib/active_merchant/billing/gateways/jetpay_v2.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/allied_wallet.rb"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"996212b1ffb195670fb86576c5c475ff8983ab3394fcef9752b5d0b364462f58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/active_merchant/billing/gateways/authorize_net_arb.rb:420-424 | lib/active_merchant/billing/gateways/orbital.rb:939-943 | lib/active_merchant/billing/gateways/secure_net.rb:247-251 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net_arb.rb"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c78b7bb644fec7bd3e3f1e8e1e4c68cdd9f150fdfc90503fd4815a28cb1015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/active_merchant/billing/gateways/bambora_apac.rb:135-141 | lib/active_merchant/billing/gateways/ipp.rb:101-107 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bambora_apac.rb"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"343f9e19e511d7d721fe98c457fcc77fba7c1f998e3bc1c41bf733fc5f29b833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/bambora_apac.rb:145-152 | lib/active_merchant/billing/gateways/ipp.rb:111-118 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bambora_apac.rb"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e697055b57108c0b6fc7f09d8e79135472764f080ff13b5f9f56f2e0752252d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): lib/active_merchant/billing/gateways/bank_frick.rb:36-42 | lib/active_merchant/billing/gateways/bank_frick.rb:46-52 | lib/active_merchant/billing/gateways/cardprocess.rb:38-44 | lib/active_merchant/billing/gateways/cardprocess.rb:48-54 | lib/active_merchant/billing/gateways/cardprocess.rb:74-80 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bank_frick.rb"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"189fe290e6b5a4b0175c672fa8fae1d22d8318b196cbfb5aa9022529392f4ae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/active_merchant/billing/gateways/barclaycard_smartpay.rb:25-30 | lib/active_merchant/billing/gateways/netaxept.rb:31-36 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/barclaycard_smartpay.rb"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f302b6f3530514ab052cefc95bb19914672bc91716ddbdefbac866cb5fde1cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): lib/active_merchant/billing/gateways/blue_snap.rb:168-173 | lib/active_merchant/billing/gateways/card_connect.rb:162-167 | lib/active_merchant/billing/gateways/cardknox.rb:104-109 | lib/active_merchant/billing/gateways/iats_payments.rb:85-90 | lib/active_merchant/billing/gateways/moneris.rb:198-203 | lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb:283-288 | lib/active_merchant/billing/gateways/rapyd.rb:95-100 | lib/active_merchant/billing/gateways/trans_first.rb:74-79 | lib/active_merchant/billing/gateways/trust_commerce.rb:336-341 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 9 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/card_connect.rb:162\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_snap.rb"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbeea70d342f548f0af605f111af32791a1744d6349951a0666754f794e9d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): lib/active_merchant/billing/gateways/bridge_pay.rb:93-98 | lib/active_merchant/billing/gateways/cecabank/cecabank_json.rb:94-99 | lib/active_merchant/billing/gateways/element.rb:153-158 | lib/active_merchant/billing/gateways/first_pay/first_pay_json.rb:80-85 | lib/active_merchant/billing/gateways/shift4.rb:131-136 | lib/active_merchant/billing/gateways/trans_first_transaction_express.rb:316-321 | lib/active_merchant/billing/gateways/usa_epay_transaction.rb:127-132 | lib/active_merchant/billing/gateways/vantiv_express.rb:306-311 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/element.rb\u0060 and \u0060lib/active_merchant/billing/gateways/vantiv_express.rb\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/shift4.rb:131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bridge_pay.rb"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fefb60886afbd81222d4be7a49b551027a4a7e62396f9771da258ad0b542e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/active_merchant/billing/gateways/cams.rb:90-95 | lib/active_merchant/billing/gateways/ncr_secure_pay.rb:22-27 | lib/active_merchant/billing/gateways/ncr_secure_pay.rb:31-36 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cams.rb"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"60637ec586d0c767186a96b6c251d36f1dd539271249543f35fd1d039dd1c97f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lib/active_merchant/billing/gateways/cc5.rb:166-172 | lib/active_merchant/billing/gateways/maxipago.rb:134-140 | lib/active_merchant/billing/gateways/nab_transact.rb:277-285 | lib/active_merchant/billing/gateways/secure_pay_au.rb:274-282 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/nab_transact.rb\u0060 and \u0060lib/active_merchant/billing/gateways/secure_pay_au.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cc5.rb"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"da79b699d0b5e381217c4788bdfc3470d7b42d750fa788a3172246e6d0af4208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/active_merchant/billing/gateways/cc5.rb:188-194 | lib/active_merchant/billing/gateways/garanti.rb:193-199 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cc5.rb"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c87efcc37cbd64cf86f67122f04a44b0224384838a752f6a0c6f6307a51d337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): lib/active_merchant/billing/gateways/cenpos.rb:23-28 | lib/active_merchant/billing/gateways/cenpos.rb:32-37 | lib/active_merchant/billing/gateways/flo2cash.rb:35-40 | lib/active_merchant/billing/gateways/flo2cash_simple.rb:7-12 | lib/active_merchant/billing/gateways/hdfc.rb:23-28 | lib/active_merchant/billing/gateways/hdfc.rb:32-37 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cenpos.rb"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c9f3d15008e67eb14bd2d9f0fe13830b15c9ba6de06b88e554217768c84089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): lib/active_merchant/billing/gateways/cenpos.rb:41-46 | lib/active_merchant/billing/gateways/cenpos.rb:61-66 | lib/active_merchant/billing/gateways/flo2cash.rb:44-49 | lib/active_merchant/billing/gateways/flo2cash.rb:53-58 | lib/active_merchant/billing/gateways/hdfc.rb:41-46 | lib/active_merchant/billing/gateways/hdfc.rb:50-55 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cenpos.rb"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d9c55f2f58e675428a546f2b60dfc69be9aa94e9d8961c374d49d409f2667b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lib/active_merchant/billing/gateways/commerce_hub.rb:116-122 | lib/active_merchant/billing/gateways/deepstack.rb:81-87 | lib/active_merchant/billing/gateways/migs.rb:212-218 | lib/active_merchant/billing/gateways/worldpay.rb:151-157 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/commerce_hub.rb:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/commerce_hub.rb"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5008324747be4bc40cc382701b6417bf125b5d009c34a2182b7e83abc7d89169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/active_merchant/billing/gateways/ct_payment.rb:148-152 | lib/active_merchant/billing/gateways/merchant_warrior.rb:96-100 | lib/active_merchant/billing/gateways/worldpay_us.rb:80-84 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ct_payment.rb"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1d9a9974d76d6880129e1af221f4a71326a996a7e43778655d0fd2fbbeccea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/active_merchant/billing/gateways/decidir.rb:106-112 | lib/active_merchant/billing/gateways/global_collect.rb:94-100 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/decidir.rb:106\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc010fa620ef58dc59da583c129424c08cef81a22debd7c65f8c74b1ccf018d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/active_merchant/billing/gateways/decidir.rb:256-267 | lib/active_merchant/billing/gateways/decidir_plus.rb:170-181 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4df6270e786eed249358d2914e2eabf078502d61e7f58f9fec3821c0bdfe35e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/digitzs.rb:60-67 | lib/active_merchant/billing/gateways/pay_trace.rb:169-176 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/digitzs.rb:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/digitzs.rb"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"487213ba0df5d5f0d56fecedf0841884d35c5523e4f1e241b99f27413783389c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/element.rb:177-185 | lib/active_merchant/billing/gateways/vantiv_express.rb:330-338 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/element.rb\u0060 and \u0060lib/active_merchant/billing/gateways/vantiv_express.rb\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fafc2e7ffbf9e808f076037706bd7e25329462cfe20e9b121404874d05afe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): lib/active_merchant/billing/gateways/federated_canada.rb:29-34 | lib/active_merchant/billing/gateways/federated_canada.rb:38-43 | lib/active_merchant/billing/gateways/money_movers.rb:20-25 | lib/active_merchant/billing/gateways/money_movers.rb:29-34 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/federated_canada.rb\u0060 and \u0060lib/active_merchant/billing/gateways/money_movers.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/federated_canada.rb"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"08374e65f4fd3c2cd9d7ea5ba5341053d4055b1336246b5c82ef8079c35530dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/active_merchant/billing/gateways/federated_canada.rb:111-115 | lib/active_merchant/billing/gateways/money_movers.rb:102-106 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/federated_canada.rb\u0060 and \u0060lib/active_merchant/billing/gateways/money_movers.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/federated_canada.rb"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f18cbcfee935abee16dcbe8a8570c2ffbf3d940717f3facae62d59039b1875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/active_merchant/billing/gateways/firstdata_e4.rb:159-168 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:130-139 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb\u0060 and \u0060lib/active_merchant/billing/gateways/firstdata_e4_v27.rb\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b279824959eccfe649226fb2a3fc9a22d8e496ae9df8cc8b9e0daf274e292a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/firstdata_e4.rb:191-198 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:164-171 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb\u0060 and \u0060lib/active_merchant/billing/gateways/firstdata_e4_v27.rb\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d826294ef2ca74c0e85e33dc9600d74cd2e50a80eadfa11163d2658728e5ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/firstdata_e4.rb:382-390 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:425-433 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb\u0060 and \u0060lib/active_merchant/billing/gateways/firstdata_e4_v27.rb\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3f2ed186410b33194f2d881d897ae5f15497923898dcf60b15b84a9e61b826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/firstdata_e4.rb:414-422 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:457-465 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb\u0060 and \u0060lib/active_merchant/billing/gateways/firstdata_e4_v27.rb\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c0e65171165048f7fe25ed192a0cbb40956c0881d51ff1671c112e0f57021f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/active_merchant/billing/gateways/firstdata_e4.rb:426-431 | lib/active_merchant/billing/gateways/firstdata_e4_v27.rb:469-474 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/firstdata_e4.rb\u0060 and \u0060lib/active_merchant/billing/gateways/firstdata_e4_v27.rb\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 97 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"966175eb64243362979769a90d2bb31311c2de91934cdaad14b81ea107479128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/flex_charge.rb:280-287 | lib/active_merchant/billing/gateways/nuvei.rb:541-548 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/flex_charge.rb"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f7d915c7e706d57329a9f7a8ac744147ac3f87fe642f5f76096fdfcdc3f3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/active_merchant/billing/gateways/fortis.rb:250-256 | lib/active_merchant/billing/gateways/loan_payment_pro.rb:175-181 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/fortis.rb"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"00196c3ba1b167f3fa3f44db2f35e7c51881ec118eeefbc7ae9680327eebc9e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/active_merchant/billing/gateways/inspire.rb:197-202 | lib/active_merchant/billing/gateways/smart_ps.rb:259-264 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/inspire.rb"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e83b04f868954e82ce88ccd157f897df965e51dd2d28653215aa26d62bb270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/active_merchant/billing/gateways/inspire.rb:206-211 | lib/active_merchant/billing/gateways/smart_ps.rb:268-273 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/inspire.rb:206\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/inspire.rb"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6f0da881ef2a2b723dce682c2d9ed25760807ceb145319babd94be40194a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/jetpay.rb:304-312 | lib/active_merchant/billing/gateways/jetpay_v2.rb:316-324 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/jetpay.rb\u0060 and \u0060lib/active_merchant/billing/gateways/jetpay_v2.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"628231ad5d2e4b4b2a3a8a41cde14ecac3026d92f7932a416a6df1bfcbb8d6d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/active_merchant/billing/gateways/merchant_e_solutions.rb:173-178 | lib/active_merchant/billing/gateways/smart_ps.rb:217-223 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_e_solutions.rb"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aa55e265fc21800d3d1bf208ae8822b09e414dbd0a7cf106b6ffa699ae4f79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/active_merchant/billing/gateways/metrics_global.rb:233-237 | lib/active_merchant/billing/gateways/secure_pay.rb:120-124 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/metrics_global.rb\u0060 and \u0060lib/active_merchant/billing/gateways/secure_pay.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/metrics_global.rb"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"134fcdc677f6edbef491471bc3bb8f9118c6dfcb51db095db5050843f473ab28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/active_merchant/billing/gateways/monei.rb:133-137 | lib/active_merchant/billing/gateways/ogone.rb:227-231 | lib/active_merchant/billing/gateways/sum_up.rb:46-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/monei.rb"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed88bc1ecfb33e18817adb68594035b6fcaf52a72adc3ab04eacda07a82b335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb:184-191 | lib/active_merchant/billing/gateways/paypal_express.rb:91-99 | lib/active_merchant/billing/gateways/paypal_express.rb:205-213 | lib/active_merchant/billing/gateways/paypal_express.rb:230-238 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6550d83fc770034cc32bca6124ac86d95156fa10f7d111f034fe61cecfe9918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/pin.rb:261-268 | lib/active_merchant/billing/gateways/trexle.rb:149-156 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pin.rb"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead820d63c4b5d4732dff94021e5e512d61365893be2fb31c7b9e17f1c9ce49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/active_merchant/billing/gateways/qvalent.rb:260-264 | lib/active_merchant/billing/gateways/sage_pay.rb:490-494 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/qvalent.rb"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0891af23e1369348d58dc06ce54d5e063146974dc56ebd00ebb3f1445082c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/active_merchant/billing/gateways/redsys.rb:682-692 | lib/active_merchant/billing/gateways/redsys_rest.rb:510-520 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"276bdcd26d90bcf7512e31042b9f8c11fc28b538df652ff8d83a1ce5cfa2d46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lib/active_merchant/billing/gateways/deepstack.rb:34-40 | lib/active_merchant/billing/gateways/first_pay/first_pay_xml.rb:27-33 | lib/active_merchant/billing/gateways/first_pay/first_pay_xml.rb:37-43 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/deepstack.rb"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6c69b85f0d41625179194b4b3a8e8948160a1f1170b31c8f6679bc18c99e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/active_merchant/billing/gateways/efsnet.rb:168-176 | lib/active_merchant/billing/gateways/eway.rb:128-134 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/active_merchant/billing/gateways/efsnet.rb:168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/efsnet.rb"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10f185a131c0628f0b76f097b883b683aab3dabe487d4a9653e0716f21b8cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/active_merchant/billing/gateways/element.rb:164-173 | lib/active_merchant/billing/gateways/vantiv_express.rb:317-326 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/element.rb\u0060 and \u0060lib/active_merchant/billing/gateways/vantiv_express.rb\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a086423b236ecced59c0ae3eab6937632d380571d844b757b56c3adfec2eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/active_merchant/billing/gateways/element.rb:269-275 | lib/active_merchant/billing/gateways/vantiv_express.rb:430-436 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/element.rb\u0060 and \u0060lib/active_merchant/billing/gateways/vantiv_express.rb\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0460dd0aad5809c83f8668af93044a7a0674d8eac621508871b4d13194a8faeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/active_merchant/billing/gateways/global_transport.rb:29-34 | lib/active_merchant/billing/gateways/global_transport.rb:38-43 | lib/active_merchant/billing/gateways/worldpay_us.rb:26-31 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/global_transport.rb"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa11ad0588cf5b4f1582d78ef939bf100b8736d6dd361b08aa558bd5cbde4ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/active_merchant/billing/gateways/jetpay.rb:227-236 | lib/active_merchant/billing/gateways/jetpay_v2.rb:229-238 | lib/active_merchant/billing/gateways/jetpay_v2.rb:242-251 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/jetpay.rb\u0060 and \u0060lib/active_merchant/billing/gateways/jetpay_v2.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"8971eb777dff74fad4877f50d9d1f7692083474f4877d84774cab593d7274081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/active_merchant/billing/gateways/merchant_ware.rb:150-157 | lib/active_merchant/billing/gateways/merchant_ware_version_four.rb:148-155 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/merchant_ware.rb\u0060 and \u0060lib/active_merchant/billing/gateways/merchant_ware_version_four.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_ware.rb"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc34a85adab62febd12f5ed9e426bbf7f6967735755e619d5d86020a1e790382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/active_merchant/billing/gateways/merchant_ware.rb:161-167 | lib/active_merchant/billing/gateways/merchant_ware_version_four.rb:159-165 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/merchant_ware.rb\u0060 and \u0060lib/active_merchant/billing/gateways/merchant_ware_version_four.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_ware.rb"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11c60c3085d3c5e764c60c25feff1cf56e0153cd4d163ce0bc444af9aca31bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/merchant_ware.rb:171-179 | lib/active_merchant/billing/gateways/merchant_ware_version_four.rb:100-108 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/merchant_ware.rb\u0060 and \u0060lib/active_merchant/billing/gateways/merchant_ware_version_four.rb\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_ware.rb"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"513108a69a6c76daef521b1ded7a3acbbbb2018113d87629c4c7e72ff77b9a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/active_merchant/billing/gateways/pin.rb:44-49 | lib/active_merchant/billing/gateways/trexle.rb:40-45 | lib/active_merchant/billing/gateways/trexle.rb:75-80 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pin.rb"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eedaf34e274ee722e3b8f9f3d79845da9562724d883937075d848ec3d00c4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/active_merchant/billing/gateways/authorize_net.rb:619-623 | lib/active_merchant/billing/gateways/authorize_net.rb:645-649 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net.rb"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"32658bb269ccd2f389287a36657814fc895f6239965140033ae25d0ed81c7b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/active_merchant/billing/gateways/conekta.rb:109-117 | lib/active_merchant/billing/gateways/conekta.rb:146-154 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/conekta.rb"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a0d8d22510ee7d53f692b8de78a387455ea1823614bb493a9e27f2a667e96e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/active_merchant/billing/gateways/ipg.rb:286-291 | lib/active_merchant/billing/gateways/ipg.rb:302-307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ipg.rb"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"729610c6506c5a6e80f3ad06ff09cd676159f6b2f72721899a35c29ce252a0dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/active_merchant/billing/gateways/iveri.rb:257-261 | lib/active_merchant/billing/gateways/pro_pay.rb:318-322 | lib/active_merchant/billing/gateways/safe_charge.rb:314-318 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/iveri.rb"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a3a93cb8facb23f73af537a98dcc17f3331f832df782242b7957d593399395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/active_merchant/billing/gateways/jetpay.rb:342-347 | lib/active_merchant/billing/gateways/jetpay_v2.rb:370-375 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/jetpay.rb\u0060 and \u0060lib/active_merchant/billing/gateways/jetpay_v2.rb\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dcef1029e0ee5eea10ed4367ec5a692436f5864bc3fcc36ad29167f41ee3bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/active_merchant/billing/gateways/metrics_global.rb:282-287 | lib/active_merchant/billing/gateways/secure_pay.rb:180-185 \u2014 before extracting anything, compare \u0060lib/active_merchant/billing/gateways/metrics_global.rb\u0060 and \u0060lib/active_merchant/billing/gateways/secure_pay.rb\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/metrics_global.rb"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5b68d83a111d966298ea6481c3ae87c86be5f4235f035e963fa70cda35560a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/active_merchant/billing/gateways/payflow.rb:143-148 | lib/active_merchant/billing/gateways/payflow.rb:179-184 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4744d30812acab80be0af7a33a7ffeba7c7c745b18b21a8b1ce4f4610a76502b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Gateway (LCOM4 13): Gateway\u0027s methods fall into 13 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 13 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateway.rb"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a90aeb4b03258940256eacbe78386a68b1f26b3dd16716a692877126ee291e6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: lib/active_merchant/billing/gateways/efsnet.rb, lib/active_merchant/billing/gateways/flo2cash.rb. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cc32873910f00e151bd985ab0a788fe0b5aa480d2fde61927572f1d585f59a68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO - implement this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/gateways/authorize_net_cim_test.rb"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bfd7e057193c99dad5aa4906abb6f2b52459af02f617635131b311108df1c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Place raw successful response from gateway here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/gateways/first_giving_test.rb"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f463dfeb94d2bff45502562220c2205db1a3587ae6f2fc5e4b5e00554a4ac105"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Place raw failed response from gateway here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/gateways/first_giving_test.rb"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd5911231bc0c4c993c669d35187a0b5aae521a7d04210c970e856ad3132f15"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO get post_auth response \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/gateways/usa_epay_advanced_test.rb"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca8bdd0948d0972eb10ffb0fbe678b2552cca131e57d787f066279ce6f36c71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO get override_transaction response \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/gateways/usa_epay_advanced_test.rb"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"1410fefa9d8b096055c6856b4fe4e53b24430be1bedf303c96bc2d3cea99b53c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: replace with real xml string here (current way seems to complicated) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/unit/gateways/wirecard_test.rb"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7ea2b54d1cbaa533903aa21bd41406a69c6adef6a1d7257ea7abbdb4175e51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO get offline auth_code? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/remote/gateways/remote_usa_epay_advanced_test.rb"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd28363bbf24cf5b57a626f321514174066d16e37c7562927f80636b3370a7d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO how to test override_transaction \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/remote/gateways/remote_usa_epay_advanced_test.rb"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"8195f7bc398af5f1ce14e597a4aeb47b9aa30a1646ee50f316bed6a0a0de45e0"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hack because token/payment instrument methods do not return a response_code \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/deepstack.rb"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a437dcfcfa1e482663530bded63fdd0f376f564ce261ae34969a10c7447ba8a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: eWay API also provides QueryPayment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/eway_managed.rb"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2dc0df429c1bdaecf872c37c2adb334448e7b5539f62ad064b235fa8712339"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: check this with paystation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paystation.rb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"031c10e7ad2fa865ad5b394abce89ab6d8f52d5ac75c3b95c51b284e7812df13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: check this with paystation (amex and diners need to be enabled) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paystation.rb"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d599215595e50fdde79adcef3fcd33cbe9f5f2e0d70b50f6c7944b53b333e6"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: # * \u003Ctt\u003E:line_items\u003C/tt\u003E -- XXX not implemented yet \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_advanced.rb"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"406b48743e1c844c3157842624d10ac358f4a07f5a8134572a53b067232e3c76"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: # * \u003Ctt\u003E:line_items\u003C/tt\u003E -- XXX not implemented yet \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_advanced.rb"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"05790c5a7d78b319b5b3d04100fd83af7044c4ab58d8916caf2ccba63b785680"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: # * \u003Ctt\u003E:custom_fields\u003C/tt\u003E -- XXX not implemented yet \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_advanced.rb"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b4a54a17318dfb802e040d6d9fcf6af316cd7f309454a6ef4de1027f7a1fe5"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: # * \u003Ctt\u003E:custom_fields\u003C/tt\u003E -- XXX not implemented yet \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_advanced.rb"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"0858ec9ae7022f5e27ba897181197a0c554f884aa5424dbf0ade864b239b916d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_advanced.rb"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"74885ebe363b53dae8063766792b4573ead3e7da46937f49b370873684434638"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_advanced.rb"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a8efc6be4b6260eca6cc7f6b0975ac80dbaa6405e5315d5fb11d64bbc79772"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: # XXX requires! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1cbafd116ab4f65ee262886cea639bd5a28cc966dd06c4b99fac0e9346eba5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: lookup error code for this response \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"generators/gateway/templates/gateway.rb"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"932772159aaa7dc856d2ba30708499daefa71d2b6019c34be4214fb0c876b426"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"258bbfd16ec0f825268c2caa44edd928d4825f8a23db7df340291c43ddfd6c0b"},"properties":{"commitSha":"0b7ae1ef07f246637a82cc91c5d5928b4dc431b5"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54cff3d4b911cfeb9ccde819f9984bff0ee977a71f6af33bdfd19c9591606933"},"properties":{"commitSha":"e80e9867913db9329df282ba65d76e908daeea04"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43abb4f5aa1192a20076f2ac28a848ac9e270b5e99492e181fba22eaef1d05d7"},"properties":{"commitSha":"6a0a6986308a6933a996d1df3899097dde5c5610"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3712f4b40a5d334a2f9acf72c6c2cfb253be43726b5055c41b61c49aa64be775"},"properties":{"commitSha":"73b77b9c694d482721e86d09174a11dcb31c3be2"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"101cad0e64915b5e70ef585fa48451934d6cf282f472c7dfc7993c79ae12fbe3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20ccf9e3cb35a66e86d76391a880f2708bf9a17ef3c564333d157d2132c7a02a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5792ac9027df8333a41aebad2c9011930053a156a842d620e49474788c8404b0"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc1e33d0a8b73bc40c8d222688a88cc25ede2bb9ca63570ead32c5e3016a95a1"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"255e4748453601a7c15ff73d8461f043b16dc555f34caaa35e5f69ed48314e5f"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"528f2f738b90edca51433734361a6f4fb8b97ba4f20adbc92b95115a58f5dd53"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"808bd6fbcd52f91cf48da9a2452ac19fb0213d3148f7b9dc4225488ec6e9d914"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e036fa0fecb3fafaeceae232b15776560b8819e9bc5e52720d8d76ba0ab9bb9"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2876bae49e87c646d07609342c195831da707c88b080da37e4a80e2a396448be"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"881c4d1c9ce21b28a6ee79e572987fc56467ee5a44cd93251495b26656a846f1"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4296d8c6d9b0c0a85fdfa72908b231d13114bafd9619f78835e99ba0560b3f13"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a01748d6c18ab3bcebec73586ad66adeb37ffedca57565cd3f24b9a4e6f87e0e"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"360140357cc31585132001a1fb856855cb1abdc16c3a9053e7bb03efca9b6830"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2655805d0a9ac9d775f6d57f77a509e2a011c03d31b98977d868309e8740da77"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb82b0b0bfd01ed86b574645a3b0b1e15a088f2498ef49d25b5eac57fa453f0d"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22c35a7ef634d258f88145281b831409f3e685e083ca96a0f9695cdd33161506"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43993a4f7eb5dec228db7c15623548ccbcc49bdd3f6f2a1b72cebd9481be513e"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8382ca55f8f90a3e1cb1fdef61d37981af91e81d26a2afdfcfbc15ced18f3fe2"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef7e872ce3164053970f6451f92edcc289e088f54180ebd47a80d0ae8daf8e6f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee2abe74e16ae9091d1f501244305b6e98527c186c6b2c1d842ff25253bdc35f"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e1abf0b67f5051975ff7927dc774a00c72d89b11257d30c36214cf3a05dcad6"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"584f6f32c02aac1dc05274451ece56a9f4874a4cb01ae90ab9647cb27e803fd9"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a63d185f3ee7da24911c4b75335c93aaee992aeefa6f990f0abc44164bf5fdb"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26a9bfa6d069271ec72b3fb1a98ef12d26f4f825cc0d9e65913cbb4f6dde877d"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b313da438dec113a66d94100bfb6a65e80252bc488a3d582d88870b5e1740d62"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1006a86c129f93e2c9b855bc874d04aa1928798975fb7f0bd609c507a43d2222"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4dff35c5a34efee35123f021a7e434ee072d388446146bdce68aa8e6a23486cd"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"266b1d7d2043e622b06734ef2c999a241e2f978182e43427055fae5a534fa4cb"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12bd4fdef4d3d7dadd27830902bac2b9db697f1f376f5b8b283c3a03a5704897"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4172b53314c9b6c87e300809f87c9a6ae8b2a72f1d06b6665100b89f3c429def"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7fa126c17646b9cb4e33f192d43d177e85d3eca985d2450e09aa4930fbbffaa9"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2b345b7d344de7bdd81588adf3a3fb674501b1475caf8adacf4358725176005"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e32580d5ac6980945fa74a01f4f49d4c7ddd19d19d443c95bc26c13faa7bc951"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2170ad41c4465cb19302e58b577d5cc21878227a5d09ded71c7809acd9077c78"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ce485d315b4ac1d4c476d3ed8054528f0cfd5f80af8eb8fe9c1652997b4b1d3"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8027d58608b171d2ece50dc13fda4a482ec0c0eb15aef647670e2183c801781e"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"919d79ae0f58c56ec113cbaf51fe532303c125d3a9574c90995080121c448c57"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c96a9225a9551c66cee75e53337deff24060deeaf47229a6a5a8cede278602a"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc6cc5e301cbe8b992bce95f044e43fcb8511f70b85e3121a3fb5007b5212c34"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc240e9cce29b3276b05affd0b5866a0ee5d437e33d87207505db93f4682785a"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81afa18983c89f39b06311e64b6fb4ce60ac094457d56d2c3018cec130cd66f6"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"132ad495980cb668bc865cd3ee004c7ccfd4a49cbac44ff2a5fa95cfeeeb6d54"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b520ad37db52d879e017fe9caa600d640fb18c93e98524195c83b3a8f18ca462"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35ec3c0c22fa3a6b113d5ead64cde7d794e7fdf0f1d36e56379720ed951c70e1"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18d01717d791e57b1a2fc624755be5cb1fb4f92388b2e664afc6079d99b0d429"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51e220b6b858b08064b8754a4f543b1df7d0cfb4d0029e31dcff43f9dbbace95"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac0166409adcea83fb2c4205a2ee5c9576f36a8414a8c07613c099b82580d2d7"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ee250f3a4d06e51b6967fea714d9ab5d0e91ec66eaca0a5edaf2db7a8ed9ad1"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a29d3a15a960cd8b95b11a5f707206fda4a1f0657f6fcb87cba68266f857fc1"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93debbe33f42ebc2abb31459de3c959d86276e8fb07d9ef8970906d46333f755"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e91578f902f9107b602d17068f081c409071f02d1dfcad471b3aca68a03c6bb5"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd3afd27a26e2fe7e06efb2c9306994abd76afcfb658684a4360d2d9ee3877ce"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1de1766115ddabcff0821a739c69fbc5b25d464a6d31d6884d896a718927fc03"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b34f708e79320f62a45117506ba75383d9c1afb01d725c25dd294e695e35ddb"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93d74046c12ab9ddedfd363ce036d5a0cc69ba2290434f39682e7f795c7f324d"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71384616b7dd382077ad13f8f6875522da5be1b8d5bb85b09f9dbbad1d1fbac5"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ed40a68576686a906da492b6343fe4d1e1dc82dd0433474eeb491bf46d7eb29"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0249c197aa30c777d2424cec30f5bfe2c4f4755dda6c2b0b33f709714eb40855"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12c8fd9bd4901c3fd2c987ce97774e3df544ceb03005e64ed8186ae294240db7"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d3b8a850237294afd716aed39ed66ef3752bcb23d025b5d6d9c1c08a7719894"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9699aeaf016f5bc9fdee151f4c11a3132e72ca2e7f1017fe11ed6fc3799567ef"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb64c61915317d4f57c8051b77866fd187a752c8f2fa0f6d98730f68547bb950"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58b878ab99ee2918a2a5818a5339e14fbd68f1a5aba38aa7c92a7ec4042a77b8"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a0b5c183480fe1a79a51e5145f9ac6b6c49ee2c300f292cdfb1178b7a62b68f"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d1987986b06dcb70c3f2ab71b72f016bceb334e6c4bf2c0af041d618d0831e4"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2c2c2244df000cce98f7d223799de132a716c4096bab88bb72493a896073b4e"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa026fdc6fb865ad680ff15d4dc50657017f98866dfa6e9ed34c5a210657c200"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fed68a4a6916886b3e335c5a5b316ed04261621cd4d6470042ef5a75942e399d"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b713620c0e56887d7e3d0982332346782952e8f3dd22a5d2c88043bceece114"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7b6745d97addadb61146217b1d5ff4c49d515382954d0b002a649a8c5bc0cc9"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f9fe2bef171b73f025d4c87ae1d2d3e94890d57c9f78a4f8deeccfdaa80ea52"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc69a9a0db16361386a0d57dd148e6cf56c142888fcceabfc5ddc0923c3d761a"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73f670b761e8b5e03a0741bf905139324a5af5eca8960e92ed55e1c7ff1f1dc3"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ebfd91517d730aac3ae68198f0be956e2a50c9f3018e91b1e9f07941f02ec99e"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30a52be0fade3cd63cc503dc79347696410f3a65c33f773392c3ec667d09c4bd"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b419135376a8e78cbae683eff2153ecbbcd909b3afb1a52c783a9b0feef6429"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"439ce50347bb864a762790dffb8b9de4899537de9f60f26866fe0dbb286915d5"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a30b60418bf1e2838124f6aaebd08957dd35ec6f903b9b58bbbe8139fc4c0519"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3adad3f1c042967a946509eaa644c7a19cba762bac0a2446cfaa8d6c46ef53b6"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59bca2e3b5e4f29665a7930ba8ba98961b040e1a3bf9864f7286c8a801f0482a"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"deaccebb30e75393e5b9aa50486f154ae5d0800c1427ada4c77b2200ad8f7f8d"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6125431eb68c0bba47fe75e4a4dbcafbbee903f6c3b2a2d01899db0b99f1689"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d768faec4b7dc09c838e32997f9dc5ab3459d86ee1d378679de5a5127d31d6f"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f1b057aa0f01b88bd078b4e89a22116fb7fae5c1cd27d46523f17ed4c84d198"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe4873e45cc126a44393095c72ad316728b50397d11c8de5e880ecb06ff53a1a"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d4787e1477349f8ea4deaa7ba26d75f9dbc1b4d6c82113d13fcd80dacde6f79"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a3a97d103c65d2b9f25b278f8522850ddf1df7366df6c57cc27bf8d54161c3f5"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca8a4e8c55dc0d690f1c0d4931f9c8bdced7a83c22e99b78113e3c8bbfe854a5"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a9f44a60e3314b05ea2a54fdec7a58e2b39999465da9615d3f6f34cfd15e27a"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"999d27752eb825ec37ac4c13a2270a58eea4f770dcae6c567f02d0ce746f2861"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59f8733856403ec2fbb184379c8128d317b2f027f064a6d25511071590d0cdd6"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4023b5796c9f21de610a3589a5ed48e6de9fb8f0b3e9cb7bdb8d19983bb5401"},"properties":{"dependency":{"package":"concurrent-ruby","version":"1.3.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 244 of 246 significant files have no living knowledge, while the repository is still being changed at a low rate (3 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 244 separate risks. Counted over 246 of the 301 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f282f7db3177322792c66341ad18eacc7b865a4ffd6e837b36605a2a6473d793"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_advanced.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad677ca4e01fc4f031c7c6b370ea183537ea141344d7cd1b7bf55b5b07b8a8f9"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/orbital.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8d9a370eefa493583c9b68c463d84fcf165e9271180c8a693eda443b2bb5ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f079d7aa5dc2548c2f89cebcc20032dfafe6bde41620c6bac6dc9c05c4d7ae77"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net_cim.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc678b2b8faaf30f3bec5ee9fb91e727911bc8f3a7ae11567ac8901ff92326c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/braintree_blue.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b6cb5dc5822a83cb499ab8832ae753b6a2a55250237c1343471e8b0afbffe7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3da59944a611b1f6b8fbf84eeabd6cca371b4c3b925088d4c019f43a26e9c32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe_payment_intents.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9abea7473457f39a0b6679d759ee8124e4e4465fd8a8c120fbadc72db832d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b638c38f8aea53f24ee8cd847d3c34253e1d2ce27f6c2b198b6c0e8eef51d375"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab630d4ddd2bf3ad371ea48116418de6fd5e6aa997185b6134b0abe49575375"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"552dedb196ec3ae820fafb5b82acd916b475d8d16615f33d542ef7213b9ffa31"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be60291e9416498239f96c9d0f0e5c8c7b8e4daacf53460e6b75ef2c1da00d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87a77dc1c3b2ee43197c8290836629c143a3f9d8c3e3b11f46d9a68af7b83d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/global_collect.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"006dbf05612ba7227c7f82c70845b10e3fcd87e1d2cc440e384b579467699a01"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/eway_rapid.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9d046d71ee907f46cfee6641e3a6ee0029a5e9e928e2d555aa9ceb9dc0aaf1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82863bd7fd4047beca58c3866eae1d57499038f3eef20d102d5437cd8bd11d2d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vantiv_express.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1434f6f2fa6db983a40b83bcd4169d04e2df56066361edc188ed81c2d4b0dec3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/litle.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bd10eb759746508ef41c7876aaa646f3849188d2183c4f92d0e75cc5f625ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_arc.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d8c6765bb6862fcd87b2fea608d055f0aab7f21b5e4a3ba9ebad9ea7774ddb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_snap.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8522730a3930743281fcbbbef7c0d15867a95a5dcf33b530e374bb23da10dc9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/trans_first_transaction_express.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0625c0c2ed70415b8d922ad8c8a0d63c5ef849e9ffb15c13346f0cdff3709c2d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nuvei.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1522d04487d0b6b35a633325d691ec91167f94e76b5ad04bb94a618047f35285"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_pay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"355a6f367f4ba4078f481f402927042f9af18bb367c93c1f567da0f702a9cc95"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ogone.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a015f63bff4ec6080f75d0b4d34968bf51ed237a17dda1fc6524b8e8106be5e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source_rest.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e0543bcfe4a276ee21cb149abf4aad83577256ec5d52f0a71002af76de58db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90807958ee6891bf2d936d49ee1ff026f7d841e9a3fd83fa9e9fbe284eba5457"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/country.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fb3e0eb32ce6ab7b598c0fb4bd0073f68694955b49fda02a7b893d8748b904"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/elavon.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbb2441e3b6d37a1e9ec0279f08ba684df13eb6a677d4cd104fff57bdae1963"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/itransact.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0789a77381c6a31d6aaf64637030048424fda3e9a63d3cd134b9fdca3ad8299f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/moneris.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0705ccacac3960706c594bab5106b5226e328245b75241c67212bf29fba9bb4e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/credit_card_methods.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9dadacf6c70603766d7587559fc91855f2be7e05cd28b1576059979f7a797a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/skip_jack.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d630b975d17b9e25ea9e7904a7d899fdd4a03e1d93d55b36699548d445c74b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/trust_commerce.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bcea386c7fab8908f8e031d780f62014e0ad8777c7581ce6b355072962a984"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys_rest.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bac9ef8658304585e2faa3434018d930b724b61770975e7b769e5bd56215cfa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payeezy.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"479173fe9ccf86673bf0e632625cbcf14e8341bfe0683f2bc90b450038d80a00"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payu_latam.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c513263dd813e6bbd75c89121ff52e571bd521cef068ccbedba37715e4d96c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_trace.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1bd12c2cf8aa77498789752f842f924777742668e5d1a2376d7c7e37eb4836"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4_v27.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dae2b2cda949d36412be540b2ee7610183eafdd524958db69d25329eb1c0005"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/commerce_hub.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"354e63a6e1dc51d90a2cfe3a8d36f55ee085a193fd236b325ee7c19e14dbf406"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net_arb.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12857531c12899a8d8b8abb77225b4439d7a019ed309c260f31f820737ca0cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/rapyd.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dbb99530027482d94d27125c8f8af91e2d943f63da19cc66c533ef5ca23e2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/sage_pay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50250bbee59b77e68c26e50a1d04cea56d1c759db1ad093ee0b4936b48aa575a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payex.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc32b77df2252102a2b668ac9fdfa5ba631378127023a20ac9b720d9e0b3728"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ipg.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"feeb0dd200eaf46121caf4541818e675bb266ab3e721434ccbc757858e0689e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/netbanx.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57351074649fda8f29831054c2f714a6b32c12d75ee4837f956f06f94b271e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/linkpoint.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea825d568a23d133cfd61e6684ed5bc7a1936f8825230523eda5433f3b3bbef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paysafe.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa69bba4a7b8495aa53768b3757c5d0b84c4cdac4640b4c64c0087626a010e6a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda736c12948a3d522610b68b93767ae320e9a887ed564c79c8c495b0bf7d4b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/monei.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d7dcdf790d41e2ed4d52eaa2cb01e85e8f0019dcce355e4142bfc15d726627"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1274915cfaed81b4ed12a2296089683aa35aa89771f9c9c2376edff76a34d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/wirecard.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5c963cf76a8287d39a93a1e8ee3a77505322873576b77920e4636ff06b49ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/hps.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b32b37c2a6b62d6c865259af0010ab59d0fb992796607d52e2963a661fb0b30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay_v2.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dc980bed58087cf4ca571447136f8407dc7257fc2ee0213a301f30b0ad9294"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0525f6aadd70f89326e380288db1a4ecb2e4cb60189297e95897620b56f628f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a27c87d3977e90804d3d3390414a3ea99bb6ae3938ed7163fbb2597218fcfb7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_junction.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77201d7a3daec0ec22a790d58aceff58d668ac22df003e01ac3f73e6e30e2d5d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/iridium.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"249a6f8087b81454eed4a772690977f69dc4cc7d93c33efbf6703fdedf10be3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/barclaycard_smartpay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55e59cd4b25e076ccdb16694fb2339007619d5de75632a1cc6679e898067329"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/sage.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c459c546f44cc24b8a3fa667052e970376a84a9fb98e1601f2cf0a019f9ab754"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/deepstack.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d8dda62d368a111ae06a53112b345f29577a738a61a2cbf91248c79dcb9562"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4e0b92c4d4046dc5a554adadd0ae576a73f25b8b265bf34872dfa92d34357b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payment_express.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cd1fd93d89f4cb8606b3253e12c6bc263d697da2d3047e0016f1bc9d0de7ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/priority.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ecf00dccebbabfc861506618c76fa5863e43d1e5fdce9804b52b8e6b3fc9bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/simetrik.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"475aa3edccd5c5d8dae43a56113f908905eb257f5dcf290d50509978da890e8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/opp.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3070566999560a2c9ab8a1f6fed3324ada3b728c0ae7a66fc03f289e992bb6d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/quickbooks.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61073a50c613e810f23d3c388321fe9f6568d1d020ff7a6f9c2b7baf2ee092c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/realex.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9637d8f61c152ab12868abf768323c835a1b35821927d0a8fede4e85ad5e0ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mundipagg.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5948ccbfabad106c74f6049864d099728e2dade43843a8017ee48eff203edc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nmi.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28de6c52707f46df97cdb6a3ab787edb64dc874a453e1c16ef8fb2574bf7bb5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/latitude19.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb09c075d794b32a355e131923c0c33f7c409c26f3f855d01a46ccfa6015ffae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_transaction.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9767da13a2df0ef50a0dd9ba3632c09bd226a80b0a431c997a5a552f63826437"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/d_local.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a43657e508b9aa974dd61d5baec65d99e5db00c035632536f522c4aa7b9f36c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/shift4.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c113cc730d300c0495fa8b5bb167879d2f160c41e2acffdc0f47b01b965d772"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/credit_card.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccddef6d8e973502c3c0d23d7287415bdf442803567c1a70bd78b135aa09753"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"941024f745fecec1b3670ed46ac2344e80f4e956071a21be759f26f65d1072a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/airwallex.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7422e414b6d99d9f90b9ee4a0ec32f1fa5a1f482acb4cf5cee430860c6fd55e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paymill.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaa545ff303413cc46cdb6b6de2f566b147237c72ac8c2ba3af201512caec00"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/flex_charge.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f6243efb6ec26bf35fa16080eeb9844c13ff30e4bd4fb3ddc5ae05d1df21d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateway.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62454272700623af99b0930a547dfc6de32d30c2d0aad95335923603cc10af57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ebanx.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e0be1c93bdca16c92b4dd13fba9149c087004224f61efb68052829c18065b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/card_stream.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"735491b8140396aa261b9457d82cab2f92070667f16f0b9a9836215f2a901617"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mercury.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6792acae21469f8cdd55fe95b5c5e77b0246eec0e452d38b4a15b1b177a07a29"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/kushki.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e826c625acc5f4c948f02c433fa03f94cd6f8595599ddf6a6750d8f66ee13395"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/plexo.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a10ca06726bac5fb3553f89fe9e0f8b1b13b586db192b77baf4b51646136111"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pin.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"820bf2bc04298813e227044a4e4d7fe29bf12d027ab74a1c69818aa2f7d9eb48"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mercado_pago.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"175551e7bdfcbd0a1029d714d9caf8f33f0b281de6abd38607c33877e2184cb1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir_plus.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a45a5b3803f4e05bcbc68c753334db5a7a0413cbb7b8ad28dff24ec6e49afb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow_express.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2665d1798c4b7df6ba6f423883c723349baf81631877591280396c87e79ef7e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/fortis.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18392526fb94c57091e4f7c43ab46231bb0565e8aaf7e6c6927ce2be3d20e2d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paymentez.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df2b09908df73d0c708357e0e36303c0e96340eafdb6c3b7ca4a363c33d6a4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/evo_ca.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d51c4c8ef584a8d824726257684349f5adcc9c4a7b2da13abe96ca8fca4787c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/card_connect.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdf52401614eb30c174d733a881dfc81ae8017e4200d0fae5947e01614798fb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/spreedly_core.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f12c602ce927550ec6a1ed656fa79d5e9c56b83694b9c8fca26632149bdd46"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cecabank/cecabank_json.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb05027ff166b3e2a5df50cf3fb730d5b90aee823d0827a5c3678f1f2d6fda1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/safe_charge.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"850b7cd9cf515b034d79e43e8cbd38b59d0a2db0df2d6c4d75e6cbf73cc2f105"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/migs.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fcb4da9ccc79a6e635f151d4eac284561cb2503aa41a4660824df020cbce8e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal_express.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8402cf0cecec22ec039a79904c5aa9d3d397610f2298101b79800604681b75"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ixopay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5e4fb4d247af943cd04f7016a56526843e2ac535c9e8cd7ad296f562109819"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pro_pay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90e2b70650dc52d39de23f5344cdfb36b192f5f6500466ffb6d5e82f73ce386"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/orbital/orbital_codes.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa7dab456bc768548cdb02720267d2e9d1f3968eda73861496df2d3af3c56f4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/optimal_payment.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25301d1e7ea56338dfc8538de4fea0ff1368a5dd0a8d5a43ba06f20366344001"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/securion_pay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d352d106c3d939ce6f1b498ac335ad3647a7645362a5c32311e1b2c0c6eeb1a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/metrics_global.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6b8fee2482471bcba41b52b40ea09947d3dec6af0631d954d503f4c09d712e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cenpos.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3621f4ac08e3ee8f138eeefd3f44a6100aa3f33b5224eaf576c41bc230adb9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_ware.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca63330638b566334cc46a6830b34e03363f69ee031c22f54bc1a239b055113"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/data_cash.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa5c46c3f9f0e3d4d8ab1776b85dd1b09fd80de0ee0a43d9f5f141f18349952"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/eway_managed.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c570b4df916345988aa255f106aafa5773b80ca0f5f2f8c595dd391e40daa0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cardknox.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff0fd2735cc3391a9a7f25ad44e000ef28cbd7dee4d16ec6d9b56a0135c91ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/qvalent.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e09c6fd238b2d66ec3d66fa575c2b14d8926d836592ac69896b27049027aaff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/epay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a6646319a6700abb9678a651fa618f0604f26d52d12d845f849ee2a1791972"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/omise.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3694917471548f68e332938170cf3e23a38490286a6c9a26093b299e3c720d7e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/qbms.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c084e42581292408293db0d0fe9caeda4d54c8a066cbe24aa2375267afc38be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/world_net.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57673c2b2ff442577c9311a6deb678fdfeb72ecb877938e64508a6fb19173cac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/hi_pay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f496fffc20fad262b77e13cf4fd370c3c186d087a2e581da81d591ae88469c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/moka.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9595d9018a629919998b064f199759d0c5ade6467ff770ea5bc293f3b20895c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/versa_pay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd88307ef38fb5fd6a2f326bc5354469bac2e6fff0970056dff322ab6866810"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/plugnpay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d704dbf8515653e22dac2db66f06be8bb9be4ee1e422e7b2791091815a5998"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/reach.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d22d96e255d62b33002f2669c9d053e5e16e4ea9f65b687b976a85c91384e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/quantum.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc534615c95ee76d8b0419765dd22a262c082e9eb074e4a632ea71f224c3714"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/forte.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b40269712b7e6213e8acbc1f51d2bcb9ea269cbcdc2ce524ab379dc75fac83c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/iats_payments.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6ea20921c642ca912fcb950365309c5f0211fe2131504847bec8db9097f8d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_gate_xml.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c46d02b64ac56fbb01faaf003db02b42c08c3274b4c6efc859188934e8f21d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_ware_version_four.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5b437c10b7a568a550ab13dd9385adf9507063e5e6072b91a0036b0bec2618"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nab_transact.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3c3fa9b188bc03cebfac656c9db7a333ad530ab7ee4789f55b4e4b8bb3a70a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cashnet.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"962d82e3867afde3eefa6cb137ad7bda710196d6c719d9563f318af466e5bf04"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/datatrans.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f45e1e2f00cd8d93478c7913247878f735bc06885e557297d3a47187f6a12d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/psl_card.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae37da36c335ac1cf8667c018e0fa532b414b9da5fb6ba454875596690753fd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/smart_ps.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edc0c86d828558611a992bb927ec3603cfb2f9ba7367e9bd8c8324d8b4b6985"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/quickpay/quickpay_v10.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7101874d5e7cfaad4776f2e329f10dec58e89e575d4b85874493fff187d9296"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/iveri.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b9345ea0c87773e954991f100b23d01a9609eba67efec9b1dabd90c0632d59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/borgun.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6eb26acf16b4bce26f7252bd14dec236dc30f09281623812b91d7c9e851b9d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/digitzs.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db049d431b595b692024e34ae5bd87ee693cb6b04951cd14710d41c2075cbaf7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mit.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce64952b02cbbb516ab5cb00134b314e256fe1845ae402ac6b561ec038d85bda"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/wepay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e0910ee5fd313ba75816b80d36f3d518347473ccc54317eff348d96a89517d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payway_dot_com.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea50cbb931cef2d0915077a202d2a3ccdb729a7a25e6bcaa9d2e9252e6176e24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/secure_pay_au.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd62dbc5c3c208940feadf714166e334e3dc62bd3db4c545b94d530fd26f224"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ct_payment.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3a1dbff17ea8eb0c9d2da2f6d6757ba84ac26990fff8cf3f12dd86340ae893"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mastercard.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27165b527ea4e96b1dcb06d334bc431631fad34aedf898a012ad4e15268e24f9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/loan_payment_pro.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fc2a60c6d2403b8a4d3337b3c50bae72b66c5d04020d76cb21b5f0603e1403"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/culqi.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a640618ae0ae5c86e4661fff28abaead5a7752eff68b5fcffbc83d42a00b2bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/secure_net.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0324ab3bd10a5688329f769a4725df3f59d03db424a5d750ae5fd8154504f48d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vanco.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8925dda988801970c9f916cefd8b1526692b2fe260185269accaf6fa2e97060"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/conekta.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c20312ca849f6447fca21766d275e1428b1cf9dc08ba7fb9cda93f75a90ab4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/visanet_peru.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1a48fdc4b3bcf789148afa084dda775c5da54b335ded07dca98a3a35b0f1e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/beanstream.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"192e5b19d9c58d8351819ec831c4e2e843e7c6d172b8e78338febc62e9c346cb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/alelo.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ebee564c9716b8520e56d7830c8e04090f11b8af184cb33313d96fb47afea5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/verifi.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea158585ed1bac1f5b55b1f2e61eb878978419aafcf6e3949aa949035609b592"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_warrior.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a06e976902ae80175c8edc6bd60e904e2b41895adb3f6abef86e846daacfa2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_conex.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dbc75d4787ebe3b313b478e7e0cdc7f61132d3240f2d2a3c81c1124234f6fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6395d5ded0f2c4a07d0906a65cecb747f89916a1d0b7d0d8cd19431bffe91a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/openpay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61e4ef9576b660e43fed2f3343b4a0f584b352922d17a7ddd1f920adf259d2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/xpay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f373b758e9da018d3341255a88f8bb4dd74d5206dc618866ce517137429fb96b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vpos.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"998d60089e70b3cb2e73cf41de2a7585f0841106e94b165b25ada9c8ebdcc044"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bpoint.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77c45a44a1bfa2b4ead0ca7596805c2ca4cae174b5b13fc65991d7741352dd9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/creditcall.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea71d5499a8c4634a3fef97962ab3cd52d2c8879073f9f3f1dc0ebbc3333f11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cardprocess.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"160b6c1858114ea8412f714f9c6ce5bbeebef8457c9182e60a7d1752ae8e57a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/balanced.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f569c115dcff7e06e3e362828fdab54d28f6d152b2b025d12c9f0c348507db50"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/garanti.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66b73c064a939847712d495c451deb7024502d1e6165d2387a86bf8dec1404e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_e_solutions.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"615e2ce4e61d62da5575b98785ad4c2212798846f8da22bf9d4f5a3952269878"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cecabank/cecabank_xml.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7023c18b5e58624f8aa57bf16974c5ba69008b19eebd59e9c65029510a9dfef2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/multi_pay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"881d204f54f7fd13f8608f3b284228b9e27a410b9260fbb38a5f5a6219015b94"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payu_in.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee1d9e7cbb5f4570f1e5b7677b254719a08581af03c73c86f51204f88ad2b79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_hub.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95428409f1f461d8156bf50e873c5d2b4e450af617686c0f8d7992c5d1d2948b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/fat_zebra.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d0a5e9092b6aa58c3fbda8538679933c77fdaf79ac165bb3700196979f97da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/network_merchants.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"579b5556a0dcbb48317fb649d9055b148d0164e6b37ce8061c22f740cf5d0825"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cams.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a097fba4e5903f8d9b7780b43e41f8dd566e3d6bfb4da8fdced3c94ee0189c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bogus.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c723c7ab8507053df3a30f56370e7110796308cbb7f73ef33267114c696a5cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay_online_payments.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fe83926970fa7b4e730204d096fa24757b0f41e3c928214e7dbc9b899b2907"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/psigate.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5c9c9dc3ff07416290d4714de010fd25ebcab4113c65264d76d009df9e77af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/telr.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dacd1c811ee54749bdbc311accd0d8408697f357380771b026bcce4998b10cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/transact_pro.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f289120a8828bd072c615828fbb861c26e31ff7733d4dcf38f665f253af0e08f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/eway.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f4018305c809590a01cad814294e8581173e4b41f672c75b6aa4b749f380a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bank_frick.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7217f42c969f30c82d4b8cbcbccda396e3ea14acd9a8f355e54c12c44c07d2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payway.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37197fc3f48e64443070a8951d61e42af3db0a0609ddf3b1a306c0e76d5684d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/trans_first.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"848e3a93b986335ef8033be6e17d57488db5783ad309153896b4068a23919a16"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/netbilling.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c961d220158cf52a5b1455b97584c474f6e4de46432b1a15021d3066935f67"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pagarme.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d29f724cf5f519576a813454ae308c99be70b7ebcde93a874f09807314e02d4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/inspire.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caee9a43bcb0146ec6e365a044973fdf3e00e9493c7a94b6e62dee50f20826c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bridge_pay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7215f89a6c9d9bce0492720c4b400fee66f4a9a5177a75f575b6d3b54195ca25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_partners.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9524e287407845dd33ad41b2e4f0e5b81d0b58974d9e59edd75a82353bfc04"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/exact.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34869510519c94b283f8d8af822c81a3b147e9b82abf93edd8715a462795808e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a85141c48b9db0b4aa4f700c3c0e745d869ee245eaddde5ca5a9057694ff228"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/so_easy_pay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28530b347e67c86300763e65a4f86060967e50232e357a6597bc299242ad9045"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/s5.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34bf6aa149d09b2a268048c8e9bbefcea41a2528fd6ea72b9f10b24068d14bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/quickpay/quickpay_v4to7.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd95ec003b0519cd3bf6a8230821ff6225b3ab94103fe4374dd96f302c9d425"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/quickpay/quickpay_common.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8366db5644c1035f854feabb12ac8bb08101f72655200d5869b89f0fbf798928"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/sum_up.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d049116144b91a96e8f276f5902ed08f9ca7bd1b2e5676d2c7a883aee030fa48"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/trexle.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2eaa14fa105d0a9047abc21b09cd70bdbf435d7ec62a683c9c71ae47f57ce3a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/netpay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f476f439452c3423976359364058098278c5177b4a19092ee29edc3f9fa33c80"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paybox_direct.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00f1746303b340abc6a36a96657fd6cdd272ec77cf60a5afb14cbb5793d9345"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/secure_pay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"875e4a3a0e96d41730ec6af2b7f883d767c79b0637af93b1e40b38896049e68c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/worldpay_us.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f202be15e477f5f183a8a10f1ccb5a73f667344ac5252fd60f43c9c413eb6b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/clearhaus.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8eca0ddd22193d2c8f940c2932aa2a023dddd37efa721a6ffe5a95c80b2b2a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bambora_apac.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5a89a224a5086f4ddcfdcbbfb942fc257e4f763f031800d0fb9a25ad5c9caa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/net_registry.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d20fd1537f748164c2838dec6e3d4d05eebaae44449ba5f94489374ed22303"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/modern_payments_cim.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66767416ef7c6b1b94f0ca3549104b890cdcb77ebb387218a075234240dc10d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pac_net_raven.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05d1ab51ae6c0b627dc5d70477578dcb3cf1971868484fbab1955dbf1115e79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_junction_v2.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a61e8cb9d1e2833542f79e387dc3995d679fb5c3ba9f498f66a554065ee4fa7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/maxipago.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c33ea8c734415db64b819c51bff3671356aea968dfc715d77f428079ba60090"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/allied_wallet.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"445d2d1deafc6f87c697197ab1c49a654a4adebf1e9cdc1be7f866fb99bfb472"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paystation.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5583dcce57ea888db7426c1af7bfb7ccd9bea625301172c0ff2d5ef9638300"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/viaklix.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d517e49bdbe5bba33f749bef9a1d21b243322618a361f5daea23d403549d02"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/wompi.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de4969c4a3c683eab194d590f5b89a391859cd2df87431449428efb36b2cd08"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/axcessms.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4aa777d99d2e604e9177ae0385358c47757b3740af627de4a7be92aebea4ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/hdfc.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d01e5daf694586fb13c105ea298c9c6143126b7ec7908107867682f0ced16b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cc5.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33d9b2ed3dc7be68322406a466225d6d98c0f50bd45e8be815a3e067092c74e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/first_pay/first_pay_xml.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d997c0da725e18453b58d88d4c6136ab49e823097de937971087b3cebb1502"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/micropayment.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ca1c13a3e774703f9d8f699265004eed308a40b91650e9e12c7aa415bc0e91"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/dibs.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04c2fd75423e25e0f03e76d6b93b4ad34b8dbe7af7d165daf482791a74be74b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/paypal.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c226b5da4a1437308de8e9ed8263bd5de8bfc34c4d34ee66a288c4876d97c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/first_pay/first_pay_json.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ad64c21019cf871a0d1f9ffe6c93a2922d1c05738b4f8ce776c7e02ef05a46"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ezic.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"638468af4508c638a4035a1849ee1dc9d55d930219a0c0ca4bfef86ba0e0fe81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/connection.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f51c5334a6c100a0f2ddb59c26d92e389464558d7f64b2bca584b895413d1b5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/global_transport.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"950fd1e01132d81a8f3f4fc4be9a5ab34718da2efcc9759aad989a8d07643527"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/netaxept.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f7f6e3a467704178cd0659de2efbd50dd458ca029ded807a4197b0ce7cab56"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/migs/migs_codes.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02daa577eb2f68b84731f9a180fe191fb9c017968904f7ed9fa2663dc9075907"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/swipe_checkout.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"294066f8c4b2bf221947e008a57691553f9defa4ca026864f795a6e4dba6e6dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/instapay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c7a32769a1beeb48629e310459feaf64c0e3b642f6b8f59b34d954c89174c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ipp.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"329ef0717fa4d252ee53b05847a4a1ceed0a00c331f5d0b0c60fad2aa173279e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payscout.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef11a70d7f98b41a85e5d0b3fc26d826e8e9c6113b9c6d8cc1eae61c313aacef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/federated_canada.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cba99abfe698932ff4f87a1c3725b8632d0059eb68941c9bc8423aadd4e9d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/braintree/token_nonce.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ecee02e938cb6783edc26919da55c04f05827c0e19488e1dc0eb449421a669"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/money_movers.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5c72bb91bbd5dbf6e61bf10b84692c92143302bfc413b8d568b3759d91e634"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ncr_secure_pay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4affe8119cfa7fa81896228129e7074878b248ca84771409a507c3d25150409"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/sallie_mae.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18251c69ce5890bc9541494d0d7cafe64cc3b2c1f46943137beb38a02be7552"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/first_giving.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5983b4c933558086380b81d2f63c11b1d47b3202a4314da0c342f207bec9b211"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/commercegate.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f709498a1696757d4264a33c21d3608b0c6457c97c78b833fed41a132942c4f9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/check.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b307054efc9ae89945a8028053cf062b25f87746d28052280ce5e97524167f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/be2bill.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"431a90b403e6eeb17998ad30e92cc52a9ab06b1ba9608c792ec07a0033a57798"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/avs_result.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d74175b71da0b36494dcdaa1b31ac655d7772622887f35d9e3926efabdb8336"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/shift4_v2.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e611c91b523de6df8f421225f34c949facbb88a60515d9592d70b2216834d6c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/komoju.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"946dc4fb97e232efd6a53e03408053daa6982f2792b1a99f04026a1d0167200c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pago_facil.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40b5555e4145f56268a3ec056ab0c2b77c78cb6128816978c06ffece969dcf8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/network_connection_retries.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b9e9acf9cd53be939cc94abafdad05d9d8d607ada44218d50b29d1e46fe1c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/banwire.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f77c09a8b4d74a3c772f649a84f9a94ad2d19c10a6ccbc23941e8e476078494"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_one.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"493a52aa9cce96927521c638abe2d1096ac47baa6f7bc986a4e7f6123dbddc54"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_secure.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88e66f3dd7a68b23aa823f8fa1d2eb96f67ecccfcaafe9b24c7bad7bfa1852f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/posts_data.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0272b2191674a040430f4a98ca259c4914a81eafb40fd47765cb6c4cb6dee754"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/webpay.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f110f80782881cf7c44fc46e9bfeaa5694ae3852e6e036bb9461617109f7385d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/response.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21996729788c1a8c101f4c3f09cfa1787a23f0df78299840ef4ebde5e8621f8a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/secure_pay_tech.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c2d33d91857dbea9e4758244ac44d55b72a6266793300ed370bde16d6e6e0a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"generators/gateway/templates/gateway.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d0069c3177beae64b0c5a241d72319a5f980245175e8f48e4c0dc479ac5c0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/compatibility.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1fd67e1b7344c93a1aedae66c53e2d71a5d339564ca575422021e7a64c433f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/loan_payment_pro_ach.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb6761663cf5aeca31c4b08f106aa2be74da0550b167906bdecc74cbc28f64a"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7cb1cce6282f3bb02ebfbfe7e2a2a576d57733e03a028a59815a1ada26a8f1c"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/remote/gateways/remote_ipp_test.rb"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b28047e62d7a67db9f3974fa488e9842f8e1720ee8720a6b54c5473623af34"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add brakeman for Rails apps, otherwise \u0060semgrep --config=auto\u0060 or CodeQL\u0027s ruby pack as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ruby-ci.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060OpenSSL::SSL::VERIFY_NONE\u0060 as the verify mode is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the override so OpenSSL verifies the peer \u2014 \u0060OpenSSL::SSL::VERIFY_PEER\u0060 is what Net::HTTP, Faraday, HTTParty and rest-client use when nothing is set. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: give the client its CA (\u0060http.ca_file = \u2026\u0060 or \u0060cert_store\u0060 on Net::HTTP, \u0060ssl: { ca_file: \u2026 }\u0060 on Faraday, \u0060ssl_ca_file:\u0060 on rest-client, or \u0060SSL_CERT_FILE\u0060), which keeps the chain and hostname checks on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/connection.rb"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2557c859a73828db0aba72ad892ac72eb2db532347d1cff5afb6cf06b5e695c3"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060OpenSSL::SSL::VERIFY_NONE\u0060 as the verify mode is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the override so OpenSSL verifies the peer \u2014 \u0060OpenSSL::SSL::VERIFY_PEER\u0060 is what Net::HTTP, Faraday, HTTParty and rest-client use when nothing is set. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: give the client its CA (\u0060http.ca_file = \u2026\u0060 or \u0060cert_store\u0060 on Net::HTTP, \u0060ssl: { ca_file: \u2026 }\u0060 on Faraday, \u0060ssl_ca_file:\u0060 on rest-client, or \u0060SSL_CERT_FILE\u0060), which keeps the chain and hostname checks on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/support/ssl_version.rb"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a37576bb59e1ee2b904a73aeeef813e5ab264e673cb917ecb718813529a39b"}},{"ruleId":"S1","level":"warning","message":{"text":"Obsolete TLS/SSL protocol version enabled: \u0060min_version\u0060 :TLS1_1 explicitly admits a protocol version that is broken (SSL 3.0) or withdrawn (TLS 1.0/1.1, RFC 8996). Offering an obsolete version does not merely permit it \u2014 it is what a downgrade attack negotiates, so the weakest version on the list is the one that decides the connection\u0027s strength. Remove the pin: Ruby\u0027s OpenSSL negotiates the highest version both sides support, so leaving \u0060ssl_version\u0060/\u0060min_version\u0060 unset is the strongest setting and picks up TLS 1.3 without a code change. Where a floor must be named, use \u0060min_version: OpenSSL::SSL::TLS1_2_VERSION\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/support/ssl_version.rb"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f080b9749fbd45f763de87fed0a332f88692e34a072b77601ce8e1944440fd"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_pay.rb"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e818ecc5f7e37093856ccfb61664cb53d4b5b1fb1a7ca2b644c99504235ed2"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_pay.rb"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"8199f5bf9a8ee2489de93319572f76c4f9ba1e08cd87f13595bc9f7f4b625c54"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cardknox.rb"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a2b5e57fdad119b0ee867bb7096a478f323465d756da2df2477a7171a27a65"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e6858d7ebf6e069c4a0992eed99ac92e90c00276238a1f9f3348fc6c4d7246"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/culqi.rb"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c20fc03c1a47598f5a14d9beaaabcaca436328c1514632f2f6ffe529a62476"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ebanx.rb"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d84415e3b874f3af7eae9208786f94eaf75a5a891d40b8a0c7f7076003508d"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4_v27.rb"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"996782c44ec1377bc2aced9c2d0688e5daba6ff47bc77091b3a63541669570da"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/garanti.rb"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dcfec187d464960b42a6aaecfc4f94849ef2e719b8385f02e0989b52bae6b3"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/garanti.rb"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d055e129b74c2459a10b82a82f90500884bd7ebdd50aa8f076aad2232d07338"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ixopay.rb"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5dda840108da99fa13c2e1a4999ff24faafe6498b398be515d33a39b46c607"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_warrior.rb"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f799a3bb3aca64c4dfd86bda2ce0dc24648f63bd5724b1b12136d355d2919ef"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/merchant_warrior.rb"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06ddf8bc401c712c038a0ac740615479bd00cebc5253fd3785cd8329fc4de9e"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ogone.rb"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbae0e198bc382ad01f6a401a53333d6655d2a7fcc6f9ee9e21866dceeb39c2d"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payex.rb"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca73d1419de7327a17d0dde36e205359ddc59484ef892c8bcd3517a94810fef9"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payu_latam.rb"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbd47bcfcf4456b0d39785495bddd530aa45fb3fd03711c489d73510764c4c3"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/quickpay/quickpay_v4to7.rb"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"279f4aaa3e601d7ad228cb3b500967b1acfb61d5dd664ac60a96c789f04f3bb3"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/realex.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1927a67a22269f0699605f0a0aef0f63d9e499905e019750e4508175b37145"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/realex.rb"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e06b90b3eef42b2f27325d8e9a27399cc30b562514f2487dc34a9f2ecd876f"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/realex.rb"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c2d92a622730cb6ed8509256fceebebd7ce221ba3dd0a05a7df18ea66e7b90"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/realex.rb"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84bfdef29966288f2a2af372641e7cf96331ed366aed0a8feeef78c5c31de08"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5f6d63a3d4fad63e3b8f75a5a825f455d2e54a97e80f8ab81b2d2700161ecf"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"854566da462233f88a9669693a2ba9a9fc2b54a846511427c463e57a2b5048e6"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/transact_pro.rb"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb2ef17d7677527dbe19d4e8b305621ba566b361781ec86010be15998e866c1"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_advanced.rb"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ee52c211edf33f3ebbfeebe5bfb4d7f2c12e1e3970ea1a249f8cfcbeb08e0b"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/usa_epay_transaction.rb"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eb2e54608f3b2a08e30eba3682470c39add71c08cbe7b0b8d0dbb0e23be463"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/verifi.rb"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"745acc0aa03d98239440a4a525a941d6d82ae3fe37b744de51e6cf64b5f48d66"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/vpos.rb"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86db740a77ccbb3a90896911d5e861dac170655061b4458aa85ec79e5a33487"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/world_net.rb"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c364eb92e8691dc17137f4d9aac1bc15eb8285b70547da94f5433b025fe75b3"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/world_net.rb"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdbfc8965250e76818e40f33287ffb80036687ab39ad7b0ec37d5f3b9d41672"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060Digest::SHA256\u0060 or \u0060OpenSSL::Digest.new(\u0022SHA256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/world_net.rb"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edf8f64f6ed2c5d34fba10b5a35bf104f0bd78fec948e559ae2f3d3b282eafd"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak cipher: DES / 3DES / RC4 / RC2 / Blowfish is deprecated or broken. Use AES-GCM \u2014 \u0060OpenSSL::Cipher.new(\u0022aes-256-gcm\u0022)\u0060 with a fresh 12-byte IV per message (\u0060cipher.random_iv\u0060) and the \u0060auth_tag\u0060 checked on decrypt \u2014 or \u0060ActiveSupport::MessageEncryptor\u0060 / RbNaCl, which choose an authenticated cipher for you."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d20c6bdfe27a2efab204367eab8f740003c73e8d192bee246836818385eade"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak cipher: DES / 3DES / RC4 / RC2 / Blowfish is deprecated or broken. Use AES-GCM \u2014 \u0060OpenSSL::Cipher.new(\u0022aes-256-gcm\u0022)\u0060 with a fresh 12-byte IV per message (\u0060cipher.random_iv\u0060) and the \u0060auth_tag\u0060 checked on decrypt \u2014 or \u0060ActiveSupport::MessageEncryptor\u0060 / RbNaCl, which choose an authenticated cipher for you."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys_rest.rb"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0ed62aca6ea5be59e0d2fe41a447aa48bdcb62a7c05679aaf34851d87054c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060@options[:access_token].present? \u0026\u0026 @options.fetch(:token_expires, 0).to_i \u003E DateTime.now.strftime(\u0027%Q\u0027).to_i\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/flex_charge.rb, lib/active_merchant/billing/gateways/multi_pay.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/flex_charge.rb"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f22219338a1d451df738bd931e7fb2330b803b92b3a867745754c0c34d424c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060@options[:login].eql?(\u0027demo\u0027) \u0026\u0026 @options[:password].eql?(\u0027password\u0027)\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/federated_canada.rb, lib/active_merchant/billing/gateways/money_movers.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/federated_canada.rb"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfdc81b738b4d9bcf916c44992c14397465fa132e40d1c2da5021fc1a6a7ad9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060AVS_REASON_CODES.include?(results[:response_reason_code]) \u0026\u0026 AVS_ERRORS.include?(results[:avs_result_code])\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/metrics_global.rb, lib/active_merchant/billing/gateways/secure_pay.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/metrics_global.rb"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"86274bab9d5cbad790fb2486a6079fea18e728ea5169bb7b1c56d22a46c39eae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060CURRENCY_CODES[currency] || CURRENCY_CODES[default_currency]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/cc5.rb, lib/active_merchant/billing/gateways/garanti.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cc5.rb"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b892eb054d75188b9f96e78573d2bfadc0b0a9215d47e11addbd6ec2a55e0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060RESPONSE_TEXTS[code] || \u0027Unknown code, please check in manual\u0027\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/redsys.rb, lib/active_merchant/billing/gateways/redsys_rest.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/redsys.rb"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dafee8f1238bf823e5724a6cdeb4c57a5de93f977679ac1e948ac2282d030b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060address[:phone] || address[:phone_number]\u0060 appears character-identically in 6 files \u2014 lib/active_merchant/billing/gateways/d_local.rb, lib/active_merchant/billing/gateways/eway_rapid.rb, lib/active_merchant/billing/gateways/merchant_warrior.rb, lib/active_merchant/billing/gateways/payway_dot_com.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/d_local.rb"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7383356309dfad736daedc0781b4e23aebd463095f3123686f5a4678b2cc950"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060address[:phone].to_s.gsub(/[^0-9]/, \u0027\u0027) || \u00270000000\u0027\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/bank_frick.rb, lib/active_merchant/billing/gateways/transact_pro.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/bank_frick.rb"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"861bffcf0aa3b855abef063a08e8cfda870ac55c8205007bd1e04f2d48fd5f62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060credit_card.first_name || credit_card.last_name\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/jetpay.rb, lib/active_merchant/billing/gateways/jetpay_v2.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ef379b4313a1232647dfa1df109a711164bfceb1f796b4228c92261fc6f55d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060credit_card.is_a?(NetworkTokenizationCreditCard) \u0026\u0026 credit_card.source == :apple_pay \u0026\u0026 card_brand(credit_card) == \u0027discover\u0027\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/firstdata_e4.rb, lib/active_merchant/billing/gateways/firstdata_e4_v27.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e580d80f0e5882bb9e6c84bf3065604c94c8eac6028ea4f351d0005cbc4fe8af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060credit_card.respond_to?(:track_data) \u0026\u0026 credit_card.track_data.present?\u0060 appears character-identically in 3 files \u2014 lib/active_merchant/billing/gateways/firstdata_e4.rb, lib/active_merchant/billing/gateways/firstdata_e4_v27.rb, lib/active_merchant/billing/gateways/merchant_ware.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ab415aac1e475b6c39ebf5a63d9eea7dc399357e9719514b745febc6da6150"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060credit_card.verification_value.nil? || (credit_card.verification_value.length == 0)\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/jetpay.rb, lib/active_merchant/billing/gateways/jetpay_v2.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0e2a226dc90eeac9621dd0e9e87dff71e9e66350cd759486188c59924d71f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060creditcard.respond_to?(:track_data) \u0026\u0026 creditcard.track_data.present?\u0060 appears character-identically in 3 files \u2014 lib/active_merchant/billing/gateways/network_merchants.rb, lib/active_merchant/billing/gateways/pay_junction.rb, lib/active_merchant/billing/gateways/stripe.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/network_merchants.rb"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3372b3de9fd2b9f1cb9e95dda77985d7f02330d018e0a13e61415645cd099e44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060names[0].present? || payment_method.is_a?(String)\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/flex_charge.rb, lib/active_merchant/billing/gateways/nuvei.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/flex_charge.rb"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d075f41eb0f6312cdedbbf26186cc574d5c3ada87d266ad1c195bc1e8ed4653"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060names[1].present? || payment_method.is_a?(String)\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/flex_charge.rb, lib/active_merchant/billing/gateways/nuvei.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/flex_charge.rb"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1c0b764d02ea3971b10afefb3fdf81b7a40677be513becb5f983aa1409b031"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.delete(:billing_id).to_s || true\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/inspire.rb, lib/active_merchant/billing/gateways/smart_ps.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/inspire.rb"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9af31a5cecca758efa377802cf75631a76b9eaf89234832df2e6b24c8cc17e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:address] || options[:billing_address]\u0060 appears character-identically in 3 files \u2014 lib/active_merchant/billing/gateways/barclaycard_smartpay.rb, lib/active_merchant/billing/gateways/deepstack.rb, lib/active_merchant/billing/gateways/pay_hub.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/barclaycard_smartpay.rb"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc769e27ad7195af8e8b81c96d56f30d70e8fc7c1aba5bd47c5a21715b14996"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:billing_address] \u0026\u0026 options[:billing_address][:name]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/ebanx.rb, lib/active_merchant/billing/gateways/worldpay_online_payments.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/ebanx.rb"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"175eb57880a2b2feac1a3d063d513fcd7d3bf4b946bd2b2f9c6d930409031589"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:billing_address] || options[:address]\u0060 appears character-identically in 103 files \u2014 lib/active_merchant/billing/gateways/axcessms.rb, lib/active_merchant/billing/gateways/balanced.rb, lib/active_merchant/billing/gateways/bank_frick.rb, lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/axcessms.rb"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61610171d6b1c103a7b6643e54b4029e75401822a0099a83deeafdfec6ef857"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:billing_address] || options[:shipping_address] || options[:address]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/sallie_mae.rb, lib/active_merchant/billing/gateways/sum_up.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/sallie_mae.rb"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"158e1a4575e09cd33ab18575003b72d89cbf86502265bf4b19d5ef7bbfde90de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:currency] || currency(money) || default_currency\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/maxipago.rb, lib/active_merchant/billing/gateways/spreedly_core.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/maxipago.rb"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"568bf6159e5328d13e307dd3027cf87c050d252c75abe055d1ce283ad12cd65a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:currency] || self.default_currency\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/commerce_hub.rb, lib/active_merchant/billing/gateways/decidir_plus.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/commerce_hub.rb"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee40ec1b03c4b4eebe6de939a716d2a6c0aae04b5312d071b430664927901618"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:customer_id] || SecureRandom.hex(12)\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/pay_trace.rb, lib/active_merchant/billing/gateways/paysafe.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/pay_trace.rb"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1812f237bbee34af416073b07f79490d3ea4ec96fdfd4384b5b1a58cab2e7ace"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:description] || \u0027Active Merchant Purchase\u0027\u0060 appears character-identically in 3 files \u2014 lib/active_merchant/billing/gateways/conekta.rb, lib/active_merchant/billing/gateways/pin.rb, lib/active_merchant/billing/gateways/trexle.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/conekta.rb"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf436d832801ddcaa540b7ae7f84d0d6a914f0ddded24fcf23c0c82d60954d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:description] || options[:order_id]\u0060 appears character-identically in 4 files \u2014 lib/active_merchant/billing/gateways/card_stream.rb, lib/active_merchant/billing/gateways/monei.rb, lib/active_merchant/billing/gateways/payex.rb, lib/active_merchant/billing/gateways/sage_pay.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/card_stream.rb"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e17758f224e5d38b4f5d79793b4dad649e1b59f5332e8f5e4b126b58da7f468"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:email] || \[e-mail redacted]\u0027\u0060 appears character-identically in 3 files \u2014 lib/active_merchant/billing/gateways/axcessms.rb, lib/active_merchant/billing/gateways/commercegate.rb, lib/active_merchant/billing/gateways/payu_in.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/axcessms.rb"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2d8aab7ef3ce23e8c7d4c332abdb4afcd44abc5176be1908dac3bdb2557a55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:email] || \[e-mail redacted]\u0027\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/banwire.rb, lib/active_merchant/billing/gateways/telr.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/banwire.rb"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3c3829b97f9a44cb4a88c45d8989e96de2e9d6a86e1d88139539fa99cbb1c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:email] || \[e-mail redacted]\u0027\u0060 appears character-identically in 4 files \u2014 lib/active_merchant/billing/gateways/allied_wallet.rb, lib/active_merchant/billing/gateways/credorax.rb, lib/active_merchant/billing/gateways/culqi.rb, lib/active_merchant/billing/gateways/wepay.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/allied_wallet.rb"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e84065b712fd30e503a4712337c650bfa6e0663df93b7713481df24cdf7e62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:email].presence || \[e-mail redacted]\u0027\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/cyber_source.rb, lib/active_merchant/billing/gateways/cyber_source_rest.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e6a13f226404277d64801a8b0ddf6857c129ae6f63c300119c92672c21e6bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:execute_threed] \u0026\u0026 options[:three_ds_2]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/credorax.rb, lib/active_merchant/billing/gateways/hi_pay.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1207ffb268d55998cb8dc37ff330968dd12692f692f81dde666f58b6e2b0f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:execute_threed] || options[:threed_dynamic]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/adyen.rb, lib/active_merchant/billing/gateways/barclaycard_smartpay.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66169d9e98821708456307b23dc4d477fdde80c648dee84167aff60bbcd4f12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:idempotency_key] || SecureRandom.uuid\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/flex_charge.rb, lib/active_merchant/billing/gateways/xpay.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/flex_charge.rb"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c75a52c376162a001f71009d793a431dd0d1b2a47444e36eb087c11d0cc727b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:merchant_descriptor_name] || options[:merchant_descriptor_address1] || options[:merchant_descriptor_locality]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/cyber_source.rb, lib/active_merchant/billing/gateways/cyber_source_rest.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1f8dc16fde31e2e27123626249abea3ff0f6331b6fe210e2ffe507d4014308"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:network_transaction_id] || stored_credential[:network_transaction_id]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/braintree_blue.rb, lib/active_merchant/billing/gateways/nmi.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/braintree_blue.rb"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc392013224be4c4cfe8e1507cbc193e266e8fc19833a9eb615d79228074cf8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:order_id] || generate_unique_id\u0060 appears character-identically in 12 files \u2014 lib/active_merchant/billing/gateways/axcessms.rb, lib/active_merchant/billing/gateways/banwire.rb, lib/active_merchant/billing/gateways/checkout.rb, lib/active_merchant/billing/gateways/cyber_source.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/axcessms.rb"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f065dd9e60181b806df8b3d530d60cb083331d6401ec81a3393804ab0a9f92f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:payment_account_reference_number] || SecureRandom.hex(20)\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/element.rb, lib/active_merchant/billing/gateways/vantiv_express.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/element.rb"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd9ca9352cd43a81095726ee3ad0dbfedd10b82317e64c37a4f76e284c2c8b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:phone] || options.dig(:billing_address, :phone) || options.dig(:billing_address, :phone_number)\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/braintree_blue.rb, lib/active_merchant/billing/gateways/checkout_v2.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/braintree_blue.rb"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1818abf198eae719ccbd0d99c4752ebe44770d2a963e1748c9aa8027bd4ce6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:set_default] \u0026\u0026 r.success? \u0026\u0026 !r.params[\u0027id\u0027].blank?\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/stripe.rb, lib/active_merchant/billing/gateways/webpay.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe.rb"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5fa43216384055344739c5328981ad7e03ee228a0b5bb8b89a60efa40a47b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:shipping_address] || options[:address]\u0060 appears character-identically in 3 files \u2014 lib/active_merchant/billing/gateways/authorize_net.rb, lib/active_merchant/billing/gateways/itransact.rb, lib/active_merchant/billing/gateways/sallie_mae.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/authorize_net.rb"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ff40fc971432120666d7c930db4f2f8d0e3466a2d42ec6efb4de2112e39211"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:shipping_address] || options[:billing_address] || options[:address]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/blue_pay.rb, lib/active_merchant/billing/gateways/cashnet.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/blue_pay.rb"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c67aea5c739414cbfa24249fb97f2d2e8a51d335459c5db03bc5289717e0e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:three_d_secure] \u0026\u0026 options[:three_d_secure][:eci] \u0026\u0026 options[:three_d_secure][:xid]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/adyen.rb, lib/active_merchant/billing/gateways/monei.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/adyen.rb"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc42ae8f460f9e42ad6ad455d3389a07970cf07f6e199d20e8e6380b493bec57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:three_d_secure][:ds_transaction_id] || options[:three_d_secure][:xid]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/checkout_v2.rb, lib/active_merchant/billing/gateways/pin.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/checkout_v2.rb"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"025211f8dbae5d96d679074bcfc8d3f21b65b889578c960cba1c93dcd09c64c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[:version] || @options[:version] || fetch_version\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/stripe.rb, lib/active_merchant/billing/gateways/stripe_payment_intents.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/stripe.rb"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"74932b922c521824118ac5ae4e686182fb683cd02569a0716394ada7ac545c22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parameters[:billing_address] || parameters[:address]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/orbital.rb, lib/active_merchant/billing/gateways/qbms.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/orbital.rb"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcef00a516ab2ad74cf172d0b3b738c49d1855d1dba7eedf4bf91909490b210"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payment_method.is_a?(CreditCard) \u0026\u0026 %w(visa master).include?(payment_method.brand) \u0026\u0026 options[:zero_dollar_auth]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/credorax.rb, lib/active_merchant/billing/gateways/worldpay.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/credorax.rb"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f95b6cb066f91e6e1d20e9240d1f9af2901066bd80ef29b696a953db3711ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payment_method.is_a?(CreditCard) \u0026\u0026 options[:zero_amount_auth]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/cyber_source.rb, lib/active_merchant/billing/gateways/cyber_source/cyber_source_common.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"daca02c91d117fc26aebf6450fad75f0ed6d41434e8fad2ad5cbc145aba94f7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payment_method.respond_to?(:track_data) \u0026\u0026 payment_method.track_data.present?\u0060 appears character-identically in 3 files \u2014 lib/active_merchant/billing/gateways/litle.rb, lib/active_merchant/billing/gateways/moneris.rb, lib/active_merchant/billing/gateways/pay_conex.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/litle.rb"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f25f811f7b49ec4cd78ffe6e80cc16e0a6c237cf932a273254503a87232f5d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response[:authorization_num] \u0026\u0026 response[:transaction_tag]\u0060 appears character-identically in 3 files \u2014 lib/active_merchant/billing/gateways/exact.rb, lib/active_merchant/billing/gateways/firstdata_e4.rb, lib/active_merchant/billing/gateways/firstdata_e4_v27.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/exact.rb"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f1ee3066f45776efc9c0e13af4ebc5fcb6438af56501b19501cb9e54316515"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response[:bank_resp_code] || response[:ecommerce_error_code]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/firstdata_e4.rb, lib/active_merchant/billing/gateways/firstdata_e4_v27.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eee02527c6eadefa87d6331d0556f7a0c026f500a5b9dd03dd8f64dbd3a00f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response[:error_number] \u0026\u0026 response[:error_number] != \u00270\u0027\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/firstdata_e4.rb, lib/active_merchant/billing/gateways/firstdata_e4_v27.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/firstdata_e4.rb"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9738b85196b202f07e7c90c31876314351ce5948eca0bd408e0370f58ab3641b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response[:faultcode] \u0026\u0026 response[:faultstring]\u0060 appears character-identically in 3 files \u2014 lib/active_merchant/billing/gateways/exact.rb, lib/active_merchant/billing/gateways/firstdata_e4.rb, lib/active_merchant/billing/gateways/firstdata_e4_v27.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/exact.rb"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6937ef228846a33cb484aa39c1e4d06bff789f72f6fd8ede24f539d4a5e680"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response[:response_text] || response[:status_description]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/nab_transact.rb, lib/active_merchant/billing/gateways/secure_pay_au.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/nab_transact.rb"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c342fb5f12a1acfa1e8057310df1970cd5d08a4643e42d0f39c8c6228d4c7efa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060three_d_secure[:ds_transaction_id] || three_d_secure[:xid]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/beanstream.rb, lib/active_merchant/billing/gateways/stripe_payment_intents.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/beanstream.rb"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f14ec17919f21a8141c6fb6dce3c10f93fef60fdf58006e137627be1a678c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060three_d_secure[:xid] || three_d_secure[:ds_transaction_id]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/card_stream.rb, lib/active_merchant/billing/gateways/merchant_warrior.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/card_stream.rb"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1b38c666e413125383c70759e4e9a71fc3eb546f0dae829269e035c4bdd6b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validation_errors \u0026\u0026 validation_errors[\u0027code\u0027]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/decidir.rb, lib/active_merchant/billing/gateways/decidir_plus.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f9d10aaba901586af1493c9bb8cda1a868f9ca027531d16df2d9511e4b9f9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validation_errors \u0026\u0026 validation_errors[\u0027param\u0027]\u0060 appears character-identically in 2 files \u2014 lib/active_merchant/billing/gateways/decidir.rb, lib/active_merchant/billing/gateways/decidir_plus.rb. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/decidir.rb"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e17a77f10d91f69f80751c25debfd75904f72e708f3c87021e96d42ea1e33f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue body\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/clearhaus.rb"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d97d8a2de113184fe1606c87f06328a2b21f605ec3fc28b5879d8272aeda6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cyber_source.rb"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbce18732077c9754c9cf75464adfd826c61b0da4f38663a59363f8c9f302d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay.rb"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ca2cbded11aee3c02b78d7cf39f465bd8b28e55377c5a17ec7ec0234565bc4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/jetpay_v2.rb"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"7043bbc0bffa04bd78e405eec1ddfe0480307ce995d792f781dddc916c4a7e9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue false\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/optimal_payment.rb"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"930544324175323dff8fa9c0ea3a485f17ed93a7380aa62c1b06a0cfad9d5928"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/quantum.rb"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3592bb166d3390a6bf250817014bf402c6055413f443e4ebda85ff16229140a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/sage.rb"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ad4f515e7fbd802081edafb62c5cc7dbd31f19574d2a924db97f1657b98d4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/secure_pay.rb"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6000d02b7130b10fb6a30954d08f0b5a2effe6faf9c533b1c324a94f3ff604e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/telr.rb"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb71a4889638056fb528e0aa42b16ad05844b5a78698bc81d833bb51801f6cca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060\u2026 rescue []\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/payflow/payflow_response.rb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d5febd55e1f523d45608a26e83a3a004123dc84d35b00e7e6fbfd42131500d"}},{"ruleId":"X5","level":"note","message":{"text":"Ruby\u0027s type checker does not check nil everywhere: This repository commits no Sorbet configuration (\u0060sorbet/config\u0060) and no \u0060Steepfile\u0060, so nothing type-checks its 301 Ruby product file(s): a nilable value reaches a method call silently and raises \u0060NoMethodError: undefined method \u2026 for nil\u0060 the first time it is nil. A \u0060# typed:\u0060 sigil does nothing without a \u0060sorbet/config\u0060 beside the code; a Steep run configured only on a command line is not something this check can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32b27113b1bc22f400935e8620d19eae7fd3ef145cc36018609c445ea8cd4af1"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Ruby code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/cashnet.rb"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"231af0ea3c7635e16996f52dc837f7c7b88c47a9edfe5e6e9386028f82d1475b"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Ruby code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mit.rb"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf41d5c510fcbe63ef03ea105e08ff80d88d181b68c9f7f95e41d5bdeb2885c6"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Ruby code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mit.rb"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0363de2fee263db71399710b1565823fe273c3defb062d2de5325b6667922095"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Ruby code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/active_merchant/billing/gateways/mit.rb"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"917691452af1c98a9b04cf1b06e45b118c78640fab74010f4707916c4489744e"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1265","guid":"9bfc5711-f2f2-6252-bd2e-ff21a1e98a6c","name":"CWE-1265","shortDescription":{"text":"CWE-1265"},"helpUri":"https://cwe.mitre.org/data/definitions/1265.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":100,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}