Showing 795 of 795 total issues

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

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VoteDataDto", propOrder = {
    "concern",
    "bankNumber",
    "label",

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

    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "ViewRiksdagenVoteDataBallotSummaryWeekly", propOrder = {
        "voteDate",
        "avgBornYear",
        "totalVotes",

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

      @XmlAccessorType(XmlAccessType.FIELD)
      @XmlType(name = "ViewRiksdagenVoteDataBallotSummaryAnnual", propOrder = {
          "voteDate",
          "avgBornYear",
          "totalVotes",

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

        @XmlAccessorType(XmlAccessType.FIELD)
        @XmlType(name = "ViewRiksdagenVoteDataBallotSummaryMonthly", propOrder = {
            "voteDate",
            "avgBornYear",
            "totalVotes",

          File ViewRiksdagenVoteDataBallotPartySummaryWeekly.java has 526 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 ViewRiksdagenVoteDataBallotPartySummaryMonthly.java has 526 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 ViewRiksdagenVoteDataBallotPartySummaryAnnual.java has 526 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 ViewRiksdagenVoteDataBallotPartySummary.java has 521 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 ViewRiksdagenCommitteeBallotDecisionSummary.java has 512 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 ViewRiksdagenPolitician.java has 507 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

                      CommitteeDocumentData has 57 methods (exceeds 20 allowed). Consider refactoring.
                      Open

                      @XmlAccessorType(XmlAccessType.FIELD)
                      @XmlType(name = "CommitteeDocumentData", propOrder = {
                          "rm",
                          "hangarId",
                          "id",

                        ViewRiksdagenVoteDataBallotSummary has 57 methods (exceeds 20 allowed). Consider refactoring.
                        Open

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

                          ViewRiksdagenPoliticianDocument has 57 methods (exceeds 20 allowed). Consider refactoring.
                          Open

                          @XmlAccessorType(XmlAccessType.FIELD)
                          @XmlType(name = "ViewRiksdagenPoliticianDocument", propOrder = {
                              "id",
                              "docId",
                              "documentType",

                            File ViewRiksdagenPartySummary.java has 489 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

                              Similar blocks of code found in 2 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/ministry/impl/ViewRiksdagenMinistry.java on lines 1..302

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

                              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 2 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/ViewRiksdagenCommittee.java on lines 1..310

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

                              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

                              VoteData has 51 methods (exceeds 20 allowed). Consider refactoring.
                              Open

                              @XmlAccessorType(XmlAccessType.FIELD)
                              @XmlType(name = "VoteData", propOrder = {
                                  "bankNumber",
                                  "label",
                                  "lastName",

                                PersonElement has 51 methods (exceeds 20 allowed). Consider refactoring.
                                Open

                                @XmlAccessorType(XmlAccessType.FIELD)
                                @XmlType(name = "PersonElement", propOrder = {
                                    "hangarGuid",
                                    "id",
                                    "bornYear",

                                  PersonData has 51 methods (exceeds 20 allowed). Consider refactoring.
                                  Open

                                  @XmlAccessorType(XmlAccessType.FIELD)
                                  @XmlType(name = "PersonData", propOrder = {
                                      "hangarGuid",
                                      "id",
                                      "bornYear",

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

                                    /*
                                     * Copyright 2010 James Pether Sörling
                                     *
                                     * Licensed under the Apache License, Version 2.0 (the "License");
                                     * you may not use this file except in compliance with the License.
                                    model.external.worldbank.indicators.impl/src/main/java/com/hack23/cia/model/external/worldbank/indicators/impl/IndicatorsElement.java on lines 1..311
                                    model.external.worldbank.topic.impl/src/main/java/com/hack23/cia/model/external/worldbank/topic/impl/TopicsElement.java on lines 1..312

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

                                    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