Tool for generating code metrics for C# source code using abstract syntax tree technique

  • Authors:
  • Pavitdeep Singh;Satwinder Singh;Jatinder Kaur

  • Affiliations:
  • Markets & International Banking Royal Bank of Scotland;Dept. of Computer Science & Eng. BBSBEC, Fatehgarh Sahib, Punjab Technical University;Dept. of Applied Sciences University College of Eng. & Tech. Chandigarh University

  • Venue:
  • ACM SIGSOFT Software Engineering Notes
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Software maintenance is one of the key activities in any software engineering process in which source code analysis plays a crucial role. Due to the high cost of maintenance, it has become quite necessary to produce high quality software. Over time, numerous analyses have been performed on source code to determine complexity and other metrics. Lots of papers have been published for object oriented languages but mostly concentrating on C++ and Java, very few has been published for more modern languages like C#. This paper proposes a Software Quality Assurance Tool for measuring the different code metrics for the object oriented language C# at the class and method levels. The technique consists of generating the abstract syntax tree of the source code using Nfactory libraries. The Interface is built using the Win Form application which provides an impressive GUI for the tool.