CQE-9190: Loop Condition Value Update within the Loop

 
Loop Condition Value Update within the Loop
[an error occurred while processing this directive] Definition in a New Window Definition in a New Window
Quality Issue ID: 9190 Maturity: Preliminary
+ Description

Description Summary

The software uses a loop with a control flow condition based on a value that is updated within the body of the loop.

Extended Description

This pattern identifies situations where the value of the local storable data element used in the condition of the loop control flow of code is updated within the Write action located in the loop body block.

+ Relationships
NatureTypeIDNameView(s) this relationship pertains to
View
ChildOf
Ch
Characteristic
9034Maintainability
Default Graph (primary)9001
CanPrecede
Co
Consequence
9141Excessive Propagation of Modification Impacts
Default Graph (primary)9001

Related Taxonomy Entries

TaxonomyVersionRelated ID
ASCMM1ASCMM-MNT-5
+ References
"Automated Source Code Maintainability Measure (ASCMM)". ASCMM-MNT-5. v1.0. Object Management Group (OMG). 2016-01-01. <http://www.omg.org/spec/ASCMM/1.0>.
Page Last Updated or Reviewed: October 01, 2017