<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project name="PHP_Depend" default="build" basedir=".">
    <target name="build" depends="clean,subversion,phpdoc,phpcs,phpunit"/>

    <target name="clean">
        <delete>
            <fileset dir="${basedir}/build/api">
                <include name="**/*.*" />
            </fileset>
        </delete>
        <delete>
            <fileset dir="${basedir}/build/logs">
                <include name="**/*.*" />
            </fileset>
        </delete>
        <delete>
            <fileset dir="${basedir}/build/tmp">
                <include name="*.xml"/>
            </fileset>
        </delete>
    </target>
    
    <target name="subversion">
        <exec executable="svn" dir="${basedir}">
            <arg line="up" />
        </exec>
    </target>


    <target name="phpdoc">
        <exec executable="phpdoc" dir="${basedir}/PHP" logerror="on">
             <arg line="--title '${ant.project.name}' 
                        -ue on 
                        -t ${basedir}/build/api 
                        -d ${basedir}/PHP
                        -tb '/usr/local/pear/PEAR/data/phpUnderControl/data/phpdoc'
                        -o HTML:Phpuc:phpuc"/>
        </exec>
    </target>

    <target name="phpcs">
        <exec executable="phpcs" dir="${basedir}/PHP" 
              output="${basedir}/build/logs/checkstyle.xml" 
              error="/tmp/checkstyle.error.log">
            <arg line="--report=checkstyle --standard=PEAR src"/>
        </exec>
    </target>

    <target name="phpunit-5.3.0">
        <exec executable="/usr/local/php/bin/php" dir="${basedir}" failonerror="false">
            <arg line="/usr/local/pear/bin/phpunit 
                       --log-xml       ${basedir}/build/tmp/php-5.3.0.xml
                       --log-pmd       ${basedir}/build/logs/phpunit.pmd.xml
                       --coverage-xml  ${basedir}/build/logs/phpunit.coverage.xml
                       --coverage-html ${basedir}/build/coverage
                       PHP_Depend_AllTests tests/PHP/Depend/AllTests.php"/>
        </exec>
    </target>

    <target name="phpunit-5.2.6">
        <exec executable="/usr/local/bin/php526" dir="${basedir}" failonerror="false">
            <arg line="/usr/local/pear/bin/phpunit 
                       --log-xml ${basedir}/build/tmp/php-5.2.6.xml
                       PHP_Depend_AllTests tests/PHP/Depend/AllTests.php"/>
        </exec>
    </target>

    <target name="phpunit-5.2.0">
<!--
        <exec executable="/usr/local/bin/php520" dir="${basedir}" failonerror="false">
            <arg line="/usr/local/pear/bin/phpunit 
                       - -log-xml ${basedir}/build/tmp/php-5.2.0.xml
                       PHP_Depend_AllTests tests/PHP/Depend/AllTests.php"/>
        </exec>
-->
    </target>

    <target name="phpunit" depends="phpunit-5.2.0,phpunit-5.2.6,phpunit-5.3.0">
        <exec executable="/home/manu/Desktop/Projects/workspace.xplib.de/phpUnderControl/trunk/bin/phpuc.php" dir="${basedir}" failonerror="true">
            <arg line="merge-phpunit
                       -b php-5.3.0,php-5.2.6
                       -i ${basedir}/build/tmp/php-5.3.0.xml,${basedir}/build/tmp/php-5.2.6.xml
                       -o ${basedir}/build/logs/log.xml"/>
        </exec>
    </target>
</project><commit_msg>- Broken phpuc cli tool path fixed.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project name="PHP_Depend" default="build" basedir=".">
    <target name="build" depends="clean,subversion,phpdoc,phpcs,phpunit"/>

    <target name="clean">
        <delete>
            <fileset dir="${basedir}/build/api">
                <include name="**/*.*" />
            </fileset>
        </delete>
        <delete>
            <fileset dir="${basedir}/build/logs">
                <include name="**/*.*" />
            </fileset>
        </delete>
        <delete>
            <fileset dir="${basedir}/build/tmp">
                <include name="*.xml"/>
            </fileset>
        </delete>
    </target>
    
    <target name="subversion">
        <exec executable="svn" dir="${basedir}">
            <arg line="up" />
        </exec>
    </target>


    <target name="phpdoc">
        <exec executable="phpdoc" dir="${basedir}/PHP" logerror="on">
             <arg line="--title '${ant.project.name}' 
                        -ue on 
                        -t ${basedir}/build/api 
                        -d ${basedir}/PHP
                        -tb '/usr/local/pear/PEAR/data/phpUnderControl/data/phpdoc'
                        -o HTML:Phpuc:phpuc"/>
        </exec>
    </target>

    <target name="phpcs">
        <exec executable="phpcs" dir="${basedir}/PHP" 
              output="${basedir}/build/logs/checkstyle.xml" 
              error="/tmp/checkstyle.error.log">
            <arg line="--report=checkstyle --standard=PEAR src"/>
        </exec>
    </target>

    <target name="phpunit-5.3.0">
        <exec executable="/usr/local/php/bin/php" dir="${basedir}" failonerror="false">
            <arg line="/usr/local/pear/bin/phpunit 
                       --log-xml       ${basedir}/build/tmp/php-5.3.0.xml
                       --log-pmd       ${basedir}/build/logs/phpunit.pmd.xml
                       --coverage-xml  ${basedir}/build/logs/phpunit.coverage.xml
                       --coverage-html ${basedir}/build/coverage
                       PHP_Depend_AllTests tests/PHP/Depend/AllTests.php"/>
        </exec>
    </target>

    <target name="phpunit-5.2.6">
        <exec executable="/usr/local/bin/php526" dir="${basedir}" failonerror="false">
            <arg line="/usr/local/pear/bin/phpunit 
                       --log-xml ${basedir}/build/tmp/php-5.2.6.xml
                       PHP_Depend_AllTests tests/PHP/Depend/AllTests.php"/>
        </exec>
    </target>

    <target name="phpunit-5.2.0">
<!--
        <exec executable="/usr/local/bin/php520" dir="${basedir}" failonerror="false">
            <arg line="/usr/local/pear/bin/phpunit 
                       - -log-xml ${basedir}/build/tmp/php-5.2.0.xml
                       PHP_Depend_AllTests tests/PHP/Depend/AllTests.php"/>
        </exec>
-->
    </target>

    <target name="phpunit" depends="phpunit-5.2.0,phpunit-5.2.6,phpunit-5.3.0">
        <exec executable="phpuc" dir="${basedir}" failonerror="true">
            <arg line="merge-phpunit
                       -b php-5.3.0,php-5.2.6
                       -i ${basedir}/build/tmp/php-5.3.0.xml,${basedir}/build/tmp/php-5.2.6.xml
                       -o ${basedir}/build/logs/log.xml"/>
        </exec>
    </target>
</project>
{'fraction_non_alphanumeric': 0.1786951936115715, 'fraction_numerical': 0.014464366430616242, 'mean_word_length': 1.6103027919779789, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 2, '>': 117, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 30}, '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': '5490260', 'n_tokens_mistral': 2135, 'n_tokens_neox': 2035, 'n_words': 291}