FluentLenium/FluentLenium

View on GitHub

Showing 1,951 of 1,951 total issues

FluentWebElement has 128 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings({"PMD.GodClass", "PMD.ExcessivePublicCount"})
public class FluentWebElement extends Component
        implements WrapsElement, FluentActions<FluentWebElement, FluentWebElement>, FluentProxyState<FluentWebElement>,
        SearchControl<FluentWebElement>, HookControl<FluentWebElement>, FluentLabel<FluentWebElement>,
        NavigationControl, JavascriptControl, AlertControl, SnapshotControl, EventsControl, SeleniumDriverControl,

    FluentControl has 110 methods (exceeds 20 allowed). Consider refactoring.
    Open

    public interface FluentControl
            extends SearchControl<FluentWebElement>, AwaitControl, InputControl, JavascriptControl, AlertControl, SnapshotControl,
            EventsControl, NavigationControl, SeleniumDriverControl, CssControl, FluentInjectControl, ComponentInstantiator,
            CapabilitiesControl, PerformanceTimingControl, Configuration, ChromiumControl {
    
    

      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 FluentWebElement.java has 653 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        package io.fluentlenium.core.domain;
        
        import io.appium.java_client.AppiumDriver;
        import io.fluentlenium.core.FluentControl;
        import io.fluentlenium.core.FluentPage;

          FluentListImpl has 65 methods (exceeds 20 allowed). Consider refactoring.
          Open

          @SuppressWarnings({"PMD.GodClass", "PMD.ExcessivePublicCount"})
          public class FluentListImpl<E extends FluentWebElement> extends ComponentList<E> implements FluentList<E> {
          
              private static final Duration DEFAULT_WAIT_AND_CLICK_DURATION = Duration.ofSeconds(5);
              private final FluentLabel<FluentList<E>> label;

            FluentWebElementAssertTest has 63 methods (exceeds 20 allowed). Consider refactoring.
            Open

            public class FluentWebElementAssertTest {
                @Mock
                private FluentWebElement element;
                private FluentWebElementAssert elementAssert;
            
            

              FluentListAssertTest has 60 methods (exceeds 20 allowed). Consider refactoring.
              Open

              public class FluentListAssertTest {
              
                  @Mock
                  private FluentList<FluentWebElement> fluentList;
                  private FluentListAssert listAssert;

                FluentLeniumFunctionalWaitTest has 58 methods (exceeds 20 allowed). Consider refactoring.
                Open

                @NotThreadSafe
                @SuppressWarnings({"PMD.GodClass", "PMD.ExcessivePublicCount"})
                class FluentLeniumFunctionalWaitTest extends IntegrationFluentTest {
                
                    @BeforeEach

                  ControlUnitTest has 54 methods (exceeds 20 allowed). Consider refactoring.
                  Open

                  @ContextConfiguration(locations = {"classpath:spring-test-config.xml"})
                  public class ControlUnitTest {
                  
                      @Mock
                      private FluentControlContainer fluentControlContainer;

                    File FluentControl.java has 480 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    package io.fluentlenium.core;
                    
                    import io.appium.java_client.AppiumDriver;
                    import io.fluentlenium.adapter.FluentControlContainer;
                    import io.fluentlenium.configuration.Configuration;

                      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;

                        File ControlUnitTest.java has 439 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        package io.fluentlenium.adapter.testng;
                        
                        import io.fluentlenium.adapter.FluentControlContainer;
                        import io.fluentlenium.configuration.Configuration;
                        import io.fluentlenium.configuration.DefaultConfigurationFactory;

                          FluentLeniumWaitElementTest has 46 methods (exceeds 20 allowed). Consider refactoring.
                          Open

                          @SuppressWarnings({"PMD.GodClass", "PMD.ExcessivePublicCount"})
                          public class FluentLeniumWaitElementTest extends IntegrationFluentTest {
                              @FindBy(className = "small")
                              private FluentList<FluentWebElement> smallElements;
                          
                          

                            File FluentInjectorHookTest.java has 425 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            package io.fluentlenium.core.inject;
                            
                            import io.fluentlenium.adapter.FluentAdapter;
                            import io.fluentlenium.core.FluentControl;
                            import io.fluentlenium.core.FluentPage;

                              PerformanceTiming has 45 methods (exceeds 20 allowed). Consider refactoring.
                              Open

                              public interface PerformanceTiming {
                              
                                  /**
                                   * Returns the value that corresponds to the {@code navigationStart} event.
                                   *

                                FluentWebElementTest has 45 methods (exceeds 20 allowed). Consider refactoring.
                                Open

                                @RunWith(MockitoJUnitRunner.class)
                                @SuppressWarnings("PMD.ExcessivePublicCount")
                                public class FluentWebElementTest {
                                
                                    @Mock

                                  File FluentListImpl.java has 417 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  package io.fluentlenium.core.domain;
                                  
                                  import io.fluentlenium.core.FluentControl;
                                  import io.fluentlenium.core.action.Fill;
                                  import io.fluentlenium.core.action.FillSelect;

                                    ComposedConfiguration has 44 methods (exceeds 20 allowed). Consider refactoring.
                                    Open

                                    public class ComposedConfiguration implements Configuration {
                                        private final ConfigurationProperties[] configurations;
                                    
                                        private final ConfigurationMutator writableConfiguration; // NOPMD SingularField
                                    
                                    

                                      ProgrammaticConfiguration has 42 methods (exceeds 20 allowed). Consider refactoring.
                                      Open

                                      public class ProgrammaticConfiguration implements Configuration { // NOPMD TooManyFields
                                          private Class<? extends ConfigurationFactory> configurationFactory;
                                      
                                          private Class<? extends ConfigurationProperties> configurationDefaults;
                                      
                                      

                                        File FluentWebElementAssertTest.java has 391 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        package io.fluentlenium.assertj.custom;
                                        
                                        import io.fluentlenium.assertj.FluentLeniumAssertions;
                                        import io.fluentlenium.core.domain.FluentWebElement;
                                        import org.mockito.Mock;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language