<commit_before># GreenHub BatteryHub

[![Build Status](https://travis-ci.org/greenhub-project/batteryhub.svg?branch=master)](https://travis-ci.org/greenhub-project/batteryhub)

> GreenHub is a collaborative approach to power consumption analysis of Android devices.

The GreenHub mobile app is a fork of the Carat Project.

Learn more at [greenhubproject.org](https://greenhubproject.org).

**Disclamer:** The project is still under development, the beta testing is now over. At the moment there is available a release candidate version.

## Build Instructions

### Gradle

#### Linux and Mac OS:

Make sure `gradlew` is executable, by typing this command:
```shell
$ chmod +x gradlew
```

You can now build and test the project:
```shell
$ ./gradlew assembleDebug
$ ./gradlew check
```<commit_msg>Add Codacy badge to README.md<commit_after># GreenHub BatteryHub

[![Build Status](https://travis-ci.org/greenhub-project/batteryhub.svg?branch=master)](https://travis-ci.org/greenhub-project/batteryhub)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/c87e12f6973248e3bf66f2d34185bdf8)](https://www.codacy.com/app/hmatalonga/batteryhub?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=greenhub-project/batteryhub&amp;utm_campaign=Badge_Grade)

> GreenHub is a collaborative approach to power consumption analysis of Android devices.

The GreenHub mobile app is a fork of the Carat Project.

Learn more at [greenhubproject.org](https://greenhubproject.org).

**Disclamer:** The project is still under development, the beta testing is now over. At the moment there is available a release candidate version.

## Build Instructions

### Gradle

#### Linux and Mac OS:

Make sure `gradlew` is executable, by typing this command:
```shell
$ chmod +x gradlew
```

You can now build and test the project:
```shell
$ ./gradlew assembleDebug
$ ./gradlew check
```
{'fraction_non_alphanumeric': 0.11567164179104478, 'fraction_numerical': 0.011194029850746268, 'mean_word_length': 5.384353741496598, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 1, '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': '7071211', 'n_tokens_mistral': 617, 'n_tokens_neox': 573, 'n_words': 182}