<commit_before>Quality Checks Plugin
======

This plugin allows you to include Checkstyle, FindBugs, and PMD static code analysis tools to your Gradle build. 
It copies basic xml configuration files to a new directory `quality-checks` which is in the same directory of the `build.gradle` file.

Installation
------------

Add the following to your `build.gradle`:

```gradle
buildscript {
    repositories {
        maven { url 'https://plugins.gradle.org/m2/' }
    }
    dependencies {
        classpath 'gradle.plugin.info.adavis:plugin:0.1.1'
    }
}

apply plugin: 'info.adavis.qualitychecks'
```

Usage
-----

You can optionally define the location of the Checkstyle, FindBugs and PMD configuration files you would prefer to use:

```gradle
qualityChecks {
    pmdConfigFile = '<some other location>/pmd-ruleset.xml'
}
```

Then you can use the following commands to run the checks:

```gradle
gradle pmd
gradle findbugs
gradle checkstyle<commit_msg>[*] updated plugin name reference<commit_after>Quality Checks Plugin
======

This plugin allows you to include Checkstyle, FindBugs, and PMD static code analysis tools to your Gradle build. 
It copies basic xml configuration files to a new directory `quality-checks` which is in the same directory of the `build.gradle` file.

Installation
------------

Add the following to your `build.gradle`:

```gradle
buildscript {
    repositories {
        maven { url 'https://plugins.gradle.org/m2/' }
    }
    dependencies {
        classpath 'gradle.plugin.info.adavis:qualityChecks:0.1.1'
    }
}

apply plugin: 'info.adavis.qualitychecks'
```

Usage
-----

You can optionally define the location of the Checkstyle, FindBugs and PMD configuration files you would prefer to use:

```gradle
qualityChecks {
    pmdConfigFile = '<some other location>/pmd-ruleset.xml'
}
```

Then you can use the following commands to run the checks:

```gradle
gradle pmd
gradle findbugs
gradle checkstyle
{'fraction_non_alphanumeric': 0.10366168127900979, 'fraction_numerical': 0.0041258380608561115, 'mean_word_length': 3.674698795180723, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2511671', 'n_tokens_mistral': 595, 'n_tokens_neox': 543, 'n_words': 213}