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
Authors: Ayush Bhardwaj, Sahil, Kaushlendra Pratap, Gaurav Mishra
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
Funder: Linux Foundation
OpenAlex ID: W4221046456
