<commit_before>TEST_CMD=./node_modules/.bin/mocha --require test/runner.js test/specs/
INSTRUMENTED_SOURCE=/tmp/barefoot-src-cov

docs:
	-mkdir ./docs
	@NaturalDocs -i ./ -o HTML ./docs -p ./.naturaldocs -xi ./node_modules -s Default style

lint:
	@./node_modules/.bin/jshint *.js server/ client/ test/

test:
	@$(TEST_CMD) --reporter spec

test-instrument-for-coverage:
	-rm -fr $(INSTRUMENTED_SOURCE)
	@jscoverage ./ $(INSTRUMENTED_SOURCE) --exclude=node_modules

test-coveralls: test-instrument-for-coverage
	@BAREFOOT_COVERAGE=1 $(TEST_CMD) --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js
<commit_msg>fixed node_modules exclude for jscoverage instrumentation<commit_after>TEST_CMD=./node_modules/.bin/mocha --require test/runner.js test/specs/
INSTRUMENTED_SOURCE=/tmp/barefoot-src-cov

docs:
	-mkdir ./docs
	@NaturalDocs -i ./ -o HTML ./docs -p ./.naturaldocs -xi ./node_modules -s Default style

lint:
	@./node_modules/.bin/jshint *.js server/ client/ test/

test:
	@$(TEST_CMD) --reporter spec

test-instrument-for-coverage:
	-rm -fr $(INSTRUMENTED_SOURCE)
	@jscoverage ./ $(INSTRUMENTED_SOURCE) --exclude=./node_modules

test-coveralls: test-instrument-for-coverage
	@BAREFOOT_COVERAGE=1 $(TEST_CMD) --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js

{'fraction_non_alphanumeric': 0.14961832061068703, 'fraction_numerical': 0.0015267175572519084, 'mean_word_length': 4.0813953488372094, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4162048', 'n_tokens_mistral': 507, 'n_tokens_neox': 489, 'n_words': 93}