teco-kit/PointAndControl

View on GitHub

Showing 77 of 172 total issues

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

        public Presenter(String name, String id, String path, List<Ball> form)
            : base(name, id, path, form)
        {
            String[] ipAndPort = splitPathToIPAndPort();
            connection = new Http(Convert.ToInt32(ipAndPort[1]), ipAndPort[0]);
Severity: Major
Found in IGS/Devices/Presenter.cs and 4 other locations - About 1 hr to fix
IGS/Devices/Beamer.cs on lines 18..25
IGS/Devices/Boxee.cs on lines 28..35
IGS/Devices/Kodi.cs on lines 25..33
IGS/Devices/XBMCv11.cs on lines 35..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 109.

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

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

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

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

Refactorings

Further Reading

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

            public XBMCv11(String name, String id, String path, List<Ball> form)
                : base(name, id, path, form)
            {
                String[] ipAndPort = splitPathToIPAndPort();
                connection = new Http(Convert.ToInt32(ipAndPort[1]), ipAndPort[0]);
Severity: Major
Found in IGS/Devices/XBMCv11.cs and 4 other locations - About 1 hr to fix
IGS/Devices/Beamer.cs on lines 18..25
IGS/Devices/Boxee.cs on lines 28..35
IGS/Devices/Kodi.cs on lines 25..33
IGS/Devices/Presenter.cs on lines 22..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 109.

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

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

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

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

Refactorings

Further Reading

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

        public Beamer(String name, String id, String path, List<Ball> form)
            : base(name, id, path, form)
        {
            String[] ipAndPort = splitPathToIPAndPort();
            connection = new Http(Convert.ToInt32(ipAndPort[1]), ipAndPort[0]);
Severity: Major
Found in IGS/Devices/Beamer.cs and 4 other locations - About 1 hr to fix
IGS/Devices/Boxee.cs on lines 28..35
IGS/Devices/Kodi.cs on lines 25..33
IGS/Devices/Presenter.cs on lines 22..29
IGS/Devices/XBMCv11.cs on lines 35..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 109.

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

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

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

            for (int i = 15; i < 19; i++)
            {
                boneListsList[bodyNr].Add(createBones(pList[i], pList[i + 1]));
                skelList[bodyNr].Children.Add(boneListsList[bodyNr][i]);
            }
Severity: Major
Found in IGS/Room3DView.xaml.cs and 3 other locations - About 1 hr to fix
IGS/Room3DView.xaml.cs on lines 639..644
IGS/Room3DView.xaml.cs on lines 645..649
IGS/Room3DView.xaml.cs on lines 659..663

Duplicated Code

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

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

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

Tuning

This issue has a mass of 103.

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

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

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

            for (int i = 0; i < 4; i++)
            {
                boneListsList[bodyNr].Add(createBones(pList[i], pList[i + 1]));
                skelList[bodyNr].Children.Add(boneListsList[bodyNr][i]);
Severity: Major
Found in IGS/Room3DView.xaml.cs and 3 other locations - About 1 hr to fix
IGS/Room3DView.xaml.cs on lines 645..649
IGS/Room3DView.xaml.cs on lines 659..663
IGS/Room3DView.xaml.cs on lines 665..669

Duplicated Code

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

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

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

Tuning

This issue has a mass of 103.

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

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

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

            for (int i = 11; i < 15; i++)
            {
                boneListsList[bodyNr].Add(createBones(pList[i], pList[i + 1]));
                skelList[bodyNr].Children.Add(boneListsList[bodyNr][i]);
            }
Severity: Major
Found in IGS/Room3DView.xaml.cs and 3 other locations - About 1 hr to fix
IGS/Room3DView.xaml.cs on lines 639..644
IGS/Room3DView.xaml.cs on lines 645..649
IGS/Room3DView.xaml.cs on lines 665..669

Duplicated Code

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

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

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

Tuning

This issue has a mass of 103.

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

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

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

            for (int i = 4; i < 8; i++)
            {
                boneListsList[bodyNr].Add(createBones(pList[i], pList[i + 1]));
                skelList[bodyNr].Children.Add(boneListsList[bodyNr][i]);
            }
Severity: Major
Found in IGS/Room3DView.xaml.cs and 3 other locations - About 1 hr to fix
IGS/Room3DView.xaml.cs on lines 639..644
IGS/Room3DView.xaml.cs on lines 659..663
IGS/Room3DView.xaml.cs on lines 665..669

Duplicated Code

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

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

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

Tuning

This issue has a mass of 103.

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

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

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

See codeclimate-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 WallProjectionAndPositionSample(WallProjectionSample wps, Point3D personPosition, string deviceIdentifier)
        {
            this.wallPositionX = wps.x;
            this.wallPositionY = wps.y;
            this.wallPositionZ = wps.z;
Severity: Major
Found in IGS/Classifier/WallProjectionAndPositionSample.cs and 1 other location - About 1 hr to fix
IGS/Classifier/WallProjectionAndPositionSample.cs on lines 44..53

Duplicated Code

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

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

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

Tuning

This issue has a mass of 93.

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

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

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

See codeclimate-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 WallProjectionAndPositionSample(Point3D wallPosition, Point3D personPosition, string deviceIdentifier)
        {
            this.wallPositionX = wallPosition.X;
            this.wallPositionY = wallPosition.Y;
            this.wallPositionZ = wallPosition.Z;
Severity: Major
Found in IGS/Classifier/WallProjectionAndPositionSample.cs and 1 other location - About 1 hr to fix
IGS/Classifier/WallProjectionAndPositionSample.cs on lines 55..64

Duplicated Code

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

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

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

Tuning

This issue has a mass of 93.

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

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

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

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

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute("plugwise")]
        public string PWPath {
            get {
Severity: Major
Found in IGS/Properties/Settings.Designer.cs and 11 other locations - About 1 hr to fix
IGS/Properties/Settings.Designer.cs on lines 26..36
IGS/Properties/Settings.Designer.cs on lines 38..48
IGS/Properties/Settings.Designer.cs on lines 62..72
IGS/Properties/Settings.Designer.cs on lines 74..84
IGS/Properties/Settings.Designer.cs on lines 86..96
IGS/Properties/Settings.Designer.cs on lines 98..108
IGS/Properties/Settings.Designer.cs on lines 110..120
IGS/Properties/Settings.Designer.cs on lines 122..132
IGS/Properties/Settings.Designer.cs on lines 134..144
IGS/Properties/Settings.Designer.cs on lines 146..156
IGS/Properties/Settings.Designer.cs on lines 158..168

Duplicated Code

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

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

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

Tuning

This issue has a mass of 92.

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

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

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

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

Refactorings

Further Reading

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

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute("6.35")]
        public double RoomWidth {
            get {
Severity: Major
Found in IGS/Properties/Settings.Designer.cs and 11 other locations - About 1 hr to fix
IGS/Properties/Settings.Designer.cs on lines 26..36
IGS/Properties/Settings.Designer.cs on lines 38..48
IGS/Properties/Settings.Designer.cs on lines 50..60
IGS/Properties/Settings.Designer.cs on lines 74..84
IGS/Properties/Settings.Designer.cs on lines 86..96
IGS/Properties/Settings.Designer.cs on lines 98..108
IGS/Properties/Settings.Designer.cs on lines 110..120
IGS/Properties/Settings.Designer.cs on lines 122..132
IGS/Properties/Settings.Designer.cs on lines 134..144
IGS/Properties/Settings.Designer.cs on lines 146..156
IGS/Properties/Settings.Designer.cs on lines 158..168

Duplicated Code

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

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

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

Tuning

This issue has a mass of 92.

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

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

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

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

Refactorings

Further Reading

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

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute("129.13.170.9")]
        public string PWHost {
            get {
Severity: Major
Found in IGS/Properties/Settings.Designer.cs and 11 other locations - About 1 hr to fix
IGS/Properties/Settings.Designer.cs on lines 38..48
IGS/Properties/Settings.Designer.cs on lines 50..60
IGS/Properties/Settings.Designer.cs on lines 62..72
IGS/Properties/Settings.Designer.cs on lines 74..84
IGS/Properties/Settings.Designer.cs on lines 86..96
IGS/Properties/Settings.Designer.cs on lines 98..108
IGS/Properties/Settings.Designer.cs on lines 110..120
IGS/Properties/Settings.Designer.cs on lines 122..132
IGS/Properties/Settings.Designer.cs on lines 134..144
IGS/Properties/Settings.Designer.cs on lines 146..156
IGS/Properties/Settings.Designer.cs on lines 158..168

Duplicated Code

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

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

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

Tuning

This issue has a mass of 92.

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

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

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

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

Refactorings

Further Reading

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

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute("5000")]
        public string PWPort {
            get {
Severity: Major
Found in IGS/Properties/Settings.Designer.cs and 11 other locations - About 1 hr to fix
IGS/Properties/Settings.Designer.cs on lines 26..36
IGS/Properties/Settings.Designer.cs on lines 50..60
IGS/Properties/Settings.Designer.cs on lines 62..72
IGS/Properties/Settings.Designer.cs on lines 74..84
IGS/Properties/Settings.Designer.cs on lines 86..96
IGS/Properties/Settings.Designer.cs on lines 98..108
IGS/Properties/Settings.Designer.cs on lines 110..120
IGS/Properties/Settings.Designer.cs on lines 122..132
IGS/Properties/Settings.Designer.cs on lines 134..144
IGS/Properties/Settings.Designer.cs on lines 146..156
IGS/Properties/Settings.Designer.cs on lines 158..168

Duplicated Code

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

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

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

Tuning

This issue has a mass of 92.

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

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

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

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

Refactorings

Further Reading

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

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute("0.3")]
        public double KinectPosZ {
            get {
Severity: Major
Found in IGS/Properties/Settings.Designer.cs and 11 other locations - About 1 hr to fix
IGS/Properties/Settings.Designer.cs on lines 26..36
IGS/Properties/Settings.Designer.cs on lines 38..48
IGS/Properties/Settings.Designer.cs on lines 50..60
IGS/Properties/Settings.Designer.cs on lines 62..72
IGS/Properties/Settings.Designer.cs on lines 74..84
IGS/Properties/Settings.Designer.cs on lines 86..96
IGS/Properties/Settings.Designer.cs on lines 98..108
IGS/Properties/Settings.Designer.cs on lines 110..120
IGS/Properties/Settings.Designer.cs on lines 134..144
IGS/Properties/Settings.Designer.cs on lines 146..156
IGS/Properties/Settings.Designer.cs on lines 158..168

Duplicated Code

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

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

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

Tuning

This issue has a mass of 92.

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

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

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

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

Refactorings

Further Reading

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

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute("-8")]
        public double KinectTiltAngle {
            get {
Severity: Major
Found in IGS/Properties/Settings.Designer.cs and 11 other locations - About 1 hr to fix
IGS/Properties/Settings.Designer.cs on lines 26..36
IGS/Properties/Settings.Designer.cs on lines 38..48
IGS/Properties/Settings.Designer.cs on lines 50..60
IGS/Properties/Settings.Designer.cs on lines 62..72
IGS/Properties/Settings.Designer.cs on lines 74..84
IGS/Properties/Settings.Designer.cs on lines 86..96
IGS/Properties/Settings.Designer.cs on lines 98..108
IGS/Properties/Settings.Designer.cs on lines 110..120
IGS/Properties/Settings.Designer.cs on lines 122..132
IGS/Properties/Settings.Designer.cs on lines 146..156
IGS/Properties/Settings.Designer.cs on lines 158..168

Duplicated Code

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

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

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

Tuning

This issue has a mass of 92.

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

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

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

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

Refactorings

Further Reading

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

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute("C:\\\\Program Files (x86)\\\\Kodi\\\\Kodi.exe")]
        public string KodiPath {
            get {
Severity: Major
Found in IGS/Properties/Settings.Designer.cs and 11 other locations - About 1 hr to fix
IGS/Properties/Settings.Designer.cs on lines 26..36
IGS/Properties/Settings.Designer.cs on lines 38..48
IGS/Properties/Settings.Designer.cs on lines 50..60
IGS/Properties/Settings.Designer.cs on lines 62..72
IGS/Properties/Settings.Designer.cs on lines 74..84
IGS/Properties/Settings.Designer.cs on lines 86..96
IGS/Properties/Settings.Designer.cs on lines 98..108
IGS/Properties/Settings.Designer.cs on lines 110..120
IGS/Properties/Settings.Designer.cs on lines 122..132
IGS/Properties/Settings.Designer.cs on lines 134..144
IGS/Properties/Settings.Designer.cs on lines 146..156

Duplicated Code

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

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

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

Tuning

This issue has a mass of 92.

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

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

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

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

Refactorings

Further Reading

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

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute("2.7")]
        public double RoomHeight {
            get {
Severity: Major
Found in IGS/Properties/Settings.Designer.cs and 11 other locations - About 1 hr to fix
IGS/Properties/Settings.Designer.cs on lines 26..36
IGS/Properties/Settings.Designer.cs on lines 38..48
IGS/Properties/Settings.Designer.cs on lines 50..60
IGS/Properties/Settings.Designer.cs on lines 62..72
IGS/Properties/Settings.Designer.cs on lines 86..96
IGS/Properties/Settings.Designer.cs on lines 98..108
IGS/Properties/Settings.Designer.cs on lines 110..120
IGS/Properties/Settings.Designer.cs on lines 122..132
IGS/Properties/Settings.Designer.cs on lines 134..144
IGS/Properties/Settings.Designer.cs on lines 146..156
IGS/Properties/Settings.Designer.cs on lines 158..168

Duplicated Code

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

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

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

Tuning

This issue has a mass of 92.

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

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

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

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

Refactorings

Further Reading

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

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute("0")]
        public double KinectHorizontalAngle {
            get {
Severity: Major
Found in IGS/Properties/Settings.Designer.cs and 11 other locations - About 1 hr to fix
IGS/Properties/Settings.Designer.cs on lines 26..36
IGS/Properties/Settings.Designer.cs on lines 38..48
IGS/Properties/Settings.Designer.cs on lines 50..60
IGS/Properties/Settings.Designer.cs on lines 62..72
IGS/Properties/Settings.Designer.cs on lines 74..84
IGS/Properties/Settings.Designer.cs on lines 86..96
IGS/Properties/Settings.Designer.cs on lines 98..108
IGS/Properties/Settings.Designer.cs on lines 110..120
IGS/Properties/Settings.Designer.cs on lines 122..132
IGS/Properties/Settings.Designer.cs on lines 134..144
IGS/Properties/Settings.Designer.cs on lines 158..168

Duplicated Code

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

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

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

Tuning

This issue has a mass of 92.

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

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

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

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

Refactorings

Further Reading

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

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute("5.58")]
        public double RoomDepth {
            get {
Severity: Major
Found in IGS/Properties/Settings.Designer.cs and 11 other locations - About 1 hr to fix
IGS/Properties/Settings.Designer.cs on lines 26..36
IGS/Properties/Settings.Designer.cs on lines 38..48
IGS/Properties/Settings.Designer.cs on lines 50..60
IGS/Properties/Settings.Designer.cs on lines 62..72
IGS/Properties/Settings.Designer.cs on lines 74..84
IGS/Properties/Settings.Designer.cs on lines 98..108
IGS/Properties/Settings.Designer.cs on lines 110..120
IGS/Properties/Settings.Designer.cs on lines 122..132
IGS/Properties/Settings.Designer.cs on lines 134..144
IGS/Properties/Settings.Designer.cs on lines 146..156
IGS/Properties/Settings.Designer.cs on lines 158..168

Duplicated Code

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

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

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

Tuning

This issue has a mass of 92.

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

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

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

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

Refactorings

Further Reading

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

        [global::System.Configuration.UserScopedSettingAttribute()]
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.Configuration.DefaultSettingValueAttribute("1.8")]
        public double KinectPosY {
            get {
Severity: Major
Found in IGS/Properties/Settings.Designer.cs and 11 other locations - About 1 hr to fix
IGS/Properties/Settings.Designer.cs on lines 26..36
IGS/Properties/Settings.Designer.cs on lines 38..48
IGS/Properties/Settings.Designer.cs on lines 50..60
IGS/Properties/Settings.Designer.cs on lines 62..72
IGS/Properties/Settings.Designer.cs on lines 74..84
IGS/Properties/Settings.Designer.cs on lines 86..96
IGS/Properties/Settings.Designer.cs on lines 98..108
IGS/Properties/Settings.Designer.cs on lines 122..132
IGS/Properties/Settings.Designer.cs on lines 134..144
IGS/Properties/Settings.Designer.cs on lines 146..156
IGS/Properties/Settings.Designer.cs on lines 158..168

Duplicated Code

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

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

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

Tuning

This issue has a mass of 92.

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

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

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

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

Refactorings

Further Reading

Severity
Category
Status
Source
Language