<commit_before><?xml version="1.0"?>
<project name="TeamMate" default="build" basedir=".">
	<description>TeamMate</description>

	<property name="src" location="src"/>
	<property name="lib" location="lib"/>
	<property name="build" location="build"/>

	<target name="init">
		<!-- Create the time stamp -->
		<tstamp/>
		<!-- Create the build directory structure used by compile -->
		<mkdir dir="${build}"/>
	</target>

	<target name="update" description="update composer packages">
		<exec executable="composer.bat" osfamily="windows" failonerror="true">
			<arg value="update"/>
		</exec>
		<exec executable="composer" osfamily="unix" failonerror="true">
			<arg value="update"/>
		</exec>
	</target>

	<target name="dev-update" description="update composer packages">
		<exec executable="composer.bat" osfamily="windows" failonerror="true">
			<arg value="--dev"/>
			<arg value="update"/>
		</exec>
		<exec executable="composer" osfamily="unix" failonerror="true">
			<arg value="--dev"/>
			<arg value="update"/>
		</exec>
	</target>

	<target name="test">
		<exec executable=".\vendor\bin\phpunit.bat" osfamily="windows" failonerror="true">
			<arg value="-c"/>
			<arg value="tests\phpunit.xml"/>
		</exec>
		<exec executable="./vendor/bin/phpunit" osfamily="unix" failonerror="true">
			<arg value="-c"/>
			<arg value="tests/phpunit.xml"/>
		</exec>
	</target>
	<target name="test-ci">
		<exec executable=".\vendor\bin\phpunit.bat" osfamily="windows">
			<arg value="--log-junit"/>
			<arg value="${build}\phpunit.xml"/>
			<arg value="--coverage-html"/>
			<arg value="${build}\CodeCoverage"/>
			<arg value="--coverage-clover"/>
			<arg value="${build}\CodeCoverage\clover.xml"/>
			<arg value="-c"/>
			<arg value="tests\phpunit.xml"/>
		</exec>
		<exec executable="./vendor/bin/phpunit" osfamily="unix">
			<arg value="--log-junit"/>
			<arg value="${build}/phpunit.xml"/>
			<arg value="--coverage-html"/>
			<arg value="${build}/CodeCoverage"/>
			<arg value="--coverage-clover"/>
			<arg value="${build}/CodeCoverage/clover.xml"/>
			<arg value="-c"/>
			<arg value="./tests/phpunit.xml"/>
		</exec>
	</target>

	<target name="phpmd">
		<exec executable=".\vendor\bin\phpmd.bat" osfamily="windows" failonerror="true">
			<arg value="src"/>
			<arg value="text"/>
			<arg value="codesize,design,naming,unusedcode,controversial,cleancode"/>
		</exec>
		<exec executable="./vendor/bin/phpmd" osfamily="unix" failonerror="true">
			<arg value="src"/>
			<arg value="text"/>
			<arg value="codesize,design,naming,unusedcode,controversial,cleancode"/>
		</exec>
	</target>
	<target name="phpmd-ci">
		<exec executable=".\vendor\bin\phpmd.bat" osfamily="windows">
			<arg value="src"/>
			<arg value="xml"/>
			<arg value="codesize,design,naming,unusedcode,controversial,cleancode"/>
			<arg value="--reportfile"/>
			<arg value="${build}\pmd.xml"/>
		</exec>
		<exec executable="./vendor/bin/phpmd" osfamily="unix">
			<arg value="src"/>
			<arg value="xml"/>
			<arg value="codesize,design,naming,unusedcode,controversial,cleancode"/>
			<arg value="--reportfile"/>
			<arg value="${build}/pmd.xml"/>
		</exec>
	</target>

	<target name="pdepend">
		<exec executable=".\vendor\bin\pdepend.bat" osfamily="windows" failonerror="true">
			<arg value="--summary-xml=${build}\summary.xml"/>
			<arg value="--jdepend-xml=${build}\jdepend.xml"/>
			<arg value="--jdepend-chart=${build}\jdepend.svg"/>
			<arg value="--overview-pyramid=${build}\pyramid.svg"/>
			<arg value="src"/>
		</exec>
		<exec executable="./vendor/bin/pdepend" osfamily="unix" failonerror="true">
			<arg value="--summary-xml=${build}/summary.xml"/>
			<arg value="--jdepend-xml=${build}/jdepend.xml"/>
			<arg value="--jdepend-chart=${build}/jdepend.svg"/>
			<arg value="--overview-pyramid=${build}/pyramid.svg"/>
			<arg value="src"/>
		</exec>
	</target>
	<target name="pdepend-ci" depends="pdepend">
	</target>

	<target name="phpcs">
		<exec executable=".\vendor\bin\phpcs.bat" osfamily="windows" failonerror="true">
			<arg value="--report=checkstyle"/>
			<arg value="--report-file=${build}\phpcs.xml"/>
			<arg value="--standard=.\build_scripts\ruleset.xml"/>
			<arg value="src"/>
		</exec>
		<exec executable="./vendor/bin/phpcs" osfamily="unix" failonerror="true">
			<arg value="--report=checkstyle"/>
			<arg value="--report-file=${build}/phpcs.xml"/>
			<arg value="--standard=./build_scripts/ruleset.xml"/>
			<arg value="src"/>
		</exec>
	</target>
	<target name="phpcs-ci">
		<exec executable=".\vendor\bin\phpcs.bat" osfamily="windows">
			<arg value="--report=checkstyle"/>
			<arg value="--report-file=${build}\phpcs.xml"/>
			<arg value="--standard=.\build_scripts\ruleset.xml"/>
			<arg value="src"/>
		</exec>
		<exec executable="./vendor/bin/phpcs" osfamily="unix">
			<arg value="--report=checkstyle"/>
			<arg value="--report-file=${build}/phpcs.xml"/>
			<arg value="--standard=./build_scripts/ruleset.xml"/>
			<arg value="src"/>
		</exec>
	</target>

	<target name="phpcpd">
		<exec executable=".\vendor\bin\phpcpd.bat" osfamily="windows" failonerror="true">
			<arg value="src" />
		</exec>
		<exec executable="./vendor/bin/phpcpd" osfamily="unix" failonerror="true">
			<arg value="src" />
		</exec>
	</target>
	<target name="phpcpd-ci">
		<exec executable=".\vendor\bin\phpcpd.bat" osfamily="windows">
			<arg value="--log-pmd"/>
			<arg value="${build}\phpcpd.xml" />
			<arg value="src" />
		</exec>
		<exec executable="./vendor/bin/phpcpd" osfamily="unix">
			<arg value="--log-pmd"/>
			<arg value="${build}/phpcpd.xml" />
			<arg value="src" />
		</exec>
	</target>

	<target name="cp-config">
		<exec executable="/bin/cp" osfamily="unix" failonerror="true">
			<arg value="-rf"/>
			<arg value="./build_scripts/database_jenkins.php"/>
			<arg value="./config/database.php"/>
		</exec>
	</target>

	<target name="ci" depends="dev-update,test-ci,phpcpd-ci,phpmd-ci,pdepend-ci,phpcs-ci" />
