Work

Nirjas: An open source framework for extracting metadata from the source code

Year: 2022
Type: conference-paper
Abstract: Metadata/Comments are the critical element of any software development process. In this paper, we went on to explain how the metadata/comments in the source code can play an essential role in comprehending the software. We introduced a python based open-source framework “Nirjas” that helps us in extracting the metadata in a structured manner. There are various syntax, types and widely accepted conventions for adding a comment in the source file of different programming languages. Various edge cases can create noise in our extraction, for which we used Regex to accurately retrieve these metadata. The non-Regex method can give us the result but misses out on accuracy and noise separation. Nirjas can also separate different types of comments, source code and provide us with the details about those comments in terms of the line number, file name, language used, total SLOC, etc. Nirjas is a standalone python framework/library and can be easily and quickly installed using the source installation or using pip (package installer for Python). Nirjas was first created and started out as one of the projects during the Google Summer of Code program and is currently developed and maintained under the FOSSology organization
Language: English
Open Access status: green
OpenAlex ID: W4221046456
FWCI:
Cites: 9
Cited by:
Related to: 10