Skip to content

Conversation

@ReinaldoAguilar
Copy link

No description provided.

@codecov-io
Copy link

codecov-io commented Jul 7, 2017

Codecov Report

Merging #29 into develop will increase coverage by 0.95%.
The diff coverage is 97.84%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop      #29      +/-   ##
=============================================
+ Coverage      94.78%   95.73%   +0.95%     
- Complexity       138      202      +64     
=============================================
  Files             26       41      +15     
  Lines            307      446     +139     
  Branches          50       59       +9     
=============================================
+ Hits             291      427     +136     
- Misses             5        7       +2     
- Partials          11       12       +1
Impacted Files Coverage Δ Complexity Δ
...fundacionjala/coding/reinaldo/movies/Customer.java 100% <100%> (ø) 7 <7> (?)
...fundacionjala/coding/reinaldo/movies/Children.java 100% <100%> (ø) 4 <4> (?)
...ndacionjala/coding/reinaldo/kataBankOcr/Digit.java 100% <100%> (ø) 1 <1> (?)
...ng/reinaldo/multiplesOf3And5/MultiplesOf3And5.java 100% <100%> (ø) 5 <5> (?)
...einaldo/highestAndLowestTest/HighestAndLowest.java 100% <100%> (ø) 2 <2> (?)
...ndacionjala/coding/reinaldo/movies/NewRelease.java 100% <100%> (ø) 4 <4> (?)
...ionjala/coding/reinaldo/evaporator/Evaporator.java 100% <100%> (ø) 3 <3> (?)
...njala/coding/reinaldo/kataBankOcr/BankOcrKata.java 100% <100%> (ø) 9 <9> (?)
.../fundacionjala/coding/reinaldo/movies/Regular.java 100% <100%> (ø) 4 <4> (?)
...g/fundacionjala/coding/reinaldo/movies/Rental.java 100% <100%> (ø) 4 <4> (?)
... and 20 more

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 112c303...ade5ef3. Read the comment docs.

/**
* method fill number digite.
*/
public void fillNumber() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AT-03/at-03
what is wrong here?

/**
* Created by reinaldo on 11/03/2017.
*/
public class HistoryOneBankOcr extends FileNumberBankOcr {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need inheritance here.

* @return int.
*/
public int checkSumAcount(final String accountNumber) {
List<String> listaCadena = Arrays.asList(accountNumber.split(""));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are you using Spanish?

public class Children extends Movie {
private static final int LIMIT_NEW_CHILD = 3;
private static final double PRICE = 1.5;
private static final int NAMBER_RENTAL_DAYS = 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo

* {@inherentDoc}
*
* @param daysRented Int with daysRented for Children movie.
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be

/**
 * {@inherentDoc}
 */

*/
String generateDetail() {
StringBuilder result = new StringBuilder();
result.append("Rental Record for " + getName() + "\n");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AT-03/at-03
what is wrong here?

);

// when:
HistoryOneBankOcr bankOcr = new HistoryOneBankOcr();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move it to a @before method


// when:
HistoryOneBankOcr bankOcr = new HistoryOneBankOcr();
String actualResult = bankOcr.verificationLineNumber(insertLineFour);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be final

@ReinaldoAguilar
Copy link
Author

@carledriss

/**
* method fill number digite.
*/
private void fillNumber() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of doing this
please convert a constant the Map
static final

*/
final class MultiplesOf3And5 {
private static final int NUMBERDIVISOR = 3;
private static final int NUMBERDIVISORCINCO = 5;
Copy link
Contributor

@carledriss carledriss Jul 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NUMBERDIVISOR ?
NUMBERDIVISORCINCO ?

@ReinaldoAguilar
Copy link
Author

ReinaldoAguilar commented Jul 12, 2017

@carledriss thanks for your observation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants