secrets-factory-password-generator

Secrets Factory - Password Generator

forthebadge

Generate configurable passwords using lowercase, uppercase, numbers and special characters.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You will need Java 1.8 installed and Apache Maven 3.6+ configured on your system path.

It’s best to use the OpenJDK, Windows users can get binaries from AdoptOpenJDK.

Installing

  1. Clone or download the repository from GitHub:
git clone https://github.com/Skerwe/secrets-factory-password-generator.git
  1. Compile, test and bundle the application:
mvn compile package
  1. Execute the application:
java -cp target/secrets-factory.jar za.web.skerwe.factory.SecretsFactory

A default password of 12 lenght will be generated, consisting of 4 uppercase, 4 lowercase, 2 numbers and 2 special characters.

To configure the amount of characters:

java -cp target/dependency/;target/secrets-factory.jar za.web.skerwe.factory.SecretsFactory -l 4 -u 3 -d 3 -s 2

Running the Tests

The tests use Junit and the Hamcrest assertion library

mvn test

Generating Reports

Static Code Analysis

  1. PMD static code analyzer
mvn pmd:pmd
  1. Apache Maven Checkstyle Plugin
mvn checkstyle:checkstyle

Code Coverage

  1. JaCoCo Java Code Coverage Library

  2. Cobertura

Cobertura Maven Plugin

mvn cobertura:cobertura

Javadocs

mvn javadoc:javadoc

Project Site

mvn site:run

Maven Dashboard

mvn site
mvn dashboard:dashboard

Built With

License

This project is licensed under the GNU GPLv3 License - see the LICENSE file for details