====== i2 ====== ===== en ===== ==== name ==== Code in comment * a) The comments must not contain code (PL7-Pro) * b) The comments must not contain code (Unity Pro) * c1) The comments must not contain code (STEP7, STEP5, PLCOPEN, CODESYS) * c2) The comments must not contain code (STEP7, STEP5) * c3) The comments must not contain code (STEP7, STEP5) * c4) The comments must not contain code (STEP7, STEP5) * c5) The comments must not contain code (STEP7, STEP5) * c6) The comments must not contain code (STEP7, STEP5) * c7) The comments must not contain code (STEP7, STEP5) * c8) The comments must not contain code (STEP7, STEP5) * c9) The comments must not contain code (STEP7, STEP5) * c10) The comments must not contain code (STEP7, STEP5) * c11) The comments must not contain code (STEP7, STEP5) * d) The comments must not contain code (RSLogix 5000) ==== description ==== It is important not to have commented code.\\ **Detailed explanation** : Code in comments is often due to a bypass of one part of the code during debugging and test phases. Remaining code in comments should be banished from production code.\\ **Level** : \\ ==== errorMessage ==== * a) The code comment in {LOCATION} seems to contain code. {STR} * b) The code comment in {LOCATION} seems to contain code. {STR} * c1) The code comment in {LOCATION} seems to contain code. {STR} * c2) The code comment in {LOCATION} seems to contain code. {STR} * c3) The code comment in {LOCATION} seems to contain code. {STR} * c4) The code comment in {LOCATION} seems to contain code. {STR} * c5) The code comment in {LOCATION} seems to contain code. {STR} * c6) The code comment in {LOCATION} seems to contain code. {STR} * c7) The code comment in {LOCATION} seems to contain code. {STR} * c8) The code comment in {LOCATION} seems to contain code. {STR} * c9) The code comment in {LOCATION} seems to contain code. {STR} * c10) The code comment in {LOCATION} seems to contain code. {STR} * c11) The code comment in {LOCATION} seems to contain code. {STR} * d) The code comment in {LOCATION} seems to contain code. {STR} ===== fr ===== ==== name ==== Présence de code dans les commentaires * a) Les commentaires ne doivent pas contenir de code (PL7-Pro) * b) Les commentaires ne doivent pas contenir de code (Unity Pro) * c1) Les commentaires ne doivent pas contenir de code (STEP7, STEP5, PLCOPEN, CODESYS) * c2) Les commentaires ne doivent pas contenir de code (STEP7, STEP5) * c3) Les commentaires ne doivent pas contenir de code (STEP7, STEP5) * c4) Les commentaires ne doivent pas contenir de code (STEP7, STEP5) * c5) Les commentaires ne doivent pas contenir de code (STEP7, STEP5) * c6) Les commentaires ne doivent pas contenir de code (STEP7, STEP5) * c7) Les commentaires ne doivent pas contenir de code (STEP7, STEP5) * c8) Les commentaires ne doivent pas contenir de code (STEP7, STEP5) * c9) Les commentaires ne doivent pas contenir de code (STEP7, STEP5) * c10) Les commentaires ne doivent pas contenir de code (STEP7, STEP5) * c11) Les commentaires ne doivent pas contenir de code (STEP7, STEP5) * d) Les commentaires ne doivent pas contenir de code (RSLogix 5000) ==== description ==== Il est important de vérifier la présence éventuelle de code sous forme de commentaires.\\ **Explication complémentaire** : La présence de code dans des commentaires est souvent du à la mise en commentaire d’une partie du code dans le cadre des phases de test et de debug. Le code de production ne doit pas contenir de traces des phases de mise au point. \\ **Niveau conseillé** : \\ ==== errorMessage ==== * a) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * b) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * c1) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * c2) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * c3) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * c4) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * c5) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * c6) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * c7) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * c8) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * c9) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * c10) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * c11) Le commentaire du code en {LOCATION} semble contenir du code. {STR} * d) Le commentaire du code en {LOCATION} semble contenir du code. {STR} ===== it ===== ==== name ==== Presenza di codice nei commenti * a) I commenti non devono contenere parti di codice (PL7-Pro) * b) I commenti non devono contenere parti di codice (Unity Pro) * c1) I commenti non devono contenere parti di codice (STEP7, STEP5, PLCOPEN, CODESYS) * c2) I commenti non devono contenere parti di codice (STEP7, STEP5) * c3) I commenti non devono contenere parti di codice (STEP7, STEP5) * c4) I commenti non devono contenere parti di codice (STEP7, STEP5) * c5) I commenti non devono contenere parti di codice (STEP7, STEP5) * c6) I commenti non devono contenere parti di codice (STEP7, STEP5) * c7) I commenti non devono contenere parti di codice (STEP7, STEP5) * c8) I commenti non devono contenere parti di codice (STEP7, STEP5) * c9) I commenti non devono contenere parti di codice (STEP7, STEP5) * c10) I commenti non devono contenere parti di codice (STEP7, STEP5) * c11) I commenti non devono contenere parti di codice (STEP7, STEP5) * d) I commenti non devono contenere parti di codice (RSLogix 5000) ==== description ==== È importante verificare se è presente del codice sotto forma di commenti.\\ **Spiegazione supplementare**: la presenza di codice nei commenti è spesso dovuta alla trasformazione temporanea in commento di una porzione di codice durante le fasi di test e di debugging. Il codice in produzione non deve contenere tracce delle fasi di messa a punto del programma. \\ **Livello consigliato**: \\ ==== errorMessage ==== * a) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * b) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * c1) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * c2) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * c3) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * c4) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * c5) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * c6) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * c7) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * c8) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * c9) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * c10) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * c11) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR} * d) Il commento del codice in {LOCATION} contiene probabilmente del codice. {STR}