<commit_before><style type="text/css" scoped>
    <?php require_once 'checkDatabaseTable.css'; ?>

</style>

<table class="check-table">
    <tr>
        <th colspan="4"><h2>DataDo Repository Check</h2></th>
    </tr>
    <tr>
        <th>Class</th>
        <td colspan="3"><?= $this->entityClass->getName() ?></td>
    </tr>
    <tr>
        <th>Table Name</th>
        <td colspan="3"><?= $this->tableName ?></td>
    </tr>
    <tr>
        <th>Driver</th>
        <td colspan="3"><?= $pdoAtt(PDO::ATTR_DRIVER_NAME) ?></td>
    </tr>
    <tr>
        <th>Connection</th>
        <td colspan="3"><?= $pdoAtt(PDO::ATTR_CONNECTION_STATUS) ?></td>
    </tr>
    <tr>
        <th>Database Status</th>
        <td colspan="3"><?= $pdoAtt(PDO::ATTR_SERVER_INFO) ?></td>
    </tr>
    <tr>
        <th rowspan="<?= count($properties) + 1 ?>">Properties</th>
        <th>Class Property</th>
        <th>Expected database column</th>
        <th>Actual database column</th>
    </tr>
    <?php foreach ($properties as $prop): ?>
        <tr class="<?= $getClass($prop) ?>">
            <td>
                <?= $issetOr($prop->propertyName) ?>
            </td>
            <td>
                <?= $issetOr($prop->expectedColumnName) ?>
            </td>
            <td>
                <?= $issetOr($prop->actualColumnName) ?>
            </td>
        </tr>
    <?php endforeach; ?>
    <?php if ($showAllData): $entities = $this->findAll(); ?>
        <tr>
            <th rowspan="<?= count($entities) + 1 ?>">Entities</th>
        </tr>
        <?php foreach ($entities as $entity): ?>
            <tr class="entity-row">
                <td colspan="3">
                    <?php
                    ob_start();
                    var_dump($entity);
                    echo ob_get_clean();
                    ?>
                </td>

            </tr>
        <?php endforeach; ?>
    <?php endif; ?>
</table><commit_msg>Show entity count on check page<commit_after><style type="text/css" scoped>
    <?php require_once 'checkDatabaseTable.css'; ?>

</style>

<table class="check-table">
    <tr>
        <th colspan="4"><h2>DataDo Repository Check</h2></th>
    </tr>
    <tr>
        <th>Class</th>
        <td colspan="3"><?= $this->entityClass->getName() ?></td>
    </tr>
    <tr>
        <th>Table Name</th>
        <td colspan="3"><?= $this->tableName ?></td>
    </tr>
    <tr>
        <th>Driver</th>
        <td colspan="3"><?= $pdoAtt(PDO::ATTR_DRIVER_NAME) ?></td>
    </tr>
    <tr>
        <th>Connection</th>
        <td colspan="3"><?= $pdoAtt(PDO::ATTR_CONNECTION_STATUS) ?></td>
    </tr>
    <tr>
        <th>Database Status</th>
        <td colspan="3"><?= $pdoAtt(PDO::ATTR_SERVER_INFO) ?></td>
    </tr>
    <tr>
        <th rowspan="<?= count($properties) + 1 ?>">Properties</th>
        <th>Class Property</th>
        <th>Expected database column</th>
        <th>Actual database column</th>
    </tr>
    <?php foreach ($properties as $prop): ?>
        <tr class="<?= $getClass($prop) ?>">
            <td>
                <?= $issetOr($prop->propertyName) ?>
            </td>
            <td>
                <?= $issetOr($prop->expectedColumnName) ?>
            </td>
            <td>
                <?= $issetOr($prop->actualColumnName) ?>
            </td>
        </tr>
    <?php endforeach; ?>
    <?php if ($showAllData): $entities = $this->findAll(); ?>
        <tr>
            <th rowspan="<?= count($entities) + 1 ?>">Entities (<?=count($entities)?>)</th>
        </tr>
        <?php foreach ($entities as $entity): ?>
            <tr class="entity-row">
                <td colspan="3">
                    <?php
                    ob_start();
                    var_dump($entity);
                    echo ob_get_clean();
                    ?>
                </td>

            </tr>
        <?php endforeach; ?>
    <?php endif; ?>
</table>
{'fraction_non_alphanumeric': 0.20349434737923947, 'fraction_numerical': 0.005652620760534429, 'mean_word_length': 1.7053509381514942, 'pattern_counts': {'":': 0, '<': 174, '<?xml version=': 0, '>': 188, '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': '3310264', 'n_tokens_mistral': 1273, 'n_tokens_neox': 1267, 'n_words': 245}