Created at 2024-04-11 09:57:06 , with PHPMetrics v2.8.1 (Jean-François Lépine).
Average weighted method count by class (CC)
9.56
Average cyclomatic complexity by class
6.54
Average relative System complexity
390.93
Average bugs by class(Halstead)
0.16
average defects by class (Kan)
0.49
Class WMC Class cycl. Max method cycl. Relative system complexity Relative data complexity Relative structural complexity Bugs Defects
MediaWiki\SyntaxHighlight\SyntaxHighlight 1 1 1 4 4 0 0 0.15
EntitySchema\Maintenance\FixedIdGenerator 0 1 0 1.5 1.5 0 0 0.15
EntitySchema\Maintenance\CreatePreexistingSchemas 8 5 4 169.13 0.13 169 0.29 0.38
EntitySchema\Wikibase\Validators\EntitySchemaExistsValidator 4 4 4 25.5 0.5 25 0.03 0.29
EntitySchema\Wikibase\Hooks\WikibaseDataTypesHandler 3 2 2 11.13 2.13 9 0.11 0.22
EntitySchema\Wikibase\Hooks\ParserOutputUpdaterConstructionHandler 1 1 1 1.75 0.75 1 0.01 0.15
EntitySchema\Wikibase\ParserOutputUpdater\EntitySchemaStatementDataUpdater 7 6 5 36.14 0.14 36 0.04 0.75
EntitySchema\Wikibase\Formatters\EntitySchemaFormatter 7 5 3 121.64 0.64 121 0.14 0.58
EntitySchema\Wikibase\Rdf\EntitySchemaRdfBuilder 7 5 4 36.52 0.52 36 0.07 0.59
EntitySchema\MediaWiki\UndoHandler 7 5 4 36.9 0.9 36 0.08 0.29
EntitySchema\MediaWiki\Specials\NewEntitySchema 19 9 4 3136.15 0.15 3136 0.48 0.59
EntitySchema\MediaWiki\Specials\EntitySchemaText 10 5 3 400.32 0.32 400 0.11 0.36
EntitySchema\MediaWiki\Specials\SetEntitySchemaLabelDescriptionAliases 45 26 5 6084.31 0.31 6084 1.07 1.15
EntitySchema\MediaWiki\EntitySchemaServices 8 5 2 5.67 1.67 4 0.01 0.15
EntitySchema\MediaWiki\Hooks\TitleGetRestrictionTypesHookHandler 2 2 2 2 1 1 0.01 0.22
EntitySchema\MediaWiki\Hooks\ImportHandleRevisionXMLTagHookHandler 3 3 3 3 3 0 0.01 0.22
EntitySchema\MediaWiki\Hooks\SidebarHookHandler 5 4 3 49.54 0.54 49 0.07 0.29
EntitySchema\MediaWiki\Hooks\HtmlPageLinkRendererEndHookHandler 15 10 5 576.52 0.52 576 0.22 0.5
EntitySchema\MediaWiki\Hooks\LoadExtensionSchemaUpdatesHookHandler 1 1 1 9.25 0.25 9 0.01 0.15
EntitySchema\MediaWiki\Hooks\ExtensionTypesHookHandler 2 2 2 1 1 0 0.01 0.22
EntitySchema\MediaWiki\Hooks\BeforeDisplayNoArticleTextHookHandler 2 2 2 81.3 0.3 81 0.04 0.22
EntitySchema\MediaWiki\Hooks\FormatAutocommentsHookHandler 5 5 5 6.67 2.67 4 0.05 0.43
EntitySchema\MediaWiki\Hooks\ContentModelCanBeUsedOnHookHandler 3 3 3 3.5 2.5 1 0.01 0.22
EntitySchema\MediaWiki\Hooks\PageHistoryLineEndingHandler 6 5 5 169.57 0.57 169 0.11 0.43
EntitySchema\MediaWiki\SpecificLanguageMessageLocalizer 2 2 2 4.83 0.83 4 0.02 0.22
EntitySchema\MediaWiki\Actions\UndoSubmitAction 15 9 4 1156.33 0.33 1156 0.25 0.64
EntitySchema\MediaWiki\Actions\AbstractUndoAction 8 5 4 529.28 0.28 529 0.13 0.29
EntitySchema\MediaWiki\Actions\RestoreSubmitAction 14 8 5 1024.36 0.36 1024 0.22 0.57
EntitySchema\MediaWiki\Actions\UndoViewAction 7 3 3 576.16 0.16 576 0.12 0.29
EntitySchema\MediaWiki\Actions\AbstractRestoreAction 10 7 4 729.16 0.16 729 0.1 0.43
EntitySchema\MediaWiki\Actions\EntitySchemaEditAction 22 13 8 1849.27 0.27 1849 0.47 0.57
EntitySchema\MediaWiki\Actions\EntitySchemaSubmitAction 1 1 1 1 1 0 0 0.15
EntitySchema\MediaWiki\Actions\RestoreViewAction 7 4 3 1089.16 0.16 1089 0.15 0.36
EntitySchema\MediaWiki\Content\EntitySchemaSlotViewRenderer 27 13 5 1444.44 0.44 1444 0.76 1.03
EntitySchema\MediaWiki\Content\EntitySchemaContentHandler 29 18 8 1156.67 0.67 1156 0.35 0.85
EntitySchema\MediaWiki\Content\EntitySchemaSlotDiffRenderer 24 13 7 441.65 0.65 441 0.43 0.94
EntitySchema\MediaWiki\Content\EntitySchemaContent 6 5 5 9.5 0.5 9 0.06 0.59
EntitySchema\MediaWiki\EntitySchemaHooks 2 2 2 5 1 4 0.01 0.22
EntitySchema\DataAccess\EntitySchemaUpdateGuard 7 4 4 144.4 0.4 144 0.12 0.29
EntitySchema\DataAccess\WatchlistUpdater 6 4 3 49.17 0.17 49 0.05 0.29
EntitySchema\DataAccess\MediaWikiRevisionEntitySchemaInserter 6 3 3 441.27 0.27 441 0.23 0.29
EntitySchema\DataAccess\EntitySchemaEncoder 20 13 4 64.85 0.85 64 0.25 1.49
EntitySchema\DataAccess\EditConflict 0 1 0 0 0 0 0 0.15
EntitySchema\DataAccess\MediaWikiRevisionEntitySchemaUpdater 22 14 8 1156.25 0.25 1156 0.7 0.85
EntitySchema\DataAccess\LabelLookup 4 3 3 36.71 0.71 36 0.07 0.29
EntitySchema\DataAccess\EntitySchemaCleaner 11 7 4 3.8 2.8 1 0.09 1.21
EntitySchema\DataAccess\MediaWikiPageUpdaterFactory 6 5 5 100.21 0.21 100 0.05 0.22
EntitySchema\DataAccess\SqlIdGenerator 8 6 6 289.2 0.2 289 0.12 0.43
EntitySchema\Services\Converter\EntitySchemaConverter 57 45 8 52.69 3.69 49 0.58 3.34
EntitySchema\Services\Converter\FullViewEntitySchemaData 1 1 1 2 2 0 0.01 0.15
EntitySchema\Services\Converter\PersistenceEntitySchemaData 0 1 0 0 0 0 0 0.15
EntitySchema\Services\Converter\FullArrayEntitySchemaData 0 1 0 1 1 0 0 0.15
EntitySchema\Services\Converter\NameBadge 1 1 1 3 3 0 0.01 0.15
EntitySchema\Services\Diff\EntitySchemaPatcher 28 24 9 50.15 1.15 49 0.26 1.24
EntitySchema\Services\Diff\AliasGroupListPatcher 16 13 7 49.88 0.88 49 0.12 1.11
EntitySchema\Services\Diff\EntitySchemaDiffer 6 5 5 2 1 1 0.04 0.29
EntitySchema\Presentation\DiffRenderer 2 1 1 16.6 0.6 16 0.02 0.15
EntitySchema\Presentation\AutocommentFormatter 15 14 11 100.55 0.55 100 0.2 0.58
EntitySchema\Presentation\ConfirmationFormRenderer 7 4 3 169.4 0.4 169 0.35 0.45
EntitySchema\Presentation\InputValidator 13 7 3 122.1 1.1 121 0.17 0.5
EntitySchema\Domain\Model\EntitySchemaId 2 2 2 1.5 1.5 0 0.01 0.22