diff --git a/docs/images/12-sonarcloud.png b/docs/images/12-sonarcloud.png new file mode 100644 index 00000000..98fe36f7 Binary files /dev/null and b/docs/images/12-sonarcloud.png differ diff --git a/docs/src/12_testing.adoc b/docs/src/12_testing.adoc index 8a871e04..69a163a7 100644 --- a/docs/src/12_testing.adoc +++ b/docs/src/12_testing.adoc @@ -107,4 +107,9 @@ image::12-grafana-loadtests.png[] As we can see in Gatling's report, the application was able to handle a load of 9990 requests. In particular, 97% of the requests were successful in less than 800 milliseconds and 3% were unsuccessful. -This shows that the application is able to handle a large number of requests in a short period of time, with a high success rate. We can also be sure that the application is able to handle a large number of users accessing it at the same time in production. \ No newline at end of file +This shows that the application is able to handle a large number of requests in a short period of time, with a high success rate. We can also be sure that the application is able to handle a large number of users accessing it at the same time in production. + +=== Code coverage +We used SonarCloud to check the code coverage of the application. It shows test coverage, code duplication, and code smells, among other things. The results are shown below: + +image::12-sonarcloud.png[] \ No newline at end of file