<commit_before>all: src/Underdash/Enumerable.php

src/Underdash/Enumerable.php: scripts/generate-enumerable-trait.php src/Underdash/Strict.php
	php $< > $@

test:
	@phpunit .

clean:
	rm -f src/Underdash/Enumerable.php

.PHONY: all clean test<commit_msg>Makefile: Add report rule<commit_after>SOURCES=$(shell find src tests -name '*.php')

all: src/Underdash/Enumerable.php

src/Underdash/Enumerable.php: scripts/generate-enumerable-trait.php src/Underdash/Strict.php
	php $< > $@

report/index.html: $(SOURCES)
	@phpunit --coverage-html report .

clean:
	rm -f src/Underdash/Enumerable.php

report: report/index.html

test:
	@phpunit .

.PHONY: all clean report test
{'fraction_non_alphanumeric': 0.13493253373313344, 'fraction_numerical': 0.0, 'mean_word_length': 4.430894308943089, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6102992', 'n_tokens_mistral': 247, 'n_tokens_neox': 238, 'n_words': 48}