Showing 2,096 of 2,096 total issues
Function Poppervue_type_template_id_177cf74e_render
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
function Poppervue_type_template_id_177cf74e_render(_ctx, _cache, $props, $setup, $data, $options) {
Function getStatementListView
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
SELF.prototype.getStatementListView = function ( startEditingCallback, entityId, propertyId, getStatementForGuid, value, $statementlistview ) {
Function getStatementView
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
SELF.prototype.getStatementView = function ( startEditingCallback, entityId, propertyId, removeCallback, value, $dom ) {
Function TaintedPoppervue_type_template_id_1cf80a67_render
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
function TaintedPoppervue_type_template_id_1cf80a67_render(_ctx, _cache, $props, $setup, $data, $options) {
Function abc5
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getDevtoolsGlobalHook; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getTarget; });
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function c04e
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("861d");
// `ToPrimitive` abstract operation
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function TaintedIconvue_type_template_id_6df35c90_render
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
function TaintedIconvue_type_template_id_6df35c90_render(_ctx, _cache, $props, $setup, $data, $options) {
Function StatementsChanger
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
api,
revisionStore,
statementsChangerState,
statementSerializer,
statementDeserializer,
Function d066
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
/***/ (function(module, exports, __webpack_require__) {
var path = __webpack_require__("428f");
var global = __webpack_require__("da84");
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Avoid deeply nested control flow statements. Open
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
} catch (error) {
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
}
Method __construct
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
SiteLinkLookup $siteLinkLookup,
LoggerInterface $logger,
ClientDomainDb $clientDb,
UserIdentity $user,
$siteId,
Method __construct
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Language $language,
SiteLinkCommentCreator $siteLinkCommentCreator,
EntitySourceDefinitions $entitySourceDefinitions,
ClientDomainDb $clientDomainDb,
CentralIdLookup $centralIdLookup = null,
Method factory
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
JobQueueGroupFactory $jobQueueGroupFactory,
ClientDomainDbFactory $clientDomainDbFactory,
DatabaseEntitySource $entitySource,
NamespaceChecker $namespaceChecker,
SettingsArray $clientSettings,
Method formatDataForEnhancedBlockLine
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
array &$data,
ExternalChange $externalChange,
Title $title,
int $count,
Language $lang,
Method __construct
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
LanguageFallbackChainFactory $languageFallbackChainFactory,
OutputFormatSnakFormatterFactory $snakFormatterFactory,
PropertyDataTypeLookup $propertyDataTypeLookup,
EntityIdParser $repoItemUriParser,
FallbackLabelDescriptionLookupFactory $fallbackLabelDescriptionLookupFactory,
Function needsTargetSpecificSummary
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
public function needsTargetSpecificSummary( Diff $siteLinkDiff, Title $title ) {
if ( $siteLinkDiff->isEmpty() ) {
return false;
}
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method __construct
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
UsageLookup $usageLookup,
TitleFactory $titleFactory,
PageStore $pageStore,
LinkBatchFactory $linkBatchFactory,
string $siteId,
Method format
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
ExternalChange $externalChange,
Title $title,
int $count,
string $flag,
Language $lang,
Function addDataToResponse
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
private function addDataToResponse(
array $pageIds,
array $descriptionsByPageId,
array $sourcesByPageId,
$continue
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method __construct
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
ApiQuery $query,
string $moduleName,
AliasTermBuffer $aliasTermBuffer,
EntityIdLookup $idLookup,
TermBuffer $termBuffer,