camdub/Internships

View on GitHub

Showing 387 of 584 total issues

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

        var major = Math.floor(axis._scale.min / axis._ticks.major) * axis._ticks.major;
Severity: Major
Found in public/javascripts/jquery.svg/jquery.svggraph.js and 3 other locations - About 35 mins to fix
public/javascripts/jquery.svg/jquery.svggraph.js on lines 468..468
public/javascripts/jquery.svg/jquery.svgplot.js on lines 319..319
public/javascripts/jquery.svg/jquery.svgplot.js on lines 348..348

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

    {
        "name": "Reevaluate your graduation plan",
        "long_term_goal_id": [1,2],
        "school_year": 2,
        "tags": [ "graduation"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 212..221
public/myguide_asset/js/data.js on lines 222..231

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

                var y = dims[graph.Y] + yScale * (barGap / 2 + (i + 0.5) * (numSer * barWidth + barGap));
Severity: Minor
Found in public/javascripts/jquery.svg/jquery.svggraph.js and 1 other location - About 35 mins to fix
public/javascripts/jquery.svg/jquery.svggraph.js on lines 975..975

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

    {
        "name": "Use resources to improve adacemic success skills",
        "long_term_goal_id": [1,2],
        "school_year": 1,
        "tags": [ "lifeskills"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 212..221
public/myguide_asset/js/data.js on lines 222..231

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

    {
        "name": "Take courses in area of interest",
        "long_term_goal_id": [1,2],
        "school_year": 1,
        "tags": [ "career"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 212..221
public/myguide_asset/js/data.js on lines 222..231

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

    {
        "name": "Take second-year courses as per major MAP",
        "long_term_goal_id": [1,2],
        "school_year": 2,
        "tags": [ "graduation"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 212..221
public/myguide_asset/js/data.js on lines 222..231

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

    {
        "name": "Build a professional/job network",
        "long_term_goal_id": [1,2],
        "school_year": 3,
        "tags": [ "career"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 222..231

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

    {
        "name": "Take part in Enriching extracurricular actvities",
        "long_term_goal_id": [1,2],
        "school_year": 2,
        "tags": [ "lifeskills"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 212..221
public/myguide_asset/js/data.js on lines 222..231

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

    {
        "name": "Enroll in St Dev 317",
        "long_term_goal_id": [1,2],
        "school_year": 3,
        "tags": [ "humplus"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 212..221
public/myguide_asset/js/data.js on lines 222..231

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

    {
        "name": "Seek out leadership experiences",
        "long_term_goal_id": [1,2],
        "school_year": 3,
        "tags": [ "lifeskills"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 212..221

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

        var major = Math.floor(axis._scale.min / axis._ticks.major) * axis._ticks.major;
Severity: Major
Found in public/javascripts/jquery.svg/jquery.svgplot.js and 3 other locations - About 35 mins to fix
public/javascripts/jquery.svg/jquery.svggraph.js on lines 398..398
public/javascripts/jquery.svg/jquery.svggraph.js on lines 468..468
public/javascripts/jquery.svg/jquery.svgplot.js on lines 348..348

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

    x = e.offsetX ? e.offsetX : (e.target ? e.clientX - e.target.x : 0);
public/javascripts/tinyeditor/themes/advanced/js/color_picker.js on lines 272..272

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

    {
        "name": "Determin Educational Goals",
        "long_term_goal_id": [1,2],
        "school_year": 1,
        "tags": [ "graduation"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 212..221
public/myguide_asset/js/data.js on lines 222..231

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

    {
        "name": "Take career assessments",
        "long_term_goal_id": [1,2],
        "school_year": 1,
        "tags": [ "career"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 212..221
public/myguide_asset/js/data.js on lines 222..231

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

            var major = Math.floor(axis._scale.min / axis._ticks.major) * axis._ticks.major;
Severity: Major
Found in public/javascripts/jquery.svg/jquery.svggraph.js and 3 other locations - About 35 mins to fix
public/javascripts/jquery.svg/jquery.svggraph.js on lines 398..398
public/javascripts/jquery.svg/jquery.svgplot.js on lines 319..319
public/javascripts/jquery.svg/jquery.svgplot.js on lines 348..348

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

        var xScale = dims[graph.W] / (graph.yAxis._scale.max - graph.yAxis._scale.min);
Severity: Major
Found in public/javascripts/jquery.svg/jquery.svggraph.js and 3 other locations - About 35 mins to fix
public/javascripts/jquery.svg/jquery.svggraph.js on lines 928..928
public/javascripts/jquery.svg/jquery.svggraph.js on lines 1337..1337
public/javascripts/jquery.svg/jquery.svggraph.js on lines 1338..1338

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

    {
        "name": "Explore mentored learning opportunities with faculty",
        "long_term_goal_id": [1,2],
        "school_year": 2,
        "tags": [ "humplus"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 212..221
public/myguide_asset/js/data.js on lines 222..231

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

    {
        "name": "Evaluate and modify goals as needed",
        "long_term_goal_id": [1,2],
        "school_year": 3,
        "tags": [ "graduation"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 212..221
public/myguide_asset/js/data.js on lines 222..231

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

    {
        "name": "Monitor career preparation",
        "long_term_goal_id": [1,2],
        "school_year": 3,
        "tags": [ "career"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 102..111
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 212..221
public/myguide_asset/js/data.js on lines 222..231

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

    {
        "name": "Attend internship workshops and fairs",
        "long_term_goal_id": [1,2],
        "school_year": 2,
        "tags": [ "humplus"],
Severity: Major
Found in public/myguide_asset/js/data.js and 22 other locations - About 35 mins to fix
public/myguide_asset/js/data.js on lines 2..11
public/myguide_asset/js/data.js on lines 12..21
public/myguide_asset/js/data.js on lines 22..31
public/myguide_asset/js/data.js on lines 32..41
public/myguide_asset/js/data.js on lines 42..51
public/myguide_asset/js/data.js on lines 52..61
public/myguide_asset/js/data.js on lines 62..71
public/myguide_asset/js/data.js on lines 72..81
public/myguide_asset/js/data.js on lines 82..91
public/myguide_asset/js/data.js on lines 92..101
public/myguide_asset/js/data.js on lines 112..121
public/myguide_asset/js/data.js on lines 122..131
public/myguide_asset/js/data.js on lines 132..141
public/myguide_asset/js/data.js on lines 142..151
public/myguide_asset/js/data.js on lines 152..161
public/myguide_asset/js/data.js on lines 162..171
public/myguide_asset/js/data.js on lines 172..181
public/myguide_asset/js/data.js on lines 182..191
public/myguide_asset/js/data.js on lines 192..201
public/myguide_asset/js/data.js on lines 202..211
public/myguide_asset/js/data.js on lines 212..221
public/myguide_asset/js/data.js on lines 222..231

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

Severity
Category
Status
Source
Language