Contenuto principale

La traduzione di questa pagina non è aggiornata. Fai clic qui per vedere l'ultima versione in inglese.

Linee guida

Elenco e descrizione dei checker delle linee guida

Questi checker sono correlati alle best practice di codifica. Polyspace® segnala i difetti di complessità del software quando una metrica di complessità di un modulo supera una soglia specifica.

Utilizzare le opzioni Controllo delle linee guida (-guidelines) per attivare questi checker.

Risultati di Polyspace

espandi tutto

Call tree complexity exceeds thresholdThe call tree complexity of a file is greater than the defined threshold (Da R2021a)
Comment density falls below thresholdThe comment density of the module falls below the specified threshold (Da R2021a)
Cyclomatic complexity exceeds thresholdThe cyclomatic complexity of a function is greater than the defined cyclomatic complexity threshold of a function (Da R2021a)
Depth of call nesting exceeds thresholdThe nesting depth of control structures in a function is greater than the defined nesting depth threshold of a function (Da R2021a)
Function stress complexity exceeds thresholdThe function stress complexity of a function is greater than the defined threshold (Da R2025a)
Language scope exceeds thresholdThe language scope of a function is greater than the defined threshold (Da R2021a)
Number of called functions exceeds thresholdThe number of distinct function calls within the body of a function is greater than the defined threshold (Da R2021a)
Number of calling functions exceeds thresholdThe number of distinct callers of a function is greater than the defined threshold (Da R2021a)
Number of goto statements exceeds thresholdThe number of goto statements in a function is greater than the defined threshold (Da R2021a)
Number of lines exceeds thresholdThe number of total lines in a file is greater than the defined threshold (Da R2021a)
Number of lines in function body exceeds thresholdThe number of lines in the body of a function is greater than the defined threshold (Da R2021a)
Number of local non-static variables exceeds thresholdThe number of local nonstatic variables in a function is greater than the defined threshold (Da R2021a)
Number of local static variables exceeds thresholdThe number of local static variables in a function is greater than the defined threshold (Da R2021a)
Number of return statements exceeds thresholdThe number of return statements in a function is greater than the defined threshold (Da R2021a)
Number of static paths exceeds thresholdThe number of static paths in a function is greater than the defined threshold (Da R2021a)
Number of executable lines in function body exceeds thresholdThe number of executable lines in the body of a function is greater than the defined threshold (Da R2021a)
Number of function calls exceeds thresholdThe number of function calls in a function is greater than the defined call occurrence threshold of a function (Da R2021a)
Number of function parameters exceeds thresholdThe number of arguments of a function is greater than the defined threshold (Da R2021a)
Number of statements exceeds thresholdThe number of statements in a function is greater than the defined threshold (Da R2021a)
Number of direct recursions exceeds thresholdNumber of instances of a function calling itself directly is greater than the defined threshold (Da R2024a)
Number of recursions exceeds thresholdNumber of call graph cycles over one or more functions is greater than the defined threshold (Da R2024a)

Argomenti