Create t.js - #87
Conversation
There was a problem hiding this comment.
❌ Quality Gates: FAILED
- Declining Code Health: 72 findings(s) 🚩
- Improving Code Health: 0 findings(s) ✅
- Affected Hotspots: 0 files(s) 🔥
Recommended Review Level: Detailed -- Inspect the code that degrades in code health.
View detailed results in CodeScene
🚩 Negative Code Health Impact (highest to lowest):
- Complex Conditional t.js: warnAboutUpdateOnNotYetMountedFiberInDEV
- Complex Method t.js: commitRootImpl
- Complex Conditional t.js: warnAboutUpdateOnUnmountedFiberInDEV
- Lines of Code in a Single File t.js
- Overall Code Complexity t.js
- Deep, Nested Complexity t.js: warnAboutUpdateOnUnmountedFiberInDEV
- Bumpy Road Ahead t.js: commitRootImpl
- Complex Conditional t.js: pingSuspendedRoot
- Complex Conditional t.js: warnIfNotCurrentlyActingEffectsInDEV
- Complex Conditional t.js: warnIfNotCurrentlyActingUpdatesInDEV
- Complex Method t.js: warnAboutUpdateOnUnmountedFiberInDEV
- Deep, Nested Complexity t.js: requestUpdateLane
- Deep, Nested Complexity t.js: markUpdateLaneFromFiberToRoot
- Deep, Nested Complexity t.js: finishConcurrentRender
- Deep, Nested Complexity t.js: completeUnitOfWork
- Deep, Nested Complexity t.js: commitRootImpl
- Deep, Nested Complexity t.js: flushPassiveMountEffects
- Deep, Nested Complexity t.js: captureCommitPhaseError
- Deep, Nested Complexity t.js: invokeEffectsInDev
- Deep, Nested Complexity t.js: warnAboutRenderPhaseUpdatesInDEV
- Complex Method t.js: requestUpdateLane
- Number of Functions in a Single Module t.js
- Complex Conditional t.js: requestUpdateLane
- Complex Conditional t.js: scheduleUpdateOnFiber
- Complex Conditional t.js: renderDidSuspendDelayIfPossible
- Complex Conditional t.js: commitBeforeMutationEffectsImpl
- Complex Conditional t.js: captureCommitPhaseError
- Complex Conditional t.js: beginWork
- Complex Conditional t.js: warnAboutRenderPhaseUpdatesInDEV
- Complex Conditional t.js: warnIfNotScopedWithMatchingAct
- Complex Conditional t.js: act.then
- Complex Method t.js: warnAboutUpdateOnNotYetMountedFiberInDEV
- Complex Method t.js: flushPassiveMountEffects
- Complex Method t.js: finishConcurrentRender
- Complex Method t.js: warnAboutRenderPhaseUpdatesInDEV
- Complex Method t.js: flushPassiveEffectsImpl
- Complex Method t.js: renderRootConcurrent
- Complex Method t.js: scheduleUpdateOnFiber
- Complex Method t.js: completeUnitOfWork
- Complex Method t.js: renderRootSync
- Complex Method t.js: performConcurrentWorkOnRoot
- Complex Method t.js: finishPendingInteractions
- Complex Method t.js: beginWork
- Complex Method t.js: commitMutationEffectsImpl
- Complex Method t.js: captureCommitPhaseError
- Complex Method t.js: performSyncWorkOnRoot
- Complex Method t.js: markUpdateLaneFromFiberToRoot
- Complex Method t.js: commitBeforeMutationEffectsImpl
- Complex Method t.js: handleError
- Bumpy Road Ahead t.js: scheduleUpdateOnFiber
- Bumpy Road Ahead t.js: renderRootConcurrent
- Bumpy Road Ahead t.js: warnAboutUpdateOnUnmountedFiberInDEV
- Bumpy Road Ahead t.js: markUpdateLaneFromFiberToRoot
- Bumpy Road Ahead t.js: flushSync
- Bumpy Road Ahead t.js: completeUnitOfWork
- Bumpy Road Ahead t.js: commitBeforeMutationEffects
- Bumpy Road Ahead t.js: commitMutationEffects
- Bumpy Road Ahead t.js: flushPassiveMountEffects
- Bumpy Road Ahead t.js: requestUpdateLane
- Bumpy Road Ahead t.js: ensureRootIsScheduled
- Bumpy Road Ahead t.js: performConcurrentWorkOnRoot
- Bumpy Road Ahead t.js: finishConcurrentRender
- Bumpy Road Ahead t.js: performSyncWorkOnRoot
- Bumpy Road Ahead t.js: discreteUpdates
- Bumpy Road Ahead t.js: flushControlled
- Bumpy Road Ahead t.js: renderRootSync
- Bumpy Road Ahead t.js: commitBeforeMutationEffectsImpl
- Bumpy Road Ahead t.js: commitMutationEffectsImpl
- Bumpy Road Ahead t.js: flushPassiveUnmountEffects
- Bumpy Road Ahead t.js: flushPassiveEffectsImpl
- Bumpy Road Ahead t.js: captureCommitPhaseError
- Bumpy Road Ahead t.js: warnAboutUpdateOnNotYetMountedFiberInDEV
| @@ -0,0 +1,3716 @@ | |||
| /** | |||
There was a problem hiding this comment.
❌ New issue: Lines of Code in a Single File
This module has 2372 lines of code, improve code health by reducing it to 1000
Why does this problem occur?
The number of Lines of Code in a single file. More Lines of Code lowers the code health. Read more.
To ignore this warning click here.
| @@ -0,0 +1,3716 @@ | |||
| /** | |||
There was a problem hiding this comment.
❌ New issue: Number of Functions in a Single Module
This module has 94 functions, threshold = 75
Why does this problem occur?
This file contains too many functions. Beyond a certain threshold, more functions lower the code health. Read more.
To ignore this warning click here.
| @@ -0,0 +1,3716 @@ | |||
| /** | |||
There was a problem hiding this comment.
❌ New issue: Complex Method
commitRootImpl has a cyclomatic complexity of 56, threshold = 9
Why does this problem occur?
This function has many conditional statements (e.g. if, for, while), leading to lower code health. Avoid adding more conditionals and code to it without refactoring. Read more.
To ignore this warning click here.
| @@ -0,0 +1,3716 @@ | |||
| /** | |||
There was a problem hiding this comment.
❌ New issue: Complex Method
warnAboutUpdateOnUnmountedFiberInDEV has a cyclomatic complexity of 21, threshold = 9
Why does this problem occur?
This function has many conditional statements (e.g. if, for, while), leading to lower code health. Avoid adding more conditionals and code to it without refactoring. Read more.
To ignore this warning click here.
| @@ -0,0 +1,3716 @@ | |||
| /** | |||
There was a problem hiding this comment.
❌ New issue: Complex Method
requestUpdateLane has a cyclomatic complexity of 17, threshold = 9
Why does this problem occur?
This function has many conditional statements (e.g. if, for, while), leading to lower code health. Avoid adding more conditionals and code to it without refactoring. Read more.
To ignore this warning click here.
| @@ -0,0 +1,3716 @@ | |||
| /** | |||
There was a problem hiding this comment.
❌ New issue: Deep, Nested Complexity
commitRootImpl has a nested complexity depth of 4, threshold = 4
Why does this problem occur?
This function contains deeply nested logic such as if statements and/or loops. The deeper the nesting, the lower the code health. Read more.
To ignore this warning click here.
| @@ -0,0 +1,3716 @@ | |||
| /** | |||
There was a problem hiding this comment.
❌ New issue: Deep, Nested Complexity
flushPassiveMountEffects has a nested complexity depth of 4, threshold = 4
Why does this problem occur?
This function contains deeply nested logic such as if statements and/or loops. The deeper the nesting, the lower the code health. Read more.
To ignore this warning click here.
| @@ -0,0 +1,3716 @@ | |||
| /** | |||
There was a problem hiding this comment.
❌ New issue: Deep, Nested Complexity
captureCommitPhaseError has a nested complexity depth of 4, threshold = 4
Why does this problem occur?
This function contains deeply nested logic such as if statements and/or loops. The deeper the nesting, the lower the code health. Read more.
To ignore this warning click here.
| @@ -0,0 +1,3716 @@ | |||
| /** | |||
There was a problem hiding this comment.
❌ New issue: Deep, Nested Complexity
invokeEffectsInDev has a nested complexity depth of 4, threshold = 4
Why does this problem occur?
This function contains deeply nested logic such as if statements and/or loops. The deeper the nesting, the lower the code health. Read more.
To ignore this warning click here.
| @@ -0,0 +1,3716 @@ | |||
| /** | |||
There was a problem hiding this comment.
❌ New issue: Deep, Nested Complexity
warnAboutRenderPhaseUpdatesInDEV has a nested complexity depth of 4, threshold = 4
Why does this problem occur?
This function contains deeply nested logic such as if statements and/or loops. The deeper the nesting, the lower the code health. Read more.
To ignore this warning click here.
No description provided.