microting/eform-sdk-dotnet

View on GitHub
eFormCore/Communication/IHttp.cs

Summary

Maintainability
C
1 day
Test Coverage

Class IHttp has 49 methods (exceeds 20 allowed). Consider refactoring.
Open

    internal interface IHttp
    {
        Task<string> Post(string xmlData, string siteId, string contentType = "application/xml");

        Task<string> Status(string elementId, string siteId);
Severity: Minor
Found in eFormCore/Communication/IHttp.cs - About 6 hrs to fix

    Method UnitUpdate has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            Task<string> UnitUpdate(int id, bool newOtp, int siteId, bool pushEnabled, bool syncDelayEnabled,
                bool syncDialogEnabled);
    Severity: Minor
    Found in eFormCore/Communication/IHttp.cs - About 45 mins to fix

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

              Task<bool> EntitySearchItemUpdate(string entitySearchGroupId, string entitySearchItemId, string name,
                  string description, string id);
      Severity: Minor
      Found in eFormCore/Communication/IHttp.cs - About 35 mins to fix

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

                Task<bool> FolderUpdate(int id, string name, string description, string languageCode, int? parentId);
        Severity: Minor
        Found in eFormCore/Communication/IHttp.cs - About 35 mins to fix

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

                  Task<bool> EntitySelectItemUpdate(string entitySelectGroupId, string entitySelectItemId, string name,
                      int displayOrder, string id);
          Severity: Minor
          Found in eFormCore/Communication/IHttp.cs - About 35 mins to fix

            There are no issues that match your filters.

            Category
            Status