Abstract
This work presents inspect4py, a static code analysis framework designed to automatically extract the main features, metadata and documentation of Python code repositories. Given an input folder with code, inspect4py uses abstract syntax trees and state of the art tools to find all functions, classes, tests, documentation, call graphs, module dependencies and control flows within all code files in that repository. Using these findings, inspect4py infers different ways of invoking a software component. We have evaluated our framework on 95 annotated repositories, obtaining promising results for software type classification (over 95% F1-score). With inspect4py, we aim to ease the understandability and adoption of software repositories by other researchers and developers.
Original language | English |
---|---|
Title of host publication | Proceedings of the 19th International Conference on Mining Software Repositories (MSR 2022) |
Editors | David Lo, Shane McIntosh, Nicole Novielli |
Place of Publication | New York, NY |
Publisher | ACM |
Pages | 232-236 |
Number of pages | 5 |
ISBN (Electronic) | 9781450393034 |
DOIs | |
Publication status | Published - 17 Oct 2022 |
Event | 2022 Mining Software Repositories Conference (MSR 2022) - Virtual and In-Person, Pittsburgh, United States Duration: 23 May 2022 → 24 May 2022 Conference number: 5 https://conf.researchr.org/home/msr-2022 |
Conference
Conference | 2022 Mining Software Repositories Conference (MSR 2022) |
---|---|
Abbreviated title | MSR 2022 |
Country/Territory | United States |
City | Pittsburgh |
Period | 23/05/22 → 24/05/22 |
Internet address |
Keywords
- Code mining
- Software code
- Software classification
- Software documentation
- Code understanding
Fingerprint
Dive into the research topics of 'inspect4py: a knowledge extraction framework for Python code repositories'. Together they form a unique fingerprint.Datasets
-
SoftwareUnderstanding/inspect4py: Inspect4py 0.0.1: First release
Filgueira, R. (Contributor) & Garijo, D. (Contributor), Zenodo, 2022
Dataset: Software