Testing mnemonics should not be part of the final program
The following mnemonics (test, toto, titi, tata, tutu, to_delete , todo,…) are forbidden, and the comments should not contain debug adjustment expressions like (to do later, to delete, todo). This is the same issue for unknown variables that the developer does not understand. This kind of variable can come from a previous version of the code made by another developer with not enough comment for example.
Detailed explanation : Leaving debug items in the final program reduces its readability and may have a different behaviour than expected. The list of prohibited elements can be configured.
Level : Mandatory for the final program (and of no relevance during the development)
Les mnémoniques de mise au point ne doivent pas faire partie du programme final
La mise au point ne doit pas faire partie du programme. Notamment, les noms d'éléments suivants (test, toto, titi, tata, tutu, a effacer, todo, ,…) sont interdits et les commentaires ne doivent pas contenir d'expressions laissant penser que le programme est encore en cours d'écriture (a faire plus tard, a effacer, todo). De même les variables inconnues du développeur sont a éviter. Il peut s'agir par exemple de variables venant de versions précédentes créées par d'autre développeurs et sans suffisamment de commentaire.
Explication complémentaire : Laisser des éléments liés à la mise au point dans le programme en production nuit à sa lisibilité et peut avoir pour conséquences un comportement différent de celui attendu.
Niveau conseillé : Obligatoire pour le programme final (et sans objet en cours de développement)
Le sigle mnemoniche di debug non devono far parte del programma finale
Gli elementi di debug non devono essere inclusi nel programma. In particolare, determinati nomi di elementi (test, toto, titi, tata, tutu, eliminare, todo ecc.) sono vietati e i commenti non devono contenere espressioni che facciano pensare che il programma è ancora in fase di creazione (da fare più tardi, eliminare, todo). Analogamente, le variabili non note allo sviluppatore devono essere evitate. Potrebbe trattarsi per esempio di variabili provenienti da versioni precedenti create da altri sviluppatori e non corredate da una quantità sufficiente di commenti.
Spiegazione supplementare: lasciare degli elementi correlati al debugging nel programma in produzione ne compromette la leggibilità e può avere come conseguenza un comportamento diverso da quello previsto.
Livello consigliato: obbligatorio per il programma finale (e non giustificato durante la fase di sviluppo)
Testvariablen dürfen nicht zum fertigen Programm gehören
Die Mnemoniken test, toto, titi, tata, tutu, to_delete, todo, …. sind verboten, und Kommentare sollten keine Korrekturbefehle wie 'to do later', 'to delete' oder 'todo' enthalten. Das Gleiche gilt für unverständliche bzw. unbekannte Variablen, die ein Entwickler nicht verstehen kann. Diese Art der Variablen könnte z.B. von einer vorhergehenden Version des Programms stammen, die noch von einem anderen Entwickler ohne ausreichenden Kommentar erstellt wurde.
Vertiefende Erklärung : Zurückgelassene Korrekturanweisungen reduzieren die Lesbarkeit des fertigen Programms und verhalten sich unter Umständen nicht wie erwartet. Die Liste der unerlaubten Bezeichnungen ist konfigurierbar.
Level : Obligatorisch im fertigen Programm (und ohne Relevanz während der Entwicklung)