arastta/arastta

View on GitHub
system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php

Summary

Maintainability
F
1 mo
Test Coverage

File dejavusanscondensedB.mtx.php has 3666 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
$name='DejaVuSansCondensed-Bold';
$type='TTF';
$desc=array (
  'CapHeight' => 729,
Severity: Major
Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php - About 1 wk to fix

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

      42788 => 
      array (
        44 => -142,
        45 => -146,
        46 => -151,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 1 other location - About 1 day to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2130..2188

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

    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

      84 => 
      array (
        44 => -142,
        45 => -146,
        46 => -151,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 1 other location - About 1 day to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 3465..3523

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

    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

      75 => 
      array (
        45 => -86,
        67 => -44,
        79 => -44,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 1 other location - About 1 day to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 3524..3570

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

    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

      42816 => 
      array (
        45 => -86,
        67 => -44,
        79 => -44,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 1 other location - About 1 day to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 1984..2030

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

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

      65 => 
      array (
        44 => 18,
        46 => 18,
        58 => 18,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 7 other locations - About 1 day to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2427..2469
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2470..2512
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2513..2555
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2556..2598
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2599..2641
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2910..2952
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2953..2995

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

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

      194 => 
      array (
        44 => 18,
        46 => 18,
        58 => 18,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 7 other locations - About 1 day to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 1817..1859
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2427..2469
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2470..2512
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2556..2598
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2599..2641
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2910..2952
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2953..2995

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

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

      192 => 
      array (
        44 => 18,
        46 => 18,
        58 => 18,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 7 other locations - About 1 day to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 1817..1859
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2470..2512
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2513..2555
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2556..2598
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2599..2641
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2910..2952
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2953..2995

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

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

      195 => 
      array (
        44 => 18,
        46 => 18,
        58 => 18,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 7 other locations - About 1 day to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 1817..1859
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2427..2469
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2470..2512
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2513..2555
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2599..2641
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2910..2952
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2953..2995

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

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

      193 => 
      array (
        44 => 18,
        46 => 18,
        58 => 18,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 7 other locations - About 1 day to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 1817..1859
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2427..2469
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2513..2555
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2556..2598
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2599..2641
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2910..2952
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2953..2995

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

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

      196 => 
      array (
        44 => 18,
        46 => 18,
        58 => 18,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 7 other locations - About 1 day to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 1817..1859
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2427..2469
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2470..2512
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2513..2555
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2556..2598
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2910..2952
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2953..2995

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

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

      256 => 
      array (
        44 => 18,
        46 => 18,
        58 => 18,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 7 other locations - About 1 day to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 1817..1859
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2427..2469
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2470..2512
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2513..2555
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2556..2598
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2599..2641
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2953..2995

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

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

      258 => 
      array (
        44 => 18,
        46 => 18,
        58 => 18,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 7 other locations - About 1 day to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 1817..1859
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2427..2469
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2470..2512
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2513..2555
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2556..2598
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2599..2641
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2910..2952

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

    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

      313 => 
      array (
        79 => -35,
        84 => -165,
        85 => -35,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 3 other locations - About 5 hrs to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2031..2059
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 3147..3175
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 3180..3208

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

    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

      317 => 
      array (
        79 => -35,
        84 => -165,
        85 => -35,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 3 other locations - About 5 hrs to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2031..2059
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 3118..3146
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 3180..3208

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

    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

      321 => 
      array (
        79 => -35,
        84 => -165,
        85 => -35,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 3 other locations - About 5 hrs to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2031..2059
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 3118..3146
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 3147..3175

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

    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

      76 => 
      array (
        79 => -35,
        84 => -165,
        85 => -35,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 3 other locations - About 5 hrs to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 3118..3146
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 3147..3175
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 3180..3208

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

    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

      107 => 
      array (
        101 => -26,
        111 => -26,
        232 => -26,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 1 other location - About 1 hr to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 3571..3587

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

    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

      42817 => 
      array (
        101 => -26,
        111 => -26,
        232 => -26,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 1 other location - About 1 hr to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2388..2404

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

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

      216 => 
      array (
        44 => -21,
        45 => 18,
        46 => -21,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 6 other locations - About 1 hr to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2060..2076
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2670..2686
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2687..2703
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2704..2720
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2721..2737
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2738..2754

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

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

      210 => 
      array (
        44 => -21,
        45 => 18,
        46 => -21,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 6 other locations - About 1 hr to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2060..2076
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2687..2703
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2704..2720
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2721..2737
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2738..2754
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2755..2771

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

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

      79 => 
      array (
        44 => -21,
        45 => 18,
        46 => -21,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 6 other locations - About 1 hr to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2670..2686
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2687..2703
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2704..2720
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2721..2737
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2738..2754
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2755..2771

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

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

      211 => 
      array (
        44 => -21,
        45 => 18,
        46 => -21,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 6 other locations - About 1 hr to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2060..2076
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2670..2686
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2704..2720
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2721..2737
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2738..2754
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2755..2771

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

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

      212 => 
      array (
        44 => -21,
        45 => 18,
        46 => -21,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 6 other locations - About 1 hr to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2060..2076
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2670..2686
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2687..2703
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2721..2737
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2738..2754
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2755..2771

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

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

      213 => 
      array (
        44 => -21,
        45 => 18,
        46 => -21,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 6 other locations - About 1 hr to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2060..2076
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2670..2686
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2687..2703
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2704..2720
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2738..2754
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2755..2771

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

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

      214 => 
      array (
        44 => -21,
        45 => 18,
        46 => -21,
    Severity: Major
    Found in system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php and 6 other locations - About 1 hr to fix
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2060..2076
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2670..2686
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2687..2703
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2704..2720
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2721..2737
    system/mpdf/ttfontdata/dejavusanscondensedB.mtx.php on lines 2755..2771

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

    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