====== i15 ====== ===== en ===== ==== name ==== Call depth of a given routine/POU * a) Minimal effective call depth of a given routine/POU * b) Maximal effective call depth of a given routine/POU * c) Maximal theoretical call depth of a given routine/POU ==== description ==== This rule measures the min and max depths of call of a given block of code (POU). **Detailed explanation** : These measures allow the identification of the depth of calls in the structure of the program. A block of code can be called at the task level, in which case the depth is low, or at a greater depth in the structure of the program, in which case the depth is high. A block of code can be called multiple times in a program and can therefore have multiple depths. A low depth corresponds to an organisation or management block of a program. A high depth corresponds to a specialised block of code.\\ **Level** : Info\\ ==== errorMessage ==== * a) Element {FULLNAME} has an effective call depth min of {STR} * b) Element {FULLNAME} has an effective call depth Max of {STR} * c) Element {FULLNAME} has a theoretical call depth Max of {STR} ===== fr ===== ==== name ==== Profondeur d'appel de chaque routine/POU * a) Profondeur effective minimale d'appel de chaque routine/POU * b) Profondeur effective Maximale d appel de chaque routine/POU * c) Profondeur théorique Maximale d appel de chaque routine/POU ==== description ==== Il s'agit des profondeurs min et max d'appel d'un bloc de code (POU) donné. **Explication complémentaire** : Ces mesures permettent d'identifier à quel niveau de profondeur se situent les appels du bloc dans la structure du programme. Un bloc de code peut être appelé au niveau d'une tâche, dans ce cas la profondeur est faible, ou bien être appelé plus profondément dans la structure du programme, auquel cas la profondeur est élevée. Un bloc de code peut être appelé plusieurs fois dans le programme et peut donc avoir plusieurs niveaux de profondeurs. Un niveau faible correspond à un bloc de gestion ou d'organisation du programme. Un niveau élevé, correspond à un bloc de code spécialisé.\\ **Niveau conseillé** : Info\\ ==== errorMessage ==== * a) L'élément {FULLNAME} a une profondeur effective minimale d'appel de {STR} * b) L élément {FULLNAME} a une profondeur effective Maximale d appel de {STR} * c) L élément {FULLNAME} a une profondeur théorique Maximale d appel de {STR} ===== it ===== ==== name ==== Profondità di chiamata di ogni routine/POU * a) Profondità minima effettiva di chiamata di ogni routine/POU * b) Profondità Maximum effettiva di chiamata di ogni routine/POU * c) Profondità Maximum teorica di chiamata di ogni routine/POU ==== description ==== Questa regola misura le profondità minimo e massimo di un blocco di codice dato. \\ **Spiegazione supplementare**: Queste misure permettono l'identificazione della profondità delle chiamate nella struttura del programma. Un blocco di codice può essere chiamato al livello del task, in qual caso la profondità è bassa, o essere chiamato più profondamente nella struttura del programma, in qual caso la profondità è alta. Un blocco di codice può essere chiamato più volte in un programma e anzi può avere più profondità. Una profondità bassa corrisponde a un blocco di organizzazione o gestione. Una profondità alta corrisponde a un blocco specializzato. \\ **Livello consigliato**: Info\\ ==== errorMessage ==== * a) L'elemento {FULLNAME} ha una profondità minima effettiva della chiamata di {STR} * b) L'elemento {FULLNAME} ha una profondità Maximum effettiva della chiamata di {STR} * c) L'elemento {FULLNAME} ha una profondità Maximum teorica della chiamata di {STR} ===== de ===== ==== name ==== Aufruftiefe einer Routine/POU * a) Minimale effektive Aufruftiefe einer Routine/POU * b) Maximale effektive Aufruftiefe einer Routine/POU * c) Maximale theoretische Aufruftiefe einer Routine/POU ==== description ==== Diese Regel misst das Minimum und Maximum der Aufruftiefe eines Programmblocks (POU).\\ **Vertiefende Erklärung** : Diese Berechnung erlaubt es, die Aufruftiefe von Blöcken in der Struktur eines Programms herauszufinden. Ein Block kann auf Höhe einer Aufgabe aufgerufen werden, wobei die Tiefe gering wäre, oder er kann tiefer in der Struktur des Programms aufgerufen werden, was eine größere Tiefe bedeuten würde. Ein Block kann auch mehrmals im Programm aufgerufen werden, was bedeuten würde, dass er verschiedene Tiefen hätte. Eine geringe Tiefe entspricht einem Organisations- oder Verwaltungsblock im Programm. Eine größere Tiefe entspricht einem spezialisierten Programmblock.\\ **Level** : Info\\ ==== errorMessage ==== * a) Das Element {FULLNAME} hat eine minimale effektive Aufruftiefe von {STR}. * b) Das Element {FULLNAME} hat eine maximale effektive Aufruftiefe von {STR}. * c) Das Element {FULLNAME} hat eine maximale theoretische Aufruftiefe von {STR}.