FluentLenium/FluentLenium

View on GitHub

Showing 1,951 of 1,951 total issues

FluentDriver has 39 methods (exceeds 20 allowed). Consider refactoring.
Open

@SuppressWarnings("PMD.GodClass")
public class FluentDriver extends AbstractFluentDriverSearchControl { // NOPMD GodClass

    private static final Logger LOGGER =
            LoggerFactory.getLogger(FluentDriver.class);

    Similar blocks of code found in 12 locations. Consider refactoring.
    Open

    package io.fluentlenium.it;
    
    import org.junit.jupiter.api.Test;
    
    import static io.fluentlenium.utils.UrlUtils.getAbsoluteUrlFromFile;
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 313.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 12 locations. Consider refactoring.
    Open

    package io.fluentlenium.it;
    
    import static org.assertj.core.api.Assertions.assertThat;
    import static io.fluentlenium.utils.UrlUtils.getAbsoluteUrlFromFile;
    
    
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 313.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 12 locations. Consider refactoring.
    Open

    package io.fluentlenium.it;
    
    import org.junit.jupiter.api.Test;
    
    import static io.fluentlenium.utils.UrlUtils.getAbsoluteUrlFromFile;
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 313.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 12 locations. Consider refactoring.
    Open

    package io.fluentlenium.it;
    
    import static org.assertj.core.api.Assertions.assertThat;
    import static io.fluentlenium.utils.UrlUtils.getAbsoluteUrlFromFile;
    
    
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 313.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 12 locations. Consider refactoring.
    Open

    package io.fluentlenium.it;
    
    import static org.assertj.core.api.Assertions.assertThat;
    import static io.fluentlenium.utils.UrlUtils.getAbsoluteUrlFromFile;
    
    
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 313.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 12 locations. Consider refactoring.
    Open

    package io.fluentlenium.it;
    
    import org.junit.jupiter.api.Test;
    
    import static io.fluentlenium.utils.UrlUtils.getAbsoluteUrlFromFile;
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 313.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 12 locations. Consider refactoring.
    Open

    package io.fluentlenium.it;
    
    import org.junit.jupiter.api.Test;
    
    import static io.fluentlenium.utils.UrlUtils.getAbsoluteUrlFromFile;
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 313.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 12 locations. Consider refactoring.
    Open

    package io.fluentlenium.it;
    
    import static org.assertj.core.api.Assertions.assertThat;
    import static io.fluentlenium.utils.UrlUtils.getAbsoluteUrlFromFile;
    
    
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 313.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 12 locations. Consider refactoring.
    Open

    package io.fluentlenium.it;
    
    import static org.assertj.core.api.Assertions.assertThat;
    import static io.fluentlenium.utils.UrlUtils.getAbsoluteUrlFromFile;
    
    
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 313.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 12 locations. Consider refactoring.
    Open

    package io.fluentlenium.it;
    
    import org.junit.jupiter.api.Test;
    
    import static io.fluentlenium.utils.UrlUtils.getAbsoluteUrlFromFile;
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 313.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 12 locations. Consider refactoring.
    Open

    package io.fluentlenium.it;
    
    import static org.assertj.core.api.Assertions.assertThat;
    import static io.fluentlenium.utils.UrlUtils.getAbsoluteUrlFromFile;
    
    
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 313.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 12 locations. Consider refactoring.
    Open

    package io.fluentlenium.it;
    
    import org.junit.jupiter.api.Test;
    
    import static io.fluentlenium.utils.UrlUtils.getAbsoluteUrlFromFile;
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..52
    fluentlenium-junit-jupiter/src/it/junit-jupiter/junit-jupiter-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..53
    fluentlenium-testng/src/it/testng/testng-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 313.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    File FluentListImplTest.java has 375 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    package io.fluentlenium.core.domain;
    
    import com.google.common.collect.Lists;
    import io.fluentlenium.adapter.FluentAdapter;
    import io.fluentlenium.core.FluentControl;

      EventsRegistry has 37 methods (exceeds 20 allowed). Consider refactoring.
      Open

      public class EventsRegistry implements WrapsDriver { // NOPMD TooManyFields
      
          private final EventFiringWebDriver eventDriver;
      
          private final EventsSupport support;

        File FluentListAssertTest.java has 368 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        package io.fluentlenium.assertj.custom;
        
        import com.google.common.collect.Lists;
        import io.fluentlenium.assertj.FluentLeniumAssertions;
        import io.fluentlenium.core.domain.FluentList;

          Similar blocks of code found in 6 locations. Consider refactoring.
          Open

          package io.fluentlenium.it;
          
          import org.junit.Test;
          
          import static org.assertj.core.api.Assertions.assertThat;
          fluentlenium-junit/src/it/junit/junit-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..51

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 299.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 6 locations. Consider refactoring.
          Open

          package io.fluentlenium.it;
          
          import org.junit.Test;
          
          import static org.assertj.core.api.Assertions.assertThat;
          fluentlenium-junit/src/it/junit/junit-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..51

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 299.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 6 locations. Consider refactoring.
          Open

          package io.fluentlenium.it;
          
          import org.junit.Test;
          
          import static org.assertj.core.api.Assertions.assertThat;
          fluentlenium-junit/src/it/junit/junit-parallel-all/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..51

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 299.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 6 locations. Consider refactoring.
          Open

          package io.fluentlenium.it;
          
          import org.junit.Test;
          
          import static org.assertj.core.api.Assertions.assertThat;
          fluentlenium-junit/src/it/junit/junit-parallel-all/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-classes/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-classes/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-methods/src/test/java/io/fluentlenium/it/TestClass1.java on lines 1..51
          fluentlenium-junit/src/it/junit/junit-parallel-methods/src/test/java/io/fluentlenium/it/TestClass2.java on lines 1..51

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 299.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Severity
          Category
          Status
          Source
          Language