<commit_before>Scripts
=======

How to use them?

*	```get_stats_from.py```
	Unzip the directory you want to get stats, and just add as argument the path of the directory  
	*Example*: ```python3.4 get_stats_from.py -p the/directory/which/contains/all/tests/directories```<commit_msg>Add an example about how to use app_instrumentation_robotium.py and app_instrumentation_calabash.py scripts<commit_after>Scripts
=======

How to use them?

* ```app_instrumentation_*.py```
	Please to use the [Firefox-OS Powertool](https://github.com/k0pernicus/fxos-powertool) software with your ammeter.
	Get the application package name to test, and just add as argument this one and the output directory to store results
	*Example*: ```python3.4 app_instrumentation_robotium.py --app jackpal.androidterm -o /home/user/output_directory -b 1 -n 11```
*	```get_stats_from.py```
	Unzip the directory you want to get stats, and just add as argument the path of the directory  
	*Example*: ```python3.4 get_stats_from.py -p the/directory/which/contains/all/tests/directories```
{'fraction_non_alphanumeric': 0.11436672967863894, 'fraction_numerical': 0.00945179584120983, 'mean_word_length': 5.156976744186046, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '2530241', 'n_tokens_mistral': 342, 'n_tokens_neox': 333, 'n_words': 110}