| Quintiq file version 2.0 | 
| #parent: #root | 
| Function CalcSanityCheckDataAttributes | 
| { | 
|   TextBody: | 
|   [* | 
|     feedback := construct( Strings ); | 
|     sanitycheckcategory := construct( Strings ); | 
|      | 
|     //to be refactored later | 
|     this.DoSanityCheckData( feedback, sanitycheckcategory ); | 
|      | 
|     mostseveryviolation := SanityCheckCategoryLevel::GetMostSevereSanityCheckViolation( sanitycheckcategory ); | 
|     violationcount := SanityCheckCategoryLevel::GetSanityCheckViolationCount( sanitycheckcategory, mostseveryviolation ); | 
|      | 
|      | 
|     this.SanityCheckDataMostSevere( mostseveryviolation ); | 
|     this.SanityCheckDataMostSevereCount( violationcount ); | 
|     this.SanityCheckDataTotalViolationCount( feedback.Size() ); | 
|   *] | 
| } |