Table of Contents
i1
en
name
Code should contain at least x% of commented instructions
- a) Ladder code should contain at least x% of commented instructions (so at max 100-x% of instructions not commented). x=30
- b) Literal code should contain at least x% of commented instructions (so at max 100-x% of instructions not commented). x=30
description
It is recommended to have a minimum percentage of commented code.
Detailed explanation : It is recommended to have at least 30% of commented instructions (ratio between commented instructions over overall instructions count). Such a ratio ensures that maintenance and readability properties are well taken into account during the development cycle.
Level : Mandatory
errorMessage
- a) The ladder codes are not enough commented
- b) The literal codes are not enough commented
fr
name
Le code doit contenir au moins x% de commentaires
- a) Le code ladder doit contenir au moins x% de code commentés (donc au max 100-x% de code non-commenté). x=30
- b) Le code littéral doit contenir au moins x% de code commentés (donc au max 100-x% de code non-commenté). x=30
description
Il est recommandé que le code contienne un pourcentage minimum de commentaires.
Explication complémentaire : A titre indicatif, Itris Automation Square recommande un taux de 30% (nombre d’instructions commentées/nombre total d’instructions). Un tel taux minimum de commentaires assure que le développement a été réalisé en ayant à l’esprit un souci de maintenabilité et de bonne compréhension par des intervenants postérieurs.
Niveau conseillé : Obligatoire
errorMessage
- a) Le code ladder n'est pas assez commenté
- b) Le code littéral n'est pas assez commenté
it
name
Il codice deve contenere almeno il x% di istruzioni commentate
- a) Il codice ladder deve contenere almeno il x% di istruzioni commentate (è dunque consentito un massimo di 100-x% di istruzioni non commentate). x=30
- b) Il codice letterale deve contenere almeno il x% di istruzioni commentate (è dunque consentito un massimo di 100-x% di istruzioni non commentate). x=30
description
È consigliabile che il codice contenga una percentuale minima di commenti.
Spiegazione supplementare: a titolo indicativo, Itris Automation Square raccomanda una percentuale del 30% (numero di istruzioni commentate/numero totale di istruzioni). Un tale tasso minimo di commenti garantisce che lo sviluppo è stato realizzato con una particolare attenzione per la manutenibilità e la facile comprensione del codice da parte di chi dovrà occuparsene in futuro.
Livello consigliato: Obbligatorio
errorMessage
- a) Il codice ladder non contiene una quantità sufficiente di commenti
- b) Il codice letterale non contiene una quantità sufficiente di commenti
de
name
Der Code muss zu mindestens x% kommentiert sein
- a) Der Code in Ladder muss mindestens x% kommentierten Code enthalten (also maximal 100-x% nicht kommentierten Code). x=30
- b) Literalcode muss mindestens x% kommentierten Code enthalten (also maximal 100-x% nicht kommentierten Code). x=30
description
Es wird empfohlen, das Programm zu einem Mindestprozentsatz zu kommentieren.
Vertiefende Erklärung : Es wird empfohlen, einen Mindestprozentsatz von 30% an Kommentaren im Programm zu haben (Verhältnis von kommentierten Elementen zu allen Elementen). Ein solches Verhältnis stellt sicher, dass während der Programmentwicklung die Gesichtspunkte Wartung und Lesbarkeit ausreichend berücksichtigt wurden.
Level : Obligatorisch
errorMessage
- a) Der Code in Ladder wurde nicht ausreichend kommentiert
- b) Der Literalcode wurde nicht ausreichend kommentiert
