<commit_before>[![Build Status](https://travis-ci.org/avelino/cover.run.svg?branch=master)](https://travis-ci.org/avelino/cover.run)

# [gocover.run](https://gocover.run)

gocover - Generate test coverage badge for any public Go package. Supported Go versions

- 1.10
- 1.9
- 1.8

### Supported badge styles

- flat ![coverage](https://cover.run/badge?color=yellow&style=flat&value=75.5%25)
- flat-square ![coverage](https://cover.run/badge?color=red&style=flat-square&value=10%25)

Style is specified as a query string parameter, e.g. `https://gocover.run/github.com/avelino/cover.run.svg?style=flat-square`

### Pre-requisites

1. Docker
2. Docker compose

### How to run?

```bash
$ cd $GOPATH/src/github.com/avelino/cover.run
$ docker-compose up
```<commit_msg>updated readme to mention build.sh<commit_after>[![Build Status](https://travis-ci.org/avelino/cover.run.svg?branch=master)](https://travis-ci.org/avelino/cover.run)

# [gocover.run](https://gocover.run)

gocover - Generate test coverage badge for any public Go package. Supported Go versions

- 1.10
- 1.9
- 1.8

### Supported badge styles

- flat ![coverage](https://cover.run/badge?color=yellow&style=flat&value=75.5%25)
- flat-square ![coverage](https://cover.run/badge?color=red&style=flat-square&value=10%25)

Style is specified as a query string parameter, e.g. `https://gocover.run/github.com/avelino/cover.run.svg?style=flat-square`

### Pre-requisites

1. Docker
2. Docker compose

### How to run?

```bash
$ cd $GOPATH/src/github.com/avelino/cover.run
# build.sh builds all the required Docker images for running the tests
$ ./build.sh
$ docker-compose up
```
{'fraction_non_alphanumeric': 0.1694189602446483, 'fraction_numerical': 0.022018348623853212, 'mean_word_length': 4.602739726027397, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, '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': '844722', 'n_tokens_mistral': 632, 'n_tokens_neox': 588, 'n_words': 116}