arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.16452cs.SE
收藏

jscefr:一个用于评估 JavaScript 代码熟练度的框架

jscefr: A Framework to Evaluate the Code Proficiency for JavaScript

Chaiyong Ragkhitwetsagul, Komsan Kongwongsupak, Thanakrit Maneesawas, Natpichsinee Puttiwarodom, Ruksit Rojpaisarnkit, Morakot Choetkiertikul, Raula Gaikovina K… 展开作者

Chaiyong Ragkhitwetsagul, Komsan Kongwongsupak, Thanakrit Maneesawas, Natpichsinee Puttiwarodom, Ruksit Rojpaisarnkit, Morakot Choetkiertikul, Raula Gaikovina Kula, Thanwadee Sunetnanta

AI总结:

本文提出jscefr工具,基于CEFR框架和官方文档检测JavaScript代码结构,将代码熟练度划分为六级,并在NPM生态的三个项目中验证了其有效性。

摘要:

本文提出了jscefr(发音为jes-cee-fer),这是一个检测JavaScript(JS)语言不同元素使用情况的工具,能有效衡量在软件维护任务中理解和处理JS代码片段所需的熟练度水平。该工具基于pycefr开发,结合了JS元素与著名的欧洲语言共同参考框架(CEFR),并利用了Mozilla Developer Network的官方ECMAScript JavaScript文档。jscefr根据熟练度将JS代码划分为六个级别,能够检测并分类138种不同的JavaScript代码结构。为进行评估,我们将该工具应用于NPM生态系统中的三个JavaScript项目,取得了有趣的结果。演示该工具可用性和用法的视频可在https://youtu.be/Ehh-Prq59Pc获取。

英文摘要:

In this paper, we present jscefr (pronounced jes-cee-fer), a tool that detects the use of different elements of the JavaScript (JS) language, effectively measuring the level of proficiency required to comprehend and deal with a fragment of JavaScript code in software maintenance tasks. Based on the pycefr tool, the tool incorporates JavaScript elements and the well-known Common European Framework of Reference for Languages (CEFR) and utilizes the official ECMAScript JavaScript documentation from the Mozilla Developer Network. jscefr categorizes JS code into six levels based on proficiency. jscefr can detect and classify 138 different JavaScript code constructs. To evaluate, we apply our tool to three JavaScript projects of the NPM ecosystem, with interesting results. A video demonstrating the tool's availability and usage is available at https://youtu.be/Ehh-Prq59Pc.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