SummaryStarSponsor

Information
Parser: MultiReport (2x Cobertura)
Assemblies: 2
Classes: 25
Files: 23
Coverage date: 05/30/2024 - 08:21:53 - 05/30/2024 - 08:21:54
Line coverage
56%
Covered lines: 380
Uncovered lines: 290
Coverable lines: 670
Total lines: 1202
Line coverage: 56.7%
Branch coverage
53%
Covered branches: 32
Total branches: 60
Branch coverage: 53.3%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Risk Hotspots

Assembly Class Method Crap Score Cyclomatic complexity
AuthWebApi UserController SwapRolesAsync()72 8

Coverage

Line coverageBranch coverage
NameCoveredUncoveredCoverableTotalPercentageCoveredTotalPercentage
AuthWebApi16017233261048.1%
  
214447.7%
  
AuthController4204276100%
 
00
 
AutoGeneratedProgram01140%
 
00
 
Program02929510%
 
020%
 
SharedObjects.Auth.AuthorizationPolicies02727410%
 
00
 
UserController068681250%
 
0120%
 
UserCreationDTO1013100%
 
00
 
UserDAO50287815664.1%
  
91464.2%
  
UserLoginDTO1013100%
 
00
 
WebApi.DAO.MongoDbContext60615100%
 
00
 
WebApi.Models.User60616100%
 
00
 
WebApi.Services.UserService54197312073.9%
  
121675%
  
IndeklimaWebApi22011833863665%
  
111668.7%
  
Program03434520%
 
020%
 
SharedObjects.Auth.AuthorizationPolicies02727410%
 
00
 
WebApi.Controllers.GetEnvironmentDataController1301340100%
 
00
 
WebApi.Controllers.PostEnvironmentDataController514559192.7%
  
4666.6%
  
WebApi.Controllers.PostEnvironmentDataGoalController1901941100%
 
00
 
WebApi.DAO.MongoDbContext60615100%
 
00
 
WebApi.DAO.SensorDataDAO25366110140.9%
  
3475%
  
WebApi.DAO.SensorGoalDAO339427578.5%
  
22100%
 
WebApi.Models.Dto.IOTSensorDataDto70713100%
 
00
 
WebApi.Models.SensorData80819100%
 
00
 
WebApi.Models.SensorGoal50521100%
 
00
 
WebApi.Services.IOTControlService1201225100%
 
00
 
WebApi.Services.SensorDataService148225163.6%
  
22100%
 
WebApi.Services.SensorGoalService2702751100%
 
00