FluentLenium/FluentLenium

View on GitHub
fluentlenium-integration-tests/src/test/java/io/fluentlenium/test/await/FluentLeniumWaitTest.java

Summary

Maintainability
D
2 days
Test Coverage

FluentLeniumWaitTest has 83 methods (exceeds 20 allowed). Consider refactoring.
Open

@NotThreadSafe
@SuppressWarnings("PMD.Excessiveount")
class FluentLeniumWaitTest extends IntegrationFluentTest {

    private static final int MINIMAL_TIMEOUT = 1;

    File FluentLeniumWaitTest.java has 477 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    package io.fluentlenium.test.await;
    
    import io.fluentlenium.core.FluentPage;
    import io.fluentlenium.core.filter.FilterConstructor;
    import io.fluentlenium.core.filter.MatcherConstructor;

      Line is longer than 130 characters (found 143).
      Open

              $(".small", FilterConstructor.withText("Small 1")).await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).untilEach().text().contains("Small 1");

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 157).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).untilEach($(".small", FilterConstructor.with("id").startsWith(MatcherConstructor.regex(".d")))).size(2);

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 132).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).until($(".small", FilterConstructor.with("id").notContains("d"))).size().not().

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Name 'io.fluentlenium.test.await' must match pattern '^org.[a-z]+(.[a-zA-Z_][a-zA-Z0-9_]*)*$'.
      Open

      package io.fluentlenium.test.await;

      Checks that package names conform to a specified pattern.

      The default value of format for module PackageName has beenchosen to match the requirements in the JavaLanguage specification and the Sun coding conventions. Howeverboth underscores and uppercase letters are rather uncommon, so mostconfigurations should probably assign value ^[a-z]+(\.[a-z][a-z0-9]*)*$ toformat for module PackageName.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 131).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).untilEach($(".small", FilterConstructor.with("id").startsWith("id"))).size(2);

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 149).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).untilEach($(".small", FilterConstructor.with("id").notContains(MatcherConstructor.regex("d")))).

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 133).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).untilEach($(".small", FilterConstructor.withName().startsWith("name"))).size(2);

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 160).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).untilEach($(".small", FilterConstructor.with("id").notStartsWith(MatcherConstructor.regex("id")))).size(1);

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 137).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).until($(".small", FilterConstructor.withText("Small 1"))).text().equalTo("Small 1");

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 136).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).until($("span", FilterConstructor.withClass().containsWord("small"))).name("name");

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 138).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).until($(".small", FilterConstructor.withText("Small 1"))).text().contains("Small 1");

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 141).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).until($(".small", FilterConstructor.withText().contains("notPresent"))).not().present();

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 148).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).untilEach($("input", FilterConstructor.with("value").equalTo("John"))).size(JOHN_FOUR_MATCHED);

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 132).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).until($(".small", FilterConstructor.withText().contains("Small 1"))).present();

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 158).
      Open

                      .untilEach($(".small", FilterConstructor.with("id").startsWith(MatcherConstructor.regex("id")), FilterConstructor.with("text").endsWith("2")))

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 134).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).untilEach($(".small", FilterConstructor.with("id").notStartsWith("id"))).size(1);

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 154).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).until($(".small", FilterConstructor.with("id").notEndsWith(MatcherConstructor.regex("2")))).id("id");

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 147).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).until($("input", FilterConstructor.with("value").equalTo("John"))).attribute("value", "John");

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 158).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).until($("span", FilterConstructor.withClass().contains(MatcherConstructor.regex("smal?")))).name("name");

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 139).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).until($(".small", FilterConstructor.withTextContent().contains("Small 1"))).present();

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      Line is longer than 130 characters (found 154).
      Open

              await().atMost(MINIMAL_TIMEOUT, NANOSECONDS).untilEach($(".small", FilterConstructor.with("id").endsWith(MatcherConstructor.regex("2")))).size(1);

      Checks for long lines.

      Rationale: Long lines are hard to read in printouts or if developershave limited screen space for the source code, e.g. if the IDEdisplays additional information like project tree, class hierarchy,etc.

      This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

      There are no issues that match your filters.

      Category
      Status