rahulkapoor90/VITacademics-Enhancement-Suite

View on GitHub

Showing 255 of 1,018 total issues

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

var gradePoint = {
    "S": 10,
    "A": 9,
    "B": 8,
    "C": 7,
Severity: Minor
Found in Extension for chrome/scripts/grade/archive_gpa.js and 1 other location - About 40 mins to fix
Extension for chrome/scripts/grade/gpa.js on lines 1..10

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

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

$("#ExportPNG").click(function (e) {
  $('table:nth-child(2)').tableExport({ type: 'png', escape: 'false' });  
});
Severity: Major
Found in Extension for Edge/scripts/timeTable/timetable.js and 11 other locations - About 35 mins to fix
Extension for Edge/scripts/timeTable/timetable.js on lines 69..71
Extension for Edge/scripts/timeTable/timetable.js on lines 75..77
Extension for Edge/scripts/timeTable/timetable.js on lines 79..81
Extension for Edge/scripts/timeTable/timetable.js on lines 82..84
Extension for Edge/scripts/timeTable/timetable.js on lines 85..87
Extension for Firefox/scripts/timeTable/timetable.js on lines 69..71
Extension for Firefox/scripts/timeTable/timetable.js on lines 72..74
Extension for Firefox/scripts/timeTable/timetable.js on lines 75..77
Extension for Firefox/scripts/timeTable/timetable.js on lines 79..81
Extension for Firefox/scripts/timeTable/timetable.js on lines 82..84
Extension for Firefox/scripts/timeTable/timetable.js on lines 85..87

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

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

$("#ExportPDF").click(function (e) {
  $('table:nth-child(2)').tableExport({ type: 'xml', escape: 'false' });  
});
Severity: Major
Found in Extension for Edge/scripts/timeTable/timetable.js and 11 other locations - About 35 mins to fix
Extension for Edge/scripts/timeTable/timetable.js on lines 69..71
Extension for Edge/scripts/timeTable/timetable.js on lines 72..74
Extension for Edge/scripts/timeTable/timetable.js on lines 79..81
Extension for Edge/scripts/timeTable/timetable.js on lines 82..84
Extension for Edge/scripts/timeTable/timetable.js on lines 85..87
Extension for Firefox/scripts/timeTable/timetable.js on lines 69..71
Extension for Firefox/scripts/timeTable/timetable.js on lines 72..74
Extension for Firefox/scripts/timeTable/timetable.js on lines 75..77
Extension for Firefox/scripts/timeTable/timetable.js on lines 79..81
Extension for Firefox/scripts/timeTable/timetable.js on lines 82..84
Extension for Firefox/scripts/timeTable/timetable.js on lines 85..87

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

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

$("#ExportPNG1").click(function (e) {
  $('table:first-child table:nth-child(odd)').tableExport({ type: 'png', escape: 'false' });  
});
Severity: Major
Found in Extension for Firefox/scripts/timeTable/timetable.js and 11 other locations - About 35 mins to fix
Extension for Edge/scripts/timeTable/timetable.js on lines 69..71
Extension for Edge/scripts/timeTable/timetable.js on lines 72..74
Extension for Edge/scripts/timeTable/timetable.js on lines 75..77
Extension for Edge/scripts/timeTable/timetable.js on lines 79..81
Extension for Edge/scripts/timeTable/timetable.js on lines 82..84
Extension for Edge/scripts/timeTable/timetable.js on lines 85..87
Extension for Firefox/scripts/timeTable/timetable.js on lines 69..71
Extension for Firefox/scripts/timeTable/timetable.js on lines 72..74
Extension for Firefox/scripts/timeTable/timetable.js on lines 75..77
Extension for Firefox/scripts/timeTable/timetable.js on lines 79..81
Extension for Firefox/scripts/timeTable/timetable.js on lines 85..87

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

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

$("#ExportEXCEL1").click(function (e) {
  $('table:first-child table:nth-child(odd)').tableExport({ type: 'excel', escape: 'false' });  
});
Severity: Major
Found in Extension for Edge/scripts/timeTable/timetable.js and 11 other locations - About 35 mins to fix
Extension for Edge/scripts/timeTable/timetable.js on lines 69..71
Extension for Edge/scripts/timeTable/timetable.js on lines 72..74
Extension for Edge/scripts/timeTable/timetable.js on lines 75..77
Extension for Edge/scripts/timeTable/timetable.js on lines 82..84
Extension for Edge/scripts/timeTable/timetable.js on lines 85..87
Extension for Firefox/scripts/timeTable/timetable.js on lines 69..71
Extension for Firefox/scripts/timeTable/timetable.js on lines 72..74
Extension for Firefox/scripts/timeTable/timetable.js on lines 75..77
Extension for Firefox/scripts/timeTable/timetable.js on lines 79..81
Extension for Firefox/scripts/timeTable/timetable.js on lines 82..84
Extension for Firefox/scripts/timeTable/timetable.js on lines 85..87

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

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

$("#ExportEXCEL1").click(function (e) {
  $('table:first-child table:nth-child(odd)').tableExport({ type: 'excel', escape: 'false' });  
});
Severity: Major
Found in Extension for Firefox/scripts/timeTable/timetable.js and 11 other locations - About 35 mins to fix
Extension for Edge/scripts/timeTable/timetable.js on lines 69..71
Extension for Edge/scripts/timeTable/timetable.js on lines 72..74
Extension for Edge/scripts/timeTable/timetable.js on lines 75..77
Extension for Edge/scripts/timeTable/timetable.js on lines 79..81
Extension for Edge/scripts/timeTable/timetable.js on lines 82..84
Extension for Edge/scripts/timeTable/timetable.js on lines 85..87
Extension for Firefox/scripts/timeTable/timetable.js on lines 69..71
Extension for Firefox/scripts/timeTable/timetable.js on lines 72..74
Extension for Firefox/scripts/timeTable/timetable.js on lines 75..77
Extension for Firefox/scripts/timeTable/timetable.js on lines 82..84
Extension for Firefox/scripts/timeTable/timetable.js on lines 85..87

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

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

$("#ExportPNG1").click(function (e) {
  $('table:first-child table:nth-child(odd)').tableExport({ type: 'png', escape: 'false' });  
});
Severity: Major
Found in Extension for Edge/scripts/timeTable/timetable.js and 11 other locations - About 35 mins to fix
Extension for Edge/scripts/timeTable/timetable.js on lines 69..71
Extension for Edge/scripts/timeTable/timetable.js on lines 72..74
Extension for Edge/scripts/timeTable/timetable.js on lines 75..77
Extension for Edge/scripts/timeTable/timetable.js on lines 79..81
Extension for Edge/scripts/timeTable/timetable.js on lines 85..87
Extension for Firefox/scripts/timeTable/timetable.js on lines 69..71
Extension for Firefox/scripts/timeTable/timetable.js on lines 72..74
Extension for Firefox/scripts/timeTable/timetable.js on lines 75..77
Extension for Firefox/scripts/timeTable/timetable.js on lines 79..81
Extension for Firefox/scripts/timeTable/timetable.js on lines 82..84
Extension for Firefox/scripts/timeTable/timetable.js on lines 85..87

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

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

$("#ExportPDF1").click(function (e) {
  $('table:first-child table:nth-child(odd)').tableExport({ type: 'xml', escape: 'false' });  
});
Severity: Major
Found in Extension for Firefox/scripts/timeTable/timetable.js and 11 other locations - About 35 mins to fix
Extension for Edge/scripts/timeTable/timetable.js on lines 69..71
Extension for Edge/scripts/timeTable/timetable.js on lines 72..74
Extension for Edge/scripts/timeTable/timetable.js on lines 75..77
Extension for Edge/scripts/timeTable/timetable.js on lines 79..81
Extension for Edge/scripts/timeTable/timetable.js on lines 82..84
Extension for Edge/scripts/timeTable/timetable.js on lines 85..87
Extension for Firefox/scripts/timeTable/timetable.js on lines 69..71
Extension for Firefox/scripts/timeTable/timetable.js on lines 72..74
Extension for Firefox/scripts/timeTable/timetable.js on lines 75..77
Extension for Firefox/scripts/timeTable/timetable.js on lines 79..81
Extension for Firefox/scripts/timeTable/timetable.js on lines 82..84

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

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

$("#ExportPDF1").click(function (e) {
  $('table:first-child table:nth-child(odd)').tableExport({ type: 'xml', escape: 'false' });  
});
Severity: Major
Found in Extension for Edge/scripts/timeTable/timetable.js and 11 other locations - About 35 mins to fix
Extension for Edge/scripts/timeTable/timetable.js on lines 69..71
Extension for Edge/scripts/timeTable/timetable.js on lines 72..74
Extension for Edge/scripts/timeTable/timetable.js on lines 75..77
Extension for Edge/scripts/timeTable/timetable.js on lines 79..81
Extension for Edge/scripts/timeTable/timetable.js on lines 82..84
Extension for Firefox/scripts/timeTable/timetable.js on lines 69..71
Extension for Firefox/scripts/timeTable/timetable.js on lines 72..74
Extension for Firefox/scripts/timeTable/timetable.js on lines 75..77
Extension for Firefox/scripts/timeTable/timetable.js on lines 79..81
Extension for Firefox/scripts/timeTable/timetable.js on lines 82..84
Extension for Firefox/scripts/timeTable/timetable.js on lines 85..87

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

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

$("#ExportEXCEL").click(function (e) {
  $('table:nth-child(2)').tableExport({ type: 'excel', escape: 'false' });  
});
Severity: Major
Found in Extension for Edge/scripts/timeTable/timetable.js and 11 other locations - About 35 mins to fix
Extension for Edge/scripts/timeTable/timetable.js on lines 72..74
Extension for Edge/scripts/timeTable/timetable.js on lines 75..77
Extension for Edge/scripts/timeTable/timetable.js on lines 79..81
Extension for Edge/scripts/timeTable/timetable.js on lines 82..84
Extension for Edge/scripts/timeTable/timetable.js on lines 85..87
Extension for Firefox/scripts/timeTable/timetable.js on lines 69..71
Extension for Firefox/scripts/timeTable/timetable.js on lines 72..74
Extension for Firefox/scripts/timeTable/timetable.js on lines 75..77
Extension for Firefox/scripts/timeTable/timetable.js on lines 79..81
Extension for Firefox/scripts/timeTable/timetable.js on lines 82..84
Extension for Firefox/scripts/timeTable/timetable.js on lines 85..87

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

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

$("#ExportPDF").click(function (e) {
  $('table:nth-child(2)').tableExport({ type: 'xml', escape: 'false' });  
});
Severity: Major
Found in Extension for Firefox/scripts/timeTable/timetable.js and 11 other locations - About 35 mins to fix
Extension for Edge/scripts/timeTable/timetable.js on lines 69..71
Extension for Edge/scripts/timeTable/timetable.js on lines 72..74
Extension for Edge/scripts/timeTable/timetable.js on lines 75..77
Extension for Edge/scripts/timeTable/timetable.js on lines 79..81
Extension for Edge/scripts/timeTable/timetable.js on lines 82..84
Extension for Edge/scripts/timeTable/timetable.js on lines 85..87
Extension for Firefox/scripts/timeTable/timetable.js on lines 69..71
Extension for Firefox/scripts/timeTable/timetable.js on lines 72..74
Extension for Firefox/scripts/timeTable/timetable.js on lines 79..81
Extension for Firefox/scripts/timeTable/timetable.js on lines 82..84
Extension for Firefox/scripts/timeTable/timetable.js on lines 85..87

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

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

$("#ExportEXCEL").click(function (e) {
  $('table:nth-child(2)').tableExport({ type: 'excel', escape: 'false' });  
});
Severity: Major
Found in Extension for Firefox/scripts/timeTable/timetable.js and 11 other locations - About 35 mins to fix
Extension for Edge/scripts/timeTable/timetable.js on lines 69..71
Extension for Edge/scripts/timeTable/timetable.js on lines 72..74
Extension for Edge/scripts/timeTable/timetable.js on lines 75..77
Extension for Edge/scripts/timeTable/timetable.js on lines 79..81
Extension for Edge/scripts/timeTable/timetable.js on lines 82..84
Extension for Edge/scripts/timeTable/timetable.js on lines 85..87
Extension for Firefox/scripts/timeTable/timetable.js on lines 72..74
Extension for Firefox/scripts/timeTable/timetable.js on lines 75..77
Extension for Firefox/scripts/timeTable/timetable.js on lines 79..81
Extension for Firefox/scripts/timeTable/timetable.js on lines 82..84
Extension for Firefox/scripts/timeTable/timetable.js on lines 85..87

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

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

$("#ExportPNG").click(function (e) {
  $('table:nth-child(2)').tableExport({ type: 'png', escape: 'false' });  
});
Severity: Major
Found in Extension for Firefox/scripts/timeTable/timetable.js and 11 other locations - About 35 mins to fix
Extension for Edge/scripts/timeTable/timetable.js on lines 69..71
Extension for Edge/scripts/timeTable/timetable.js on lines 72..74
Extension for Edge/scripts/timeTable/timetable.js on lines 75..77
Extension for Edge/scripts/timeTable/timetable.js on lines 79..81
Extension for Edge/scripts/timeTable/timetable.js on lines 82..84
Extension for Edge/scripts/timeTable/timetable.js on lines 85..87
Extension for Firefox/scripts/timeTable/timetable.js on lines 69..71
Extension for Firefox/scripts/timeTable/timetable.js on lines 75..77
Extension for Firefox/scripts/timeTable/timetable.js on lines 79..81
Extension for Firefox/scripts/timeTable/timetable.js on lines 82..84
Extension for Firefox/scripts/timeTable/timetable.js on lines 85..87

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

var getExtensionProtocol = function () {
    if (typeof browser == "undefined") {
        if (typeof chrome !== "undefined")
            return "chrome-extension://";
    }
Severity: Minor
Found in Extension for Edge/backgroundScriptsAPIBridge.js and 1 other location - About 30 mins to fix
Extension for Edge/contentScriptsAPIBridge.js on lines 9..17

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

var getExtensionProtocol = function () {
    if (typeof browser == "undefined") {
        if (typeof chrome !== "undefined")
            return "chrome-extension://";
    }
Severity: Minor
Found in Extension for Edge/contentScriptsAPIBridge.js and 1 other location - About 30 mins to fix
Extension for Edge/backgroundScriptsAPIBridge.js on lines 9..17

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Severity
Category
Status
Source
Language