< Summary

Information
Class: WebApi.Models.Dto.IOTSensorDataDto
Assembly: IndeklimaWebApi
File(s): /home/runner/work/SEP4/SEP4/backend/microservices/indeklima/WebApi/Models/Dto/IOTSensorDataDto.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 13
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_HallId()100%11100%
get_Temperature()100%11100%
get_Humidity()100%11100%
get_CO2()100%11100%
get_Temperature_ts()100%11100%
get_Humidity_ts()100%11100%
get_Co2_ts()100%11100%

File(s)

/home/runner/work/SEP4/SEP4/backend/microservices/indeklima/WebApi/Models/Dto/IOTSensorDataDto.cs

#LineLine coverage
 1namespace WebApi.Models.Dto
 2{
 3    public class IOTSensorDataDto
 4    {
 115        public int HallId { get; set; }
 46        public double Temperature { get; set; }
 47        public double Humidity { get; set; }
 48        public double CO2 { get; set; }
 49        public long Temperature_ts { get; set; } // Name needs to match the json object IoT sends
 410        public long Humidity_ts { get; set; } // Name needs to match the json object IoT sends
 411        public long Co2_ts { get; set; } // Name needs to match the json object IoT sends
 12    }
 13}