teco-kit/PointAndControl

View on GitHub
IGS/MainComponents/DataHolder.cs

Summary

Maintainability
B
4 hrs
Test Coverage

Class DataHolder has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

    public class DataHolder
    {
        private List<Device> _newDevices { get; set; }
        public Room _roomModel { get; set; }
        public EnvironmentInfoHandler _environmentHandler { get; set; }
Severity: Minor
Found in IGS/MainComponents/DataHolder.cs - About 2 hrs to fix

    Method AddDevice has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            public string AddDevice(string type, string id, string name, string path, RepositoryRepresentation repoDevice)
    Severity: Minor
    Found in IGS/MainComponents/DataHolder.cs - About 35 mins to fix

      Method AddDevice has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              public string AddDevice(string type, string id, string name, string path, string repoID)
      Severity: Minor
      Found in IGS/MainComponents/DataHolder.cs - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status