Created at 2025-11-27 16:01:32 , with PHPMetrics v2.9.1 (Jean-François Lépine).

Percentile distribution of logical lines of code by class

Percentile

Explore

Class LLOC CLOC Volume Intelligent content Comment Weight
SearchApiSubContext 26 44 107.24 27.24 47.09
Drupal\search_api_db\Plugin\search_api\backend\Database 1690 963 39444.64 426.41 40.18
Drupal\search_api_db\Event\QueryPreExecuteEvent 24 43 46.53 15.51 47.31
Drupal\search_api_db\Event\SearchApiDbEvents 5 13 0 0 48.39
Drupal\search_api_db\DatabaseCompatibility\GenericDatabase 39 37 175.76 35.7 44.12
Drupal\search_api_db\DatabaseCompatibility\MySql 90 103 1286.97 101.5 45.26
Drupal\search_api_db\DatabaseCompatibility\CaseSensitiveDatabase 8 6 10 15 42.45
Drupal\search_api_db\DatabaseCompatibility\Pgsql 32 23 199.04 23.32 42.12
Drupal\search_api\Datasource\DatasourcePluginBase 97 90 360.17 80.04 43.97
Drupal\search_api\Datasource\DatasourcePluginManager 16 10 53.15 66.44 40.98
Drupal\search_api\ProxyClass\ParamConverter\SearchApiConverter 28 45 117.62 23.23 46.89
Drupal\search_api\Form\FieldConfigurationForm 109 75 1375.96 255.08 41.78
Drupal\search_api\Form\IndexDeleteConfirmForm 32 29 125.64 55.84 43.82
Drupal\search_api\Form\UnsavedConfigurationFormTrait 27 42 325 82.73 46.76
Drupal\search_api\Form\IndexClearConfirmForm 37 19 266.89 40.03 39.24
Drupal\search_api\Form\IndexRebuildTrackerConfirmForm 29 19 137.06 54.83 41.38
Drupal\search_api\Form\ServerClearConfirmForm 54 30 417.17 60.84 39.96
Drupal\search_api\Form\IndexForm 284 188 6631.23 210.09 41.46
Drupal\search_api\Form\ServerDisableConfirmForm 37 33 156 70.45 43.71
Drupal\search_api\Form\IndexProcessorsForm 195 76 4108.58 203.29 36.57
Drupal\search_api\Form\IndexFieldsForm 218 109 5042.58 381.6 38.99
Drupal\search_api\Form\ReadOnlyFormSubscriber 20 15 77.71 34.54 42.45
Drupal\search_api\Form\IndexBreakLockForm 61 59 520 122.6 44.24
Drupal\search_api\Form\IndexAddFieldsForm 250 214 5506.45 206.09 43.42
Drupal\search_api\Form\IndexStatusForm 118 64 2423.59 145.1 39.74
Drupal\search_api\Form\IndexReindexConfirmForm 41 30 275.94 40.55 42.26
Drupal\search_api\Form\ServerForm 159 92 2750.56 167.54 40.32
Drupal\search_api\Form\ServerDeleteConfirmForm 36 32 140.65 63.05 43.68
Drupal\search_api\Form\ServerStatusForm 48 41 565.54 152.5 43.41
Drupal\search_api\Form\IndexDisableConfirmForm 37 33 156 70.45 43.71
Drupal\search_api\Attribute\SearchApiDataType 7 29 24 48 49.19
Drupal\search_api\Attribute\SearchApiDatasource 7 23 11.61 23.22 48.86
Drupal\search_api\Attribute\SearchApiViewsDisplay 7 24 28.53 57.06 48.93
Drupal\search_api\Attribute\SearchApiDisplay 7 27 24 48 49.1
Drupal\search_api\Attribute\SearchApiParseMode 7 23 11.61 23.22 48.86
Drupal\search_api\Attribute\SearchApiProcessor 7 32 19.65 39.3 49.3
Drupal\search_api\Attribute\SearchApiTracker 7 23 11.61 23.22 48.86
Drupal\search_api\Attribute\SearchApiBackend 7 23 11.61 23.22 48.86
Drupal\search_api\Entity\SearchApiConfigEntityStorage 38 20 322.91 32.8 39.47
Drupal\search_api\Entity\TaskStorageSchema 4 8 0 0 47.68
Drupal\search_api\Entity\Server 342 215 4355.81 177.86 41.03
Drupal\search_api\Entity\Index 1163 788 16806.22 374.67 41.65
Drupal\search_api\Entity\InstallingTrait 9 25 6.34 3.17 48.54
Drupal\search_api\Entity\Task 75 69 682.44 114.9 43.92
Drupal\search_api\Processor\FieldsProcessorPluginBase 284 246 3442.88 110.4 43.51
Drupal\search_api\Processor\ProcessorPluginManager 23 22 116 124.29 44.17
Drupal\search_api\Processor\ConfigurablePropertyBase 27 32 75 23.68 45.45
Drupal\search_api\Processor\EntityProcessorProperty 16 12 30.88 22.06 42.45
Drupal\search_api\Processor\ProcessorProperty 16 12 30.88 22.06 42.45
Drupal\search_api\Processor\ProcessorPluginBase 107 131 808.99 70.17 45.62
Drupal\search_api\ParamConverter\SearchApiConverter 57 45 573.86 69.98 42.84
Drupal\search_api\Plugin\PluginFormTrait 13 27 16 13.71 47.8
Drupal\search_api\Plugin\IndexPluginBase 21 17 69.76 12.31 43.02
Drupal\search_api\Plugin\search_api\datasource\ContentEntity 620 523 8808.45 194.53 43.32
Drupal\search_api\Plugin\search_api\datasource\ContentEntityTaskManager 47 23 421.99 66.98 38.79
Drupal\search_api\Plugin\search_api\datasource\ContentEntityTrackingManager 202 162 2517.33 96.27 42.95
Drupal\search_api\Plugin\search_api\datasource\ContentEntityDeriver 38 37 237.71 46.38 44.29
Drupal\search_api\Plugin\search_api\processor\Stemmer 119 81 1162.32 114.23 41.69
Drupal\search_api\Plugin\search_api\processor\RenderedItem 170 136 2256.76 137.96 42.94
Drupal\search_api\Plugin\search_api\processor\AddURL 26 10 249.12 88.83 36.44
Drupal\search_api\Plugin\search_api\processor\AggregatedFields 78 14 806.44 118.09 28.41
Drupal\search_api\Plugin\search_api\processor\RoleAccess 97 80 979.93 158 43.16
Drupal\search_api\Plugin\search_api\processor\EntityType 29 10 224.66 60.72 35.32
Drupal\search_api\Plugin\search_api\processor\AddHierarchy 180 105 2364.15 145.12 40.39
Drupal\search_api\Plugin\search_api\processor\Property\AddURLProperty 15 11 106.27 47.23 42.28
Drupal\search_api\Plugin\search_api\processor\Property\RenderedItemProperty 41 13 826.57 115.59 34.45
Drupal\search_api\Plugin\search_api\processor\Property\CustomValueProperty 33 13 409.34 90.05 36.68
Drupal\search_api\Plugin\search_api\processor\Property\AggregatedFieldProperty 112 64 2615.85 149.09 40.21
Drupal\search_api\Plugin\search_api\processor\Resources\Zl 8 10 2 4 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Me 8 10 8 8 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Co 8 10 2 4 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Mc 8 10 584.25 584.25 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Po 8 10 744 744 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Sc 8 10 44.38 44.38 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Pi 8 10 8 8 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Pe 8 10 81.41 81.41 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Pd 8 10 20.68 20.68 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Ps 8 10 81.41 81.41 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Pf 8 10 8 8 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Sk 8 10 144.43 144.43 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Pc 8 10 8 8 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\So 8 10 11722.76 11722.76 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Sm 8 10 1933.52 1933.52 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Cf 8 10 189.99 189.99 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Zs 8 10 13.93 13.93 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Porter2 335 242 5503.29 194.77 42.16
Drupal\search_api\Plugin\search_api\processor\Resources\Mn 8 10 2756.49 2756.49 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Zp 8 10 2 4 45.73
Drupal\search_api\Plugin\search_api\processor\Resources\Cc 8 10 71.7 71.7 45.73
Drupal\search_api\Plugin\search_api\processor\ReverseEntityReferences 198 141 2224.06 145.03 42.05
Drupal\search_api\Plugin\search_api\processor\Highlight 490 331 9532.17 183.68 41.63
Drupal\search_api\Plugin\search_api\processor\EntityStatus 37 15 228.4 41.76 36.97
Drupal\search_api\Plugin\search_api\processor\RoleFilter 68 45 833.85 163.29 41.46
Drupal\search_api\Plugin\search_api\processor\Tokenizer 137 124 2880.17 125.65 43.81
Drupal\search_api\Plugin\search_api\processor\Stopwords 71 42 999.07 246.04 40.51
Drupal\search_api\Plugin\search_api\processor\IgnoreCase 17 10 77.71 44.99 40.46
Drupal\search_api\Plugin\search_api\processor\Transliteration 66 76 431.81 60.82 45.29
Drupal\search_api\Plugin\search_api\processor\NumberFieldBoost 75 22 1206 88.26 33.63
Drupal\search_api\Plugin\search_api\processor\IgnoreCharacters 65 43 1739.3 175.36 41.46
Drupal\search_api\Plugin\search_api\processor\TypeBoost 68 21 1212.6 68.88 34.17
Drupal\search_api\Plugin\search_api\processor\LanguageWithFallback 78 71 716.54 100.96 43.85
Drupal\search_api\Plugin\search_api\processor\CustomValue 60 47 710.84 85.95 42.78
Drupal\search_api\Plugin\search_api\processor\ContentAccess 190 111 2259.16 286.61 40.4
Drupal\search_api\Plugin\search_api\processor\HtmlFilter 216 124 4124.9 124.61 40.37
Drupal\search_api\Plugin\search_api\tracker\Basic 4 4 4.75 9.51 44.46
Drupal\search_api\Plugin\search_api\display\ViewsEmbed 4 4 2 4 44.46
Drupal\search_api\Plugin\search_api\display\ViewsBlock 73 74 595.23 65.36 44.54
Drupal\search_api\Plugin\search_api\display\ViewsDisplayBase 48 49 328.47 37.9 44.58
Drupal\search_api\Plugin\search_api\display\ViewsRest 4 4 2 4 44.46
Drupal\search_api\Plugin\search_api\display\ViewsDisplayDeriver 56 32 800.92 62.13 40.21
Drupal\search_api\Plugin\search_api\display\ViewsPage 4 4 2 4 44.46
Drupal\search_api\Plugin\search_api\display\ViewsFeed 4 4 2 4 44.46
Drupal\search_api\Plugin\search_api\data_type\value\TextValue 75 65 293.02 33.57 43.51
Drupal\search_api\Plugin\search_api\data_type\value\TextToken 33 38 72.38 15.24 45.29
Drupal\search_api\Plugin\search_api\data_type\BooleanDataType 8 7 18.09 30.16 43.58
Drupal\search_api\Plugin\search_api\data_type\IntegerDataType 8 7 18.09 30.16 43.58
Drupal\search_api\Plugin\search_api\data_type\DecimalDataType 12 7 58.81 24.13 40.39
Drupal\search_api\Plugin\search_api\data_type\TextDataType 8 16 18.09 30.16 47.68
Drupal\search_api\Plugin\search_api\data_type\StringDataType 8 7 18.09 30.16 43.58
Drupal\search_api\Plugin\search_api\data_type\DateDataType 33 12 260.06 65.01 35.87
Drupal\search_api\Plugin\search_api\parse_mode\Terms 65 17 721.35 47.96 32.42
Drupal\search_api\Plugin\search_api\parse_mode\Phrase 8 7 22.46 38.5 43.58
Drupal\search_api\Plugin\search_api\parse_mode\Complex 171 108 2323.64 50.87 41.07
Drupal\search_api\Plugin\search_api\parse_mode\Direct 8 7 13.93 22.29 43.58
Drupal\search_api\Plugin\HideablePluginBase 8 6 4.75 9.51 42.45
Drupal\search_api\Plugin\DataType\Html 4 8 2 4 47.68
Drupal\search_api\Plugin\DataType\Text 4 11 2 4 48.52
Drupal\search_api\Plugin\ConfigAction\AddDatasourceToIndex 27 18 246.12 41.89 41.52
Drupal\search_api\Plugin\ConfigurablePluginBase 72 100 284.61 32.53 46.25
Drupal\search_api\Plugin\views\join\SearchApiJoin 7 13 8 16 47.43
Drupal\search_api\Plugin\views\sort\SearchApiSort 14 15 33.6 13.44 44.88
Drupal\search_api\Plugin\views\argument\SearchApiFulltext 89 46 1219.54 250.53 39.3
Drupal\search_api\Plugin\views\argument\SearchApiDate 112 59 1332 101.12 39.47
Drupal\search_api\Plugin\views\argument\SearchApiAllTerms 111 57 1452 71.1 39.24
Drupal\search_api\Plugin\views\argument\SearchApiTerm 47 58 253.42 50.33 45.67
Drupal\search_api\Plugin\views\argument\SearchApiStandard 121 46 1799.16 103.51 36.32
Drupal\search_api\Plugin\views\argument\SearchApiMoreLikeThis 49 15 537.51 91.77 34.08
Drupal\search_api\Plugin\views\ResultRow 39 64 312.13 34.68 46.98
Drupal\search_api\Plugin\views\field\SearchApiText 46 16 929.46 97.14 35.41
Drupal\search_api\Plugin\views\field\SearchApiBoolean 5 6 0 0 45.52
Drupal\search_api\Plugin\views\field\SearchApiFieldTrait 558 595 8393.9 158.4 44.85
Drupal\search_api\Plugin\views\field\SearchApiDate 21 24 132 23.23 45.25
Drupal\search_api\Plugin\views\field\SearchApiEntity 181 100 2831.61 129.48 39.91
Drupal\search_api\Plugin\views\field\SearchApiBulkForm 154 104 1964.48 109.78 41.62
Drupal\search_api\Plugin\views\field\SearchApiNumeric 20 15 83.03 23.31 42.45
Drupal\search_api\Plugin\views\field\SearchApiEntityOperations 43 22 307.6 44.29 39.21
Drupal\search_api\Plugin\views\field\SearchApiEntityField 167 100 2193.72 149.76 40.62
Drupal\search_api\Plugin\views\field\SearchApiRenderedItem 87 33 1326 122.7 36.3
Drupal\search_api\Plugin\views\field\SearchApiStandard 10 9 48.43 23.48 43.77
Drupal\search_api\Plugin\views\row\SearchApiDataRow 42 29 236.35 39.2 41.8
Drupal\search_api\Plugin\views\row\SearchApiRow 134 66 2136.81 128.19 38.85
Drupal\search_api\Plugin\views\relationship\SearchApiRelationship 41 37 291.43 95.08 43.79
Drupal\search_api\Plugin\views\EntityFieldRenderer 49 65 269.58 19.26 46.03
Drupal\search_api\Plugin\views\SearchApiHandlerTrait 24 38 69 10.62 46.83
Drupal\search_api\Plugin\views\filter\SearchApiText 13 9 118.03 56.65 41.83
Drupal\search_api\Plugin\views\filter\SearchApiBoolean 5 6 0 0 45.52
Drupal\search_api\Plugin\views\filter\SearchApiString 17 16 276.6 31.92 44.07
Drupal\search_api\Plugin\views\filter\SearchApiFulltext 262 114 5748.14 196.52 37.66
Drupal\search_api\Plugin\views\filter\SearchApiDatasource 18 9 63 15 38.99
Drupal\search_api\Plugin\views\filter\SearchApiDate 76 53 976.73 50.36 41.88
Drupal\search_api\Plugin\views\filter\SearchApiLanguage 24 14 188 25.85 40.39
Drupal\search_api\Plugin\views\filter\SearchApiNumeric 11 17 16.25 9.75 46.73
Drupal\search_api\Plugin\views\filter\SearchApiUser 9 11 338.43 238.33 45.62
Drupal\search_api\Plugin\views\filter\SearchApiOptions 18 12 44.38 11.09 41.52
Drupal\search_api\Plugin\views\filter\SearchApiTerm 5 13 0 0 48.39
Drupal\search_api\Plugin\views\filter\SearchApiFilterTrait 39 35 325.07 32.15 43.75
Drupal\search_api\Plugin\views\query\SearchApiQuery 636 811 8084.61 226.02 45.84
Drupal\search_api\Plugin\views\EntityTranslationRenderer 8 9 10 6.67 45.16
Drupal\search_api\DataType\DataTypePluginManager 49 55 298.78 51.71 45.15
Drupal\search_api\DataType\DataTypePluginBase 30 46 118.03 39.34 46.7
Drupal\search_api\Annotation\SearchApiDataType 9 41 0 0 49.3
Drupal\search_api\Annotation\SearchApiDatasource 7 29 0 0 49.19
Drupal\search_api\Annotation\SearchApiDisplay 9 39 0 0 49.24
Drupal\search_api\Annotation\SearchApiParseMode 7 29 0 0 49.19
Drupal\search_api\Annotation\SearchApiProcessor 8 39 0 0 49.36
Drupal\search_api\Annotation\SearchApiTracker 7 29 0 0 49.19
Drupal\search_api\Annotation\SearchApiBackend 7 29 0 0 49.19
Drupal\search_api\Tracker\TrackerPluginBase 226 155 2179.24 116.48 41.75
Drupal\search_api\Tracker\TrackerPluginManager 24 18 112 62.72 42.45
Drupal\search_api\Backend\BackendPluginBase 169 181 1122.99 72.02 44.87
Drupal\search_api\Backend\BackendPluginManager 16 10 53.15 66.44 40.98
Drupal\search_api\Contrib\ViewsBulkOperationsEventSubscriber 21 17 76.4 22.28 43.02
Drupal\search_api\Contrib\RowsOfMultiValueFields 19 17 99.91 23.66 43.73
Drupal\search_api\Controller\TaskController 32 38 111.01 35.24 45.46
Drupal\search_api\Controller\IndexController 82 103 609.37 68.14 45.76
Drupal\search_api\Controller\ServerController 39 58 263.11 70.91 46.56
Drupal\search_api\ParseMode\ParseModePluginBase 28 43 100.32 43 46.7
Drupal\search_api\ParseMode\ParseModePluginManager 34 25 178.41 54.37 42.3
Drupal\search_api\IndexListBuilder 138 72 2981.17 225.36 39.39
Drupal\search_api\SearchApiException 4 3 0 0 42.45
Drupal\search_api\Item\Field 369 300 2919.44 92.1 43.05
Drupal\search_api\Item\Item 309 223 2669.43 83.42 42.15
Drupal\search_api\IndexBatchHelper 23 57 103.96 81.69 48.28
Drupal\search_api\LoggerTrait 25 46 118.41 22.2 47.4
Drupal\search_api\Task\IndexTaskManager 129 52 1455.99 58.08 36.91
Drupal\search_api\Task\TaskEvent 23 46 32.51 10.84 47.68
Drupal\search_api\Task\ServerTaskManager 112 53 805 42.74 38.47
Drupal\search_api\Task\TaskManager 200 130 2424.78 69.28 41.31
Drupal\search_api\UnsavedIndexConfiguration 662 494 3614.86 184.32 42.41
Drupal\search_api\Display\DisplayPluginManager 35 23 175.14 27.6 41.4
Drupal\search_api\Display\DisplayPluginBase 79 89 476.84 68.12 45.17
Drupal\search_api\Display\DisplayDeriverBase 25 28 86.37 36.37 45.14
Drupal\search_api\SearchApiPluginManager 30 44 192.11 45.98 46.5
Drupal\search_api\Query\ResultSet 147 101 953.33 65.37 41.76
Drupal\search_api\Query\Query 436 382 3901.52 154.6 43.59
Drupal\search_api\Query\Condition 44 49 155.67 26.78 45.1
Drupal\search_api\Query\ConditionGroup 67 61 413.43 50.53 43.85
Drupal\search_api\Drush\Commands\SearchApiDrushCommands 93 488 2509.54 632.63 49.43
Drupal\search_api\Event\QueryPreExecuteEvent 13 20 12 6 46.71
Drupal\search_api\Event\IsRenderedInCurrentRequestEvent 23 42 37.15 10.13 47.37
Drupal\search_api\Event\ReindexScheduledEvent 19 34 27.86 10.45 47.3
Drupal\search_api\Event\GatheringPluginInfoEvent 13 20 7.92 7.92 46.71
Drupal\search_api\Event\MappingFieldTypesEvent 13 22 7.92 7.92 47.09
Drupal\search_api\Event\MappingViewsHandlersEvent 13 25 7.92 7.92 47.55
Drupal\search_api\Event\MappingForeignRelationshipsEvent 25 58 43.94 14.65 48.11
Drupal\search_api\Event\MappingViewsFieldHandlersEvent 13 28 7.92 7.92 47.9
Drupal\search_api\Event\ProcessingResultsEvent 17 35 20 5.71 47.77
Drupal\search_api\Event\DeterminingServerFeaturesEvent 19 33 25.54 9.58 47.19
Drupal\search_api\Event\IndexingItemsEvent 23 39 37.15 10.13 47.1
Drupal\search_api\Event\ItemsIndexedEvent 19 33 27.86 10.45 47.19
Drupal\search_api\Event\SearchApiEvents 23 223 80.71 161.42 49.77
Drupal\search_api\Hook\SearchApiViewsHooks 583 299 14924.11 397.13 39.23
Drupal\search_api\Hook\SearchApiHooks 294 147 4449.42 269.75 38.99
Drupal\search_api\Hook\ContentEntityDatasourceHooks 25 31 57.06 57.06 45.69
Drupal\search_api\ConsoleException 4 3 0 0 42.45
Drupal\search_api\Utility\FieldsHelper 330 110 4364.26 156.37 34.97
Drupal\search_api\Utility\ThemeSwitcher 31 17 156 20.8 39.84
Drupal\search_api\Utility\IndexingBatchHelper 99 52 1973.63 62.65 39.45
Drupal\search_api\Utility\CommandHelper 341 333 4684.26 130.75 44.31
Drupal\search_api\Utility\Utility 112 170 1330.81 106.13 46.65
Drupal\search_api\Utility\TrackingHelper 121 75 1379.51 77.09 40.91
Drupal\search_api\Utility\PostRequestIndexing 67 45 466.31 31.51 41.58
Drupal\search_api\Utility\QueryHelper 53 42 302.47 35.11 42.87
Drupal\search_api\Utility\Dependencies 12 9 2 4 42.45
Drupal\search_api\Utility\DataTypeHelper 70 39 684.99 104.45 39.98
Drupal\search_api\Utility\PluginHelper 63 63 668.82 42.07 44.46