<commit_before><?php
/**
 * MonIPDBQueryTest.php
 *
 * Author: <NAME> <<EMAIL>>
 */

namespace larryli\ipv4\tests;

use larryli\ipv4\MonIPDBQuery;

/**
 * Class MonIPDBQueryTest
 * @package larryli\ipv4\tests\query
 */
class MonIPDBQueryTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @var MonIPDBQuery
     */
    static protected $query;

    public static function setUpBeforeClass()
    {
        self::$query = new MonIPDBQuery(__DIR__ . '/17monipdb.dat');
    }

    public static function tearDownAfterClass()
    {
        if (self::$query->exists()) {
            self::$query->clean();
        }
    }

    /**<commit_msg>fix MonipdbQueryTest<commit_after><?php
/**
 * MonipdbQueryTest.php
 *
 * Author: <NAME> <<EMAIL>>
 */

namespace larryli\ipv4\tests;

use larryli\ipv4\MonipdbQuery;

/**
 * Class MonIPDBQueryTest
 * @package larryli\ipv4\tests\query
 */
class MonipdbQueryTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @var MonIPDBQuery
     */
    static protected $query;

    public static function setUpBeforeClass()
    {
        self::$query = new MonipdbQuery(__DIR__ . '/17monipdb.dat');
    }

    public static function tearDownAfterClass()
    {
        if (self::$query->exists()) {
            self::$query->clean();
        }
    }

    /**
{'fraction_non_alphanumeric': 0.1409759876065066, 'fraction_numerical': 0.0077459333849728895, 'mean_word_length': 2.6914285714285713, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '4862510', 'n_tokens_mistral': 430, 'n_tokens_neox': 435, 'n_words': 75}