Presentation Open Access

Inspect4py: A Knowledge Extraction Framework for Python Code Repositories (MSR2022 presentation)

Filgueria, Rosa; Garijo, Daniel

Abstract of the paper accepted at Mining Software Repositories, 2022.

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

Files (1.7 MB)
Name Size
1.7 MB Download
All versions This version
Views 1414
Downloads 88
Data volume 13.5 MB13.5 MB
Unique views 1414
Unique downloads 88


Cite as