RQ4: Detecting quality issues
Detection depends on the artifact, available oracle, language, and deployment context. Outcomes from heterogeneous evaluations support conditional selection; they do not establish a universal method ranking.
| Family | Applicable when | Operational value | Cost and limitation |
|---|---|---|---|
| Execution and resource measurement | Code can run with tests, a reference behavior, or a representative workload | Reveals behavioral failures, runtime, or memory use | Requires dependencies, inputs, and an oracle; finite testing cannot prove equivalence |
| Static, rule, metadata, and overlap analysis | Parsers, rules, API maps, provenance, or comparison sets exist | Flags encoded patterns without running the artifact | Coverage depends on rules, language support, thresholds, and metadata |
| General LLM evaluation | A rubric and capable contextual evaluator are available | Supports qualitative judgment and triage where fixed oracles are absent | Sensitive to evaluator, prompt, order, and context; requires calibration and inference cost |
| Task-specific learned scoring | In-domain labels or a learnable proxy exist | Enables versioned batch scoring | Label construction and training cost; transfer can fail under domain shift |
| Human or hybrid review | Ambiguous findings require contextual judgment | Helps construct labels and validate automated flags | Expert effort and disagreement limit throughput; most reviewed evidence concerns research annotation |
Generated-code detection
| Method | Path in taxonomy | Papers |
|---|---|---|
| Test-Based Execution Analysis | Dynamic Analysis > Test-Based Execution Analysis | 43 |
| Resource and Performance Measurement | Dynamic Analysis > Resource and Performance Measurement | 3 |
| Rule-Based Detection | Static Analysis > Rule-Based Detection | 27 |
| Human Review and Manual Inspection | Static Analysis > Human Review and Manual Inspection | 14 |
| LLM-Based Evaluation | Model-Based Detection > LLM-Based Evaluation | 10 |
| Task-Specific Learned Detection | Model-Based Detection > Task-Specific Learned Detection | 3 |
Select a paper count to open its supporting papers. Counts are multi-label literature memberships. Download the method definitions and paper–method memberships to trace each entry.
Training-data detection
| Method | Path in taxonomy | Papers |
|---|---|---|
| Execution-Based Validation | Dynamic Analysis > Execution-Based Validation | 3 |
| Syntax, Rule, Metadata, and Overlap Checks | Static and Corpus Audit > Syntax, Rule, Metadata, and Overlap Checks | 25 |
| Human-in-the-Loop Review | Static and Corpus Audit > Human-in-the-Loop Review | 8 |
| Provenance and Version-History Audit | Static and Corpus Audit > Provenance and Version-History Audit | 1 |
| Model-Membership and Attribution Audit | Static and Corpus Audit > Model-Membership and Attribution Audit | 2 |
| LLM-Based Dataset Screening | Model-Based Detection > LLM-Based Dataset Screening | 13 |
| Task-Specific Learned Classifiers | Model-Based Detection > Task-Specific Learned Classifiers | 5 |
Select a paper count to open its supporting papers. Counts are multi-label literature memberships. Download the method definitions and paper–method memberships to trace each entry.
Automation evidence and residual gaps
The 21-row automation crosswalk identifies a direct automated detection exemplar and a direct automated mitigation exemplar for each of eight code headings and 13 data headings. They can address different subtypes. The result establishes existence at a broad-heading level; it does not establish complete subtype coverage, paired detection and mitigation, or deployment readiness.
Human work remains in constructing rules, tests, labels, prompts, and thresholds, and in adjudicating context-sensitive findings. Important gaps include output-side copyright and privacy leakage, semantic contamination, repository-scale structural quality, and end-to-end CI/CD evaluation. RQ3 relationship families do not constitute an additional issue-detection denominator.
Supporting papers
Browse 94 distinct papers by detection method, separated by the artifact being checked. Expand a method to see its taxonomy path and supporting papers, or select its paper count in the tables above. Membership is multi-label: a paper can appear under several methods. The paper–method memberships retain the exact assignments.
Generated-code detection
Test-Based Execution Analysis 43 papers
Dynamic Analysis > Test-Based Execution Analysis
Resource and Performance Measurement 3 papers
Dynamic Analysis > Resource and Performance Measurement
Rule-Based Detection 27 papers
Static Analysis > Rule-Based Detection
Human Review and Manual Inspection 14 papers
Static Analysis > Human Review and Manual Inspection
LLM-Based Evaluation 10 papers
Model-Based Detection > LLM-Based Evaluation
Task-Specific Learned Detection 3 papers
Model-Based Detection > Task-Specific Learned Detection
Training-data detection
Execution-Based Validation 3 papers
Dynamic Analysis > Execution-Based Validation
Syntax, Rule, Metadata, and Overlap Checks 25 papers
Static and Corpus Audit > Syntax, Rule, Metadata, and Overlap Checks
Human-in-the-Loop Review 8 papers
Static and Corpus Audit > Human-in-the-Loop Review
Provenance and Version-History Audit 1 paper
Static and Corpus Audit > Provenance and Version-History Audit
Model-Membership and Attribution Audit 2 papers
Static and Corpus Audit > Model-Membership and Attribution Audit
LLM-Based Dataset Screening 13 papers
Model-Based Detection > LLM-Based Dataset Screening
Task-Specific Learned Classifiers 5 papers
Model-Based Detection > Task-Specific Learned Classifiers