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

可视化PyPI库的贡献者代码能力:初步结果

Visualizing Contributor Code Competency for PyPI Libraries: Preliminary Results

Indira Febriyanti, Raula Gaikovina Kula, Ruksit Rojpaisarnkit, Kanchanok Kannee, Yusuf Sulistyo Nugroho, Kenichi Matsumoto

摘要:

众所周知,Python被初学者和专业程序员使用。Python通过PyPI库向其社区用户提供功能,这允许开发人员将功能重用到应用程序中。然而,目前还不清楚这些PyPI库在实现中需要熟练的代码。我们推测PyPI贡献者可能会决定实现更高级的Python代码,或者坚持使用更基本的Python代码。复杂的代码是否只由少数贡献者提交,或者只提交给特定的文件?本文的新思想是确认谁和在哪里实现了复杂的代码。因此,我们提出了一个可视化来显示熟练的代码,贡献者和文件之间的关系。通过分析四个PyPI项目,我们能够探索哪些文件包含更优雅的代码,以及哪些贡献者致力于这些文件。我们的研究结果表明,大多数文件包含更多的基本能力文件,并不是每个贡献者都贡献了合格的代码。我们展示了如何~我们的可视化是能够总结这样的信息,并打开了不同的可能性,了解如何作出优雅的贡献。

英文摘要:

Python is known to be used by beginners to professional programmers. Python provides functionality to its community of users through PyPI libraries, which allows developers to reuse functionalities to an application. However, it is unknown the extent to which these PyPI libraries require proficient code in their implementation. We conjecture that PyPI contributors may decide to implement more advanced Pythonic code, or stick with more basic Python code. Are complex codes only committed by few contributors, or only to specific files? The new idea in this paper is to confirm who and where complex code is implemented. Hence, we present a visualization to show the relationship between proficient code, contributors, and files. Analyzing four PyPI projects, we are able to explore which files contain more elegant code, and which contributors committed to these files. Our results show that most files contain more basic competency files, and that not every contributor contributes competent code. We show how~our visualization is able to summarize such information, and opens up different possibilities for understanding how to make elegant contributions.

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

↑