Wednesday, February 16, 2022

waste time..ASSIGNMENT: SonarQube with Maven



1. Create a maven project which has a class called Calculator.

2. Add below functions in the class

   sum(int a , int b) 

   sub(int a, int b)

   multiply( int a, int b)

3. Call sum and multiply functions into main method 

4. Add some logical error into your program with some duplicate code.

5. Analyze your code in sonarqube and reduce the errors so that your code should be in the passed state.

No comments:

Post a Comment

Fluentd

Open-source log data collector > why logs? - for compliance (auditing, company, business) - for security (transparency, monitoring, admin...