From 1acbe6b30ee9fc5046e63210fa1d40a72d058170 Mon Sep 17 00:00:00 2001 From: Derek Perkins Date: Sat, 10 Jul 2021 00:15:20 -0600 Subject: [PATCH] Fix testeability typo (#542) --- RULES_DESCRIPTIONS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RULES_DESCRIPTIONS.md b/RULES_DESCRIPTIONS.md index 2a8a093..7c3ba95 100644 --- a/RULES_DESCRIPTIONS.md +++ b/RULES_DESCRIPTIONS.md @@ -136,7 +136,7 @@ _Configuration_: N/A ## cognitive-complexity _Description_: [Cognitive complexity](https://www.sonarsource.com/resources/white-papers/cognitive-complexity.html) is a measure of how hard code is to understand. -While cyclomatic complexity is good to measure "testeability" of the code, cognitive complexity aims to provide a more precise measure of the difficulty of understanding the code. +While cyclomatic complexity is good to measure "testability" of the code, cognitive complexity aims to provide a more precise measure of the difficulty of understanding the code. Enforcing a maximum complexity per function helps to keep code readable and maintainable. _Configuration_: (int) the maximum function complexity