SQL相关开发任务特征研究:一项实证研究
Studying the Characteristics of SQL-related Development Tasks: An Empirical Study
摘要:
软件系统的一个关键功能是其便于数据操作的能力,这通常使用结构化查询语言(SQL)的风格来实现。为了开发软件的数据操作(即创建、检索、更新和删除数据),开发人员需要擅长编写和组合SQL和应用程序代码。问题是编写SQL代码本身已经很有挑战性了(例如,SQL反模式是常见的)以及将SQL与应用程序代码相结合(即,对于SQL开发任务)的要求甚至更高。同时,我们对SQL开发任务的特点缺乏经验性的了解。SQL开发任务通常需要更多的代码更改吗?他们通常有一个更长的时间来完成?这些问题的答案将使社区为与这些任务相关的潜在挑战做好准备。我们从20个Apache项目中获得的结果表明,SQL开发任务的完成时间比SQL无关的任务要长得多,并且需要更多的代码更改。通过我们的定性分析,我们观察到,SQL开发任务需要更多的分散的变化,在审查和文档的努力。我们的研究结果也证实了以前的研究,强调流行的SQL反模式。软件工程社区应该为SQL编码的特殊性做好准备,以交付安全可靠的交互式软件。
英文摘要:
A key function of a software system is its ability to facilitate the manipulation of data, which is often implemented using a flavour of the Structured Query Language (SQL). To develop the data operations of software (i.e, creating, retrieving, updating, and deleting data), developers are required to excel in writing and combining both SQL and application code. The problem is that writing SQL code in itself is already challenging (e.g., SQL anti-patterns are commonplace) and combining SQL with application code (i.e., for SQL development tasks) is even more demanding. Meanwhile, we have little empirical understanding regarding the characteristics of SQL development tasks. Do SQL development tasks typically need more code changes? Do they typically have a longer time-to-completion? Answers to such questions would prepare the community for the potential challenges associated with such tasks. Our results obtained from 20 Apache projects reveal that SQL development tasks have a significantly longer time-to-completion than SQL-unrelated tasks and require significantly more code changes. Through our qualitative analyses, we observe that SQL development tasks require more spread out changes, effort in reviews and documentation. Our results also corroborate previous research highlighting the prevalence of SQL anti-patterns. The software engineering community should make provision for the peculiarities of SQL coding, in the delivery of safe and secure interactive software.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。