<commit_before>## MageSpec

[![Build Status](https://travis-ci.org/MageTest/MageSpec.png?branch=master)](https://travis-ci.org/MageTest/MageSpec)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/MageTest/MageSpec/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/MageTest/MageSpec/?branch=master)
[![Latest Stable Version](https://poser.pugx.org/magetest/magento-phpspec-extension/v/stable.png)](https://packagist.org/packages/magetest/magento-phpspec-extension)
[![Packagist Downloads](https://poser.pugx.org/magetest/magento-phpspec-extension/downloads.png)](https://packagist.org/packages/magetest/magento-phpspec-extension)
[![License](https://poser.pugx.org/magetest/magento-phpspec-extension/license)](https://packagist.org/packages/magetest/magento-phpspec-extension)

## Installation

### Prerequisites

MageSpec requires PHP 5.6.x or greater.

### Install using composer

First, add MageSpec to the list of dependencies inside your `composer.json` and be sure to register few paths for autoloading:

```json
{
    "require-dev": {
        "magetest/magento-phpspec-extension": "^4.0"
    },
    "config": {
        "bin-dir": "bin"
    },
    "autoload": {
        "psr-0": {
            "": [
                "public/app",
                "public/app/code/local",
                "public/app/code/community",
                "public/app/code/core",
                "public/lib"<commit_msg>Prepare for 5.0 release<commit_after>## MageSpec

[![Build Status](https://travis-ci.org/MageTest/MageSpec.png?branch=master)](https://travis-ci.org/MageTest/MageSpec)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/MageTest/MageSpec/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/MageTest/MageSpec/?branch=master)
[![Latest Stable Version](https://poser.pugx.org/magetest/magento-phpspec-extension/v/stable.png)](https://packagist.org/packages/magetest/magento-phpspec-extension)
[![Packagist Downloads](https://poser.pugx.org/magetest/magento-phpspec-extension/downloads.png)](https://packagist.org/packages/magetest/magento-phpspec-extension)
[![License](https://poser.pugx.org/magetest/magento-phpspec-extension/license)](https://packagist.org/packages/magetest/magento-phpspec-extension)

## Installation

### Install using composer

First, add MageSpec to the list of dependencies inside your `composer.json` and be sure to register few paths for autoloading:

```json
{
    "require-dev": {
        "magetest/magento-phpspec-extension": "^5.0"
    },
    "config": {
        "bin-dir": "bin"
    },
    "autoload": {
        "psr-0": {
            "": [
                "public/app",
                "public/app/code/local",
                "public/app/code/community",
                "public/app/code/core",
                "public/lib"
{'fraction_non_alphanumeric': 0.16917024320457796, 'fraction_numerical': 0.00357653791130186, 'mean_word_length': 3.425632911392405, 'pattern_counts': {'":': 14, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 20, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '547780', 'n_tokens_mistral': 1007, 'n_tokens_neox': 987, 'n_words': 111}