<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project name="Http" basedir="./" default="all">
  <property name="tmp" value="/tmp" />
  <property name="wsname" value="test" />
  <property name="package" value="${phing.project.name}" override="true" />
  <property name="builddir" value="${tmp}/build/${phing.project.name}" override="true" />
  <property name="srcdir" value="src/" override="true" />
  <property name="reportdir" value="${builddir}/test/report" />
  <property name="docsdir" value="${builddir}/test/report/api" />

  <target name="setup" description="run tests">
    <!-- Create dirs -->
    <mkdir dir="${reportdir}"/>
    <mkdir dir="${reportdir}/coverage"/>
    <mkdir dir="${docsdir}"/>
  </target>

  <target name="tests" depends="setup" description="run tests">
    <exec command="phpunit --configuration test/phpunit.xml.dist"/>
  </target>

  <target name="standards" depends="setup" description="test for code standards">
    <exec command="phpmd ${srcdir} xml codesize,unusedcode,naming,design --reportfile ${reportdir}/pmd.xml"/>
    <exec command="phpcs --report=checkstyle --standard=PEAR --extensions=php --tab-width=4 --report-file=${reportdir}/phpcs.xml ${srcdir}"/>
  </target>

  <target name="docs" depends="setup,tests" description="generate API documentation">
    <phpdoc title="Http"
            sourcecode="yes"
            destdir="${docsdir}"
            output="HTML:frames:DOM/phphtmllib"
            quiet="true">
      <fileset dir="${srcdir}"/>
    </phpdoc>
  </target>

  <target name="all" depends="setup,tests,standards,docs" description="run all targets"/>
</project>
<commit_msg>Make build path more generic<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project name="Http" basedir="./" default="all">
  <property name="tmp" value="/tmp" />
  <property name="wsname" value="test" />
  <property name="package" value="${phing.project.name}" override="true" />
  <property name="builddir" value="${tmp}/build/" override="true" />
  <property name="srcdir" value="src/" override="true" />
  <property name="reportdir" value="${builddir}/test/report" />
  <property name="docsdir" value="${builddir}/test/report/api" />

  <target name="setup" description="run tests">
    <!-- Create dirs -->
    <mkdir dir="${reportdir}"/>
    <mkdir dir="${reportdir}/coverage"/>
    <mkdir dir="${docsdir}"/>
  </target>

  <target name="tests" depends="setup" description="run tests">
    <exec command="phpunit --configuration test/phpunit.xml.dist"/>
  </target>

  <target name="standards" depends="setup" description="test for code standards">
    <exec command="phpmd ${srcdir} xml codesize,unusedcode,naming,design --reportfile ${reportdir}/pmd.xml"/>
    <exec command="phpcs --report=checkstyle --standard=PEAR --extensions=php --tab-width=4 --report-file=${reportdir}/phpcs.xml ${srcdir}"/>
  </target>

  <target name="docs" depends="setup,tests" description="generate API documentation">
    <phpdoc title="Http"
            sourcecode="yes"
            destdir="${docsdir}"
            output="HTML:frames:DOM/phphtmllib"
            quiet="true">
      <fileset dir="${srcdir}"/>
    </phpdoc>
  </target>

  <target name="all" depends="setup,tests,standards,docs" description="run all targets"/>
</project>

{'fraction_non_alphanumeric': 0.20067196090409287, 'fraction_numerical': 0.002443494196701283, 'mean_word_length': 4.377668308702791, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 2, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, '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': '7672155', 'n_tokens_mistral': 1000, 'n_tokens_neox': 994, 'n_words': 204}