fremag/MemoScope.Net

View on GitHub

Showing 49 of 126 total issues

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

using MemoScope.Core;
using WinFwk.UICommands;
using WinFwk.UIModules;

namespace MemoScope.Modules.Segments
Severity: Major
Found in MemoScope/Modules/Segments/SegmentsCommand.cs and 9 other locations - About 1 hr to fix
MemoScope/Modules/Arrays/ArraysCommand.cs on lines 1..20
MemoScope/Modules/Bookmarks/BookmarkCommand.cs on lines 1..22
MemoScope/Modules/ClrRoots/ClrRootsCommand.cs on lines 1..20
MemoScope/Modules/Finalizer/FinalizerCommand.cs on lines 1..20
MemoScope/Modules/Handles/HandlesCommand.cs on lines 1..20
MemoScope/Modules/Modules/ModuleCommand.cs on lines 1..20
MemoScope/Modules/Regions/RegionsCommand.cs on lines 1..20
MemoScope/Modules/Strings/StringsCommand.cs on lines 1..20
MemoScope/Modules/ThreadPool/ThreadPoolCommand.cs on lines 1..20

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

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

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

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

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

Refactorings

Further Reading

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

using MemoScope.Core;
using WinFwk.UICommands;
using WinFwk.UIModules;

namespace MemoScope.Modules.ThreadPool
Severity: Major
Found in MemoScope/Modules/ThreadPool/ThreadPoolCommand.cs and 9 other locations - About 1 hr to fix
MemoScope/Modules/Arrays/ArraysCommand.cs on lines 1..20
MemoScope/Modules/Bookmarks/BookmarkCommand.cs on lines 1..22
MemoScope/Modules/ClrRoots/ClrRootsCommand.cs on lines 1..20
MemoScope/Modules/Finalizer/FinalizerCommand.cs on lines 1..20
MemoScope/Modules/Handles/HandlesCommand.cs on lines 1..20
MemoScope/Modules/Modules/ModuleCommand.cs on lines 1..20
MemoScope/Modules/Regions/RegionsCommand.cs on lines 1..20
MemoScope/Modules/Segments/SegmentsCommand.cs on lines 1..20
MemoScope/Modules/Strings/StringsCommand.cs on lines 1..20

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

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

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

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

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

Refactorings

Further Reading

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

using MemoScope.Core;
using WinFwk.UICommands;
using WinFwk.UIModules;

namespace MemoScope.Modules.ClrRoots
Severity: Major
Found in MemoScope/Modules/ClrRoots/ClrRootsCommand.cs and 9 other locations - About 1 hr to fix
MemoScope/Modules/Arrays/ArraysCommand.cs on lines 1..20
MemoScope/Modules/Bookmarks/BookmarkCommand.cs on lines 1..22
MemoScope/Modules/Finalizer/FinalizerCommand.cs on lines 1..20
MemoScope/Modules/Handles/HandlesCommand.cs on lines 1..20
MemoScope/Modules/Modules/ModuleCommand.cs on lines 1..20
MemoScope/Modules/Regions/RegionsCommand.cs on lines 1..20
MemoScope/Modules/Segments/SegmentsCommand.cs on lines 1..20
MemoScope/Modules/Strings/StringsCommand.cs on lines 1..20
MemoScope/Modules/ThreadPool/ThreadPoolCommand.cs on lines 1..20

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

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

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

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

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

Refactorings

Further Reading

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

using MemoScope.Core;
using WinFwk.UICommands;
using WinFwk.UIModules;

namespace MemoScope.Modules.Strings
Severity: Major
Found in MemoScope/Modules/Strings/StringsCommand.cs and 9 other locations - About 1 hr to fix
MemoScope/Modules/Arrays/ArraysCommand.cs on lines 1..20
MemoScope/Modules/Bookmarks/BookmarkCommand.cs on lines 1..22
MemoScope/Modules/ClrRoots/ClrRootsCommand.cs on lines 1..20
MemoScope/Modules/Finalizer/FinalizerCommand.cs on lines 1..20
MemoScope/Modules/Handles/HandlesCommand.cs on lines 1..20
MemoScope/Modules/Modules/ModuleCommand.cs on lines 1..20
MemoScope/Modules/Regions/RegionsCommand.cs on lines 1..20
MemoScope/Modules/Segments/SegmentsCommand.cs on lines 1..20
MemoScope/Modules/ThreadPool/ThreadPoolCommand.cs on lines 1..20

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

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

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

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

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

Refactorings

Further Reading

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

using MemoScope.Core;
using WinFwk.UICommands;
using WinFwk.UIModules;