</project><commit_msg>init target<commit_after><?xml version="1.0"?>
<project name="TeamMate" default="build" basedir=".">
	<description>TeamMate</description>

	<property name="src" location="src"/>
	<property name="lib" location="lib"/>
	<property name="build" location="build"/>

	<target name="init">
		<!-- Create the time stamp -->
		<tstamp/>
		<!-- Create the build directory structure used by compile -->
		<mkdir dir="${build}"/>
	</target>

	<target name="update" description="update composer packages">
		<exec executable="composer.bat" osfamily="windows" failonerror="true">
			<arg value="update"/>
		</exec>
		<exec executable="composer" osfamily="unix" failonerror="true">
			<arg value="update"/>
		</exec>
	</target>

	<target name="dev-update" description="update composer packages">
		<exec executable="composer.bat" osfamily="windows" failonerror="true">
			<arg value="--dev"/>
			<arg value="update"/>
		</exec>
		<exec executable="composer" osfamily="unix" failonerror="true">
			<arg value="--dev"/>
			<arg value="update"/>
		</exec>
	</target>

	<target name="test">
		<exec executable=".\vendor\bin\phpunit.bat" osfamily="windows" failonerror="true">
			<arg value="-c"/>
			<arg value="tests\phpunit.xml"/>
		</exec>
		<exec executable="./vendor/bin/phpunit" osfamily="unix" failonerror="true">
			<arg value="-c"/>
			<arg value="tests/phpunit.xml"/>
		</exec>
	</target>
	<target name="test-ci">
		<exec executable=".\vendor\bin\phpunit.bat" osfamily="windows">
			<arg value="--log-junit"/>
			<arg value="${build}\phpunit.xml"/>
			<arg value="--coverage-html"/>
			<arg value="${build}\CodeCoverage"/>
			<arg value="--coverage-clover"/>
			<arg value="${build}\CodeCoverage\clover.xml"/>
			<arg value="-c"/>
			<arg value="tests\phpunit.xml"/>
		</exec>
		<exec executable="./vendor/bin/phpunit" osfamily="unix">
			<arg value="--log-junit"/>
			<arg value="${build}/phpunit.xml"/>
			<arg value="--coverage-html"/>
			<arg value="${build}/CodeCoverage"/>
			<arg value="--coverage-clover"/>
			<arg value="${build}/CodeCoverage/clover.xml"/>
			<arg value="-c"/>
			<arg value="./tests/phpunit.xml"/>
		</exec>
	</target>

	<target name="phpmd">
		<exec executable=".\vendor\bin\phpmd.bat" osfamily="windows" failonerror="true">
			<arg value="src"/>
			<arg value="text"/>
			<arg value="codesize,design,naming,unusedcode,controversial,cleancode"/>
		</exec>
		<exec executable="./vendor/bin/phpmd" osfamily="unix" failonerror="true">
			<arg value="src"/>
			<arg value="text"/>
			<arg value="codesize,design,naming,unusedcode,controversial,cleancode"/>
		</exec>
	</target>
	<target name="phpmd-ci">
		<exec executable=".\vendor\bin\phpmd.bat" osfamily="windows">
			<arg value="src"/>
			<arg value="xml"/>
			<arg value="codesize,design,naming,unusedcode,controversial,cleancode"/>
			<arg value="--reportfile"/>
			<arg value="${build}\pmd.xml"/>
		</exec>
		<exec executable="./vendor/bin/phpmd" osfamily="unix">
			<arg value="src"/>
			<arg value="xml"/>
			<arg value="codesize,design,naming,unusedcode,controversial,cleancode"/>
			<arg value="--reportfile"/>
			<arg value="${build}/pmd.xml"/>
		</exec>
	</target>

	<target name="pdepend">
		<exec executable=".\vendor\bin\pdepend.bat" osfamily="windows" failonerror="true">
			<arg value="--summary-xml=${build}\summary.xml"/>
			<arg value="--jdepend-xml=${build}\jdepend.xml"/>
			<arg value="--jdepend-chart=${build}\jdepend.svg"/>
			<arg value="--overview-pyramid=${build}\pyramid.svg"/>
			<arg value="src"/>
		</exec>
		<exec executable="./vendor/bin/pdepend" osfamily="unix" failonerror="true">
			<arg value="--summary-xml=${build}/summary.xml"/>
			<arg value="--jdepend-xml=${build}/jdepend.xml"/>
			<arg value="--jdepend-chart=${build}/jdepend.svg"/>
			<arg value="--overview-pyramid=${build}/pyramid.svg"/>
			<arg value="src"/>
		</exec>
	</target>
	<target name="pdepend-ci" depends="pdepend">
	</target>

	<target name="phpcs">
		<exec executable=".\vendor\bin\phpcs.bat" osfamily="windows" failonerror="true">
			<arg value="--report=checkstyle"/>
			<arg value="--report-file=${build}\phpcs.xml"/>
			<arg value="--standard=.\build_scripts\ruleset.xml"/>
			<arg value="src"/>
		</exec>
		<exec executable="./vendor/bin/phpcs" osfamily="unix" failonerror="true">
			<arg value="--report=checkstyle"/>
			<arg value="--report-file=${build}/phpcs.xml"/>
			<arg value="--standard=./build_scripts/ruleset.xml"/>
			<arg value="src"/>
		</exec>
	</target>
	<target name="phpcs-ci">
		<exec executable=".\vendor\bin\phpcs.bat" osfamily="windows">
			<arg value="--report=checkstyle"/>
			<arg value="--report-file=${build}\phpcs.xml"/>
			<arg value="--standard=.\build_scripts\ruleset.xml"/>
			<arg value="src"/>
		</exec>
		<exec executable="./vendor/bin/phpcs" osfamily="unix">
			<arg value="--report=checkstyle"/>
			<arg value="--report-file=${build}/phpcs.xml"/>
			<arg value="--standard=./build_scripts/ruleset.xml"/>
			<arg value="src"/>
		</exec>
	</target>

	<target name="phpcpd">
		<exec executable=".\vendor\bin\phpcpd.bat" osfamily="windows" failonerror="true">
			<arg value="src" />
		</exec>
		<exec executable="./vendor/bin/phpcpd" osfamily="unix" failonerror="true">
			<arg value="src" />
		</exec>
	</target>
	<target name="phpcpd-ci">
		<exec executable=".\vendor\bin\phpcpd.bat" osfamily="windows">
			<arg value="--log-pmd"/>
			<arg value="${build}\phpcpd.xml" />
			<arg value="src" />
		</exec>
		<exec executable="./vendor/bin/phpcpd" osfamily="unix">
			<arg value="--log-pmd"/>
			<arg value="${build}/phpcpd.xml" />
			<arg value="src" />
		</exec>
	</target>

	<target name="cp-config">
		<exec executable="/bin/cp" osfamily="unix" failonerror="true">
			<arg value="-rf"/>
			<arg value="./build_scripts/database_jenkins.php"/>
			<arg value="./config/database.php"/>
		</exec>
	</target>

	<target name="ci" depends="init,dev-update,test-ci,phpcpd-ci,phpmd-ci,pdepend-ci,phpcs-ci" />
</project>
{'fraction_non_alphanumeric': 0.229938401822631, 'fraction_numerical': 0.0003375242595561556, 'mean_word_length': 4.198245614035088, 'pattern_counts': {'":': 0, '<': 335, '<?xml version=': 2, '>': 335, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 62}, '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': '2031173', 'n_tokens_mistral': 4641, 'n_tokens_neox': 4202, 'n_words': 698}