Showing 141 of 141 total issues
Function customizeApplication
has a Cognitive Complexity of 8 (exceeds 7 allowed). Consider refactoring. Open
Open
const customizeApplication = () => {
if (config.get('application.name')) {
customizeTitle()
}
if (config.get('application.logo')) {
- 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
FIXME found Open
Open
// @ts-expect-error FIXME type mismatch
- Exclude checks
FIXME found Open
Open
xit('infinite loop payload does not succeed but solves "rceChallenge"', () => { // FIXME Started failing on Linux regularly
- Exclude checks
TODO found Open
Open
// TODO Verify functionally that it's not the basket of the admin
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME promise return handling broken
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME promise return handling broken
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME some properties missing in updatedUserResponse
- Exclude checks
FIXME found Open
Open
slideshowModule = jasmine.createSpy('SlideshowModule') // FIXME Replace with actual import if https://github.com/dockleryxk/ng-simple-slideshow/issues/70 gets fixed
- Exclude checks
FIXME found Open
Open
// FIXME Only works on Chrome <80 but Protractor uses latest Chrome version. Test can probably never be turned on again.
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME promise return handling broken
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME promise return handling broken
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME promise return handling broken
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME promise return handling broken
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME form.getHeaders() is not found
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME form.getHeaders() is not found
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME form.getHeaders() is not found
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME promise return handling broken
- Exclude checks
FIXME found Open
Open
// @ts-expect-error FIXME implicit any type issue
- Exclude checks
FIXME found Open
Open
os: [ubuntu-latest, macos-latest] # FIXME: Removed "windows-latest" due to 'Error: ENOENT: no such file or directory, open' error breaking at least on Node 20.5.0 constantly
- Exclude checks
TODO found Open
Open
module.exports = function getLanguageList () { // TODO Refactor and extend to also load backend translations from /i18n/*json and calculate joint percentage/gauge
- Exclude checks