Comparing semantic graph representations of source code: The case of automatic feedback on programming assignments

计算机科学 程序理解 源代码 程序设计语言 图形 静态程序分析 正确性 预处理器 解析 抽象语法树 抽象语法 理论计算机科学 自然语言处理 人工智能 语义学(计算机科学) 软件 软件开发 软件系统
作者
José Miguel Paiva,José Paulo Leal,Álvaro Figueira
出处
期刊:Computer Science and Information Systems [National Library of Serbia]
卷期号: (00): 4-4
标识
DOI:10.2298/csis230615004p
摘要

Static source code analysis techniques are gaining relevance in automated assessment of programming assignments as they can provide less rigorous evaluation and more comprehensive and formative feedback. These techniques focus on source code aspects rather than requiring effective code execution. To this end, syntactic and semantic information encoded in textual data is typically represented internally as graphs, after parsing and other preprocessing stages. Static automated assessment techniques, therefore, draw inferences from intermediate representations to determine the correctness of a solution and derive feedback. Consequently, achieving the most effective semantic graph representation of source code for the specific task is critical, impacting both techniques? accuracy, outcome, and execution time. This paper aims to provide a thorough comparison of the most widespread semantic graph representations for the automated assessment of programming assignments, including usage examples, facets, and costs for each of these representations. A benchmark has been conducted to assess their cost using the Abstract Syntax Tree (AST) as a baseline. The results demonstrate that the Code Property Graph (CPG) is the most feature-rich representation, but also the largest and most space-consuming (about 33% more than AST).
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
kuikichu完成签到,获得积分10
刚刚
刚刚
Zz完成签到 ,获得积分10
刚刚
科研通AI2S应助研友_8oYg4n采纳,获得10
刚刚
戴维少尉完成签到,获得积分10
1秒前
害羞含雁完成签到,获得积分10
1秒前
1秒前
1秒前
1秒前
CYT完成签到,获得积分10
1秒前
科研通AI5应助健壮的白桃采纳,获得10
2秒前
关琦完成签到,获得积分10
2秒前
梦想or现实完成签到,获得积分10
2秒前
esther816发布了新的文献求助10
3秒前
3秒前
xiaoliu发布了新的文献求助10
3秒前
xiarifeng123完成签到,获得积分10
3秒前
Yasong发布了新的文献求助10
3秒前
梦田完成签到 ,获得积分10
4秒前
4秒前
完美凝竹完成签到,获得积分10
4秒前
4秒前
破空发布了新的文献求助10
5秒前
张阳发布了新的文献求助10
5秒前
晴晨完成签到 ,获得积分10
5秒前
kiska完成签到,获得积分10
7秒前
www发布了新的文献求助80
7秒前
wsh完成签到,获得积分10
7秒前
韩立完成签到,获得积分10
7秒前
大道无形我有型完成签到,获得积分10
8秒前
一瓶82年的矿泉水完成签到,获得积分10
8秒前
枯木完成签到,获得积分10
8秒前
魈玖完成签到,获得积分10
9秒前
júpiter完成签到,获得积分10
10秒前
ihuhiu完成签到,获得积分10
10秒前
angin完成签到,获得积分10
10秒前
粗暴的海豚完成签到,获得积分10
11秒前
KINA完成签到,获得积分20
11秒前
喜悦松完成签到,获得积分10
11秒前
迟大猫应助阳佟之槐采纳,获得10
11秒前
高分求助中
Continuum thermodynamics and material modelling 3000
Production Logging: Theoretical and Interpretive Elements 2500
Healthcare Finance: Modern Financial Analysis for Accelerating Biomedical Innovation 2000
Applications of Emerging Nanomaterials and Nanotechnology 1111
Les Mantodea de Guyane Insecta, Polyneoptera 1000
Theory of Block Polymer Self-Assembly 750
지식생태학: 생태학, 죽은 지식을 깨우다 700
热门求助领域 (近24小时)
化学 医学 材料科学 生物 工程类 有机化学 生物化学 纳米技术 内科学 物理 化学工程 计算机科学 复合材料 基因 遗传学 物理化学 催化作用 细胞生物学 免疫学 电极
热门帖子
关注 科研通微信公众号,转发送积分 3484889
求助须知:如何正确求助?哪些是违规求助? 3073816
关于积分的说明 9132776
捐赠科研通 2765431
什么是DOI,文献DOI怎么找? 1517845
邀请新用户注册赠送积分活动 702353
科研通“疑难数据库(出版商)”最低求助积分说明 701237