Lines Matching full:complexity
424 size_t Complexity = 1; in calculateStmtComplexity() local
435 // statement, we reduce the initial complexity of this statement to zero. in calculateStmtComplexity()
437 // macro expansion will only increase the total complexity by one. in calculateStmtComplexity()
438 // Note: This is not the final complexity of this statement as we still in calculateStmtComplexity()
439 // add the complexity of the child statements to the complexity value. in calculateStmtComplexity()
441 Complexity = 0; in calculateStmtComplexity()
444 // Iterate over the Stmts in the StmtSequence and add their complexity values in calculateStmtComplexity()
445 // to the current complexity value. in calculateStmtComplexity()
448 Complexity += calculateStmtComplexity( in calculateStmtComplexity()
450 if (Complexity >= Limit) in calculateStmtComplexity()
455 Complexity += calculateStmtComplexity( in calculateStmtComplexity()
457 if (Complexity >= Limit) in calculateStmtComplexity()
461 return Complexity; in calculateStmtComplexity()