Badgerati/Edison

View on GitHub

Showing 71 of 215 total issues

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

        public virtual IAssert ExpectElement(IBrowser browser, HtmlIdentifierType identifierType, string expectedIdentifier, int attempts = 10, string message = null)
Severity: Minor
Found in Edison.Framework/Asserts/Assert.cs - About 35 mins to fix

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

            private void RunTestCase(MethodInfo test, TestCaseAttribute testCase, int testRepeat, IEnumerable<MethodInfo> setup, IEnumerable<MethodInfo> teardown)
    Severity: Minor
    Found in Edison.Engine/Threading/TestThread.cs - About 35 mins to fix

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

              private void RunTestCases(MethodInfo test, IEnumerable<TestCaseAttribute> cases, int testRepeat, IEnumerable<MethodInfo> setup, IEnumerable<MethodInfo> teardown)
      Severity: Minor
      Found in Edison.Engine/Threading/TestThread.cs - About 35 mins to fix

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

                public virtual IAssert ExpectUrl(IBrowser browser, string expectedUrl, int attempts = 10, bool startsWith = false, string message = null)
        Severity: Minor
        Found in Edison.Framework/Asserts/Assert.cs - About 35 mins to fix

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

                  IEnumerable<MethodInfo> GetMethods<T>(Type type,
                      IList<string> includedCategories = default(List<string>),
                      IList<string> excludedCategories = default(List<string>),
                      IList<string> tests = default(List<string>),
                      string suite = null) where T : Attribute;
          Severity: Minor
          Found in Edison.Engine/Repositories/Interfaces/IReflectionRepository.cs - About 35 mins to fix

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

                    IAssert ExpectUrl(IBrowser browser, string expectedUrl, int attempts = 10, bool startsWith = false, string message = null);
            Severity: Minor
            Found in Edison.Framework/Asserts/IAssert.cs - About 35 mins to fix

              Avoid too many return statements within this method.
              Open

                              return fixtureCategories.Any() && HasValidCategories(fixture, includedCategories, excludedCategories, false);
              Severity: Major
              Found in Edison.Engine/Repositories/ReflectionRepository.cs - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return testFixtureDefault;
                Severity: Major
                Found in Edison.Engine/Repositories/ReflectionRepository.cs - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return true;
                  Severity: Major
                  Found in Edison.Console/ParameterParser.cs - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return false;
                    Severity: Major
                    Found in Edison.Engine/Repositories/ReflectionRepository.cs - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return true;
                      Severity: Major
                      Found in Edison.Engine/Repositories/ReflectionRepository.cs - About 30 mins to fix
                        Severity
                        Category
                        Status
                        Source
                        Language