IGS/ComponentHandling/DeviceStorageFileHandlerJSON.cs
Method changeDeviceCoord
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public string changeDeviceCoord(string devId, Ball ball)
{
List<Device> devices = readDevices();
if (devices == null || devices.Count == 0 || devices.Exists(d => d.Id == devId))
Method updateDevice
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public string updateDevice(Device dev)
{
List<Device> devices = readDevices();
if (devices == null || devices.Count == 0)