SpeciesFileGroup/taxonworks

View on GitHub

Showing 12,631 of 12,631 total issues

Method type_report has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def type_report
    @klass = params.require(:klass)&.safe_constantize
    @time_span = params.require(:time_span)
    @target = params.require(:target)
    # @projects = params[:project_id].blank? ? Project.all : Project.where(id: params[:project_id])
Severity: Minor
Found in app/controllers/tasks/projects/activity_controller.rb - About 1 hr to fix

    Method autocomplete has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

          def autocomplete
            queries = [
              autocomplete_exact_name,
              #autocomplete_exact_alternate_value,
              autocomplete_exact_alternate_value('name', 'AlternateValue::Translation'),
    Severity: Minor
    Found in lib/queries/serial/autocomplete.rb - About 1 hr to fix

      Method compare has 37 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          def self.compare(object, opts = {} )
            r = {
              object: object,
              comparing_current: false,
              version_a: opts[:version_a].to_i,
      Severity: Minor
      Found in lib/vendor/papertrail.rb - About 1 hr to fix

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

        document.addEventListener('turbolinks:load', () => {
          if (document.querySelector('[data-radial-quick-forms="true"]')) {
            document
              .querySelectorAll('[data-radial-quick-forms="true"]')
              .forEach((element) => {
        Severity: Major
        Found in app/javascript/vue/initializers/RadialQuickForms/main.js and 8 other locations - About 1 hr to fix
        app/javascript/vue/initializers/ButtonConfidence/main.js on lines 15..23
        app/javascript/vue/initializers/ButtonOtu/main.js on lines 24..30
        app/javascript/vue/initializers/ButtonTag/main.js on lines 17..25
        app/javascript/vue/initializers/GraphViz/main.js on lines 12..18
        app/javascript/vue/initializers/QuickCitation/main.js on lines 20..28
        app/javascript/vue/initializers/RadialNavigation/main.js on lines 16..24
        app/javascript/vue/initializers/RadialOtu/main.js on lines 20..26
        app/javascript/vue/initializers/SmartSelector/main.js on lines 57..63

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

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

        document.addEventListener('turbolinks:load', () => {
          if (document.querySelector('[data-confidence-default="true"]')) {
            document
              .querySelectorAll('[data-confidence-default="true"]')
              .forEach((element) => {
        Severity: Major
        Found in app/javascript/vue/initializers/ButtonConfidence/main.js and 8 other locations - About 1 hr to fix
        app/javascript/vue/initializers/ButtonOtu/main.js on lines 24..30
        app/javascript/vue/initializers/ButtonTag/main.js on lines 17..25
        app/javascript/vue/initializers/GraphViz/main.js on lines 12..18
        app/javascript/vue/initializers/QuickCitation/main.js on lines 20..28
        app/javascript/vue/initializers/RadialNavigation/main.js on lines 16..24
        app/javascript/vue/initializers/RadialOtu/main.js on lines 20..26
        app/javascript/vue/initializers/RadialQuickForms/main.js on lines 16..24
        app/javascript/vue/initializers/SmartSelector/main.js on lines 57..63

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

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

        document.addEventListener('turbolinks:load', () => {
          if (document.querySelector('[data-radial-navigation="true"]')) {
            document
              .querySelectorAll('[data-radial-navigation="true"]')
              .forEach((element) => {
        Severity: Major
        Found in app/javascript/vue/initializers/RadialNavigation/main.js and 8 other locations - About 1 hr to fix
        app/javascript/vue/initializers/ButtonConfidence/main.js on lines 15..23
        app/javascript/vue/initializers/ButtonOtu/main.js on lines 24..30
        app/javascript/vue/initializers/ButtonTag/main.js on lines 17..25
        app/javascript/vue/initializers/GraphViz/main.js on lines 12..18
        app/javascript/vue/initializers/QuickCitation/main.js on lines 20..28
        app/javascript/vue/initializers/RadialOtu/main.js on lines 20..26
        app/javascript/vue/initializers/RadialQuickForms/main.js on lines 16..24
        app/javascript/vue/initializers/SmartSelector/main.js on lines 57..63

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

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

        document.addEventListener('turbolinks:load', () => {
          if (document.querySelector('[data-quick-citation="true"]')) {
            document
              .querySelectorAll('[data-quick-citation="true"]')
              .forEach((element) => {
        Severity: Major
        Found in app/javascript/vue/initializers/QuickCitation/main.js and 8 other locations - About 1 hr to fix
        app/javascript/vue/initializers/ButtonConfidence/main.js on lines 15..23
        app/javascript/vue/initializers/ButtonOtu/main.js on lines 24..30
        app/javascript/vue/initializers/ButtonTag/main.js on lines 17..25
        app/javascript/vue/initializers/GraphViz/main.js on lines 12..18
        app/javascript/vue/initializers/RadialNavigation/main.js on lines 16..24
        app/javascript/vue/initializers/RadialOtu/main.js on lines 20..26
        app/javascript/vue/initializers/RadialQuickForms/main.js on lines 16..24
        app/javascript/vue/initializers/SmartSelector/main.js on lines 57..63

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

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

        document.addEventListener('turbolinks:load', () => {
          if (document.querySelector('[data-tag-default="true"]')) {
            document
              .querySelectorAll('[data-tag-default="true"]')
              .forEach((element) => {
        Severity: Major
        Found in app/javascript/vue/initializers/ButtonTag/main.js and 8 other locations - About 1 hr to fix
        app/javascript/vue/initializers/ButtonConfidence/main.js on lines 15..23
        app/javascript/vue/initializers/ButtonOtu/main.js on lines 24..30
        app/javascript/vue/initializers/GraphViz/main.js on lines 12..18
        app/javascript/vue/initializers/QuickCitation/main.js on lines 20..28
        app/javascript/vue/initializers/RadialNavigation/main.js on lines 16..24
        app/javascript/vue/initializers/RadialOtu/main.js on lines 20..26
        app/javascript/vue/initializers/RadialQuickForms/main.js on lines 16..24
        app/javascript/vue/initializers/SmartSelector/main.js on lines 57..63

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

        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

        const permitParams = {
          loan_item: {
            loan_id: Number,
            collection_object_status: String,
            date_returned: String,
        Severity: Major
        Found in app/javascript/vue/routes/endpoints/LoanItem.js and 2 other locations - About 1 hr to fix
        app/javascript/vue/routes/endpoints/GeographicArea.js on lines 4..17
        app/javascript/vue/routes/endpoints/People.js on lines 5..18

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

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

        document.addEventListener('turbolinks:load', () => {
          if (document.querySelector('[data-smart-selector]')) {
            document.querySelectorAll('[data-smart-selector]').forEach((element) => {
              init(element)
            })
        Severity: Major
        Found in app/javascript/vue/initializers/SmartSelector/main.js and 8 other locations - About 1 hr to fix
        app/javascript/vue/initializers/ButtonConfidence/main.js on lines 15..23
        app/javascript/vue/initializers/ButtonOtu/main.js on lines 24..30
        app/javascript/vue/initializers/ButtonTag/main.js on lines 17..25
        app/javascript/vue/initializers/GraphViz/main.js on lines 12..18
        app/javascript/vue/initializers/QuickCitation/main.js on lines 20..28
        app/javascript/vue/initializers/RadialNavigation/main.js on lines 16..24
        app/javascript/vue/initializers/RadialOtu/main.js on lines 20..26
        app/javascript/vue/initializers/RadialQuickForms/main.js on lines 16..24

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

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

        document.addEventListener('turbolinks:load', () => {
          if (document.querySelector('[data-graph-viz="true"]')) {
            document.querySelectorAll('[data-graph-viz="true"]').forEach((element) => {
              init(element)
            })
        Severity: Major
        Found in app/javascript/vue/initializers/GraphViz/main.js and 8 other locations - About 1 hr to fix
        app/javascript/vue/initializers/ButtonConfidence/main.js on lines 15..23
        app/javascript/vue/initializers/ButtonOtu/main.js on lines 24..30
        app/javascript/vue/initializers/ButtonTag/main.js on lines 17..25
        app/javascript/vue/initializers/QuickCitation/main.js on lines 20..28
        app/javascript/vue/initializers/RadialNavigation/main.js on lines 16..24
        app/javascript/vue/initializers/RadialOtu/main.js on lines 20..26
        app/javascript/vue/initializers/RadialQuickForms/main.js on lines 16..24
        app/javascript/vue/initializers/SmartSelector/main.js on lines 57..63

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

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

        document.addEventListener('turbolinks:load', () => {
          if (document.querySelector('[data-otu-button="true"]')) {
            document.querySelectorAll('[data-otu-button="true"]').forEach((element) => {
              init(element)
            })
        Severity: Major
        Found in app/javascript/vue/initializers/ButtonOtu/main.js and 8 other locations - About 1 hr to fix
        app/javascript/vue/initializers/ButtonConfidence/main.js on lines 15..23
        app/javascript/vue/initializers/ButtonTag/main.js on lines 17..25
        app/javascript/vue/initializers/GraphViz/main.js on lines 12..18
        app/javascript/vue/initializers/QuickCitation/main.js on lines 20..28
        app/javascript/vue/initializers/RadialNavigation/main.js on lines 16..24
        app/javascript/vue/initializers/RadialOtu/main.js on lines 20..26
        app/javascript/vue/initializers/RadialQuickForms/main.js on lines 16..24
        app/javascript/vue/initializers/SmartSelector/main.js on lines 57..63

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

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

        document.addEventListener('turbolinks:load', () => {
          if (document.querySelector('[data-otu-radial="true"]')) {
            document.querySelectorAll('[data-otu-radial="true"]').forEach((element) => {
              init(element)
            })
        Severity: Major
        Found in app/javascript/vue/initializers/RadialOtu/main.js and 8 other locations - About 1 hr to fix
        app/javascript/vue/initializers/ButtonConfidence/main.js on lines 15..23
        app/javascript/vue/initializers/ButtonOtu/main.js on lines 24..30
        app/javascript/vue/initializers/ButtonTag/main.js on lines 17..25
        app/javascript/vue/initializers/GraphViz/main.js on lines 12..18
        app/javascript/vue/initializers/QuickCitation/main.js on lines 20..28
        app/javascript/vue/initializers/RadialNavigation/main.js on lines 16..24
        app/javascript/vue/initializers/RadialQuickForms/main.js on lines 16..24
        app/javascript/vue/initializers/SmartSelector/main.js on lines 57..63

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

        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

        const permitParams = {
          geographic_area: {
            name: String,
            level0_id: Number,
            level1_id: Number,
        Severity: Major
        Found in app/javascript/vue/routes/endpoints/GeographicArea.js and 2 other locations - About 1 hr to fix
        app/javascript/vue/routes/endpoints/LoanItem.js on lines 5..18
        app/javascript/vue/routes/endpoints/People.js on lines 5..18

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

        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

        const permitParams = {
          person: {
            type: String,
            no_namecase: String,
            last_name: String,
        Severity: Major
        Found in app/javascript/vue/routes/endpoints/People.js and 2 other locations - About 1 hr to fix
        app/javascript/vue/routes/endpoints/GeographicArea.js on lines 4..17
        app/javascript/vue/routes/endpoints/LoanItem.js on lines 5..18

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

        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

        Function applyAttribution has 36 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          async function applyAttribution(item) {
            const payload = {
              copyright_year: state.yearCopyright,
              license: state.license,
              attribution_object_type: item.base_class,

          Function processMerge has 36 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            function processMerge(mergeList) {
              const mergePerson = mergeList.pop()
              state.requestState.isMerging = true
          
              People.merge(selectedPerson.id, {

            Function default has 36 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            export default async function(id_or_couplet) {
              let lo = undefined
              let error_message = undefined
              if (typeof(id_or_couplet) == 'object') {
                lo = id_or_couplet
            Severity: Minor
            Found in app/javascript/vue/tasks/leads/new_lead/store/actions/loadKey.js - About 1 hr to fix

              Method make_dates_matching_table has 36 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                def make_dates_matching_table(*pieces, collection)  # rubocop:disable Metrics/MethodLength
                  columns = ['CEID', 'Match', 'Start Date', 'End Date', 'Verbatim Date', 'Select']
              
                  thead = content_tag(:thead) do
                    content_tag(:tr) do
              Severity: Minor
              Found in app/helpers/tasks/collecting_events/parse/stepwise/dates_helper.rb - About 1 hr to fix

                Method autocomplete has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                      def autocomplete
                        #t = Time.now
                        pr_id = project_id.join(',') if project_id.present?
                
                        return [] if query_string.blank?
                Severity: Minor
                Found in lib/queries/geographic_area/autocomplete.rb - About 1 hr to fix
                  Severity
                  Category
                  Status
                  Source
                  Language