Skip to content

Conversation

@achyutddahal
Copy link
Collaborator

@bhuwang, please review the code. I have added @todo to check if the user input is empty. I will be doing this as an improvement. Thanks.


public void askForInputAndRun(){
/**
* @todo Check if user input is empty in all the subsequent classes
Copy link
Owner

Choose a reason for hiding this comment

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

INFO Complete the task associated to this TODO comment. rule


public void endRun(){
System.out.println("-----------------------------------------");
System.out.println("-----------------------------------------\n\n");
Copy link
Owner

Choose a reason for hiding this comment

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

MAJOR Replace this usage of System.out or System.err by a logger. rule


public void run(){
this.initiateRun();
System.out.println("->Please Enter the Number of Multiplier");
Copy link
Owner

Choose a reason for hiding this comment

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

MAJOR Replace this usage of System.out or System.err by a logger. rule

this.numberOfMultiple = scanner.nextInt();
System.out.println("->Please Enter First Multiplier");
this.firstMultiplier = scanner.nextInt();
System.out.println("->Please Enter Second Multiplier");
Copy link
Owner

Choose a reason for hiding this comment

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

MAJOR Replace this usage of System.out or System.err by a logger. rule

@bhuwang
Copy link
Owner

SonarQube analysis reported 48 issues:

  • CRITICAL 3 critical
  • MAJOR 42 major
  • MINOR 2 minor
  • INFO 1 info

Watch the comments in this conversation to review them.

Sign up for freeto 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

@achyutddahal@bhuwang