• Home
  • Search
  • Code Quality Improvement for All: Automated Refactoring for Scratch
  • Cite Icon23
  • https://doi.org/10.1109/vlhcc.2019.8818950Copy DOI Icon

Code Quality Improvement for All: Automated Refactoring for Scratch

  • Oct 1, 2019
  • Peeratham Techapalokul +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Block-based programming has been overwhelmingly successful in revitalizing introductory computing education and in facilitating end-user development. However, poor code quality makes block-based programs hard to understand, modify, and reuse, thus hurting the educational and productivity effectiveness of blocks. There is great potential benefit in empowering programmers in this domain to systematically improve the code quality of their projects. Refactoring--improving code quality while preserving its semantics--has been widely adopted in traditional software development. In this work, we introduce refactoring to Scratch. We define four new Scratch refactorings: Extract Custom Block, Extract Parent Sprite, Extract Constant, and Reduce Variable Scope. To automate the application of these refactorings, we enhance the Scratch programming environment with powerful program analysis and transformation routines. To evaluate the utility of these refactorings, we apply them to remove the code smells detected in a representative dataset of 448 Scratch projects. We also conduct a between-subjects user study with 24 participants to assess how our refactoring tools impact programmers. Our results show that refactoring improves the subjects' code quality metrics, while our refactoring tools help motivate programmers to improve code quality.

Similar Papers
  • Research Article
  • Citations12

Early prediction of quality of service using interface-level metrics, code-level metrics, and antipatterns

  • May 19, 2020
  • Information and Software Technology
  • Chaima Abid +2
  • Research Article
  • Citations7

Advanced strategies for achieving comprehensive code quality and ensuring software reliability

  • Aug 03, 2024
  • Computer Science & IT Research Journal
  • Nnaemeka Valentine Eziamaka +2
  • PDF
  • Book Chapter
  • Citations7

A Bayesian Belief Network for Modeling Open Source Software Maintenance Productivity

  • Jan 01, 2016
  • Stamatia Bibi +2
  • Conference Article
  • Citations15

Tool Support for Inspecting the Code Quality of HPC Applications

  • May 01, 2007
  • Thomas Panas +2
  • Research Article

A Review of Pair programming (Gen-AI) tools in Data Engineering

  • Apr 24, 2024
  • International Research Journal of Modernization in Engineering Technology and Science
  • Prathik Reddy Chintala +3
  • Research Article
  • Citations7

Identifying nonconformities in contributions to programming projects: from an engagement perspective in improving code quality

  • Dec 21, 2021
  • Behaviour & Information Technology
  • Bao-An Nguyen +2
  • Conference Article
  • Citations8

Technical Debt predictive model through Temporal Convolutional Network

  • Jul 18, 2021
  • Lerina Aversano +3
  • Research Article

MEASURING CODE QUALITY USING SUPPORT VECTOR MACHINE CLASSIFIER FOR IMPROVED CODING TECHNIQUES

  • Oct 01, 2016
  • International Journal of Computer and Communication Technology
  • A.K Iavarasi +1
  • Conference Article
  • Citations21

Mutation testing in practice using Ruby

  • Apr 01, 2015
  • Nan Li +3
  • Conference Article

Refactoring Deep Learning Code: a Study of Practices and Unsatisfied Tool Needs

  • Sep 07, 2025
  • Siqi Wang +5
  • Conference Article
  • Citations31

Django Web Framework Software Metrics Measurement Using Radon and Pylint

  • Sep 01, 2018
  • Suryadiputra Liawatimena +7
  • Research Article
  • Citations1

A Data‐Driven Methodology for Quality Aware Code Fixing

  • Jan 01, 2025
  • IET Software
  • Thomas Karanikiotis +1
  • Research Article
  • Citations1

APPLICATION OF ARTIFICIAL INTELLIGENCE IN PROGRAMMING EDUCATION WITHIN A BLENDED LEARNING ENVIRONMENT

  • Jan 01, 2024
  • Open educational e-environment of Modern University
  • Oleksandr Koval
  • Conference Article
  • Citations9

Decision-making framework for refactoring

  • Oct 01, 2015
  • Marko Leppanen +7
  • PDF
  • Research Article

The price of precision: the cost of preprocessing for automated code revision in code review

  • Dec 15, 2025
  • Empirical Software Engineering
  • Shirin Pirouzkhah +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.