SlideShare a Scribd company logo
RefactorHub:
A Commit Annotator
for Refactoring
Ryo
Kuramoto
Shinpei
Hayashi
Motoshi
Saeki
TokyoTech.
Japan
github.com/
salab/RefactorHub
Empirical studies
on refactoring
We need
refactoring data
How to collect refactoring data
Using detection tools
(e.g.. RefactoringMiner, RefDiff)
Using self-affirmed commits
(commit message filtering)
f6f7e4d
refactor: extract printing name
and outstanding
f6f7e4d
Extract Method
✓ Accuracy
✗ Type coverage
✓ Detail information
✗ Accuracy
✓ Type coverage
✗ Detail information
RefactorHub:
A Commit Annotator for Refactoring
Annotation Approach
f6f7e4d
refactor: extract printing name and
outstanding
Input (Commit)
RefactorHub
extracted code
invocation
extracted method
{
"type": "ExtractMethod",
~
"extracted method": {
"type": "MethodDeclaration",
~
"path": "src/main/Printer.java",
"range": {
"startLine": 6, "startColumn": 2,
"endLine": 9, "endColumn": 3
~
Output (JSON)
✓ Accuracy
✓ Detail information
✗ Accuracy
✗ Detail information
Refactoring info.
Code difference
Modified files
Refactoring
parameters
(before refactoring)
Refactoring
parameters
(after refactoring)
Annotating
Extract
Method
Before:
• extracted
code
• target
method
After:
• extracted
code
• invocation
• extracted
method
• target
method
Annotating
Extract
Method
Before:
• extracted
code
• target
method
After:
• extracted
code
• invocation
• extracted
method
• target
method
Annotating
Extract
Method
Before:
• extracted
code
• target
method
After:
• extracted
code
• invocation
• extracted
method
• target
method
RefactorHub:
A Commit Annotator
for Refactoring
Ryo
Kuramoto
Shinpei
Hayashi
Motoshi
Saeki
TokyoTech.
Japan
github.com/
salab/RefactorHub

More Related Content

More from Institute of Science Tokyo (16)

PDF
How Can You Improve Your As-is Models? Requirements Analysis Methods Meet GQM
Institute of Science Tokyo
 
PDF
Guiding Identification of Missing Scenarios for Dynamic Feature Location
Institute of Science Tokyo
 
PDF
Modeling and Utilizing Security Knowledge for Eliciting Security Requirements
Institute of Science Tokyo
 
PDF
Terminology Matching of Requirements Specification Documents and Regulations ...
Institute of Science Tokyo
 
PDF
Historef: A Tool for Edit History Refactoring
Institute of Science Tokyo
 
PDF
Class Responsibility Assignment as Fuzzy Constraint Satisfaction
Institute of Science Tokyo
 
PDF
Toward Understanding How Developers Recognize Features in Source Code from De...
Institute of Science Tokyo
 
PDF
Refactoring Edit History of Source Code
Institute of Science Tokyo
 
PDF
Understanding Source Code Differences by Separating Refactoring Effects
Institute of Science Tokyo
 
PDF
ソフトウェア工学勉強会への誘い
Institute of Science Tokyo
 
PDF
Supporting Design Model Refactoring for Improving Class Responsibility Assign...
Institute of Science Tokyo
 
PDF
Sentence-to-Code Traceability Recovery with Domain Ontologies
Institute of Science Tokyo
 
PDF
Recording Finer-Grained Software Evolution with IDE: An Annotation-Based Appr...
Institute of Science Tokyo
 
PDF
iFL: An Interactive Environment for Understanding Feature Implementations
Institute of Science Tokyo
 
PDF
Generating Assertion Code from OCL: A Transformational Approach Based on Simi...
Institute of Science Tokyo
 
PDF
Detecting Occurrences of Refactoring with Heuristic Search
Institute of Science Tokyo
 
How Can You Improve Your As-is Models? Requirements Analysis Methods Meet GQM
Institute of Science Tokyo
 
Guiding Identification of Missing Scenarios for Dynamic Feature Location
Institute of Science Tokyo
 
Modeling and Utilizing Security Knowledge for Eliciting Security Requirements
Institute of Science Tokyo
 
Terminology Matching of Requirements Specification Documents and Regulations ...
Institute of Science Tokyo
 
Historef: A Tool for Edit History Refactoring
Institute of Science Tokyo
 
Class Responsibility Assignment as Fuzzy Constraint Satisfaction
Institute of Science Tokyo
 
Toward Understanding How Developers Recognize Features in Source Code from De...
Institute of Science Tokyo
 
Refactoring Edit History of Source Code
Institute of Science Tokyo
 
Understanding Source Code Differences by Separating Refactoring Effects
Institute of Science Tokyo
 
ソフトウェア工学勉強会への誘い
Institute of Science Tokyo
 
Supporting Design Model Refactoring for Improving Class Responsibility Assign...
Institute of Science Tokyo
 
Sentence-to-Code Traceability Recovery with Domain Ontologies
Institute of Science Tokyo
 
Recording Finer-Grained Software Evolution with IDE: An Annotation-Based Appr...
Institute of Science Tokyo
 
iFL: An Interactive Environment for Understanding Feature Implementations
Institute of Science Tokyo
 
Generating Assertion Code from OCL: A Transformational Approach Based on Simi...
Institute of Science Tokyo
 
Detecting Occurrences of Refactoring with Heuristic Search
Institute of Science Tokyo
 

Recently uploaded (20)

PDF
LPS25 - Operationalizing MLOps in GEP - Terradue.pdf
terradue
 
PPTX
Android Notifications-A Guide to User-Facing Alerts in Android .pptx
Nabin Dhakal
 
PDF
Designing Accessible Content Blocks (1).pdf
jaclynmennie1
 
PPTX
Seamless-Image-Conversion-From-Raster-to-wrt-rtx-rtx.pptx
Quick Conversion Services
 
PDF
How DeepSeek Beats ChatGPT: Cost Comparison and Key Differences
sumitpurohit810
 
PPT
Information Communication Technology Concepts
LOIDAALMAZAN3
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 41
utfefguu
 
PPTX
CONCEPT OF PROGRAMMING in language .pptx
tamim41
 
PDF
AI Software Development Process, Strategies and Challenges
Net-Craft.com
 
PPTX
IObit Driver Booster Pro 12.4-12.5 license keys 2025-2026
chaudhryakashoo065
 
PPTX
Avast Premium Security crack 25.5.6162 + License Key 2025
HyperPc soft
 
PPTX
Quality on Autopilot: Scaling Testing in Uyuni
Oscar Barrios Torrero
 
PDF
WholeClear Split vCard Software for Split large vCard file
markwillsonmw004
 
PPTX
Iobit Driver Booster Pro 12 Crack Free Download
chaudhryakashoo065
 
PPTX
declaration of Variables and constants.pptx
meemee7378
 
PPTX
IObit Uninstaller Pro 14.3.1.8 Crack Free Download 2025
sdfger qwerty
 
PPTX
CV-Project_2024 version 01222222222.pptx
MohammadSiddiqui70
 
PDF
capitulando la keynote de GrafanaCON 2025 - Madrid
Imma Valls Bernaus
 
PDF
>Nitro Pro Crack 14.36.1.0 + Keygen Free Download [Latest]
utfefguu
 
PPTX
Introduction to web development | MERN Stack
JosephLiyon
 
LPS25 - Operationalizing MLOps in GEP - Terradue.pdf
terradue
 
Android Notifications-A Guide to User-Facing Alerts in Android .pptx
Nabin Dhakal
 
Designing Accessible Content Blocks (1).pdf
jaclynmennie1
 
Seamless-Image-Conversion-From-Raster-to-wrt-rtx-rtx.pptx
Quick Conversion Services
 
How DeepSeek Beats ChatGPT: Cost Comparison and Key Differences
sumitpurohit810
 
Information Communication Technology Concepts
LOIDAALMAZAN3
 
IDM Crack with Internet Download Manager 6.42 Build 41
utfefguu
 
CONCEPT OF PROGRAMMING in language .pptx
tamim41
 
AI Software Development Process, Strategies and Challenges
Net-Craft.com
 
IObit Driver Booster Pro 12.4-12.5 license keys 2025-2026
chaudhryakashoo065
 
Avast Premium Security crack 25.5.6162 + License Key 2025
HyperPc soft
 
Quality on Autopilot: Scaling Testing in Uyuni
Oscar Barrios Torrero
 
WholeClear Split vCard Software for Split large vCard file
markwillsonmw004
 
Iobit Driver Booster Pro 12 Crack Free Download
chaudhryakashoo065
 
declaration of Variables and constants.pptx
meemee7378
 
IObit Uninstaller Pro 14.3.1.8 Crack Free Download 2025
sdfger qwerty
 
CV-Project_2024 version 01222222222.pptx
MohammadSiddiqui70
 
capitulando la keynote de GrafanaCON 2025 - Madrid
Imma Valls Bernaus
 
>Nitro Pro Crack 14.36.1.0 + Keygen Free Download [Latest]
utfefguu
 
Introduction to web development | MERN Stack
JosephLiyon
 
Ad

RefactorHub: A Commit Annotator for Refactoring