namespace MemoScope.Modules.Bookmarks
Severity: Major
Found in MemoScope/Modules/Bookmarks/BookmarkCommand.cs and 9 other locations - About 1 hr to fix
MemoScope/Modules/Arrays/ArraysCommand.cs on lines 1..20
MemoScope/Modules/ClrRoots/ClrRootsCommand.cs on lines 1..20
MemoScope/Modules/Finalizer/FinalizerCommand.cs on lines 1..20
MemoScope/Modules/Handles/HandlesCommand.cs on lines 1..20
MemoScope/Modules/Modules/ModuleCommand.cs on lines 1..20
MemoScope/Modules/Regions/RegionsCommand.cs on lines 1..20
MemoScope/Modules/Segments/SegmentsCommand.cs on lines 1..20
MemoScope/Modules/Strings/StringsCommand.cs on lines 1..20
MemoScope/Modules/ThreadPool/ThreadPoolCommand.cs on lines 1..20

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

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

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

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

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

Refactorings

Further Reading

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

using MemoScope.Core;
using WinFwk.UICommands;
using WinFwk.UIModules;

namespace MemoScope.Modules.Handles
Severity: Major
Found in MemoScope/Modules/Handles/HandlesCommand.cs and 9 other locations - About 1 hr to fix
MemoScope/Modules/Arrays/ArraysCommand.cs on lines 1..20
MemoScope/Modules/Bookmarks/BookmarkCommand.cs on lines 1..22
MemoScope/Modules/ClrRoots/ClrRootsCommand.cs on lines 1..20
MemoScope/Modules/Finalizer/FinalizerCommand.cs on lines 1..20
MemoScope/Modules/Modules/ModuleCommand.cs on lines 1..20
MemoScope/Modules/Regions/RegionsCommand.cs on lines 1..20
MemoScope/Modules/Segments/SegmentsCommand.cs on lines 1..20
MemoScope/Modules/Strings/StringsCommand.cs on lines 1..20
MemoScope/Modules/ThreadPool/ThreadPoolCommand.cs on lines 1..20

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

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

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

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

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

Refactorings

Further Reading

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

using MemoScope.Core;
using WinFwk.UICommands;
using WinFwk.UIModules;

namespace MemoScope.Modules.Finalizer
Severity: Major
Found in MemoScope/Modules/Finalizer/FinalizerCommand.cs and 9 other locations - About 1 hr to fix
MemoScope/Modules/Arrays/ArraysCommand.cs on lines 1..20
MemoScope/Modules/Bookmarks/BookmarkCommand.cs on lines 1..22
MemoScope/Modules/ClrRoots/ClrRootsCommand.cs on lines 1..20
MemoScope/Modules/Handles/HandlesCommand.cs on lines 1..20
MemoScope/Modules/Modules/ModuleCommand.cs on lines 1..20
MemoScope/Modules/Regions/RegionsCommand.cs on lines 1..20
MemoScope/Modules/Segments/SegmentsCommand.cs on lines 1..20
MemoScope/Modules/Strings/StringsCommand.cs on lines 1..20
MemoScope/Modules/ThreadPool/ThreadPoolCommand.cs on lines 1..20

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

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

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

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

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

Refactorings

Further Reading

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

using MemoScope.Core;
using WinFwk.UICommands;
using WinFwk.UIModules;

namespace MemoScope.Modules.Regions
Severity: Major
Found in MemoScope/Modules/Regions/RegionsCommand.cs and 9 other locations - About 1 hr to fix
MemoScope/Modules/Arrays/ArraysCommand.cs on lines 1..20
MemoScope/Modules/Bookmarks/BookmarkCommand.cs on lines 1..22
MemoScope/Modules/ClrRoots/ClrRootsCommand.cs on lines 1..20
MemoScope/Modules/Finalizer/FinalizerCommand.cs on lines 1..20
MemoScope/Modules/Handles/HandlesCommand.cs on lines 1..20
MemoScope/Modules/Modules/ModuleCommand.cs on lines 1..20
MemoScope/Modules/Segments/SegmentsCommand.cs on lines 1..20
MemoScope/Modules/Strings/StringsCommand.cs on lines 1..20
MemoScope/Modules/ThreadPool/ThreadPoolCommand.cs on lines 1..20

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

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

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

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

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

Refactorings

Further Reading

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

using MemoScope.Core;
using WinFwk.UICommands;
using WinFwk.UIModules;

namespace MemoScope.Modules.Arrays
Severity: Major
Found in MemoScope/Modules/Arrays/ArraysCommand.cs and 9 other locations - About 1 hr to fix
MemoScope/Modules/Bookmarks/BookmarkCommand.cs on lines 1..22
MemoScope/Modules/ClrRoots/ClrRootsCommand.cs on lines 1..20
MemoScope/Modules/Finalizer/FinalizerCommand.cs on lines 1..20
MemoScope/Modules/Handles/HandlesCommand.cs on lines 1..20
MemoScope/Modules/Modules/ModuleCommand.cs on lines 1..20
MemoScope/Modules/Regions/RegionsCommand.cs on lines 1..20
MemoScope/Modules/Segments/SegmentsCommand.cs on lines 1..20
MemoScope/Modules/Strings/StringsCommand.cs on lines 1..20
MemoScope/Modules/ThreadPool/ThreadPoolCommand.cs on lines 1..20

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 113.

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

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

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

