| Conditions | 1 |
| Paths | 1 |
| Total Lines | 89 |
| Lines | 89 |
| Ratio | 100 % |
| Changes | 0 | ||
Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.
For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.
Commonly applied refactorings include:
If many parameters/temporary variables are present:
| 1 | <?php |
||
| 35 | Declensions::DECLENSION_4 => 'მოჰამმადის', |
||
| 36 | ], |
||
| 37 | ], |
||
| 38 | 'მარქარიან' => [ |
||
| 39 | 'word' => 'მარქარიან', |
||
| 40 | 'turned' => [ |
||
| 41 | Declensions::DECLENSION_3 => 'მარქარიანს', |
||
| 42 | Declensions::DECLENSION_4 => 'მარქარიანის', |
||
| 43 | ], |
||
| 44 | ], |
||
| 45 | 'მენაბდე' => [ |
||
| 46 | 'word' => 'მენაბდე', |
||
| 47 | 'turned' => [ |
||
| 48 | Declensions::DECLENSION_3 => 'მენაბდეს', |
||
| 49 | Declensions::DECLENSION_4 => 'მენაბდის', |
||
| 50 | ], |
||
| 51 | ], |
||
| 52 | 'მაჰდი' => [ |
||
| 53 | 'word' => 'მაჰდი', |
||
| 54 | 'turned' => [ |
||
| 55 | Declensions::DECLENSION_3 => 'მაჰდის', |
||
| 56 | Declensions::DECLENSION_4 => 'მაჰდის', |
||
| 57 | ], |
||
| 58 | ], |
||
| 59 | 'სიჭინავა' => [ |
||
| 60 | 'word' => 'სიჭინავა', |
||
| 61 | 'turned' => [ |
||
| 62 | Declensions::DECLENSION_3 => 'სიჭინავას', |
||
| 63 | Declensions::DECLENSION_4 => 'სიჭინავას', |
||
| 64 | ], |
||
| 65 | ], |
||
| 66 | 'ბარნოვი' => [ |
||
| 67 | 'word' => 'ბარნოვი', |
||
| 68 | 'turned' => [ |
||
| 69 | Declensions::DECLENSION_3 => 'ბარნოვს', |
||
| 70 | Declensions::DECLENSION_4 => 'ბარნოვის', |
||
| 71 | ], |
||
| 72 | ], |
||
| 73 | 'დანელია' => [ |
||
| 74 | 'word' => 'დანელია', |
||
| 75 | 'turned' => [ |
||
| 76 | Declensions::DECLENSION_3 => 'დანელიას', |
||
| 77 | Declensions::DECLENSION_4 => 'დანელიას', |
||
| 78 | ], |
||
| 79 | ], |
||
| 80 | 'ოდინაკა' => [ |
||
| 81 | 'word' => 'ოდინაკა', |
||
| 82 | 'turned' => [ |
||
| 83 | Declensions::DECLENSION_3 => 'ოდინაკას', |
||
| 84 | Declensions::DECLENSION_4 => 'ოდინაკას', |
||
| 85 | ], |
||
| 86 | ], |
||
| 87 | 'კანდელაკი' => [ |
||
| 88 | 'word' => 'კანდელაკი', |
||
| 89 | 'turned' => [ |
||
| 90 | Declensions::DECLENSION_3 => 'კანდელაკს', |
||
| 91 | Declensions::DECLENSION_4 => 'კანდელაკის', |
||
| 92 | ], |
||
| 93 | ], |
||
| 94 | 'ბოიჩენკო' => [ |
||
| 95 | 'word' => 'ბოიჩენკო', |
||
| 96 | 'turned' => [ |
||
| 97 | Declensions::DECLENSION_3 => 'ბოიჩენკოს', |
||
| 98 | Declensions::DECLENSION_4 => 'ბოიჩენკოს', |
||
| 99 | ], |
||
| 100 | ], |
||
| 101 | 'ქევხიშვილი' => [ |
||
| 102 | 'word' => 'ქევხიშვილი', |
||
| 103 | 'turned' => [ |
||
| 104 | Declensions::DECLENSION_3 => 'ქევხიშვილს', |
||
| 105 | Declensions::DECLENSION_4 => 'ქევხიშვილის', |
||
| 106 | ], |
||
| 107 | ], |
||
| 108 | 'გელბახიანი' => [ |
||
| 109 | 'word' => 'გელბახიანი', |
||
| 110 | 'turned' => [ |
||
| 111 | Declensions::DECLENSION_3 => 'გელბახიანს', |
||
| 112 | Declensions::DECLENSION_4 => 'გელბახიანის', |
||
| 113 | ], |
||
| 114 | ], |
||
| 115 | 'თაბაგარი' => [ |
||
| 116 | 'word' => 'თაბაგარი', |
||
| 117 | 'turned' => [ |
||
| 118 | Declensions::DECLENSION_3 => 'თაბაგარს', |
||
| 119 | Declensions::DECLENSION_4 => 'თაბაგარის', |
||
| 120 | ], |
||
| 121 | ], |
||
| 122 | 'მეღვინეთუხუცესი' => [ |
||
| 123 | 'word' => 'მეღვინეთუხუცესი', |
||
| 124 | 'turned' => [ |
||
| 258 |