Closed jeffersonlsz closed 6 years ago
Code Climate has analyzed commit 720a91ea and detected 1 issue on this pull request.
Here's the issue category breakdown:
Category | Count |
---|---|
Complexity | 1 |
The test coverage on the diff in this pull request is 93.1% (80% is the threshold).
This pull request will bring the total coverage in the repository to 92.2% (-0.8% change).
View more on Code Climate.
Merging #59 into master will increase coverage by
0.74%
. The diff coverage is88.88%
.
@@ Coverage Diff @@
## master #59 +/- ##
==========================================
+ Coverage 84.06% 84.81% +0.74%
==========================================
Files 5 6 +1
Lines 182 270 +88
Branches 15 20 +5
==========================================
+ Hits 153 229 +76
- Misses 25 33 +8
- Partials 4 8 +4
Impacted Files | Coverage Δ | |
---|---|---|
bot/dbutils.py | 88.46% <88.46%> (ø) |
|
bot/application.py | 85.07% <89.06%> (+0.35%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 25ed5ca...f543867. Read the comment docs.
@alexandrebarbaruiva feito!
Merging #59 into master will decrease coverage by
0.53%
. The diff coverage is81.98%
.
@@ Coverage Diff @@
## master #59 +/- ##
==========================================
- Coverage 81.96% 81.42% -0.54%
==========================================
Files 5 6 +1
Lines 183 280 +97
Branches 15 22 +7
==========================================
+ Hits 150 228 +78
- Misses 29 45 +16
- Partials 4 7 +3
Impacted Files | Coverage Δ | |
---|---|---|
bot/config_reader.py | 100% <100%> (ø) |
:arrow_up: |
bot/application.py | 79.57% <77.38%> (-4.93%) |
:arrow_down: |
bot/dbutils.py | 96.15% <96.15%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update c9960ba...d137b71. Read the comment docs.
PR Description
This pull request aims to provide a way to check the emotional state of the user in a certain moment. The user must enter the '/emotions' command and a menu with 5 possible options will be presented. The user must choose the option which better describes how is it feeling in that moment.
Also, the command '/emotionschart' are available to present a chart that shows the frequencies associated for each possible emotional state. The user must have had used that option at least once in order to have a chart generated.
Fixes: #59
New Feature Submissions
To run tests locally, use
make
if you're on Mac or Linux.New Dialog Submissions
User messages have
- -
, bot messages have-
test_dialogs
?Changes to Core Features