See codeclimate-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

using MemoScope.Core.Data;
using System;
using WinFwk.UICommands;

namespace MemoScope.Modules.Bookmarks
Severity: Major
Found in MemoScope/Modules/Bookmarks/DeleteBookmarkCommand.cs and 1 other location - About 1 hr to fix
MemoScope/Modules/Bookmarks/AddBookmarkCommand.cs on lines 1..23

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 101.

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

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

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

See codeclimate-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

using MemoScope.Core.Data;
using System;
using WinFwk.UICommands;

namespace MemoScope.Modules.Bookmarks
Severity: Major
Found in MemoScope/Modules/Bookmarks/AddBookmarkCommand.cs and 1 other location - About 1 hr to fix
MemoScope/Modules/Bookmarks/DeleteBookmarkCommand.cs on lines 1..25

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 101.

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

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

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

See codeclimate-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

using System.Windows.Forms;
using WinFwk.UICommands;
using WinFwk.UIModules;
using WinFwk.UITools.ToolBar;

Severity: Major
Found in MemoScope/Modules/About/AboutCommand.cs and 1 other location - About 1 hr to fix
MemoScope/Modules/Process/ProcessCommand.cs on lines 1..19

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 100.

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

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

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

See codeclimate-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

using System.Windows.Forms;
using WinFwk.UICommands;
using WinFwk.UIModules;
using WinFwk.UITools.ToolBar;

Severity: Major
Found in MemoScope/Modules/Process/ProcessCommand.cs and 1 other location - About 1 hr to fix
MemoScope/Modules/About/AboutCommand.cs on lines 1..20

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 100.

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

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

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

See codeclimate-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

        public void Setup(ClrDump clrDump)
        {
            ClrDump = clrDump;
            Icon = Properties.Resources.macro_show_all_actions_small;
            Name = $"#{clrDump.Id} - Delegate Types";
Severity: Major
Found in MemoScope/Modules/Delegates/Types/DelegateTypesModule.cs and 1 other location - About 1 hr to fix
MemoScope/Modules/Disposables/DisposableTypesModule.cs on lines 20..29

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 2 locations. Consider refactoring.
Open

        public void Setup(ClrDump clrDump)
        {
            ClrDump = clrDump;
            Icon = Properties.Resources.macro_show_all_actions_small;
            Name = $"#{clrDump.Id} - Disposable Types";
Severity: Major
Found in MemoScope/Modules/Disposables/DisposableTypesModule.cs and 1 other location - About 1 hr to fix
MemoScope/Modules/Delegates/Types/DelegateTypesModule.cs on lines 20..29

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 2 locations. Consider refactoring.
Open

using MemoScope.Core.Data;
using WinFwk.UICommands;

namespace MemoScope.Modules.Instances
{
Severity: Minor
Found in MemoScope/Modules/Instances/TypeInstancesCommand.cs and 1 other location - About 55 mins to fix
MemoScope/Modules/Instances/InstancesCommand.cs on lines 1..19

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 2 locations. Consider refactoring.
Open

using MemoScope.Core.Data;
using WinFwk.UICommands;

namespace MemoScope.Modules.Instances
{
Severity: Minor
Found in MemoScope/Modules/Instances/InstancesCommand.cs and 1 other location - About 55 mins to fix
MemoScope/Modules/Instances/TypeInstancesCommand.cs on lines 1..19

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both 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 2 locations. Consider refactoring.
Open

            if (aliasIndex >= 0)
            {
                var typeAlias = typeAliases[aliasIndex];
                var colors = new Tuple<Color, Color>(typeAlias.BackColor, typeAlias.ForeColor);
                colorCache[res] = colors;
Severity: Minor
Found in MemoScope/Core/Helpers/TypeHelpers.cs and 1 other location - About 50 mins to fix
MemoScope/Core/Helpers/TypeHelpers.cs on lines 76..82

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 82.

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

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

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

See codeclimate-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( aliasIndex >=0 )
                {
                    var typeAlias = typeAliases[aliasIndex];
                    var colors = new Tuple<Color, Color>(typeAlias.BackColor, typeAlias.ForeColor);
                    colorCache[typeName] = colors;
Severity: Minor
Found in MemoScope/Core/Helpers/TypeHelpers.cs and 1 other location - About 50 mins to fix
MemoScope/Core/Helpers/TypeHelpers.cs on lines 112..118

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 82.

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

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

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

See codeclimate-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

        protected override bool SymFindFileInPath(IntPtr hProcess, string searchPath, string filename, uint id, uint two, uint three, uint flags, StringBuilder filePath, IntPtr callback, IntPtr context)
        {
            return SymFindFileInPath64(hProcess, searchPath, filename, id, two, three, flags, filePath, callback, context);
        }
Severity: Minor
Found in MemoScope/Core/Dac/DacFinder64.cs and 1 other location - About 45 mins to fix
MemoScope/Core/Dac/DacFinder32.cs on lines 39..42

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 74.

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

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

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ 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