MétaCan
Menu
← Retour à la cohorte
Enregistrement W6967893722 · doi:10.5281/zenodo.14748996

Replication Package for `Code Review Comprehension: Reviewing Strategies Seen Through Code Comprehension Theories`

2025· article· en· W6967893722 sur OpenAlexaff

Notice bibliographique

RevueZenodo (CERN European Organization for Nuclear Research) · 2025
Typearticle
Langueen
DomaineComputer Science
ThématiqueSoftware Engineering Research
Établissements canadiensUniversity of Victoria
Organismes subventionnairesnon disponible
Mots-clésCode reviewProgram comprehensionComprehensionCode (set theory)Static program analysisConstruct (python library)Source codeSoftware

Résumé

récupéré en direct d'OpenAlex

# Replication Package for `Code Review Comprehension: Reviewing Strategies Seen Through Code Comprehension Theories` ## Abstract Modern code review is a critical component of the software development process for many projects. Despite its importance, there is limited understanding of the cognitive processes that enable reviewers to analyze code and provide meaningful feedback. Comprehending the code changes under review is both the most essential competence for reviewers and their primary challenge. To address this gap, we observed and interviewed ten experienced reviewers as they performed 25 code reviews from their review queue. Using Letovsky’s model of code comprehension, we performed a theory-driven thematic analysis to investigate how reviewers apply code comprehension to navigate changes and provide feedback. Our findings confirm that code comprehension is fundamental to the code review process. We extend Letovsky’s model to propose the Code Review Comprehension Model, demonstrating that code review, like code comprehension, relies on opportunistic strategies. These strategies typically begin with a context-building phase, followed by code inspection involving code reading, testing, and discussion management. Reviewers construct a mental model of the changeset as an extension of their understanding of the overall software system and use mental representations of expected and ideal solutions to interpret and evaluate the proposed changes. Based on our findings we propose the adoption of more human-centric code review tools and practices that support the strategies employed by reviewers and allow them to externalize and share their mental model of the PR and its alternatives with other developers. ## Structure ``` README.md Study-Design/ interview_structure.pdf demographics_survey.pdf participant_consent.pdf Data-Analysis/ transcripts/ P1R1.rtf P1R2.rtf ... codes/ coding_schema_2.pdf coding_schema_theory-driven.png codebook.pdf codes.docx co_author_review_1/ coded_transcript_P4R1.pdf coauthor_notes_P4R1.txt ... co_author_review_2/ coded_transcript_P2R2.pdf coauthor_notes_P2R2.txt transcripts/ P1R1.rtf P1R2.rtf ... ``` ## Contents of the Replication Package ### `Study-Design` Contains documents that outline the study’s methodology and design: - `interview_structure.pdf`: Structure and sample questions for the review&interview sessions. - `demographics_survey.pdf`: Survey capturing demographic data of participants. - `participant_consent.pdf`: Consent form signed by study participants before the recorded sessions. ### `Data-Analysis` Contains files used and produced in the analysis. - `transcripts/`: Raw transcripts from code review sessions (e.g., `P1R1.rtf` for Participant 1, Review 1). - `coding/`: Coding schema and list of final codes and themes. - `coding_schema_2.pdf`: The coding schema created based on Piglet's model of cognitive devlopment and Letovsky's comprehension model. - `coding_schema_theory-driven.png`:The initial coding schema created based off Letovsky's comprehension model and other theories as reported in the paper. - `codebook.pdf`: A complete list of codes created in the analysis - `co_author_review_1/`: Documents from the first co-author review, including coded transcripts and reviewer notes. - `co_author_review_2/`: Documents from the second co-author review, including coded transcripts, reviewer notes, and coding schema for knowledge and mental models. - `transcripts/`: Raw transcripts from code review sessions (e.g., `P1R1.rtf` for Participant 1, Review 1).

Récupéré en direct depuis OpenAlex et désinversé. Les résumés ne sont pas conservés dans cette base de données : les index inversés représentent 8,6 Go des 9,3 Go de texte de la base, et le serveur dispose de 13 Go libres.

Comment cette classification a été obtenuedéplier

Prédiction machine sur la base complète

Imitation des enseignants

Ni prévalence calibrée, ni vérité terrain. Validation humaine à venir. Le volet Gemma est une étiquette directe du modèle pour chaque travail de la base, lue sur la notice réduite au titre. Le volet Codex est un classifieur appris des 10 348 étiquettes directes de Codex et calibré sur les taux pondérés de l'échantillon; les champs sans appui suffisant ne portent aucun appel Codex. Le mode candidate est l'union des deux volets; le consensus est leur intersection. Ces sorties portent le statut machine_predicted_unvalidated et ne sont pas des étiquettes humaines.

score de la tête « metaresearch » (Codex)0,150
score de la tête « metaresearch » (Gemma)0,700
Version: metacan-v3-hybrid-931329e0061cStatut de validation: machine_predicted_unvalidated
Catégories candidatesMétarecherche
Catégories consensuellesaucune
DomaineSignal candidat: Reproductibilité · Signal consensuel: aucune
Devis d'étudeSignal candidat: Sans objet · Signal consensuel: Sans objet
GenreSignal candidat: Jeu de données · Signal consensuel: aucune
Score de désaccord entre enseignants0,850
Score d'incertitude au seuil0,792

Scores du classifieur distillé par catégorie (deux têtes)

CatégorieCodexGemma
Métarecherche0,1500,700
Méta-épidémiologie (sens strict)0,0020,002
Méta-épidémiologie (sens large)0,0020,004
Bibliométrie0,0060,008
Études des sciences et des technologies0,0040,005
Communication savante0,0060,006
Science ouverte0,0060,007
Intégrité de la recherche0,0030,007
Charge utile insuffisante (le modèle a refusé de juger)0,0910,022

Scores machine (provisoires)

Les deux têtes enseignantes du modèle étudiant, lues sur ce travail. Un score ordonne la base pour la relecture; il n'affirme jamais une catégorie, et le statut de validation accompagne chaque rangée tel quel.

Scores de référence d'un modèle non mature (critères de maturité non atteints, 7 itérations). Un score ordonne; il n'affirme jamais une catégorie.

Tête enseignante Opus0,055
Tête enseignante GPT0,314
Écart entre enseignants0,259 · la distance entre les deux têtes enseignantes sur ce seul travail
Statut de validationscore_only:v0-immature-baseline · tel quel depuis la passe de notation : score_only signifie que le nombre peut ordonner les travaux, et qu'aucune étiquette de catégorie n'en découle

Classification

machine, non validée

Prédiction automatique; un appel candidat d’une seule source (Gemma direct ou Codex distillé), pas un consensus.

Devis d'étudeSans objet
DomaineReproductibilité
GenreJeu de données

Le détail, modèle par modèle et score par score, se trouve en fin de page sous « Comment cette classification a été obtenue ».

En bref

Citations0
Publié2025
Routes d'admission1
Résumé présentoui

Explorer davantage

Même revueZenodo (CERN European Organization for Nuclear Research)→Même sujetSoftware Engineering Research→Travaux en français237 207→