Table of Contents
c2
en
name
Comments should be longer than a given number of characters
- a) The variable comments must contain at least x chars
- b) The codes comments must contain at least x chars
- c) The variables comments must not be empty
- d) The codes comments must not be empty
- e) The types comments must contain at least x chars
- f) The types comments must not be empty
description
The comments of program elements must contain a minimum number of characters (7 for variables, 15 for codes) to avoid insignificant comments.
Detailed explanation : having minimum length ensures that the comments are more meaningful. Having a maximum length ensures that the comments are still readable.
Level : Mandatory
errorMessage
- a) The comment of {VARIABLE} variable is too short
- b) Code's comment at {FULLNAME} is too short
- c) The {VARIABLE} variable comment is empty
- d) Code's comment at {FULLNAME} is empty
- e) The {FULLNAME} type comment is to short
- f) The {FULLNAME} type comment is empty
fr
name
Les commentaires doivent comporter au moins x caractères
- a) Les commentaires de variables doivent comporter au moins x caractères
- b) Les commentaires de codes doivent comporter au moins x caractères
- c) Les commentaires de variables ne doivent pas être vides
- d) Les commentaires de codes ne doivent pas être vides
- e) Les commentaires de types doivent comporter au moins x caractères
- f) Les commentaires de types ne doivent pas être vides
description
Les commentaires doivent comporter au moins 7 caractères significatifs.
Explication complémentaire : Un nombre minimum de caractères assure que les commentaires sont plus significatifs.
Niveau conseillé : Obligatoire
errorMessage
- a) La variable {VARIABLE} a un commentaire trop court
- b) Le code {FULLNAME} a un commentaire trop court
- c) La variable {VARIABLE} a un commentaire vide
- d) Le code {FULLNAME} a un commentaire vide
- e) Le type {FULLNAME} a un commentaire trop court
- f) Le type {FULLNAME} a un commentaire vide
it
name
I commenti devono essere costituiti da un minimo di x caratteri
- a) I commenti delle variabili devono essere costituiti da un minimo di x caratteri
- b) I commenti dei codici devono essere costituiti da un minimo di x caratteri
- c) I commenti delle variabili non possono essere lasciati vuoti
- d) I commenti dei codici non possono essere lasciati vuoti
- e) I commenti dei tipi devono essere costituiti da un minimo di x caratteri
- f) I commenti dei tipi non possono essere lasciati vuoti
description
I commenti devono essere costituiti da un numero minimo di caratteri (7 per le variabili, 15 per i codici) per evitare commenti non significativi.
Spiegazione supplementare: un numero minimo di caratteri garantisce che i commenti siano più significativi. Il limite massimo per i caratteri garantisce che i commenti siano comunque leggibili.
Livello consigliato: obbligatorio
errorMessage
- a) Il commento della variabile {VARIABLE} è troppo corto
- b) Il commento del codice {FULLNAME} è troppo corto
- c) Il commento della variabile {VARIABLE} non contiene testo
- d) Il commento del codice {FULLNAME} non contiene testo
- e) Il commento del tipo {FULLNAME} è troppo corto
- f) Il commento del tipo {FULLNAME} non contiene testo
de
name
Die Kommentare müssen mindestens x Zeichen enthalten
- a) Die Kommentare der Variablen müssen mindestens x Zeichen enthalten
- b) Die Kommentare der Codes müssen mindestens x Zeichen enthalten
- c) Die Kommentare der Variablen dürfen nicht leer sein
- d) Die Kommentare der Codes dürfen nicht leer sein
- e) Die Kommentare der Typen müssen mindestens x Zeichen enthalten
- f) Die Kommentare der Typen dürfen nicht leer sein
description
Die Kommentare von Programmelementen sollten eine Mindestzeichenanzahl (7 für Variablen, 15 für Code) haben, um nicht aussagekräftige-Kommentare zu vermeiden.
Vertiefende Erklärung : Eine Mindestlänge führt zu aussagekräftigeren Kommentaren. Eine maximale Länge unterstützt dabei, dass die Kommentare dennoch lesbar bleiben.
Level : Obligatorisch
errorMessage
- a) Die Variable {VARIABLE} hat einen zu kurzen Kommentar: ’{STR}’ Zeichen
- b) Der Code {FULLNAME} hat einen zu kurzen Kommentar: ’{STR}’ Zeichen
- c) Die Variable {VARIABLE} hat einen leeren Kommentar: 0 oder ’{STR}’ unsichtbare Zeichen
- d) Der Code {FULLNAME} hat einen leeren Kommentar: 0 oder ’{STR}’ unsichtbare Zeichen
- e) Der Typ {FULLNAME} hat einen zu kurzen Kommentar: ’{STR}’ Zeichen
- f) Der Typ {FULLNAME} hat einen leeren Kommentar: 0 oder ’{STR}’ unsichtbare Zeichen
