AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (9.5 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Open Access

VisLint: An Automated Static Analysis Approach for Visual Programming

Department of Computer Science, Beijing University of Posts and Telecommunication, Beijing 100876, China
Show Author Information

Abstract

Block-based visual programming languages enable programmers to focus on programming thinking without excessive coding or syntax attention. We find that projects written in visual programming languages like Scratch also have bugs and code smells that cannot be avoided automatically. Existing studies analyze these problems by converting code into Abstract Syntax Trees (ASTs) before analysis. This process is time-consuming and analyzing the AST directly can be complex. In this paper, we propose a novel code image-based static analysis approach for visual programming languages, which mines code patterns in images to pre-determine whether there are problems in projects without parsing them first. We train a code image object detection network to judge whether the input projects are likely to have bugs or smells. Further analysis is performed only on potentially problematic projects. Based on the proposals of the detection network, we analyze the key areas of the AST and identify the specific code problems. Experiments show that compared with others, our method can quickly determine code problems and accurately locate them. For the code image detection task, the improved model can achieve higher mean average precision (MAP) faster in the training phase, while the model is smaller and faster in inference.

References

【1】
【1】
 
 
Tsinghua Science and Technology
Pages 542-563

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Chai X, Sun Y. VisLint: An Automated Static Analysis Approach for Visual Programming. Tsinghua Science and Technology, 2026, 31(1): 542-563. https://doi.org/10.26599/TST.2024.9010108

1188

Views

75

Downloads

0

Crossref

0

Web of Science

0

Scopus

0

CSCD

Received: 10 April 2024
Revised: 31 May 2024
Accepted: 12 June 2024
Published: 25 August 2025
© The author(s) 2026.

The articles published in this open access journal are distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/).