Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


InstructionsBranchesComplexityLinesMethodsClasses
ElementMissedTestedCoverageMissedTestedCoverageMissedTotalMissedTotalMissedTotalMissedTotal
dk.sds.nsp.sor.sorus.service.external45300%1400%32329191252533
dk.sds.nsp.sor.sorus.helper14369983%252347%24554317142817

dk.sds.nsp.sor.sorus.model

7837882%00N/A178818126178806
dk.sds.nsp.sor.sorus.servlet341667153698%97%89992%917813911448406110869065
dk.sds.nsp.sor.sorus.service2667967896%32890%560818823903
dk.sds.nsp.sor.sorus2400%00N/A22332211
dk.sds.nsp.sor.sorus.helper.proxy183767%1150%363112501
dk.sds.nsp.sor.sorus.util.mapping.backend6158999%715295%9153248926602dk.sds.nsp.sor.sorus.util6110599%11593%330216722104
dk.sds.nsp.sor.sorus.exception56192%00N/A11222611205
dk.sds.nsp.sor.sorus.util.mapping.service3118661499%501267496%100%6111463137622011402601
Total7967907401510890%86%645244424087%82%1119773048718418220961390595743431553936

Nærmere uddybning af hver pakke kan findes i JaCoCo rapporten, som bliver genereret ved hver eksekvering af unit tests.

...

Unit tests gør flittig brug af mocking frameworked Mockito i tests, for at kunne komme i forskellige situationer. De forskellige test klasser tester udelukkende på den klasse de er opkaldt efter, og alle andre er mocked af, for at kontrollere testmiljøet fuldstændigt.


Tests
ClassRunSkipped
AuthorizationHelperTest
AuditHelperTest
5
10
AuthenticationHelperTest30
PropertiesHelperTest
AuthorizationHelperTest
15
50
StatusServletTest
JaxBHelperTest
5
120
DksServletTest
PropertiesHelperTest
6
150
CertificateParserTest
SLALogHelperTest
9
20
ServiceV1ServiceV2UtilTest
SORUpdateServiceTest
95
140
SoapServletTest
StatusServiceTest
37
70
JaxBHelperTest
WhitelistServiceTest
12
30
ServiceV2BackendV2UtilTest
DksServletTest
50
60
SorusV2ServletTest
SoapServletTest
13
370
SorusServletTest
SorusV3ServletTest130
ServiceV1BackendV2UtilTest
StatusServletTest
95
50
SORUpdateServiceTest
CertificateParserTest
14
90
StatusServiceTest
ServiceV3BackendV3UtilTest
7
500
AuditHelperTest1WhitelistServiceTest30SLALogHelperTest20
0
Total
385
1820


Performancemålinger

Endurance test resultater