website: cognitive complexity does insufficiently explain method #7391
Labels
A-documentation
Area: Adding or improving documentation
good-first-issue
These issues are a good way to get started with Clippy
What kind of methology is used in the code is completely missing. Is this method implemented? #3793
The first statement is unfalsifiable due to missing definition. LLVM and most compilers do graph-based optimisations, so a long switch-case is no problem for LLVM to handle. Which is in contrast to what cognitive complexity applies as method (from my experience).
It is not possible to disable unless one annotates it in every file. Many problem domains are inherently complex and splitting the code does not make the problem easier. As it works currently, it does not take into account the code graph of the control structure in a proper way and thus is insufficient.
Great, a configuration without understanding how they work.
The text was updated successfully, but these errors were encountered: