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, TIAPORTAL, PLCOPEN, CODESYS)
  • c2) The comments must not contain code (STEP7, STEP5, TIAPORTAL)
  • c3) The comments must not contain code (STEP7, STEP5, TIAPORTAL)
  • c4) The comments must not contain code (STEP7, STEP5, TIAPORTAL)
  • c5) The comments must not contain code (STEP7, STEP5, TIAPORTAL)
  • c6) The comments must not contain code (STEP7, STEP5, TIAPORTAL)
  • c7) The comments must not contain code (STEP7, STEP5, TIAPORTAL)
  • c8) The comments must not contain code (STEP7, STEP5, TIAPORTAL)
  • c9) The comments must not contain code (STEP7, STEP5, TIAPORTAL)
  • c10) The comments must not contain code (STEP7, STEP5, TIAPORTAL)
  • c11) The comments must not contain code (STEP7, STEP5, TIAPORTAL)
  • d) The comments must not contain code (RSLogix 5000)

description

It is important not to have code in comments.

Detailed explanation : Code in comments is often the commented part of the code under test and debug phases. Production code should not contain development phases traces.

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, TIAPORTAL, PLCOPEN, CODESYS)
  • c2) Les commentaires ne doivent pas contenir de code (STEP7, STEP5, TIAPORTAL)
  • c3) Les commentaires ne doivent pas contenir de code (STEP7, STEP5, TIAPORTAL)
  • c4) Les commentaires ne doivent pas contenir de code (STEP7, STEP5, TIAPORTAL)
  • c5) Les commentaires ne doivent pas contenir de code (STEP7, STEP5, TIAPORTAL)
  • c6) Les commentaires ne doivent pas contenir de code (STEP7, STEP5, TIAPORTAL)
  • c7) Les commentaires ne doivent pas contenir de code (STEP7, STEP5, TIAPORTAL)
  • c8) Les commentaires ne doivent pas contenir de code (STEP7, STEP5, TIAPORTAL)
  • c9) Les commentaires ne doivent pas contenir de code (STEP7, STEP5, TIAPORTAL)
  • c10) Les commentaires ne doivent pas contenir de code (STEP7, STEP5, TIAPORTAL)
  • c11) Les commentaires ne doivent pas contenir de code (STEP7, STEP5, TIAPORTAL)
  • 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, TIAPORTAL, PLCOPEN, CODESYS)
  • c2) I commenti non devono contenere parti di codice (STEP7, STEP5, TIAPORTAL)
  • c3) I commenti non devono contenere parti di codice (STEP7, STEP5, TIAPORTAL)
  • c4) I commenti non devono contenere parti di codice (STEP7, STEP5, TIAPORTAL)
  • c5) I commenti non devono contenere parti di codice (STEP7, STEP5, TIAPORTAL)
  • c6) I commenti non devono contenere parti di codice (STEP7, STEP5, TIAPORTAL)
  • c7) I commenti non devono contenere parti di codice (STEP7, STEP5, TIAPORTAL)
  • c8) I commenti non devono contenere parti di codice (STEP7, STEP5, TIAPORTAL)
  • c9) I commenti non devono contenere parti di codice (STEP7, STEP5, TIAPORTAL)
  • c10) I commenti non devono contenere parti di codice (STEP7, STEP5, TIAPORTAL)
  • c11) I commenti non devono contenere parti di codice (STEP7, STEP5, TIAPORTAL)
  • 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}

de

name

Vorhandensein von Code im Kommentar

  • a) Kommentare dürfen keinen Code enthalten (PL7-Pro)
  • b) Kommentare dürfen keinen Code enthalten (Unity Pro)
  • c1) Kommentare dürfen keinen Code enthalten (STEP7, STEP5, TIAPORTAL, PLCOPEN, CODESYS)
  • c2) Kommentare dürfen keinen Code enthalten (STEP7, STEP5, TIAPORTAL)
  • c3) Kommentare dürfen keinen Code enthalten (STEP7, STEP5, TIAPORTAL)
  • c4) Kommentare dürfen keinen Code enthalten (STEP7, STEP5, TIAPORTAL)
  • c5) Kommentare dürfen keinen Code enthalten (STEP7, STEP5, TIAPORTAL)
  • c6) Kommentare dürfen keinen Code enthalten (STEP7, STEP5, TIAPORTAL)
  • c7) Kommentare dürfen keinen Code enthalten (STEP7, STEP5, TIAPORTAL)
  • c8) Kommentare dürfen keinen Code enthalten (STEP7, STEP5, TIAPORTAL)
  • c9) Kommentare dürfen keinen Code enthalten (STEP7, STEP5, TIAPORTAL)
  • c10) Kommentare dürfen keinen Code enthalten (STEP7, STEP5, TIAPORTAL)
  • c11) Kommentare dürfen keinen Code enthalten (STEP7, STEP5, TIAPORTAL)
  • d) Kommentare dürfen keinen Code enthalten (RSLogix 5000)

description

Es ist wichtig, keinen Code im Kommentar zu haben.

Vertiefende Erklärung : Code im Kommentar ist oft ein kommentierter Teil des Programms aus Test- und Fehlersuchephasen. Fertige Produktionsprogramme sollten keine Hinweise mehr auf die Entwicklungsphase enthalten.

Level :

errorMessage

  • a) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • b) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • c1) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • c2) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • c3) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • c4) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • c5) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • c6) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • c7) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • c8) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • c9) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • c10) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • c11) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}
  • d) Der Kommentar zu Code {LOCATION} scheint Code zu enthalten. {STR}