saigkill/latex_curriculum_vitae

View on GitHub

Showing 9 of 9 total issues

Method get_body has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def self.get_body(introduction, letter, proactive, job_title, target)
      intro = get_intro(proactive, job_title)
      target_block = get_target_block(target)
      body = if letter == 'no'
               <<BODY
Severity: Minor
Found in lib/latex_curriculum_vitae/email.rb - About 1 hr to fix

    Method result_ok has 11 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def self.result_ok(contact, email_address, job_title, contact_sex, proactive, letter, name_of_pdf, sysconf_dir,
                           data_dir, mail_backend, target)
    Severity: Major
    Found in lib/latex_curriculum_vitae/email.rb - About 1 hr to fix

      Method create_email has 11 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def self.create_email(contact, email_address, job_title, contact_sex, proactive, letter, name_of_pdf, sysconf_dir,
                                data_dir, mail_backend, target)
      Severity: Major
      Found in lib/latex_curriculum_vitae/email.rb - About 1 hr to fix

        Method create_file has 9 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def self.create_file(job_title, company, street, city, contact, entity_tex, contact_sex, proactive, target)
        Severity: Major
        Found in lib/latex_curriculum_vitae/entityfile.rb - About 1 hr to fix

          Method create_email has 26 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              def self.create_email(contact, email_address, job_title, contact_sex, proactive, letter, name_of_pdf, sysconf_dir,
                                    data_dir, mail_backend, target)
                own_email_address, own_smtp, own_username, own_password,
                    own_port = LatexCurriculumVitae::GetConfig.get_smtp(sysconf_dir)
                introduction = introduction(contact, contact_sex)
          Severity: Minor
          Found in lib/latex_curriculum_vitae/email.rb - About 1 hr to fix

            Method add_to_outfile has 6 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def self.add_to_outfile(job_title, company, contact, email_address, csv_out, job_url_checked)
            Severity: Minor
            Found in lib/latex_curriculum_vitae/outfile.rb - About 45 mins to fix

              Method create_final_cv has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  def self.create_final_cv(letter, name_of_letter, name_of_resume, name_of_pdf, name_of_cover)
              Severity: Minor
              Found in lib/latex_curriculum_vitae/cv.rb - About 35 mins to fix

                Method get_body has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    def self.get_body(introduction, letter, proactive, job_title, target)
                Severity: Minor
                Found in lib/latex_curriculum_vitae/email.rb - About 35 mins to fix

                  Method get_address_string has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      def self.get_address_string(company, contact, contact_sex, street, city)
                  Severity: Minor
                  Found in lib/latex_curriculum_vitae/entityfile.rb - About 35 mins to fix
                    Severity
                    Category
                    Status
                    Source
                    Language