Showing 795 of 795 total issues

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

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.02.25 at 12:05:09 AM CET
model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPoliticianSummaryAnnual.java on lines 1..1619
model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPoliticianSummaryMonthly.java on lines 1..1619

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 2411.

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 3 locations. Consider refactoring.
Open

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.02.25 at 12:05:09 AM CET
model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPoliticianSummaryMonthly.java on lines 1..1619
model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly.java on lines 1..1619

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 2411.

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 3 locations. Consider refactoring.
Open

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.02.25 at 12:05:09 AM CET
model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPoliticianSummaryAnnual.java on lines 1..1619
model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly.java on lines 1..1619

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 2411.

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 3 locations. Consider refactoring.
Open

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.02.25 at 12:05:09 AM CET
model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPartySummaryAnnual.java on lines 1..1208
model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPartySummaryWeekly.java on lines 1..1208

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 1787.

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 3 locations. Consider refactoring.
Open

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.02.25 at 12:05:09 AM CET
model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPartySummaryMonthly.java on lines 1..1208
model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPartySummaryWeekly.java on lines 1..1208

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 1787.

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 3 locations. Consider refactoring.
Open

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.02.25 at 12:05:09 AM CET
model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPartySummaryAnnual.java on lines 1..1208
model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPartySummaryMonthly.java on lines 1..1208

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 1787.

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

ViewRiksdagenVoteDataBallotPoliticianSummaryDaily has 168 methods (exceeds 20 allowed). Consider refactoring.
Open

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ViewRiksdagenVoteDataBallotPoliticianSummaryDaily", propOrder = {
    "embeddedId",
    "firstName",
    "lastName",

    ViewRiksdagenCommitteeBallotDecisionPoliticianSummary has 153 methods (exceeds 20 allowed). Consider refactoring.
    Open

    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "ViewRiksdagenCommitteeBallotDecisionPoliticianSummary", propOrder = {
        "embeddedId",
        "committeeReport",
        "rm",

      ViewRiksdagenVoteDataBallotPoliticianSummaryAnnual has 135 methods (exceeds 20 allowed). Consider refactoring.
      Open

      @XmlAccessorType(XmlAccessType.FIELD)
      @XmlType(name = "ViewRiksdagenVoteDataBallotPoliticianSummaryAnnual", propOrder = {
          "embeddedId",
          "firstName",
          "lastName",

        ViewRiksdagenVoteDataBallotPoliticianSummaryMonthly has 135 methods (exceeds 20 allowed). Consider refactoring.
        Open

        @XmlAccessorType(XmlAccessType.FIELD)
        @XmlType(name = "ViewRiksdagenVoteDataBallotPoliticianSummaryMonthly", propOrder = {
            "embeddedId",
            "firstName",
            "lastName",

          ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly has 135 methods (exceeds 20 allowed). Consider refactoring.
          Open

          @XmlAccessorType(XmlAccessType.FIELD)
          @XmlType(name = "ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly", propOrder = {
              "embeddedId",
              "firstName",
              "lastName",

            ViewRiksdagenCommitteeBallotDecisionPartySummary has 132 methods (exceeds 20 allowed). Consider refactoring.
            Open

            @XmlAccessorType(XmlAccessType.FIELD)
            @XmlType(name = "ViewRiksdagenCommitteeBallotDecisionPartySummary", propOrder = {
                "embeddedId",
                "committeeReport",
                "rm",

              ViewRiksdagenVoteDataBallotPoliticianSummary has 123 methods (exceeds 20 allowed). Consider refactoring.
              Open

              @XmlAccessorType(XmlAccessType.FIELD)
              @XmlType(name = "ViewRiksdagenVoteDataBallotPoliticianSummary", propOrder = {
                  "embeddedId",
                  "voteDate",
                  "party",

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

                //
                // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
                // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
                // Any modifications to this file will be lost upon recompilation of the source schema.
                // Generated on: 2019.02.25 at 12:05:09 AM CET
                model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotSummaryAnnual.java on lines 1..756
                model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotSummaryWeekly.java on lines 1..756

                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 1120.

                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 3 locations. Consider refactoring.
                Open

                //
                // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
                // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
                // Any modifications to this file will be lost upon recompilation of the source schema.
                // Generated on: 2019.02.25 at 12:05:09 AM CET
                model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotSummaryAnnual.java on lines 1..756
                model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotSummaryMonthly.java on lines 1..757

                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 1120.

                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 3 locations. Consider refactoring.
                Open

                //
                // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
                // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
                // Any modifications to this file will be lost upon recompilation of the source schema.
                // Generated on: 2019.02.25 at 12:05:09 AM CET
                model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotSummaryMonthly.java on lines 1..757
                model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotSummaryWeekly.java on lines 1..756

                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 1120.

                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

                ViewRiksdagenVoteDataBallotPartySummaryDaily has 117 methods (exceeds 20 allowed). Consider refactoring.
                Open

                @XmlAccessorType(XmlAccessType.FIELD)
                @XmlType(name = "ViewRiksdagenVoteDataBallotPartySummaryDaily", propOrder = {
                    "embeddedId",
                    "totalVotes",
                    "yesVotes",

                  File ViewRiksdagenVoteDataBallotPoliticianSummaryDaily.java has 871 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  //
                  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
                  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
                  // Any modifications to this file will be lost upon recompilation of the source schema.
                  // Generated on: 2019.02.25 at 12:05:09 AM CET

                    File ViewRiksdagenCommitteeBallotDecisionPoliticianSummary.java has 811 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    //
                    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
                    // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
                    // Any modifications to this file will be lost upon recompilation of the source schema.
                    // Generated on: 2019.02.25 at 12:05:09 AM CET

                      ViewRiksdagenVoteDataBallotPartySummaryWeekly has 99 methods (exceeds 20 allowed). Consider refactoring.
                      Open

                      @XmlAccessorType(XmlAccessType.FIELD)
                      @XmlType(name = "ViewRiksdagenVoteDataBallotPartySummaryWeekly", propOrder = {
                          "embeddedId",
                          "totalVotes",
                          "yesVotes",
                        Severity
                        Category
                        Status
                        Source
                        Language