Showing 795 of 795 total issues

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

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DocumentElement", propOrder = {
    "hit",
    "id",
    "domainOrg",

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

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

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

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

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

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

          ViewRiksdagenPartySummary has 96 methods (exceeds 20 allowed). Consider refactoring.
          Open

          @XmlAccessorType(XmlAccessType.FIELD)
          @XmlType(name = "ViewRiksdagenPartySummary", propOrder = {
              "party",
              "totalAssignments",
              "currentAssignments",

            ViewRiksdagenVoteDataBallotPartySummary has 96 methods (exceeds 20 allowed). Consider refactoring.
            Open

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

              ViewRiksdagenCommitteeBallotDecisionSummary has 93 methods (exceeds 20 allowed). Consider refactoring.
              Open

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

                File ViewRiksdagenCommitteeBallotDecisionPartySummary.java has 708 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 ViewRiksdagenVoteDataBallotPoliticianSummaryAnnual.java has 706 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 ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly.java has 706 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 ViewRiksdagenVoteDataBallotPoliticianSummaryMonthly.java has 706 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

                        ViewRiksdagenPartyMember has 84 methods (exceeds 20 allowed). Consider refactoring.
                        Open

                        @XmlAccessorType(XmlAccessType.FIELD)
                        @XmlType(name = "ViewRiksdagenPartyMember", propOrder = {
                            "id",
                            "hjid",
                            "address",

                          File ViewRiksdagenVoteDataBallotPoliticianSummary.java has 654 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

                            BallotDocumentElement has 78 methods (exceeds 20 allowed). Consider refactoring.
                            Open

                            @XmlAccessorType(XmlAccessType.FIELD)
                            @XmlType(name = "BallotDocumentElement", propOrder = {
                                "hangarId",
                                "docId",
                                "htmlformat",

                              ViewRiksdagenVoteDataBallotSummaryDaily has 75 methods (exceeds 20 allowed). Consider refactoring.
                              Open

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

                                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/ViewRiksdagenCommitteeRoleMember.java on lines 1..452

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

                                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/ministry/impl/ViewRiksdagenGovermentRoleMember.java on lines 1..452

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

                                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 ViewRiksdagenVoteDataBallotPartySummaryDaily.java has 616 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 DocumentElement.java has 556 lines of code (exceeds 250 allowed). 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.

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

                                    @XmlAccessorType(XmlAccessType.FIELD)
                                    @XmlType(name = "DocumentData", propOrder = {
                                        "hangarId",
                                        "id",
                                        "rm",
                                      Severity
                                      Category
                                      Status
                                      Source
                                      Language