FrenchYeti/dexcalibur

View on GitHub
src/Opcode.js

Summary

Maintainability
F
1 mo
Test Coverage

File Opcode.js has 865 lines of code (exceeds 250 allowed). Consider refactoring.
Open

var CONST = require("./CoreConst.js");
var Core = require("./CoreParser.js");
const CLASS = require("./CoreClass.js");
var ut = require("./Utils.js");

Severity: Major
Found in src/Opcode.js - About 2 days to fix

    Function multiVar has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.
    Open

        multiVar: function(raw_src){
            let m = null, v = [];
    
            m = Core.RX.REF_REG_MULT.exec(raw_src);
    
    
    Severity: Minor
    Found in src/Opcode.js - About 1 hr to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Function invoke has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        invoke: function(src,raw_src){
            let instr = new CLASS.Instruction(); 
            let m = Core.RX.INVOKE.exec(raw_src), meth=null;        
            let regs = raw_src.substr(0,raw_src.lastIndexOf(","));
            
    Severity: Minor
    Found in src/Opcode.js - About 1 hr to fix

      Function setclass has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          setclass: function(src,raw_src){
              let instr = new CLASS.Instruction(); 
              let m = (new RegExp(Core.PATTERN.CONST_CLASS_INSTR)).exec(raw_src);
              
              //console.log(m,raw_src);
      Severity: Minor
      Found in src/Opcode.js - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function invoke has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
      Open

          invoke: function(src,raw_src){
              let instr = new CLASS.Instruction(); 
              let m = Core.RX.INVOKE.exec(raw_src), meth=null;        
              let regs = raw_src.substr(0,raw_src.lastIndexOf(","));
              
      Severity: Minor
      Found in src/Opcode.js - About 25 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

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

          DIV_LONG:{ byte:0x9e, instr:"div-long", ope: CONST.LEX.TOKEN.DIV, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 3 other locations - About 2 hrs to fix
      src/Opcode.js on lines 944..944
      src/Opcode.js on lines 976..976
      src/Opcode.js on lines 977..977

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

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

          REM_LONG:{ byte:0x9f, instr:"rem-long", ope: CONST.LEX.TOKEN.REM, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 3 other locations - About 2 hrs to fix
      src/Opcode.js on lines 943..943
      src/Opcode.js on lines 976..976
      src/Opcode.js on lines 977..977

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

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

          REM_LONG_2ADDR:{ byte:0xbf, instr:"rem-long/2addr", ope: CONST.LEX.TOKEN.REM, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 3 other locations - About 2 hrs to fix
      src/Opcode.js on lines 943..943
      src/Opcode.js on lines 944..944
      src/Opcode.js on lines 976..976

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

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

          DIV_LONG_2ADDR:{ byte:0xbe, instr:"div-long/2addr", ope: CONST.LEX.TOKEN.DIV, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 3 other locations - About 2 hrs to fix
      src/Opcode.js on lines 943..943
      src/Opcode.js on lines 944..944
      src/Opcode.js on lines 977..977

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

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

          SGET_CHAR:{ 
              byte:0x65, 
              instr:"sget-char", 
              parse: MainParser.regField,
              type: CONST.INSTR_TYPE.GETTER,
      Severity: Major
      Found in src/Opcode.js and 3 other locations - About 2 hrs to fix
      src/Opcode.js on lines 841..849
      src/Opcode.js on lines 850..858
      src/Opcode.js on lines 868..875

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

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

          SGET_BOOLEAN:{ 
              byte:0x63, 
              instr:"sget-boolean", 
              parse: MainParser.regField,
              type: CONST.INSTR_TYPE.GETTER,
      Severity: Major
      Found in src/Opcode.js and 3 other locations - About 2 hrs to fix
      src/Opcode.js on lines 850..858
      src/Opcode.js on lines 859..867
      src/Opcode.js on lines 868..875

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

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

          SGET_BYTE:{ 
              byte:0x64, 
              instr:"sget-byte", 
              parse: MainParser.regField,
              type: CONST.INSTR_TYPE.GETTER,
      Severity: Major
      Found in src/Opcode.js and 3 other locations - About 2 hrs to fix
      src/Opcode.js on lines 841..849
      src/Opcode.js on lines 859..867
      src/Opcode.js on lines 868..875

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

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

          SGET_SHORT:{ 
              byte:0x66, 
              instr:"sget-short", 
              parse: MainParser.regField,
              type: CONST.INSTR_TYPE.GETTER,
      Severity: Major
      Found in src/Opcode.js and 3 other locations - About 2 hrs to fix
      src/Opcode.js on lines 841..849
      src/Opcode.js on lines 850..858
      src/Opcode.js on lines 859..867

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

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

          NOT_LONG:{ byte:0x7e, instr:"not-long", ope: CONST.LEX.TOKEN.NOT, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          NEG_DOUBLE:{ byte:0x80, instr:"neg-double", ope: CONST.LEX.TOKEN.NEG, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          XOR_LONG:{ byte:0xa2, instr:"xor-long", ope: CONST.LEX.TOKEN.XOR, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          SUB_DOUBLE_2ADDR:{ byte:0xcc, instr:"sub-double/2addr", ope: CONST.LEX.TOKEN.SUB, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          DIV_INT:{ byte:0x93, instr:"div-int", ope: CONST.LEX.TOKEN.DIV, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          REM_INT:{ byte:0x94, instr:"rem-int", ope: CONST.LEX.TOKEN.REM, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          SHR_LONG:{ byte:0xa4, instr:"shr-long", ope: CONST.LEX.TOKEN.SHR, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          USHR_LONG:{ byte:0xa5, instr:"ushr-long", ope: CONST.LEX.TOKEN.USHR, arse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          ADD_DOUBLE:{ byte:0xab, instr:"add-double", ope: CONST.LEX.TOKEN.ADD, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          NEG_LONG:{ byte:0x7d, instr:"neg-long", ope: CONST.LEX.TOKEN.NEG, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          DIV_DOUBLE:{ byte:0xae, instr:"div-double", ope: CONST.LEX.TOKEN.DIV, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          REM_INT_LIT16:{ byte:0xd4, instr:"rem-int/lit16",  ope: CONST.LEX.TOKEN.REM, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22s, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          REM_INT_LIT8:{ byte:0xdc, instr:"rem-int/lit8",  ope: CONST.LEX.TOKEN.REM, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22b, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006

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

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

          SHL_LONG:{ byte:0xa3, instr:"shl-long", ope: CONST.LEX.TOKEN.SHL, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          SUB_DOUBLE:{ byte:0xac, instr:"sub-double", ope: CONST.LEX.TOKEN.SUB, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          MUL_DOUBLE:{ byte:0xad, instr:"mul-double", ope: CONST.LEX.TOKEN.MUL, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          SHL_LONG_2ADDR:{ byte:0xc3, instr:"shl-long/2addr", ope: CONST.LEX.TOKEN.SHL, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          MUL_DOUBLE_2ADDR:{ byte:0xcd, instr:"mul-double/2addr", ope: CONST.LEX.TOKEN.MUL, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          REM_DOUBLE:{ byte:0xaf, instr:"rem-double", ope: CONST.LEX.TOKEN.REM, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          REM_DOUBLE_2ADDR:{ byte:0xcf, instr:"rem-double/2addr", ope: CONST.LEX.TOKEN.REM, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          XOR_LONG_2ADDR:{ byte:0xc2, instr:"xor-long/2addr", ope: CONST.LEX.TOKEN.XOR, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          ADD_LONG_2ADDR:{ byte:0xbb, instr:"add-long/2addr", ope: CONST.LEX.TOKEN.ADD, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          MUL_LONG_2ADDR:{ byte:0xbd, instr:"mul-long/2addr", ope: CONST.LEX.TOKEN.MUL, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          OR_LONG:{ byte:0xa1, instr:"or-long", ope: CONST.LEX.TOKEN.OR, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          OR_LONG_2ADDR:{ byte:0xc1, instr:"or-long/2addr", ope: CONST.LEX.TOKEN.OR, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          SUB_LONG_2ADDR:{ byte:0xbc, instr:"sub-long/2addr", ope: CONST.LEX.TOKEN.SUB, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          ADD_LONG:{ byte:0x9b, instr:"add-long", ope: CONST.LEX.TOKEN.ADD, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          DIV_INT_2ADDR:{ byte:0xb3, instr:"div-int/2addr", ope: CONST.LEX.TOKEN.DIV, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          SHR_LONG_2ADDR:{ byte:0xc4, instr:"shr-long/2addr", ope: CONST.LEX.TOKEN.SHR, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          DIV_INT_LIT8:{ byte:0xdb, instr:"div-int/lit8",  ope: CONST.LEX.TOKEN.DIV, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22b, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1007..1007

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

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

          ADD_DOUBLE_2ADDR:{ byte:0xcb, instr:"add-double/2addr", ope: CONST.LEX.TOKEN.ADD, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          SUB_LONG:{ byte:0x9c, instr:"sub-long", ope: CONST.LEX.TOKEN.SUB, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          MUL_LONG:{ byte:0x9d, instr:"mul-long", ope: CONST.LEX.TOKEN.MUL, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          USHR_LONG_2ADDR:{ byte:0xc5, instr:"ushr-long/2addr", ope: CONST.LEX.TOKEN.USHR, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          DIV_INT_LIT16:{ byte:0xd3, instr:"div-int/lit16",  ope: CONST.LEX.TOKEN.DIV, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22s, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          AND_LONG:{ byte:0xa0, instr:"and-long", ope: CONST.LEX.TOKEN.AND, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          DIV_DOUBLE_2ADDR:{ byte:0xce, instr:"div-double/2addr", ope: CONST.LEX.TOKEN.DIV, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          REM_INT_2ADDR:{ byte:0xb4, instr:"rem-int/2addr", ope: CONST.LEX.TOKEN.REM, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 978..978
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

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

          AND_LONG_2ADDR:{ byte:0xc0, instr:"and-long/2addr", ope: CONST.LEX.TOKEN.AND, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 38 other locations - About 2 hrs to fix
      src/Opcode.js on lines 906..906
      src/Opcode.js on lines 907..907
      src/Opcode.js on lines 909..909
      src/Opcode.js on lines 932..932
      src/Opcode.js on lines 933..933
      src/Opcode.js on lines 940..940
      src/Opcode.js on lines 941..941
      src/Opcode.js on lines 942..942
      src/Opcode.js on lines 945..945
      src/Opcode.js on lines 946..946
      src/Opcode.js on lines 947..947
      src/Opcode.js on lines 948..948
      src/Opcode.js on lines 949..949
      src/Opcode.js on lines 950..950
      src/Opcode.js on lines 956..956
      src/Opcode.js on lines 957..957
      src/Opcode.js on lines 958..958
      src/Opcode.js on lines 959..959
      src/Opcode.js on lines 960..960
      src/Opcode.js on lines 965..965
      src/Opcode.js on lines 966..966
      src/Opcode.js on lines 973..973
      src/Opcode.js on lines 974..974
      src/Opcode.js on lines 975..975
      src/Opcode.js on lines 979..979
      src/Opcode.js on lines 980..980
      src/Opcode.js on lines 981..981
      src/Opcode.js on lines 982..982
      src/Opcode.js on lines 983..983
      src/Opcode.js on lines 989..989
      src/Opcode.js on lines 990..990
      src/Opcode.js on lines 991..991
      src/Opcode.js on lines 992..992
      src/Opcode.js on lines 993..993
      src/Opcode.js on lines 998..998
      src/Opcode.js on lines 999..999
      src/Opcode.js on lines 1006..1006
      src/Opcode.js on lines 1007..1007

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

      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

          NEG_INT:{ byte:0x7b, instr:"neg-int", ope: CONST.LEX.TOKEN.SUB, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 1 other location - About 1 hr to fix
      src/Opcode.js on lines 929..929

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

      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

          ADD_INT:{ byte:0x90, instr:"add-int", ope: CONST.LEX.TOKEN.ADD, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 1 other location - About 1 hr to fix
      src/Opcode.js on lines 904..904

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

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

          AND_INT:{ byte:0x95, instr:"and-int", ope: CONST.LEX.TOKEN.AND, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          SHL_INT:{ byte:0x98, instr:"shl-int", ope: CONST.LEX.TOKEN.SHL, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          SHR_INT:{ byte:0x99, instr:"shr-int", ope: CONST.LEX.TOKEN.SHR, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          XOR_INT:{ byte:0x97, instr:"xor-int", ope: CONST.LEX.TOKEN.XOR, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          ADD_INT_2ADDR:{ byte:0xb0, instr:"add-int/2addr", ope: CONST.LEX.TOKEN.ADD, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          SUB_INT_2ADDR:{ byte:0xb1, instr:"sub-int/2addr", ope: CONST.LEX.TOKEN.SUB, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          XOR_INT_LIT8:{ byte:0xdf, instr:"xor-int/lit8",  ope: CONST.LEX.TOKEN.XOR, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22b, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          XOR_INT_2ADDR:{ byte:0xb7, instr:"xor-int/2addr", ope: CONST.LEX.TOKEN.XOR, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          USHR_INT_2ADDR:{ byte:0xba, instr:"ushr-int/2addr", ope: CONST.LEX.TOKEN.USHR, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          MUL_FLOAT_2ADDR:{ byte:0xc8, instr:"mul-float/2addr", ope: CONST.LEX.TOKEN.MUL, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          XOR_INT_LIT16:{ byte:0xd7, instr:"xor-int/lit16",  ope: CONST.LEX.TOKEN.XOR, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22s, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          USHR_INT_LIT8:{ byte:0xe2, instr:"ushr-int/lit8",  ope: CONST.LEX.TOKEN.USHR, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22b, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012

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

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

          SUB_INT:{ byte:0x91, instr:"sub-int", ope: CONST.LEX.TOKEN.SUB, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          MUL_INT:{ byte:0x92, instr:"mul-int", ope: CONST.LEX.TOKEN.MUL, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          NOT_INT:{ byte:0x7c, instr:"not-int", ope: CONST.LEX.TOKEN.NOT, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          DIV_FLOAT:{ byte:0xa9, instr:"div-float", ope: CONST.LEX.TOKEN.DIV, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          USHR_INT:{ byte:0x9a, instr:"ushr-int", ope: CONST.LEX.TOKEN.USHR, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          ADD_FLOAT:{ byte:0xa6, instr:"add-float", ope: CONST.LEX.TOKEN.ADD, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          SUB_FLOAT:{ byte:0xa7, instr:"sub-float", ope: CONST.LEX.TOKEN.SUB, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          MUL_FLOAT:{ byte:0xa8, instr:"mul-float", ope: CONST.LEX.TOKEN.MUL, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          AND_INT_LIT8:{ byte:0xdd, instr:"and-int/lit8",  ope: CONST.LEX.TOKEN.AND, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22b, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          SUB_FLOAT_2ADDR:{ byte:0xc7, instr:"sub-float/2addr", ope: CONST.LEX.TOKEN.SUB, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          AND_INT_2ADDR:{ byte:0xb5, instr:"and-int/2addr", ope: CONST.LEX.TOKEN.AND, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          OR_INT_2ADDR:{ byte:0xb6, instr:"or-int/2addr", ope: CONST.LEX.TOKEN.OR, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          SHR_INT_2ADDR:{ byte:0xb9, instr:"shr-int/2addr", ope: CONST.LEX.TOKEN.SHR, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          SHR_INT_LIT8:{ byte:0xe1, instr:"shr-int/lit8",  ope: CONST.LEX.TOKEN.SHR, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22b, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1013..1013

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

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

          OR_INT:{ byte:0x96, instr:"or-int", ope: CONST.LEX.TOKEN.OR, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          REM_FLOAT:{ byte:0xaa, instr:"rem-float", ope: CONST.LEX.TOKEN.REM, parse: MainParser.Format23x, type: CONST.INSTR_TYPE.MATH, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          MUL_INT_2ADDR:{ byte:0xb2, instr:"mul-int/2addr", ope: CONST.LEX.TOKEN.MUL, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          REM_FLOAT_2ADDR:{ byte:0xca, instr:"rem-float/2addr", ope: CONST.LEX.TOKEN.REM, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          ADD_INT_LIT16:{ byte:0xd0, instr:"add-int/lit16",  ope: CONST.LEX.TOKEN.ADD, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format22s, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          ADD_FLOAT_2ADDR:{ byte:0xc6, instr:"add-float/2addr", ope: CONST.LEX.TOKEN.ADD, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          AND_INT_LIT16:{ byte:0xd5, instr:"and-int/lit16",  ope: CONST.LEX.TOKEN.AND, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22s, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          OR_INT_LIT16:{ byte:0xd6, instr:"or-int/lit16",  ope: CONST.LEX.TOKEN.OR, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22s, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          MUL_INT_LIT8:{ byte:0xda, instr:"mul-int/lit8",  ope: CONST.LEX.TOKEN.MUL, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22b, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          NEG_FLOAT:{ byte:0x7f, instr:"neg-float", ope: CONST.LEX.TOKEN.NEG, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          SHL_INT_2ADDR:{ byte:0xb8, instr:"shl-int/2addr", ope: CONST.LEX.TOKEN.SHL, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          ADD_INT_LIT8:{ byte:0xd8, instr:"add-int/lit8",  ope: CONST.LEX.TOKEN.ADD,  parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22b, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          SHL_INT_LIT8:{ byte:0xe0, instr:"shl-int/lit8",  ope: CONST.LEX.TOKEN.SHL, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22b, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          MUL_INT_LIT16:{ byte:0xd2, instr:"mul-int/lit16",  ope: CONST.LEX.TOKEN.MUL, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22s, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          OR_INT_LIT8:{ byte:0xde, instr:"or-int/lit8",  ope: CONST.LEX.TOKEN.OR, parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22b, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 987..987
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          DIV_FLOAT_2ADDR:{ byte:0xc9, instr:"div-float/2addr", ope: CONST.LEX.TOKEN.DIV, parse: MainParser.move, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 41 other locations - About 1 hr to fix
      src/Opcode.js on lines 905..905
      src/Opcode.js on lines 908..908
      src/Opcode.js on lines 930..930
      src/Opcode.js on lines 931..931
      src/Opcode.js on lines 934..934
      src/Opcode.js on lines 935..935
      src/Opcode.js on lines 936..936
      src/Opcode.js on lines 937..937
      src/Opcode.js on lines 938..938
      src/Opcode.js on lines 939..939
      src/Opcode.js on lines 951..951
      src/Opcode.js on lines 952..952
      src/Opcode.js on lines 953..953
      src/Opcode.js on lines 954..954
      src/Opcode.js on lines 955..955
      src/Opcode.js on lines 962..962
      src/Opcode.js on lines 963..963
      src/Opcode.js on lines 964..964
      src/Opcode.js on lines 967..967
      src/Opcode.js on lines 968..968
      src/Opcode.js on lines 969..969
      src/Opcode.js on lines 970..970
      src/Opcode.js on lines 971..971
      src/Opcode.js on lines 972..972
      src/Opcode.js on lines 984..984
      src/Opcode.js on lines 985..985
      src/Opcode.js on lines 986..986
      src/Opcode.js on lines 988..988
      src/Opcode.js on lines 995..995
      src/Opcode.js on lines 997..997
      src/Opcode.js on lines 1000..1000
      src/Opcode.js on lines 1001..1001
      src/Opcode.js on lines 1002..1002
      src/Opcode.js on lines 1003..1003
      src/Opcode.js on lines 1005..1005
      src/Opcode.js on lines 1008..1008
      src/Opcode.js on lines 1009..1009
      src/Opcode.js on lines 1010..1010
      src/Opcode.js on lines 1011..1011
      src/Opcode.js on lines 1012..1012
      src/Opcode.js on lines 1013..1013

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

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

          AGET_WIDE:{ byte:0x45, instr:"aget-wide", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_GETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 5 other locations - About 1 hr to fix
      src/Opcode.js on lines 797..797
      src/Opcode.js on lines 894..894
      src/Opcode.js on lines 895..895
      src/Opcode.js on lines 899..899
      src/Opcode.js on lines 900..900

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

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

          IGET_WIDE:{ byte:0x53, instr:"iget-wide", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.GETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 5 other locations - About 1 hr to fix
      src/Opcode.js on lines 781..781
      src/Opcode.js on lines 894..894
      src/Opcode.js on lines 895..895
      src/Opcode.js on lines 899..899
      src/Opcode.js on lines 900..900

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

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

          INVOKE_STATIC:{ byte:0x71, instr:"invoke-static", parse: MainParser.invoke, type: CONST.INSTR_TYPE.INVOKE, reftype:ReferenceType.METHOD, format:Format.Format35c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_RESULT | Opcode.STATIC_CALL},
      Severity: Major
      Found in src/Opcode.js and 5 other locations - About 1 hr to fix
      src/Opcode.js on lines 781..781
      src/Opcode.js on lines 797..797
      src/Opcode.js on lines 894..894
      src/Opcode.js on lines 899..899
      src/Opcode.js on lines 900..900

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

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

          INVOKE_STATIC_RANGE:{ byte:0x77, instr:"invoke-static/range", parse: MainParser.invoke, type: CONST.INSTR_TYPE.INVOKE, reftype:ReferenceType.METHOD, format:Format.Format3rc, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_RESULT | Opcode.STATIC_CALL },
      Severity: Major
      Found in src/Opcode.js and 5 other locations - About 1 hr to fix
      src/Opcode.js on lines 781..781
      src/Opcode.js on lines 797..797
      src/Opcode.js on lines 894..894
      src/Opcode.js on lines 895..895
      src/Opcode.js on lines 899..899

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

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

          INVOKE_DIRECT_RANGE:{ byte:0x76, instr:"invoke-direct/range", parse: MainParser.invoke, type: CONST.INSTR_TYPE.INVOKE, reftype:ReferenceType.METHOD, format:Format.Format3rc, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_RESULT | Opcode.CAN_INITIALIZE_REFERENCE },
      Severity: Major
      Found in src/Opcode.js and 5 other locations - About 1 hr to fix
      src/Opcode.js on lines 781..781
      src/Opcode.js on lines 797..797
      src/Opcode.js on lines 894..894
      src/Opcode.js on lines 895..895
      src/Opcode.js on lines 900..900

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

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

          INVOKE_DIRECT:{ byte:0x70, instr:"invoke-direct", parse: MainParser.invoke, type: CONST.INSTR_TYPE.INVOKE, reftype:ReferenceType.METHOD, format:Format.Format35c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_RESULT | Opcode.CAN_INITIALIZE_REFERENCE },
      Severity: Major
      Found in src/Opcode.js and 5 other locations - About 1 hr to fix
      src/Opcode.js on lines 781..781
      src/Opcode.js on lines 797..797
      src/Opcode.js on lines 895..895
      src/Opcode.js on lines 899..899
      src/Opcode.js on lines 900..900

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

      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

          CONST_WIDE:{ 
              byte:0x18, 
              instr:"const-wide", 
              reftype:ReferenceType.NONE, 
              format:Format.Format51l, 
      Severity: Major
      Found in src/Opcode.js and 10 other locations - About 1 hr to fix
      src/Opcode.js on lines 418..428
      src/Opcode.js on lines 429..439
      src/Opcode.js on lines 440..450
      src/Opcode.js on lines 494..504
      src/Opcode.js on lines 614..624
      src/Opcode.js on lines 625..635
      src/Opcode.js on lines 647..657
      src/Opcode.js on lines 658..668
      src/Opcode.js on lines 669..680
      src/Opcode.js on lines 681..691

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

      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

          MOVE_WIDE_16:{ 
              byte:0x06, 
              instr:"move-wide/16", 
              reftype:ReferenceType.NONE, 
              format:Format.Format32x, 
      Severity: Major
      Found in src/Opcode.js and 10 other locations - About 1 hr to fix
      src/Opcode.js on lines 418..428
      src/Opcode.js on lines 429..439
      src/Opcode.js on lines 494..504
      src/Opcode.js on lines 614..624
      src/Opcode.js on lines 625..635
      src/Opcode.js on lines 636..646
      src/Opcode.js on lines 647..657
      src/Opcode.js on lines 658..668
      src/Opcode.js on lines 669..680
      src/Opcode.js on lines 681..691

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

      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

          CONST_STRING_JUMBO:{ 
              byte:    0x1b, 
              instr:    "const-string/jumbo", 
              reftype:    ReferenceType.STRING, 
              format:    Format.Format31c, 
      Severity: Major
      Found in src/Opcode.js and 10 other locations - About 1 hr to fix
      src/Opcode.js on lines 418..428
      src/Opcode.js on lines 429..439
      src/Opcode.js on lines 440..450
      src/Opcode.js on lines 494..504
      src/Opcode.js on lines 614..624
      src/Opcode.js on lines 625..635
      src/Opcode.js on lines 636..646
      src/Opcode.js on lines 647..657
      src/Opcode.js on lines 658..668
      src/Opcode.js on lines 681..691

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

      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

          MOVE_RESULT_WIDE:{ 
              byte:0x0b, 
              instr:"move-result-wide", 
              reftype:ReferenceType.NONE, 
              format:Format.Format11x, 
      Severity: Major
      Found in src/Opcode.js and 10 other locations - About 1 hr to fix
      src/Opcode.js on lines 418..428
      src/Opcode.js on lines 429..439
      src/Opcode.js on lines 440..450
      src/Opcode.js on lines 614..624
      src/Opcode.js on lines 625..635
      src/Opcode.js on lines 636..646
      src/Opcode.js on lines 647..657
      src/Opcode.js on lines 658..668
      src/Opcode.js on lines 669..680
      src/Opcode.js on lines 681..691

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

      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

          MOVE_WIDE_FROM16:{ 
              byte:0x05, 
              instr:"move-wide/from16", 
              reftype:ReferenceType.NONE, 
              format:Format.Format22x, 
      Severity: Major
      Found in src/Opcode.js and 10 other locations - About 1 hr to fix
      src/Opcode.js on lines 418..428
      src/Opcode.js on lines 440..450
      src/Opcode.js on lines 494..504
      src/Opcode.js on lines 614..624
      src/Opcode.js on lines 625..635
      src/Opcode.js on lines 636..646
      src/Opcode.js on lines 647..657
      src/Opcode.js on lines 658..668
      src/Opcode.js on lines 669..680
      src/Opcode.js on lines 681..691

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

      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

          CONST_STRING:{ 
              byte:    0x1a, 
              instr:    "const-string", 
              reftype:    ReferenceType.STRING, 
              format:    Format.Format21c, 
      Severity: Major
      Found in src/Opcode.js and 10 other locations - About 1 hr to fix
      src/Opcode.js on lines 418..428
      src/Opcode.js on lines 429..439
      src/Opcode.js on lines 440..450
      src/Opcode.js on lines 494..504
      src/Opcode.js on lines 614..624
      src/Opcode.js on lines 625..635
      src/Opcode.js on lines 636..646
      src/Opcode.js on lines 647..657
      src/Opcode.js on lines 669..680
      src/Opcode.js on lines 681..691

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

      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

          MOVE_WIDE:{ 
              byte:0x04, 
              instr:"move-wide", 
              reftype:ReferenceType.NONE, 
              format:Format.Format12x, 
      Severity: Major
      Found in src/Opcode.js and 10 other locations - About 1 hr to fix
      src/Opcode.js on lines 429..439
      src/Opcode.js on lines 440..450
      src/Opcode.js on lines 494..504
      src/Opcode.js on lines 614..624
      src/Opcode.js on lines 625..635
      src/Opcode.js on lines 636..646
      src/Opcode.js on lines 647..657
      src/Opcode.js on lines 658..668
      src/Opcode.js on lines 669..680
      src/Opcode.js on lines 681..691

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

      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

          CONST_WIDE_16:{ 
              byte:0x16, 
              instr:"const-wide/16", 
              reftype:ReferenceType.NONE, 
              format:Format.Format21s, 
      Severity: Major
      Found in src/Opcode.js and 10 other locations - About 1 hr to fix
      src/Opcode.js on lines 418..428
      src/Opcode.js on lines 429..439
      src/Opcode.js on lines 440..450
      src/Opcode.js on lines 494..504
      src/Opcode.js on lines 625..635
      src/Opcode.js on lines 636..646
      src/Opcode.js on lines 647..657
      src/Opcode.js on lines 658..668
      src/Opcode.js on lines 669..680
      src/Opcode.js on lines 681..691

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

      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

          CONST_CLASS:{ 
              byte:0x1c, 
              instr:"const-class", 
              reftype: ReferenceType.TYPE, 
              format:Format.Format21c, 
      Severity: Major
      Found in src/Opcode.js and 10 other locations - About 1 hr to fix
      src/Opcode.js on lines 418..428
      src/Opcode.js on lines 429..439
      src/Opcode.js on lines 440..450
      src/Opcode.js on lines 494..504
      src/Opcode.js on lines 614..624
      src/Opcode.js on lines 625..635
      src/Opcode.js on lines 636..646
      src/Opcode.js on lines 647..657
      src/Opcode.js on lines 658..668
      src/Opcode.js on lines 669..680

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

      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

          CONST_WIDE_32:{ 
              byte:0x17, 
              instr:"const-wide/32", 
              reftype:ReferenceType.NONE, 
              format:Format.Format31i, 
      Severity: Major
      Found in src/Opcode.js and 10 other locations - About 1 hr to fix
      src/Opcode.js on lines 418..428
      src/Opcode.js on lines 429..439
      src/Opcode.js on lines 440..450
      src/Opcode.js on lines 494..504
      src/Opcode.js on lines 614..624
      src/Opcode.js on lines 636..646
      src/Opcode.js on lines 647..657
      src/Opcode.js on lines 658..668
      src/Opcode.js on lines 669..680
      src/Opcode.js on lines 681..691

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

      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

          CONST_WIDE_HIGH16:{ 
              byte:0x19, 
              instr:"const-wide/high16", 
              reftype:ReferenceType.NONE, 
              format:Format.Format21lh, 
      Severity: Major
      Found in src/Opcode.js and 10 other locations - About 1 hr to fix
      src/Opcode.js on lines 418..428
      src/Opcode.js on lines 429..439
      src/Opcode.js on lines 440..450
      src/Opcode.js on lines 494..504
      src/Opcode.js on lines 614..624
      src/Opcode.js on lines 625..635
      src/Opcode.js on lines 636..646
      src/Opcode.js on lines 658..668
      src/Opcode.js on lines 669..680
      src/Opcode.js on lines 681..691

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

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

          INVOKE_VIRTUAL:{ byte:0x6e, instr:"invoke-virtual", parse: MainParser.invoke, type: CONST.INSTR_TYPE.INVOKE, reftype:ReferenceType.METHOD, format:Format.Format35c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_RESULT },
      Severity: Major
      Found in src/Opcode.js and 3 other locations - About 1 hr to fix
      src/Opcode.js on lines 780..780
      src/Opcode.js on lines 796..796
      src/Opcode.js on lines 912..912

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

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

          AGET:{ byte:0x44, instr:"aget", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_GETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 3 other locations - About 1 hr to fix
      src/Opcode.js on lines 796..796
      src/Opcode.js on lines 892..892
      src/Opcode.js on lines 912..912

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

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

          IGET:{ byte:0x52, instr:"iget", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.GETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 3 other locations - About 1 hr to fix
      src/Opcode.js on lines 780..780
      src/Opcode.js on lines 892..892
      src/Opcode.js on lines 912..912

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

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

          INT_TO_LONG:{ byte:0x81, instr:"int-to-long", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 3 other locations - About 1 hr to fix
      src/Opcode.js on lines 780..780
      src/Opcode.js on lines 796..796
      src/Opcode.js on lines 892..892

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

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

          SPUT:{ 
              byte:0x67, 
              instr:"sput", 
              parse: MainParser.regField, 
              type: CONST.INSTR_TYPE.SETTER, 
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          SPUT_WIDE:{ byte:0x68, instr:"sput-wide", parse: MainParser.regField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format21c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.STATIC_FIELD_ACCESSOR },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          SPUT_BYTE:{ byte:0x6b, instr:"sput-byte", parse: MainParser.regField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format21c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.STATIC_FIELD_ACCESSOR },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          SPUT_OBJECT:{ byte:0x69, instr:"sput-object", parse: MainParser.regField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format21c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.STATIC_FIELD_ACCESSOR },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          DOUBLE_TO_LONG:{ byte:0x8b, instr:"double-to-long", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920

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

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

          AGET_BOOLEAN:{ byte:0x47, instr:"aget-boolean", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_GETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          IGET_CHAR:{ byte:0x57, instr:"iget-char", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.GETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          INVOKE_INTERFACE_RANGE:{ byte:0x78, instr:"invoke-interface/range", parse: MainParser.invoke, type: CONST.INSTR_TYPE.INVOKE, reftype:ReferenceType.METHOD, format:Format.Format3rc, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_RESULT },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          INSTANCE_OF:{ byte:0x20, instr:"instance-of", parse: MainParser.format22c, type: CONST.INSTR_TYPE.CLASS_CHECK, reftype:ReferenceType.TYPE, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          FILLED_NEW_ARRAY:{ byte:0x24, instr:"filled-new-array", parse: MainParser.format22c, type: CONST.INSTR_TYPE.NEW,reftype:ReferenceType.TYPE, format:Format.Format35c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_RESULT },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          FLOAT_TO_LONG:{ byte:0x88, instr:"float-to-long", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          SPUT_BOOLEAN:{ byte:0x6a, instr:"sput-boolean", parse: MainParser.regField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format21c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.STATIC_FIELD_ACCESSOR },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          SPUT_CHAR:{ byte:0x6c, instr:"sput-char", parse: MainParser.regField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format21c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.STATIC_FIELD_ACCESSOR },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          AGET_SHORT:{ byte:0x4a, instr:"aget-short", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_GETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          IGET_BYTE:{ byte:0x56, instr:"iget-byte", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.GETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          INVOKE_SUPER:{ byte:0x6f, instr:"invoke-super", parse: MainParser.invoke, type: CONST.INSTR_TYPE.INVOKE, reftype:ReferenceType.METHOD, format:Format.Format35c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_RESULT },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          INVOKE_VIRTUAL_RANGE:{ byte:0x74, instr:"invoke-virtual/range", parse: MainParser.invoke, type: CONST.INSTR_TYPE.INVOKE, reftype:ReferenceType.METHOD, format:Format.Format3rc, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_RESULT },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          FLOAT_TO_DOUBLE:{ byte:0x89, instr:"float-to-double", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 922..922

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

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

          CHECK_CAST:{ byte:0x1f, instr:"check-cast", parse: MainParser.format21c, type: CONST.INSTR_TYPE.CLASS_CHECK, reftype:ReferenceType.TYPE, format:Format.Format21c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          ARRAY_LENGTH:{ byte:0x21, instr:"array-length", parse: MainParser.move, type: CONST.INSTR_TYPE.ARRAY_LENGTH, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          IGET_SHORT:{ byte:0x58, instr:"iget-short", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.GETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          INVOKE_SUPER_RANGE:{ byte:0x75, instr:"invoke-super/range", parse: MainParser.invoke, type: CONST.INSTR_TYPE.INVOKE, reftype:ReferenceType.METHOD, format:Format.Format3rc, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_RESULT },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          AGET_BYTE:{ byte:0x48, instr:"aget-byte", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_GETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          NEW_INSTANCE:{ byte:0x22, instr:"new-instance", parse: MainParser.format21c, type: CONST.INSTR_TYPE.NEW,reftype:ReferenceType.TYPE, format:Format.Format21c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          NEW_ARRAY:{ byte:0x23, instr:"new-array", parse: MainParser.format22c, type: CONST.INSTR_TYPE.NEW,reftype:ReferenceType.TYPE, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },    
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          AGET_CHAR:{ byte:0x49, instr:"aget-char", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_GETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          SPUT_SHORT:{ byte:0x6d, instr:"sput-short", parse: MainParser.regField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format21c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.STATIC_FIELD_ACCESSOR },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          IGET_OBJECT:{ byte:0x54, instr:"iget-object", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.GETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          INVOKE_INTERFACE:{ byte:0x72, instr:"invoke-interface", parse: MainParser.invoke, type: CONST.INSTR_TYPE.INVOKE, reftype:ReferenceType.METHOD, format:Format.Format35c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_RESULT },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          LONG_TO_DOUBLE:{ byte:0x86, instr:"long-to-double", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          AGET_OBJECT:{ byte:0x46, instr:"aget-object", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_GETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          IGET_BOOLEAN:{ byte:0x55, instr:"iget-boolean", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.GETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 914..914
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

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

          INT_TO_DOUBLE:{ byte:0x83, instr:"int-to-double", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER | Opcode.SETS_WIDE_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 32 other locations - About 1 hr to fix
      src/Opcode.js on lines 717..717
      src/Opcode.js on lines 718..718
      src/Opcode.js on lines 720..720
      src/Opcode.js on lines 722..722
      src/Opcode.js on lines 723..723
      src/Opcode.js on lines 725..725
      src/Opcode.js on lines 782..782
      src/Opcode.js on lines 783..783
      src/Opcode.js on lines 784..784
      src/Opcode.js on lines 785..785
      src/Opcode.js on lines 786..786
      src/Opcode.js on lines 798..798
      src/Opcode.js on lines 799..799
      src/Opcode.js on lines 800..800
      src/Opcode.js on lines 801..801
      src/Opcode.js on lines 802..802
      src/Opcode.js on lines 876..883
      src/Opcode.js on lines 884..884
      src/Opcode.js on lines 885..885
      src/Opcode.js on lines 886..886
      src/Opcode.js on lines 887..887
      src/Opcode.js on lines 888..888
      src/Opcode.js on lines 889..889
      src/Opcode.js on lines 893..893
      src/Opcode.js on lines 896..896
      src/Opcode.js on lines 897..897
      src/Opcode.js on lines 898..898
      src/Opcode.js on lines 901..901
      src/Opcode.js on lines 917..917
      src/Opcode.js on lines 919..919
      src/Opcode.js on lines 920..920
      src/Opcode.js on lines 922..922

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

      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

                  instr.right = new CLASS.MethodReference({
                      fqcn: Core.PARSER.fqcn(m[m.length-2]),
                      name: meth.name,
                      args: meth.args,
                      ret: meth.ret,
      Severity: Major
      Found in src/Opcode.js and 1 other location - About 1 hr to fix
      src/Opcode.js on lines 238..244

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

      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

                  instr.right = new CLASS.MethodReference({
                      fqcn: Core.PARSER.fqcn(m[m.length-2]),
                      name: meth.name,
                      args: meth.args,
                      ret: meth.ret,
      Severity: Major
      Found in src/Opcode.js and 1 other location - About 1 hr to fix
      src/Opcode.js on lines 253..259

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

      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

          MONITOR_ENTER:{ 
              byte:0x1d, 
              instr:"monitor-enter", 
              reftype:ReferenceType.NONE, 
              format:Format.Format11x, 
      Severity: Major
      Found in src/Opcode.js and 1 other location - About 1 hr to fix
      src/Opcode.js on lines 571..581

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

      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

          CONST_4:{ 
              byte:0x12, 
              instr:"const/4", 
              reftype:ReferenceType.NONE, 
              format:Format.Format11n, 
      Severity: Major
      Found in src/Opcode.js and 1 other location - About 1 hr to fix
      src/Opcode.js on lines 694..704

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

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

          MOVE_OBJECT:{ 
              byte:0x07, 
              instr:"move-object", 
              reftype:ReferenceType.NONE, 
              format:Format.Format12x, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 385..395
      src/Opcode.js on lines 396..406
      src/Opcode.js on lines 407..417
      src/Opcode.js on lines 462..472
      src/Opcode.js on lines 473..482
      src/Opcode.js on lines 483..493
      src/Opcode.js on lines 505..515
      src/Opcode.js on lines 516..526
      src/Opcode.js on lines 582..591
      src/Opcode.js on lines 592..602
      src/Opcode.js on lines 603..613
      src/Opcode.js on lines 705..715

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

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

          MOVE_16:{ 
              byte:0x03, 
              instr:"move/16", 
              reftype:ReferenceType.NONE, 
              format:Format.Format32x, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 385..395
      src/Opcode.js on lines 396..406
      src/Opcode.js on lines 451..461
      src/Opcode.js on lines 462..472
      src/Opcode.js on lines 473..482
      src/Opcode.js on lines 483..493
      src/Opcode.js on lines 505..515
      src/Opcode.js on lines 516..526
      src/Opcode.js on lines 582..591
      src/Opcode.js on lines 592..602
      src/Opcode.js on lines 603..613
      src/Opcode.js on lines 705..715

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

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

          MOVE_OBJECT_FROM16:{ 
              byte:0x08, 
              instr:"move-object/from16", 
              reftype: ReferenceType.NONE, 
              format: Format.Format22x, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 385..395
      src/Opcode.js on lines 396..406
      src/Opcode.js on lines 407..417
      src/Opcode.js on lines 451..461
      src/Opcode.js on lines 473..482
      src/Opcode.js on lines 483..493
      src/Opcode.js on lines 505..515
      src/Opcode.js on lines 516..526
      src/Opcode.js on lines 582..591
      src/Opcode.js on lines 592..602
      src/Opcode.js on lines 603..613
      src/Opcode.js on lines 705..715

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

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

          MOVE_FROM16:{ 
              byte:0x02, 
              instr:"move/from16", 
              reftype:ReferenceType.NONE, 
              format:Format.Format22x, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 385..395
      src/Opcode.js on lines 407..417
      src/Opcode.js on lines 451..461
      src/Opcode.js on lines 462..472
      src/Opcode.js on lines 473..482
      src/Opcode.js on lines 483..493
      src/Opcode.js on lines 505..515
      src/Opcode.js on lines 516..526
      src/Opcode.js on lines 582..591
      src/Opcode.js on lines 592..602
      src/Opcode.js on lines 603..613
      src/Opcode.js on lines 705..715

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

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

          MOVE:{ 
              byte:0x01, 
              instr:"move", 
              reftype:ReferenceType.NONE, 
              format:Format.Format12x, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 396..406
      src/Opcode.js on lines 407..417
      src/Opcode.js on lines 451..461
      src/Opcode.js on lines 462..472
      src/Opcode.js on lines 473..482
      src/Opcode.js on lines 483..493
      src/Opcode.js on lines 505..515
      src/Opcode.js on lines 516..526
      src/Opcode.js on lines 582..591
      src/Opcode.js on lines 592..602
      src/Opcode.js on lines 603..613
      src/Opcode.js on lines 705..715

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

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

          MONITOR_EXIT:{ 
              byte:0x1e, 
              instr:"monitor-exit", 
              reftype:ReferenceType.NONE, 
              format:Format.Format11x, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 385..395
      src/Opcode.js on lines 396..406
      src/Opcode.js on lines 407..417
      src/Opcode.js on lines 451..461
      src/Opcode.js on lines 462..472
      src/Opcode.js on lines 473..482
      src/Opcode.js on lines 483..493
      src/Opcode.js on lines 505..515
      src/Opcode.js on lines 516..526
      src/Opcode.js on lines 582..591
      src/Opcode.js on lines 592..602
      src/Opcode.js on lines 603..613

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

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

          MOVE_RESULT:{ 
              byte:0x0a, 
              instr:"move-result", 
              reftype:ReferenceType.NONE, 
              format:Format.Format11x, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 385..395
      src/Opcode.js on lines 396..406
      src/Opcode.js on lines 407..417
      src/Opcode.js on lines 451..461
      src/Opcode.js on lines 462..472
      src/Opcode.js on lines 473..482
      src/Opcode.js on lines 505..515
      src/Opcode.js on lines 516..526
      src/Opcode.js on lines 582..591
      src/Opcode.js on lines 592..602
      src/Opcode.js on lines 603..613
      src/Opcode.js on lines 705..715

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

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

          CONST:{ 
              byte:0x14, 
              instr:"const", 
              reftype:ReferenceType.NONE, 
              format:Format.Format31i, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 385..395
      src/Opcode.js on lines 396..406
      src/Opcode.js on lines 407..417
      src/Opcode.js on lines 451..461
      src/Opcode.js on lines 462..472
      src/Opcode.js on lines 473..482
      src/Opcode.js on lines 483..493
      src/Opcode.js on lines 505..515
      src/Opcode.js on lines 516..526
      src/Opcode.js on lines 582..591
      src/Opcode.js on lines 603..613
      src/Opcode.js on lines 705..715

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

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

          MOVE_OBJECT_16:{ 
              byte:0x09, 
              instr:"move-object/16", 
              reftype:ReferenceType.NONE, 
              format:Format.Format32x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 385..395
      src/Opcode.js on lines 396..406
      src/Opcode.js on lines 407..417
      src/Opcode.js on lines 451..461
      src/Opcode.js on lines 462..472
      src/Opcode.js on lines 483..493
      src/Opcode.js on lines 505..515
      src/Opcode.js on lines 516..526
      src/Opcode.js on lines 582..591
      src/Opcode.js on lines 592..602
      src/Opcode.js on lines 603..613
      src/Opcode.js on lines 705..715

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

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

          MOVE_RESULT_OBJECT:{ 
              byte:0x0c,
              instr:"move-result-object", 
              reftype:ReferenceType.NONE, 
              format:Format.Format11x, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 385..395
      src/Opcode.js on lines 396..406
      src/Opcode.js on lines 407..417
      src/Opcode.js on lines 451..461
      src/Opcode.js on lines 462..472
      src/Opcode.js on lines 473..482
      src/Opcode.js on lines 483..493
      src/Opcode.js on lines 516..526
      src/Opcode.js on lines 582..591
      src/Opcode.js on lines 592..602
      src/Opcode.js on lines 603..613
      src/Opcode.js on lines 705..715

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

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

          CONST_16:{ 
              byte:0x13, 
              instr:"const/16", 
              reftype:ReferenceType.NONE, 
              format:Format.Format21s, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 385..395
      src/Opcode.js on lines 396..406
      src/Opcode.js on lines 407..417
      src/Opcode.js on lines 451..461
      src/Opcode.js on lines 462..472
      src/Opcode.js on lines 473..482
      src/Opcode.js on lines 483..493
      src/Opcode.js on lines 505..515
      src/Opcode.js on lines 516..526
      src/Opcode.js on lines 592..602
      src/Opcode.js on lines 603..613
      src/Opcode.js on lines 705..715

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

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

          CONST_HIGH16:{ 
              byte:0x15, 
              instr:"const/high16", 
              reftype:ReferenceType.NONE, 
              format:Format.Format21ih, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 385..395
      src/Opcode.js on lines 396..406
      src/Opcode.js on lines 407..417
      src/Opcode.js on lines 451..461
      src/Opcode.js on lines 462..472
      src/Opcode.js on lines 473..482
      src/Opcode.js on lines 483..493
      src/Opcode.js on lines 505..515
      src/Opcode.js on lines 516..526
      src/Opcode.js on lines 582..591
      src/Opcode.js on lines 592..602
      src/Opcode.js on lines 705..715

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

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

          MOVE_EXCEPTION:{
              byte:0x0d, 
              instr:"move-exception", 
              reftype:ReferenceType.NONE, 
              format:Format.Format11x, 
      Severity: Major
      Found in src/Opcode.js and 12 other locations - About 1 hr to fix
      src/Opcode.js on lines 385..395
      src/Opcode.js on lines 396..406
      src/Opcode.js on lines 407..417
      src/Opcode.js on lines 451..461
      src/Opcode.js on lines 462..472
      src/Opcode.js on lines 473..482
      src/Opcode.js on lines 483..493
      src/Opcode.js on lines 505..515
      src/Opcode.js on lines 582..591
      src/Opcode.js on lines 592..602
      src/Opcode.js on lines 603..613
      src/Opcode.js on lines 705..715

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

      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

          math: function(src,raw_src){
              let instr = new CLASS.Instruction(); 
      
              instr.left = OpcodeParser.singleVar(src[1]);
              instr.right = OpcodeParser.singleVar(src[2]);
      Severity: Major
      Found in src/Opcode.js and 1 other location - About 1 hr to fix
      src/Opcode.js on lines 110..117

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

      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

          move: function(src,raw_src){
              let instr = new CLASS.Instruction(); 
      
              instr.left = OpcodeParser.singleVar(src[1]);
              instr.right = OpcodeParser.singleVar(src[2]);
      Severity: Major
      Found in src/Opcode.js and 1 other location - About 1 hr to fix
      src/Opcode.js on lines 118..125

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

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

          CMPL_DOUBLE:{ byte:0x2f, instr:"cmpl-double", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.CMP, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          APUT_BYTE:{ byte:0x4f, instr:"aput-byte", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_SETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          RSUB_INT_LIT8:{ byte:0xd9, instr:"rsub-int/lit8",  parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH,  reftype:ReferenceType.NONE, format:Format.Format22b, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996

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

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

          LONG_TO_INT:{ byte:0x84, instr:"long-to-int", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          CMPG_FLOAT:{ byte:0x2e, instr:"cmpg-float", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.CMP, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          APUT_CHAR:{ byte:0x50, instr:"aput-char", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_SETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          IPUT_SHORT:{ byte:0x5f, instr:"iput-short", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          LONG_TO_FLOAT:{ byte:0x85, instr:"long-to-float", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          RSUB_INT:{ byte:0xd1, instr:"rsub-int",   parse: MainParser.format_lit16, type: CONST.INSTR_TYPE.MATH, reftype:ReferenceType.NONE, format:Format.Format22s, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 1004..1004

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

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

          IPUT_WIDE:{ byte:0x5a, instr:"iput-wide", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          IPUT_BOOLEAN:{ byte:0x5c, instr:"iput-boolean", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          DOUBLE_TO_INT:{ byte:0x8a, instr:"double-to-int", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          INT_TO_SHORT:{ byte:0x8f, instr:"int-to-short", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          CMP_LONG:{ byte:0x31, instr:"cmp-long", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.CMP, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          IPUT_OBJECT:{ byte:0x5b, instr:"iput-object", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          IPUT_CHAR:{ byte:0x5e, instr:"iput-char", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          APUT_BOOLEAN:{ byte:0x4e, instr:"aput-boolean", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_SETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          IPUT_BYTE:{ byte:0x5d, instr:"iput-byte", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          INT_TO_FLOAT:{ byte:0x82, instr:"int-to-float", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          IPUT:{ byte:0x59, instr:"iput", parse: MainParser.multRegField, type: CONST.INSTR_TYPE.SETTER, reftype:ReferenceType.FIELD, format:Format.Format22c, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          DOUBLE_TO_FLOAT:{ byte:0x8c, instr:"double-to-float", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          APUT_WIDE:{ byte:0x4c, instr:"aput-wide", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_SETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          INT_TO_BYTE:{ byte:0x8d, instr:"int-to-byte", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          INT_TO_CHAR:{ byte:0x8e, instr:"int-to-char", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          APUT:{ byte:0x4b, instr:"aput", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_SETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          CMPG_DOUBLE:{ byte:0x30, instr:"cmpg-double", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.CMP, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          APUT_OBJECT:{ byte:0x4d, instr:"aput-object", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_SETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          APUT_SHORT:{ byte:0x51, instr:"aput-short", parse: MainParser.Format23x, type: CONST.INSTR_TYPE.ARRAY_SETTER, reftype: ReferenceType.NONE, format: Format.Format23x, flag:Opcode.CAN_THROW | Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 918..918
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

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

          FLOAT_TO_INT:{ byte:0x87, instr:"float-to-int", parse: MainParser.move, type: CONST.INSTR_TYPE.MATH_CAST, reftype:ReferenceType.NONE, format:Format.Format12x, flag:Opcode.CAN_CONTINUE | Opcode.SETS_REGISTER },
      Severity: Major
      Found in src/Opcode.js and 28 other locations - About 55 mins to fix
      src/Opcode.js on lines 760..760
      src/Opcode.js on lines 761..761
      src/Opcode.js on lines 762..762
      src/Opcode.js on lines 763..763
      src/Opcode.js on lines 787..787
      src/Opcode.js on lines 788..788
      src/Opcode.js on lines 789..789
      src/Opcode.js on lines 790..790
      src/Opcode.js on lines 791..791
      src/Opcode.js on lines 792..792
      src/Opcode.js on lines 793..793
      src/Opcode.js on lines 803..803
      src/Opcode.js on lines 804..804
      src/Opcode.js on lines 805..805
      src/Opcode.js on lines 806..806
      src/Opcode.js on lines 807..807
      src/Opcode.js on lines 808..808
      src/Opcode.js on lines 809..809
      src/Opcode.js on lines 913..913
      src/Opcode.js on lines 915..915
      src/Opcode.js on lines 916..916
      src/Opcode.js on lines 921..921
      src/Opcode.js on lines 923..923
      src/Opcode.js on lines 924..924
      src/Opcode.js on lines 925..925
      src/Opcode.js on lines 926..926
      src/Opcode.js on lines 996..996
      src/Opcode.js on lines 1004..1004

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

      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

          THROW:{ 
              byte:0x27, 
              instr:"throw", 
              reftype:  ReferenceType.NONE, 
              format: Format.Format11x, 
      Severity: Minor
      Found in src/Opcode.js and 1 other location - About 45 mins to fix
      src/Opcode.js on lines 374..384

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

      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

          NOP:{ 
              byte:0x00, 
              instr:"nop", 
              reftype:ReferenceType.NONE, 
              format:Format.Format10x, 
      Severity: Minor
      Found in src/Opcode.js and 1 other location - About 45 mins to fix
      src/Opcode.js on lines 734..744

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

      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

          IF_EQ:{ byte:0x32, instr:"if-eq", parse: MainParser.multTagged, type: CONST.INSTR_TYPE.IF, reftype:ReferenceType.NONE, format:Format.Format22t, flag:Opcode.CAN_CONTINUE },
      Severity: Minor
      Found in src/Opcode.js and 1 other location - About 35 mins to fix
      src/Opcode.js on lines 755..755

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

      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

          PACKED_SWITCH:{ byte:0x2b, instr:"packed-switch", parse: MainParser.tagged, type: CONST.INSTR_TYPE.SWITCH, reftype:ReferenceType.NONE, format:Format.Format31t, flag:Opcode.CAN_CONTINUE },
      Severity: Minor
      Found in src/Opcode.js and 1 other location - About 35 mins to fix
      src/Opcode.js on lines 766..766

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

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

          IF_GT:{ byte:0x36, instr:"if-gt", parse: MainParser.multTagged, type: CONST.INSTR_TYPE.IF, reftype:ReferenceType.NONE, format:Format.Format22t, flag:Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 11 other locations - About 30 mins to fix
      src/Opcode.js on lines 756..756
      src/Opcode.js on lines 767..767
      src/Opcode.js on lines 768..768
      src/Opcode.js on lines 769..769
      src/Opcode.js on lines 771..771
      src/Opcode.js on lines 772..772
      src/Opcode.js on lines 773..773
      src/Opcode.js on lines 774..774
      src/Opcode.js on lines 775..775
      src/Opcode.js on lines 776..776
      src/Opcode.js on lines 777..777

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

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

          IF_LTZ:{ byte:0x3a, instr:"if-ltz", parse: MainParser.tagged, type: CONST.INSTR_TYPE.IF, reftype:ReferenceType.NONE, format:Format.Format21t, flag:Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 11 other locations - About 30 mins to fix
      src/Opcode.js on lines 756..756
      src/Opcode.js on lines 767..767
      src/Opcode.js on lines 768..768
      src/Opcode.js on lines 769..769
      src/Opcode.js on lines 770..770
      src/Opcode.js on lines 771..771
      src/Opcode.js on lines 772..772
      src/Opcode.js on lines 773..773
      src/Opcode.js on lines 775..775
      src/Opcode.js on lines 776..776
      src/Opcode.js on lines 777..777

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

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

          SPARSE_SWITCH:{ byte:0x2c, instr:"sparse-switch", parse: MainParser.tagged, type: CONST.INSTR_TYPE.SWITCH, reftype:ReferenceType.NONE, format:Format.Format31t, flag:Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 11 other locations - About 30 mins to fix
      src/Opcode.js on lines 767..767
      src/Opcode.js on lines 768..768
      src/Opcode.js on lines 769..769
      src/Opcode.js on lines 770..770
      src/Opcode.js on lines 771..771
      src/Opcode.js on lines 772..772
      src/Opcode.js on lines 773..773
      src/Opcode.js on lines 774..774
      src/Opcode.js on lines 775..775
      src/Opcode.js on lines 776..776
      src/Opcode.js on lines 777..777

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

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

          IF_LT:{ byte:0x34, instr:"if-lt", parse: MainParser.multTagged, type: CONST.INSTR_TYPE.IF, reftype:ReferenceType.NONE, format:Format.Format22t, flag:Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 11 other locations - About 30 mins to fix
      src/Opcode.js on lines 756..756
      src/Opcode.js on lines 767..767
      src/Opcode.js on lines 769..769
      src/Opcode.js on lines 770..770
      src/Opcode.js on lines 771..771
      src/Opcode.js on lines 772..772
      src/Opcode.js on lines 773..773
      src/Opcode.js on lines 774..774
      src/Opcode.js on lines 775..775
      src/Opcode.js on lines 776..776
      src/Opcode.js on lines 777..777

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

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

          IF_GE:{ byte:0x35, instr:"if-ge", parse: MainParser.multTagged, type: CONST.INSTR_TYPE.IF, reftype:ReferenceType.NONE, format:Format.Format22t, flag:Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 11 other locations - About 30 mins to fix
      src/Opcode.js on lines 756..756
      src/Opcode.js on lines 767..767
      src/Opcode.js on lines 768..768
      src/Opcode.js on lines 770..770
      src/Opcode.js on lines 771..771
      src/Opcode.js on lines 772..772
      src/Opcode.js on lines 773..773
      src/Opcode.js on lines 774..774
      src/Opcode.js on lines 775..775
      src/Opcode.js on lines 776..776
      src/Opcode.js on lines 777..777

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

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

          IF_GEZ:{ byte:0x3b, instr:"if-gez", parse: MainParser.tagged, type: CONST.INSTR_TYPE.IF, reftype:ReferenceType.NONE, format:Format.Format21t, flag:Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 11 other locations - About 30 mins to fix
      src/Opcode.js on lines 756..756
      src/Opcode.js on lines 767..767
      src/Opcode.js on lines 768..768
      src/Opcode.js on lines 769..769
      src/Opcode.js on lines 770..770
      src/Opcode.js on lines 771..771
      src/Opcode.js on lines 772..772
      src/Opcode.js on lines 773..773
      src/Opcode.js on lines 774..774
      src/Opcode.js on lines 776..776
      src/Opcode.js on lines 777..777

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

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

          IF_GTZ:{ byte:0x3c, instr:"if-gtz", parse: MainParser.tagged, type: CONST.INSTR_TYPE.IF, reftype:ReferenceType.NONE, format:Format.Format21t, flag:Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 11 other locations - About 30 mins to fix
      src/Opcode.js on lines 756..756
      src/Opcode.js on lines 767..767
      src/Opcode.js on lines 768..768
      src/Opcode.js on lines 769..769
      src/Opcode.js on lines 770..770
      src/Opcode.js on lines 771..771
      src/Opcode.js on lines 772..772
      src/Opcode.js on lines 773..773
      src/Opcode.js on lines 774..774
      src/Opcode.js on lines 775..775
      src/Opcode.js on lines 777..777

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

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

          IF_EQZ:{ byte:0x38, instr:"if-eqz", parse: MainParser.tagged, type: CONST.INSTR_TYPE.IF, reftype:ReferenceType.NONE, format:Format.Format21t, flag:Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 11 other locations - About 30 mins to fix
      src/Opcode.js on lines 756..756
      src/Opcode.js on lines 767..767
      src/Opcode.js on lines 768..768
      src/Opcode.js on lines 769..769
      src/Opcode.js on lines 770..770
      src/Opcode.js on lines 771..771
      src/Opcode.js on lines 773..773
      src/Opcode.js on lines 774..774
      src/Opcode.js on lines 775..775
      src/Opcode.js on lines 776..776
      src/Opcode.js on lines 777..777

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

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

          IF_NEZ:{ byte:0x39, instr:"if-nez", parse: MainParser.tagged, type: CONST.INSTR_TYPE.IF, reftype:ReferenceType.NONE, format:Format.Format21t, flag:Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 11 other locations - About 30 mins to fix
      src/Opcode.js on lines 756..756
      src/Opcode.js on lines 767..767
      src/Opcode.js on lines 768..768
      src/Opcode.js on lines 769..769
      src/Opcode.js on lines 770..770
      src/Opcode.js on lines 771..771
      src/Opcode.js on lines 772..772
      src/Opcode.js on lines 774..774
      src/Opcode.js on lines 775..775
      src/Opcode.js on lines 776..776
      src/Opcode.js on lines 777..777

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

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

          IF_LEZ:{ byte:0x3d, instr:"if-lez", parse: MainParser.tagged, type: CONST.INSTR_TYPE.IF, reftype:ReferenceType.NONE, format:Format.Format21t, flag:Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 11 other locations - About 30 mins to fix
      src/Opcode.js on lines 756..756
      src/Opcode.js on lines 767..767
      src/Opcode.js on lines 768..768
      src/Opcode.js on lines 769..769
      src/Opcode.js on lines 770..770
      src/Opcode.js on lines 771..771
      src/Opcode.js on lines 772..772
      src/Opcode.js on lines 773..773
      src/Opcode.js on lines 774..774
      src/Opcode.js on lines 775..775
      src/Opcode.js on lines 776..776

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

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

          IF_NE:{ byte:0x33, instr:"if-ne", parse: MainParser.multTagged, type: CONST.INSTR_TYPE.IF, reftype:ReferenceType.NONE, format:Format.Format22t, flag:Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 11 other locations - About 30 mins to fix
      src/Opcode.js on lines 756..756
      src/Opcode.js on lines 768..768
      src/Opcode.js on lines 769..769
      src/Opcode.js on lines 770..770
      src/Opcode.js on lines 771..771
      src/Opcode.js on lines 772..772
      src/Opcode.js on lines 773..773
      src/Opcode.js on lines 774..774
      src/Opcode.js on lines 775..775
      src/Opcode.js on lines 776..776
      src/Opcode.js on lines 777..777

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

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

          IF_LE:{ byte:0x37, instr:"if-le", parse: MainParser.multTagged, type: CONST.INSTR_TYPE.IF, reftype:ReferenceType.NONE, format:Format.Format22t, flag:Opcode.CAN_CONTINUE },
      Severity: Major
      Found in src/Opcode.js and 11 other locations - About 30 mins to fix
      src/Opcode.js on lines 756..756
      src/Opcode.js on lines 767..767
      src/Opcode.js on lines 768..768
      src/Opcode.js on lines 769..769
      src/Opcode.js on lines 770..770
      src/Opcode.js on lines 772..772
      src/Opcode.js on lines 773..773
      src/Opcode.js on lines 774..774
      src/Opcode.js on lines 775..775
      src/Opcode.js on lines 776..776
      src/Opcode.js on lines 777..777

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

      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

      There are no issues that match your filters.

      Category
      Status