<commit_before># Smart CampUZ

Go to the [Wiki](https://github.com/UNIZAR-30249-2016-SmartCampUZ/smartCampUZ/wiki) in order to view our documentation.

[![Build Status](https://travis-ci.org/UNIZAR-30249-2016-SmartCampUZ/smartCampUZ.svg?branch=master)](https://travis-ci.org/UNIZAR-30249-2016-SmartCampUZ/smartCampUZ)
[![codecov](https://codecov.io/gh/nebur395/smartCampUZ/branch/master/graph/badge.svg)](https://codecov.io/gh/nebur395/smartCampUZ)


## Start using this App

Assuming you already have [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) and [Gradle](https://docs.gradle.org/current/userguide/installation.html) installed, you must fork this repo. After that, you have to clone your forked repo on your local machine on the directory you desire: `git clone https://github.com/your-github-username/smartCampUZ`.

In order to check that everything is working well, you can execute the commands `gradle build` or `gradle check`.  

## Build & Run

You can run the application use the following commands:

- **gradle appRun** - Deploys a Jetty server in http://localhost:8080, using the files located on the project's source directory.
This allows to modify any of these files and be able to see the changes in hot. Beware! If we modify any .java file, 
we will hace to compile them again on another terminal with 'gradle classes'.

- **gradle appRunWar** - Deploys a Jetty server in http://localhost:8080, using the .war file generated by the project. With this option
we won't be able to see any modification in hot, but in exachange it'll allow us to test the .war after the compiling and 
packaging process.

- **To rebuild** the web-app and then restart the web-server you need to press any keypress excluding 'q' or 'Q'.

- **To stop** the server you you need to press 'q' or 'Q'.

You can also other [Gretty tasks](http://akhikhl.github.io/gretty-doc/Gretty-tasks) for running and debugging the web-app.

## Tests

Gradle allows you to run the tests defined on src/test with `gradle test`.

Note that `gradle check`and `gradle build` will also execute the tests.

You can indicate gradle no to run them with the pervios mentioned commands using the `-x test` option, i.e `gralde build -x test`.

Another way to prevent the test from being executed is to add the "@Ignore" annotation before the test class declaration.

# EditorConfig 
[EditorConfig](http://editorconfig.org/) helps developers maintain consistent coding styles between different editors and IDEs. It is a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles.
You need to create a .editorconfig file in which you define the coding style rules. It is similar to the format accepted by gitignore.

## IDEs supported by EditorConfig
These editors come bundled with native support for EditorConfig. Everything should just work: [BBEdit](http://www.barebones.com/support/technotes/editorconfig.html), [Builder](https://wiki.gnome.org/Apps/Builder/Features#EditorConfig), [CLion](https://github.com/JetBrains/intellij-community/tree/master/plugins/editorconfig), [GitHub](https://github.com/RReverser/github-editorconfig#readme), [Gogs](https://gogs.io/), [IntelliJIDEA](https://github.com/JetBrains/intellij-community/tree/master/plugins/editorconfig), [RubyMine](https://github.com/JetBrains/intellij-community/tree/master/plugins/editorconfig), [SourceLair](https://www.sourcelair.com/features/editorconfig), [TortoiseGit](https://tortoisegit.org/), [WebStorm](https://github.com/JetBrains/intellij-community/tree/master/plugins/editorconfig).

## IDEs not supported by EditorConfig file

To use EditorConfig with one of these editors, you will need to install a plugin: [AppCode](https://plugins.jetbrains.com/plugin/7294), [Atom](https://github.com/sindresorhus/atom-editorconfig#readme), [Brackets](https://github.com/kidwm/brackets-editorconfig/), [Coda](https://panic.com/coda/plugins.php#Plugins), [Code::Blocks](https://github.com/editorconfig/editorconfig-codeblocks#readme), [Eclipse](https://github.com/ncjones/editorconfig-eclipse#readme), [Emacs](https://github.com/editorconfig/editorconfig-emacs#readme), [Geany](https://github.com/editorconfig/editorconfig-geany#readme), [Gedit](https://github.com/editorconfig/editorconfig-gedit#readme), [Jedit](https://github.com/editorconfig/editorconfig-jedit#readme), [Komodo](http://komodoide.com/packages/addons/editorconfig/), [NetBeans](https://github.com/welovecoding/editorconfig-netbeans#readme), [NotePadd++](https://github.com/editorconfig/editorconfig-notepad-plus-plus#readme), [PhpStorm](https://plugins.jetbrains.com/plugin/7294), [PyCharm](https://plugins.jetbrains.com/plugin/7294), [Sublime Text](https://github.com/sindresorhus/editorconfig-sublime#readme), [Textadept](https://github.com/editorconfig/editorconfig-textadept#readme), [textmate](https://github.com/Mr0grog/editorconfig-textmate#readme), [Vim](https://github.com/editorconfig/editorconfig-vim#readme), [Visual Studio](https://github.com/editorconfig/editorconfig-visualstudio#readme), [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig), [Xcode](https://github.com/MarcoSero/EditorConfig-Xcode)
<commit_msg>Codecov's coverage badge  try: Modify Readme<commit_after># Smart CampUZ

Go to the [Wiki](https://github.com/UNIZAR-30249-2016-SmartCampUZ/smartCampUZ/wiki) in order to view our documentation.

[![Build Status](https://travis-ci.org/UNIZAR-30249-2016-SmartCampUZ/smartCampUZ.svg?branch=master)](https://travis-ci.org/UNIZAR-30249-2016-SmartCampUZ/smartCampUZ)
[![codecov](https://codecov.io/gh/UNIZAR-30249-2016-SmartCampUZ/smartCampUZ/branch/master/graph/badge.svg)](https://codecov.io/gh/UNIZAR-30249-2016-SmartCampUZ/smartCampUZ)


## Start using this App

Assuming you already have [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) and [Gradle](https://docs.gradle.org/current/userguide/installation.html) installed, you must fork this repo. After that, you have to clone your forked repo on your local machine on the directory you desire: `git clone https://github.com/your-github-username/smartCampUZ`.

In order to check that everything is working well, you can execute the commands `gradle build` or `gradle check`.  

## Build & Run

You can run the application use the following commands:

- **gradle appRun** - Deploys a Jetty server in http://localhost:8080, using the files located on the project's source directory.
This allows to modify any of these files and be able to see the changes in hot. Beware! If we modify any .java file, 
we will hace to compile them again on another terminal with 'gradle classes'.

- **gradle appRunWar** - Deploys a Jetty server in http://localhost:8080, using the .war file generated by the project. With this option
we won't be able to see any modification in hot, but in exachange it'll allow us to test the .war after the compiling and 
packaging process.

- **To rebuild** the web-app and then restart the web-server you need to press any keypress excluding 'q' or 'Q'.

- **To stop** the server you you need to press 'q' or 'Q'.

You can also other [Gretty tasks](http://akhikhl.github.io/gretty-doc/Gretty-tasks) for running and debugging the web-app.

## Tests

Gradle allows you to run the tests defined on src/test with `gradle test`.

Note that `gradle check`and `gradle build` will also execute the tests.

You can indicate gradle no to run them with the pervios mentioned commands using the `-x test` option, i.e `gralde build -x test`.

Another way to prevent the test from being executed is to add the "@Ignore" annotation before the test class declaration.

# EditorConfig 
[EditorConfig](http://editorconfig.org/) helps developers maintain consistent coding styles between different editors and IDEs. It is a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles.
You need to create a .editorconfig file in which you define the coding style rules. It is similar to the format accepted by gitignore.

## IDEs supported by EditorConfig
These editors come bundled with native support for EditorConfig. Everything should just work: [BBEdit](http://www.barebones.com/support/technotes/editorconfig.html), [Builder](https://wiki.gnome.org/Apps/Builder/Features#EditorConfig), [CLion](https://github.com/JetBrains/intellij-community/tree/master/plugins/editorconfig), [GitHub](https://github.com/RReverser/github-editorconfig#readme), [Gogs](https://gogs.io/), [IntelliJIDEA](https://github.com/JetBrains/intellij-community/tree/master/plugins/editorconfig), [RubyMine](https://github.com/JetBrains/intellij-community/tree/master/plugins/editorconfig), [SourceLair](https://www.sourcelair.com/features/editorconfig), [TortoiseGit](https://tortoisegit.org/), [WebStorm](https://github.com/JetBrains/intellij-community/tree/master/plugins/editorconfig).

## IDEs not supported by EditorConfig file

To use EditorConfig with one of these editors, you will need to install a plugin: [AppCode](https://plugins.jetbrains.com/plugin/7294), [Atom](https://github.com/sindresorhus/atom-editorconfig#readme), [Brackets](https://github.com/kidwm/brackets-editorconfig/), [Coda](https://panic.com/coda/plugins.php#Plugins), [Code::Blocks](https://github.com/editorconfig/editorconfig-codeblocks#readme), [Eclipse](https://github.com/ncjones/editorconfig-eclipse#readme), [Emacs](https://github.com/editorconfig/editorconfig-emacs#readme), [Geany](https://github.com/editorconfig/editorconfig-geany#readme), [Gedit](https://github.com/editorconfig/editorconfig-gedit#readme), [Jedit](https://github.com/editorconfig/editorconfig-jedit#readme), [Komodo](http://komodoide.com/packages/addons/editorconfig/), [NetBeans](https://github.com/welovecoding/editorconfig-netbeans#readme), [NotePadd++](https://github.com/editorconfig/editorconfig-notepad-plus-plus#readme), [PhpStorm](https://plugins.jetbrains.com/plugin/7294), [PyCharm](https://plugins.jetbrains.com/plugin/7294), [Sublime Text](https://github.com/sindresorhus/editorconfig-sublime#readme), [Textadept](https://github.com/editorconfig/editorconfig-textadept#readme), [textmate](https://github.com/Mr0grog/editorconfig-textmate#readme), [Vim](https://github.com/editorconfig/editorconfig-vim#readme), [Visual Studio](https://github.com/editorconfig/editorconfig-visualstudio#readme), [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig), [Xcode](https://github.com/MarcoSero/EditorConfig-Xcode)

{'fraction_non_alphanumeric': 0.12842321712309562, 'fraction_numerical': 0.012898401719786895, 'mean_word_length': 5.528370957901159, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 74, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1934062', 'n_tokens_mistral': 3416, 'n_tokens_neox': 3217, 'n_words': 875}