首页> 外文会议>IEEE Asia-Pacific Conference on Computer Science and Data Engineering >Code Complexity Analyser and Visualiser for Novice Programmer
【24h】

Code Complexity Analyser and Visualiser for Novice Programmer

机译:代码复杂性分析仪和新手程序员的可视化器

获取原文

摘要

Code complexity can have a significant influence on software quality. With studies showing program developed by novice programmers can influence software complexity due to lack of experience, practice, and understanding of the concept of programming. This paper investigates the utilisation of machine learning techniques to analyse code complexity levels. Using a public collection of JavaScript codes, we developed a machine learning model to identify the relationship between code characteristics and complexity level. We selected six methods and performed k-fold cross-validation. It was observed that Classification and Regression Trees (CART) and K-Nearest Neighbours (KNN) yielded the best prediction results. Finally, we also implemented a visualisation tool to present the code analysis results providing a means to gain insights on JavaScript codes through their characteristics and complexity level.
机译:代码复杂性可能对软件质量产生重大影响。 通过研究显示新手程序员开发的程序可以影响软件复杂性,因为缺乏对编程概念的经验,实践和理解。 本文调查了机器学习技术的利用来分析代码复杂程度。 使用公共集合JavaScript代码,我们开发了一种机器学习模型,以识别代码特征与复杂性级别之间的关系。 我们选择了六种方法并执行了k折交叉验证。 观察到,分类和回归树(推车)和k最近邻居(knn)产生了最佳预测结果。 最后,我们还实现了一种可视化工具,以呈现代码分析结果,提供通过其特征和复杂程度来获得对JavaScript代码的洞察的手段。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号