首页> 外文期刊>Software, practice & experience >The human in model-driven engineering loop: A case study on integrating handwritten code in model-driven engineering repositories
【24h】

The human in model-driven engineering loop: A case study on integrating handwritten code in model-driven engineering repositories

机译:模型驱动工程环路中的人:在模型驱动工程存储库中集成手写代码的案例研究

获取原文
获取原文并翻译 | 示例
       

摘要

In model-driven engineering (MDE) software projects, large portions of the executable code are automatically generated from designs and models. This generated code may or may not be edited by the developers to achieve their development objectives. MDE projects also include a significant amount of handwritten code (HC). This handwritten code is developed under unique constraints, as it must integrate with generated artifacts and code elements that are not directly developed by the engineers. These constraints adversely affect codebase quality and maintainability. This case study aims to investigate the hypothesis pertaining to the handwritten code quality developed in the context of MDE. The study analyzes these unique code fragments and compares their characteristics to handwritten code in repositories where code generation is not present. The study finds that handwritten code quality in the MDE context suffers from elevated technical debt and code smells. We observe key code smells that are particularly evident in this handwritten code. These findings imply that code generators must optimize for human comprehension, prioritize extensibility, and must facilitate integration with handwritten code elements.
机译:在模型驱动的工程(MDE)软件项目中,可执行代码的大量部分自动从设计和模型生成。开发人员可以或可能未经开发人员编辑此生成的代码以实现其发展目标。 MDE项目还包括大量手写代码(HC)。此手写代码是在唯一的约束下开发的,因为它必须与工程师直接开发的生成的工件和代码元素集成。这些约束会对码基质量和可维护性产生不利影响。本案例研究旨在调查与MDE的背景中开发的手写代码质量有关的假设。该研究分析了这些唯一代码片段,并将其特征与代码生成不存在的存储库中的手写代码进行比较。该研究发现,MDE上下文中的手写代码质量遭受了升高的技术债务和代码闻。我们遵守在此手写代码中特别明显的关键代码气味。这些发现意味着代码生成器必须优化人类理解,优先顺序可扩展性,并且必须促进与手写代码元素的集成。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号