-
## Description
I would like to propose adding a metric [Cognitive Complexity — new way of measuring understandability](https://www.sonarsource.com/docs/CognitiveComplexity.pdf).
-
The Gabriel ZeroMQ client raises the following exception when the cognitive engine disconnects from the Gabriel server. Instead, there should be a mechanism to allow the cognitive engine to be reconne…
-
Implement for the Button, Indicator, Joystick, Slider, and Value widgets the same improved configuration process as was done for the gamepad widget via Issue #148.
-
Refactoring code in src/middleware/user.js to reduce its Cognitive Complexity from 18 to the 15 allowed. Cognitive Complexity is a measure of how hard it is to understand the control flow of a unit of…
-
Refactoring code in public/src/admin/extend/widgets.js to reduce its Cognitive Complexity from 16 to the 15 allowed.
File: public/src/admin/extend/widgets.js
Code line: 121~136
Fixing this speci…
-
Path: src/database/mongo/sorted.js
Explanation: refactor this function to reduce its Cognitive Complexity from 28 to the 15 allowed
Note: this is different from #360 because
- I will be working o…
-
# Refactor src/categories/create.js to reduce cognitive complexity
**File**: `src/categories/create.js`
**SonarCloud Warning**: The cognitive complexity of this function is 17, but the allowed l…
-
Ideally we should not have complex functions, however we all know that it is hard to break them into chunks that make sense 😋
For context:
---
```yaml
# .eslintrc.yaml file
# complexity:…
-
Refactoring 'notification.Each' function to reduce cognitive complexity from 16 to the 15 and Refactoring 'differentiators.forEach' function to reduce cognitive complexity from 20 to the 15.
-
Hi!
Great stuff!
WDYT about the following non-technical strategies to address cognitive load when faced with unfamiliar code:
1. While trying to understand a piece of code:
a. Take notes o…