Skip to content

Latest commit

 

History

History

JavaAnalyzer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

2nd Assignment

Description

2nd Assignment includes a program that takes a java file and counts the lines of java code, the number of classes and the number of methods and save the metrics in a csv file.

Getting Started

Prerequisites

Java version 1.8 Apache Maven 3.6

Build

  1. Clone or Download the project in your local machine.
  2. Open your terminal.
  3. Go to folder /seip2019/JavaAnalyzer cd ..../folder1/folder2/seip2019/JavaAnalyzer
  4. Write mvn install
  5. Go to folder /target cd JavaAnalyzer\target
  6. To run the program write: java -jar metricsCalculator.jar [filepath] [string or regex]
  7. In the folder /target you will find a csv file with metrics.

Built with

The UML Diagram

UML DIAGRAM