Skip to content

jamsouf/panalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

panalyzer

panalyzer is a small command line JAR program to analyze a project or in general a directory and its content. It gives a short summary of the file types, lines of code, directory size, latest modified files and a couple of other values.

overview

folders

files

Usage

  1. Download the latest JAR file from the releases folder and put it into the folder which you want to analyze
  2. Open a terminal, navigate to the JAR and execute: java -jar panalyzer.jar
  3. Go into the created folder panalyzer-report and open the file index.html in a browser

Config

To control the analyzed directories and files you can create a config file which will be included into the analyzing process. With the config file you can e.g. define ignores so that these directories and files are not analyzed.

panalyzer.json

Crate the file panalyzer.json and put it into the same directory where the JAR file is located.

example content
{
  "ignores": [
    "*.iml",
    ".git",
    "*target",
    "src/main/resources/tmp",
    "tmp/data/*.log",
    "config/db/*/*password*.conf"
  ]
}

Build

To build the JAR package from the sources execute the following command in a terminal:
mvn clean compile assembly:single