valor-software/ng2-bootstrap

View on GitHub
demo/src/ng-api-doc.ts

Summary

Maintainability
F
3 wks
Test Coverage

File ng-api-doc.ts has 3264 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/* tslint:disable */
export const ngdoc: any = {
  "AccordionPanelComponent": {
    "fileName": "src/accordion/accordion-group.component.ts",
    "className": "AccordionPanelComponent",
Severity: Major
Found in demo/src/ng-api-doc.ts - About 1 wk to fix

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

      "BsDaterangepickerDirective": {
        "fileName": "src/datepicker/bs-daterangepicker.component.ts",
        "className": "BsDaterangepickerDirective",
        "description": "",
        "selector": "[bsDaterangepicker]",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 2 days to fix
    demo/src/ng-api-doc.ts on lines 672..775

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 373.

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

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

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

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

      "BsDatepickerDirective": {
        "fileName": "src/datepicker/bs-datepicker.component.ts",
        "className": "BsDatepickerDirective",
        "description": "",
        "selector": "[bsDatepicker]",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 2 days to fix
    demo/src/ng-api-doc.ts on lines 822..925

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 373.

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

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

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

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

      "PagerComponent": {
        "fileName": "src/pagination/pager.component.ts",
        "className": "PagerComponent",
        "description": "",
        "selector": "pager",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 1 day to fix
    demo/src/ng-api-doc.ts on lines 2126..2210

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 295.

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

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

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

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

      "PaginationComponent": {
        "fileName": "src/pagination/pagination.component.ts",
        "className": "PaginationComponent",
        "description": "",
        "selector": "pagination",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 1 day to fix
    demo/src/ng-api-doc.ts on lines 2034..2118

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 295.

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

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

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

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

      "PositioningOptions": {
        "fileName": "src/positioning/positioning.service.ts",
        "className": "PositioningOptions",
        "description": "",
        "methods": [],
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 5 hrs to fix
    demo/src/ng-api-doc.ts on lines 1904..1946

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 152.

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

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

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

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

      "ModalOptions": {
        "fileName": "src/modal/modal-options.class.ts",
        "className": "ModalOptions",
        "description": "",
        "methods": [],
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 5 hrs to fix
    demo/src/ng-api-doc.ts on lines 2350..2392

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 152.

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

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

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

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

      "BsMonthCalendarViewComponent": {
        "fileName": "src/datepicker/themes/bs/bs-months-calendar-view.component.ts",
        "className": "BsMonthCalendarViewComponent",
        "description": "",
        "selector": "bs-month-calendar-view",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 4 hrs to fix
    demo/src/ng-api-doc.ts on lines 1625..1657

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 115.

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

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

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

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

      "BsYearsCalendarViewComponent": {
        "fileName": "src/datepicker/themes/bs/bs-years-calendar-view.component.ts",
        "className": "BsYearsCalendarViewComponent",
        "description": "",
        "selector": "bs-years-calendar-view",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 4 hrs to fix
    demo/src/ng-api-doc.ts on lines 1582..1614

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 115.

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

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

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

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

      "TooltipConfig": {
        "fileName": "src/tooltip/tooltip.config.ts",
        "className": "TooltipConfig",
        "description": "<p>Default values provider for tooltip </p>\n",
        "methods": [],
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 2 hrs to fix
    demo/src/ng-api-doc.ts on lines 2239..2263

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 94.

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

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

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

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

      "PopoverConfig": {
        "fileName": "src/popover/popover.config.ts",
        "className": "PopoverConfig",
        "description": "<p>Configuration service for the Popover directive.\nYou can inject this service, typically in your root component, and customize\nthe values of its properties in order to provide default values for all the\npopovers used in the application.</p>\n",
        "methods": [],
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 2 hrs to fix
    demo/src/ng-api-doc.ts on lines 2958..2982

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 94.

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

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

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

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

        "inputs": [
          {
            "name": "animate",
            "type": "boolean",
            "description": "<p>if <code>true</code> changing value of progress bar will be animated</p>\n"
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 2 hrs to fix
    demo/src/ng-api-doc.ts on lines 214..240

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 91.

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

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

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

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

        "inputs": [
          {
            "name": "activeSlide",
            "type": "number",
            "description": "<p>Index of currently displayed slide(started for 0) </p>\n"
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 2 hrs to fix
    demo/src/ng-api-doc.ts on lines 2426..2452

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 91.

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

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

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

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

    Refactorings

    Further Reading

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

      "PopoverContainerComponent": {
        "fileName": "src/popover/popover-container.component.ts",
        "className": "PopoverContainerComponent",
        "description": "",
        "selector": "popover-container",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 2 other locations - About 2 hrs to fix
    demo/src/ng-api-doc.ts on lines 1462..1482
    demo/src/ng-api-doc.ts on lines 2400..2420

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 84.

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

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

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

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

    Refactorings

    Further Reading

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

      "BarComponent": {
        "fileName": "src/progressbar/bar.component.ts",
        "className": "BarComponent",
        "description": "",
        "selector": "bar",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 2 other locations - About 2 hrs to fix
    demo/src/ng-api-doc.ts on lines 1462..1482
    demo/src/ng-api-doc.ts on lines 2218..2238

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 84.

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

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

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

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

    Refactorings

    Further Reading

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

      "BsCustomDatesViewComponent": {
        "fileName": "src/datepicker/themes/bs/bs-custom-dates-view.component.ts",
        "className": "BsCustomDatesViewComponent",
        "description": "",
        "selector": "bs-custom-date-view",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 2 other locations - About 2 hrs to fix
    demo/src/ng-api-doc.ts on lines 2218..2238
    demo/src/ng-api-doc.ts on lines 2400..2420

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 84.

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

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

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

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

    Refactorings

    Further Reading

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

        "methods": [
          {
            "name": "toggle",
            "description": "<p>allows to manually toggle content visibility </p>\n",
            "args": [],
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 2 other locations - About 2 hrs to fix
    demo/src/ng-api-doc.ts on lines 2329..2348
    demo/src/ng-api-doc.ts on lines 3107..3126

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 75.

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

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

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

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

    Refactorings

    Further Reading

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

        "methods": [
          {
            "name": "toggle",
            "description": "<p>Toggles an element’s tooltip. This is considered a “manual” triggering of\nthe tooltip.</p>\n",
            "args": [],
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 2 other locations - About 2 hrs to fix
    demo/src/ng-api-doc.ts on lines 627..646
    demo/src/ng-api-doc.ts on lines 2329..2348

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 75.

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

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

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

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

    Refactorings

    Further Reading

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

        "methods": [
          {
            "name": "show",
            "description": "<p>Opens an element’s popover. This is considered a “manual” triggering of\nthe popover.</p>\n",
            "args": [],
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 2 other locations - About 2 hrs to fix
    demo/src/ng-api-doc.ts on lines 627..646
    demo/src/ng-api-doc.ts on lines 3107..3126

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 75.

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

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

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

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

    Refactorings

    Further Reading

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

        "inputs": [
          {
            "name": "heading",
            "type": "string",
            "description": "<p>Clickable text in accordion&#39;s group header, check <code>accordion heading</code> below for using html in header </p>\n"
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 1 hr to fix
    demo/src/ng-api-doc.ts on lines 183..204

    Duplicated Code

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

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

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

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

        "inputs": [
          {
            "name": "btnRadio",
            "type": "any",
            "description": "<p>Radio button value, will be set to <code>ngModel</code> </p>\n"
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 1 hr to fix
    demo/src/ng-api-doc.ts on lines 8..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 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

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

      "NgTranscludeDirective": {
        "fileName": "src/tabs/ng-transclude.directive.ts",
        "className": "NgTranscludeDirective",
        "description": "",
        "selector": "[ngTransclude]",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 3 other locations - About 1 hr to fix
    demo/src/ng-api-doc.ts on lines 39..54
    demo/src/ng-api-doc.ts on lines 1439..1454
    demo/src/ng-api-doc.ts on lines 1493..1508

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 67.

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

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

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

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

    Refactorings

    Further Reading

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

      "AccordionComponent": {
        "fileName": "src/accordion/accordion.component.ts",
        "className": "AccordionComponent",
        "description": "<p>Displays collapsible content panels for presenting information in a limited amount of space. </p>\n",
        "selector": "accordion",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 3 other locations - About 1 hr to fix
    demo/src/ng-api-doc.ts on lines 1439..1454
    demo/src/ng-api-doc.ts on lines 1493..1508
    demo/src/ng-api-doc.ts on lines 2611..2626

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 67.

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

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

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

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

    Refactorings

    Further Reading

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

      "BsDatepickerDayDecoratorComponent": {
        "fileName": "src/datepicker/themes/bs/bs-datepicker-day-decorator.directive.ts",
        "className": "BsDatepickerDayDecoratorComponent",
        "description": "",
        "selector": "[bsDatepickerDayDecorator]",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 3 other locations - About 1 hr to fix
    demo/src/ng-api-doc.ts on lines 39..54
    demo/src/ng-api-doc.ts on lines 1439..1454
    demo/src/ng-api-doc.ts on lines 2611..2626

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 67.

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

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

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

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

    Refactorings

    Further Reading

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

      "BsCurrentDateViewComponent": {
        "fileName": "src/datepicker/themes/bs/bs-current-date-view.component.ts",
        "className": "BsCurrentDateViewComponent",
        "description": "",
        "selector": "bs-current-date",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 3 other locations - About 1 hr to fix
    demo/src/ng-api-doc.ts on lines 39..54
    demo/src/ng-api-doc.ts on lines 1493..1508
    demo/src/ng-api-doc.ts on lines 2611..2626

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 67.

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

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

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

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

    Refactorings

    Further Reading

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

      "TabsetConfig": {
        "fileName": "src/tabs/tabset.config.ts",
        "className": "TabsetConfig",
        "description": "",
        "methods": [],
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 2 other locations - About 1 hr to fix
    demo/src/ng-api-doc.ts on lines 55..68
    demo/src/ng-api-doc.ts on lines 1707..1720

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 55.

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

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

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

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

      "BsDropdownMenuDirective": {
        "fileName": "src/dropdown/bs-dropdown-menu.directive.ts",
        "className": "BsDropdownMenuDirective",
        "description": "",
        "selector": "[bsDropdownMenu],[dropdownMenu]",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 1 hr to fix
    demo/src/ng-api-doc.ts on lines 1696..1706

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 55.

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

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

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

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

    Refactorings

    Further Reading

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

      "BsDropdownConfig": {
        "fileName": "src/dropdown/bs-dropdown.config.ts",
        "className": "BsDropdownConfig",
        "description": "<p>Default dropdown configuration </p>\n",
        "methods": [],
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 2 other locations - About 1 hr to fix
    demo/src/ng-api-doc.ts on lines 55..68
    demo/src/ng-api-doc.ts on lines 2717..2730

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 55.

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

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

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

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

    Refactorings

    Further Reading

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

      "AccordionConfig": {
        "fileName": "src/accordion/accordion.config.ts",
        "className": "AccordionConfig",
        "description": "<p>Configuration service, provides default values for the AccordionComponent.</p>\n",
        "methods": [],
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 2 other locations - About 1 hr to fix
    demo/src/ng-api-doc.ts on lines 1707..1720
    demo/src/ng-api-doc.ts on lines 2717..2730

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 55.

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

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

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

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

      "BsDropdownToggleDirective": {
        "fileName": "src/dropdown/bs-dropdown-toggle.directive.ts",
        "className": "BsDropdownToggleDirective",
        "description": "",
        "selector": "[bsDropdownToggle],[dropdownToggle]",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 1 other location - About 1 hr to fix
    demo/src/ng-api-doc.ts on lines 1685..1695

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 55.

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

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

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

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

    Refactorings

    Further Reading

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

      "BsDatepickerContainerComponent": {
        "fileName": "src/datepicker/themes/bs/bs-datepicker-container.component.ts",
        "className": "BsDatepickerContainerComponent",
        "description": "",
        "selector": "bs-datepicker-container",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "BsTimepickerViewComponent": {
        "fileName": "src/datepicker/themes/bs/bs-timepicker-view.component.ts",
        "className": "BsTimepickerViewComponent",
        "description": "",
        "selector": "bs-timepicker",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "BsCalendarLayoutComponent": {
        "fileName": "src/datepicker/themes/bs/bs-calendar-layout.component.ts",
        "className": "BsCalendarLayoutComponent",
        "description": "",
        "selector": "bs-calendar-layout",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "BsDaterangepickerContainerComponent": {
        "fileName": "src/datepicker/themes/bs/bs-daterangepicker-container.component.ts",
        "className": "BsDaterangepickerContainerComponent",
        "description": "",
        "selector": "bs-daterangepicker-container",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "MonthPickerComponent": {
        "fileName": "src/datepicker/monthpicker.component.ts",
        "className": "MonthPickerComponent",
        "description": "",
        "selector": "monthpicker",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "BsDaterangepickerInputDirective": {
        "fileName": "src/datepicker/bs-daterangepicker-input.directive.ts",
        "className": "BsDaterangepickerInputDirective",
        "description": "",
        "selector": "input[bsDaterangepicker]",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "YearPickerComponent": {
        "fileName": "src/datepicker/yearpicker.component.ts",
        "className": "YearPickerComponent",
        "description": "",
        "selector": "yearpicker",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "TabHeadingDirective": {
        "fileName": "src/tabs/tab-heading.directive.ts",
        "className": "TabHeadingDirective",
        "description": "<p>Should be used to mark <ng-template> element as a template for tab heading </p>\n",
        "selector": "[tabHeading]",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "ModalContainerComponent": {
        "fileName": "src/modal/modal-container.component.ts",
        "className": "ModalContainerComponent",
        "description": "",
        "selector": "modal-container",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "ButtonRadioGroupDirective": {
        "fileName": "src/buttons/button-radio-group.directive.ts",
        "className": "ButtonRadioGroupDirective",
        "description": "<p>A group of radio buttons.\nA value of a selected button is bound to a variable specified via ngModel.</p>\n",
        "selector": "[btnRadioGroup]",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "TypeaheadContainerComponent": {
        "fileName": "src/typeahead/typeahead-container.component.ts",
        "className": "TypeaheadContainerComponent",
        "description": "",
        "selector": "typeahead-container",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "BsDatepickerInputDirective": {
        "fileName": "src/datepicker/bs-datepicker-input.directive.ts",
        "className": "BsDatepickerInputDirective",
        "description": "",
        "selector": "input[bsDatepicker]",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "TooltipContainerComponent": {
        "fileName": "src/tooltip/tooltip-container.component.ts",
        "className": "TooltipContainerComponent",
        "description": "",
        "selector": "bs-tooltip-container",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "BsDropdownContainerComponent": {
        "fileName": "src/dropdown/bs-dropdown-container.component.ts",
        "className": "BsDropdownContainerComponent",
        "description": "",
        "selector": "bs-dropdown-container",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "ModalBackdropComponent": {
        "fileName": "src/modal/modal-backdrop.component.ts",
        "className": "ModalBackdropComponent",
        "description": "<p>This component will be added as background layout for modals if enabled </p>\n",
        "selector": "bs-modal-backdrop",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1228..1237
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

    Refactorings

    Further Reading

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

      "DayPickerComponent": {
        "fileName": "src/datepicker/daypicker.component.ts",
        "className": "DayPickerComponent",
        "description": "",
        "selector": "daypicker",
    Severity: Major
    Found in demo/src/ng-api-doc.ts and 15 other locations - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 168..177
    demo/src/ng-api-doc.ts on lines 662..671
    demo/src/ng-api-doc.ts on lines 812..821
    demo/src/ng-api-doc.ts on lines 1357..1366
    demo/src/ng-api-doc.ts on lines 1429..1438
    demo/src/ng-api-doc.ts on lines 1483..1492
    demo/src/ng-api-doc.ts on lines 1534..1543
    demo/src/ng-api-doc.ts on lines 1615..1624
    demo/src/ng-api-doc.ts on lines 1665..1674
    demo/src/ng-api-doc.ts on lines 1675..1684
    demo/src/ng-api-doc.ts on lines 1884..1893
    demo/src/ng-api-doc.ts on lines 1894..1903
    demo/src/ng-api-doc.ts on lines 2627..2636
    demo/src/ng-api-doc.ts on lines 2948..2957
    demo/src/ng-api-doc.ts on lines 3128..3137

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

        "inputs": [
          {
            "name": "btnCheckboxFalse",
            "defaultValue": "false",
            "type": "any",
    Severity: Minor
    Found in demo/src/ng-api-doc.ts and 1 other location - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 2462..2475

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

        "properties": [
          {
            "name": "animate",
            "defaultValue": "false",
            "type": "Boolean",
    Severity: Minor
    Found in demo/src/ng-api-doc.ts and 1 other location - About 45 mins to fix
    demo/src/ng-api-doc.ts on lines 150..163

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 50.

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

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

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

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

          {
            "name": "show",
            "description": "<p>Shows a modal </p>\n",
            "args": [
              {
    Severity: Minor
    Found in demo/src/ng-api-doc.ts and 1 other location - About 35 mins to fix
    demo/src/ng-api-doc.ts on lines 339..353

    Duplicated Code

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

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

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

          {
            "name": "findNextSlideIndex",
            "description": "<p>Defines next slide index, depending of direction</p>\n",
            "args": [
              {
    Severity: Minor
    Found in demo/src/ng-api-doc.ts and 1 other location - About 35 mins to fix
    demo/src/ng-api-doc.ts on lines 1860..1874

    Duplicated Code

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

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

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

    There are no issues that match your filters.

    Category
    Status