OpenC3/cosmos

View on GitHub

Showing 1,379 of 1,379 total issues

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

export class ConfigParserService {
  keyword = null
  parameters = []
  filename = ''
  line = ''
openc3/templates/tool_svelte/src/services/config-parser.js on lines 36..198

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

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

export class ConfigParserService {
  keyword = null
  parameters = []
  filename = ''
  line = ''
Severity: Major
Found in openc3/templates/tool_svelte/src/services/config-parser.js and 1 other location - About 1 wk to fix
openc3-cosmos-init/plugins/packages/openc3-tool-common/src/services/config-parser.js on lines 36..199

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

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

Identical blocks of code found in 2 locations. Consider refactoring.
Open

  plugins: [
    [
      '@docusaurus/plugin-client-redirects',
      {
        redirects: [
Severity: Major
Found in docs.openc3.com/docusaurus-plugin.config.js and 1 other location - About 3 days to fix
docs.openc3.com/docusaurus.config.js on lines 43..103

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

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

Identical blocks of code found in 2 locations. Consider refactoring.
Open

  plugins: [
    [
      '@docusaurus/plugin-client-redirects',
      {
        redirects: [
Severity: Major
Found in docs.openc3.com/docusaurus.config.js and 1 other location - About 3 days to fix
docs.openc3.com/docusaurus-plugin.config.js on lines 43..103

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

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

Method xtce_process_element has 267 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def xtce_process_element(element)
      if XTCE_IGNORED_ELEMENTS.include?(element.name)
        return false
      end

Severity: Major
Found in openc3/lib/openc3/packets/parsers/xtce_parser.rb - About 1 day to fix

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

      async tlm(target_name, packet_name, item_name, value_type = 'CONVERTED') {
        let data = null
        // Check for the single string syntax: tlm("TGT PKT ITEM")
        if (packet_name === undefined) {
          data = await this.exec('tlm', [target_name])
    openc3/templates/tool_svelte/src/services/openc3-api.js on lines 285..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 236.

    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

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

      async tlm(target_name, packet_name, item_name, value_type = 'CONVERTED') {
        let data = null
        // Check for the single string syntax: tlm("TGT PKT ITEM")
        if (packet_name === undefined) {
          data = await this.exec('tlm', [target_name])
    Severity: Major
    Found in openc3/templates/tool_svelte/src/services/openc3-api.js and 1 other location - About 1 day to fix
    openc3-cosmos-init/plugins/packages/openc3-tool-common/src/services/openc3-api.js on lines 333..360

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

    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

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

          if (error.response?.data?.message) {
            body += `${error.response.data.message}`
          } else if (error.response?.data?.exception) {
            body += `${error.response.data.exception}`
          } else if (error.response?.data?.error?.message) {
    openc3/templates/tool_svelte/src/services/axios.js on lines 65..76

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

    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

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

          if (error.response?.data?.message) {
            body += `${error.response.data.message}`
          } else if (error.response?.data?.exception) {
            body += `${error.response.data.exception}`
          } else if (error.response?.data?.error?.message) {
    Severity: Major
    Found in openc3/templates/tool_svelte/src/services/axios.js and 1 other location - About 1 day to fix
    openc3-cosmos-init/plugins/packages/openc3-tool-common/src/services/axios.js on lines 70..81

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

    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

    module.exports = {
      publicPath: '/tools/tlmviewer',
      outputDir: 'tools/tlmviewer',
      filenameHashing: false,
      transpileDependencies: ['uplot', 'vuetify'],
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-tlmgrapher/vue.config.js on lines 1..43

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

    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

    module.exports = {
      publicPath: '/tools/tlmgrapher',
      outputDir: 'tools/tlmgrapher',
      filenameHashing: false,
      transpileDependencies: ['uplot', 'vuetify'],
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-tlmviewer/vue.config.js on lines 1..43

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

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

    module.exports = {
      publicPath: '/tools/limitsmonitor',
      outputDir: 'tools/limitsmonitor',
      filenameHashing: false,
      transpileDependencies: ['vuetify'],
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-admin/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-bucketexplorer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdtlmserver/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataextractor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-handbooks/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-iframe/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-packetviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-scriptrunner/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-tablemanager/vue.config.js on lines 1..43

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

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

    module.exports = {
      publicPath: '/tools/packetviewer',
      outputDir: 'tools/packetviewer',
      filenameHashing: false,
      transpileDependencies: ['vuetify'],
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-admin/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-bucketexplorer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdtlmserver/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataextractor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-handbooks/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-iframe/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-limitsmonitor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-scriptrunner/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-tablemanager/vue.config.js on lines 1..43

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

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

    module.exports = {
      publicPath: '/tools/scriptrunner',
      outputDir: 'tools/scriptrunner',
      filenameHashing: false,
      transpileDependencies: ['vuetify'],
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-admin/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-bucketexplorer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdtlmserver/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataextractor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-handbooks/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-iframe/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-limitsmonitor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-packetviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-tablemanager/vue.config.js on lines 1..43

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

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

    module.exports = {
      publicPath: '/tools/dataviewer',
      outputDir: 'tools/dataviewer',
      filenameHashing: false,
      transpileDependencies: ['vuetify'],
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-admin/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-bucketexplorer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdtlmserver/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataextractor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-handbooks/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-iframe/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-limitsmonitor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-packetviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-scriptrunner/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-tablemanager/vue.config.js on lines 1..43

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

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

    module.exports = {
      publicPath: '/tools/admin',
      outputDir: 'tools/admin',
      filenameHashing: false,
      transpileDependencies: ['vuetify'],
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-bucketexplorer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdtlmserver/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataextractor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-handbooks/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-iframe/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-limitsmonitor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-packetviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-scriptrunner/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-tablemanager/vue.config.js on lines 1..43

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

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

    module.exports = {
      publicPath: '/tools/tablemanager',
      outputDir: 'tools/tablemanager',
      filenameHashing: false,
      transpileDependencies: ['vuetify'],
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-admin/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-bucketexplorer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdtlmserver/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataextractor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-handbooks/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-iframe/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-limitsmonitor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-packetviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-scriptrunner/vue.config.js on lines 1..43

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

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

    module.exports = {
      publicPath: '/tools/iframe',
      outputDir: 'tools/iframe',
      filenameHashing: false,
      transpileDependencies: ['vuetify'],
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-admin/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-bucketexplorer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdtlmserver/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataextractor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-handbooks/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-limitsmonitor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-packetviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-scriptrunner/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-tablemanager/vue.config.js on lines 1..43

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

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

    module.exports = {
      publicPath: '/tools/handbooks',
      outputDir: 'tools/handbooks',
      filenameHashing: false,
      transpileDependencies: ['vuetify'],
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-admin/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-bucketexplorer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdtlmserver/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataextractor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-iframe/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-limitsmonitor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-packetviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-scriptrunner/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-tablemanager/vue.config.js on lines 1..43

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

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

    module.exports = {
      publicPath: '/tools/dataextractor',
      outputDir: 'tools/dataextractor',
      filenameHashing: false,
      transpileDependencies: ['vuetify'],
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-admin/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-bucketexplorer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-cmdtlmserver/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-dataviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-handbooks/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-iframe/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-limitsmonitor/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-packetviewer/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-scriptrunner/vue.config.js on lines 1..43
    openc3-cosmos-init/plugins/packages/openc3-cosmos-tool-tablemanager/vue.config.js on lines 1..43

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

    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