simple-bug's People
simple-bug's Issues
Add More Code Coverage to gain upto 80 %
As per current Sonar Report the today coverage is less than 30%, need to add for mapper and others to improve it more than 80%
Leverage Spring Audit
Spring JPA provide a mechanism to enable auditing, try to leverage the same. Below is the one of the article for reference
https://www.programmingmitra.com/2017/02/automatic-spring-data-jpa-auditing-saving-CreatedBy-createddate-lastmodifiedby-lastmodifieddate-automatically.html
Fix Sonar Issues
Severity | Class name | Line no | Message |
---|---|---|---|
CRITICAL | io.github.hbothra:simple-bug-tracker:src/main/java/io/github/hbothra/simplebugtracker/controller/UserController.java | 42 | Replace this persistent entity with a simple POJO or DTO object. |
MAJOR | io.github.hbothra:simple-bug-tracker:src/main/java/io/github/hbothra/simplebugtracker/controller/UserController.java | 43 | Replace this use of System.out or System.err by a logger. |
CRITICAL | io.github.hbothra:simple-bug-tracker:src/main/java/io/github/hbothra/simplebugtracker/eo/User.java | 77 | Make "roles" transient or serializable. |
MINOR | io.github.hbothra:simple-bug-tracker:src/main/java/io/github/hbothra/simplebugtracker/eo/User.java | 36 | Remove the 'NamedEntityGraphs' wrapper from this annotation group |
CRITICAL | io.github.hbothra:simple-bug-tracker:src/main/java/io/github/hbothra/simplebugtracker/eo/User.java | 40 | Rename this class. |
MAJOR | io.github.hbothra:simple-bug-tracker:src/test/java/io/github/hbothra/simplebugtracker/repo/UserRepoTest.java | 83 | Swap these 2 arguments so they are in the correct order: expected value, actual value. |
MAJOR | io.github.hbothra:simple-bug-tracker:src/test/java/io/github/hbothra/simplebugtracker/repo/UserRepoTest.java | 85 | Swap these 2 arguments so they are in the correct order: expected value, actual value. |
MAJOR | io.github.hbothra:simple-bug-tracker:src/test/java/io/github/hbothra/simplebugtracker/repo/UserRepoTest.java | 100 | Swap these 2 arguments so they are in the correct order: expected value, actual value. |
MINOR | io.github.hbothra:simple-bug-tracker:src/main/java/io/github/hbothra/simplebugtracker/service/UserDetailsImpl.java | 27 | Remove the declaration of thrown exception 'org.springframework.security.core.userdetails.UsernameNotFoundException' which is a runtime exception. |
MINOR | io.github.hbothra:simple-bug-tracker:src/main/java/io/github/hbothra/simplebugtracker/service/UserDetailsImpl.java | 35 | Remove useless curly braces around statement |
MINOR | io.github.hbothra:simple-bug-tracker:src/main/java/io/github/hbothra/simplebugtracker/eo/listener/BeanListener.java | 14 | Remove the declaration of thrown exception 'org.springframework.beans.BeansException' which is a runtime exception. |
CRITICAL | io.github.hbothra:simple-bug-tracker:src/main/java/io/github/hbothra/simplebugtracker/eo/listener/BeanListener.java | 15 | Make the enclosing method "static" or remove this set. |
BLOCKER | io.github.hbothra:simple-bug-tracker:src/test/java/io/github/hbothra/simplebugtracker/SimpleBugTrackerApplicationTests.java | 12 | Add at least one assertion to this test case. |
Add Sonar Scan plugin for docker based sonar
Add Sonar reporting functionality to the application using below mentioned article
Run Docker image of Sonarqube with ProstgreSQL
Need to Create Docker Compose File
Add docker support to the app.
Article for help can be found at
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.