SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Downloaden Sie, um offline zu lesen
Page 1 sur 14 Zaghir.Y
Utilisation de Checkstyle avec Eclipse pour la gestion de qualité de code:
Version Checkstyle 6.16 , eclipse version Mars / fait le 2016-04-11
Page 2 sur 14 Zaghir.Y
Page 3 sur 14 Zaghir.Y
Page 4 sur 14 Zaghir.Y
Page 5 sur 14 Zaghir.Y
Page 6 sur 14 Zaghir.Y
Page 7 sur 14 Zaghir.Y
Page 8 sur 14 Zaghir.Y
Page 9 sur 14 Zaghir.Y
Page 10 sur 14 Zaghir.Y
Page 11 sur 14 Zaghir.Y
Page 12 sur 14 Zaghir.Y
Page 13 sur 14 Zaghir.Y
Exemple de classe mal écrite
public class client {
public String codeClient ;
private String Nom ;
public String getNom(){
return Nom ;
}
public void setNom(String nom){
Nom = nom ;
}
}
Page 14 sur 14 Zaghir.Y
Classe bien écrite
package entity;
/**
* @ Class Client
* @author yzaghir
* @version : 1.0
*/
public class Client {
/**
* @see codeClient
*/
private String codeClient;
/**
* @see nom
*/
private String nom;
/**
* @see getCodeClient
* @return codeClient
*/
public final String getCodeClient() {
return codeClient;
}
/**
* @param codeClient
* @see setCodeClient
*/
public final void setCodeClient(final String codeClient) {
this.codeClient = codeClient;
}
/**
* @see getNom
* @return nom
*/
public final String getNom() {
return nom;
}
/**
* @see setNom
* @param nom
*/
public final void setNom(final String nom) {
this.nom = nom;
}
}

Weitere ähnliche Inhalte

Andere mochten auch

Printemps des poètes classe cm2a
Printemps des poètes classe cm2aPrintemps des poètes classe cm2a
Printemps des poètes classe cm2a
lyceebonsoleil
 
Ou estlebonheur
Ou estlebonheurOu estlebonheur
Ou estlebonheur
lyago
 
larouspiol-suivi-de-les-enfants-du-ciel
larouspiol-suivi-de-les-enfants-du-ciellarouspiol-suivi-de-les-enfants-du-ciel
larouspiol-suivi-de-les-enfants-du-ciel
Diya Lim
 
amandine-adore-la-cuisine
amandine-adore-la-cuisineamandine-adore-la-cuisine
amandine-adore-la-cuisine
Diya Lim
 
Conferencia 10 Junio
Conferencia 10 JunioConferencia 10 Junio
Conferencia 10 Junio
uruinvest
 
Je continuerai bo
Je continuerai boJe continuerai bo
Je continuerai bo
lyago
 
Super maman
Super mamanSuper maman
Super maman
patlecat
 

Andere mochten auch (20)

Printemps des poètes classe cm2a
Printemps des poètes classe cm2aPrintemps des poètes classe cm2a
Printemps des poètes classe cm2a
 
La péréquation au Canada: Évolution et analyse comparative
La péréquation au Canada: Évolution et analyse comparativeLa péréquation au Canada: Évolution et analyse comparative
La péréquation au Canada: Évolution et analyse comparative
 
Ou estlebonheur
Ou estlebonheurOu estlebonheur
Ou estlebonheur
 
French 05
French 05French 05
French 05
 
Javascript Json artchitecture
Javascript  Json artchitecture Javascript  Json artchitecture
Javascript Json artchitecture
 
Championnats 2015 Le Carrier Bleu Soignies
Championnats 2015 Le Carrier Bleu SoigniesChampionnats 2015 Le Carrier Bleu Soignies
Championnats 2015 Le Carrier Bleu Soignies
 
larouspiol-suivi-de-les-enfants-du-ciel
larouspiol-suivi-de-les-enfants-du-ciellarouspiol-suivi-de-les-enfants-du-ciel
larouspiol-suivi-de-les-enfants-du-ciel
 
Savoir faire au vietnam
Savoir faire au vietnamSavoir faire au vietnam
Savoir faire au vietnam
 
Nuages
NuagesNuages
Nuages
 
amandine-adore-la-cuisine
amandine-adore-la-cuisineamandine-adore-la-cuisine
amandine-adore-la-cuisine
 
Portfolio pierre duhamel novembre 2015
Portfolio pierre duhamel novembre 2015Portfolio pierre duhamel novembre 2015
Portfolio pierre duhamel novembre 2015
 
Conferencia 10 Junio
Conferencia 10 JunioConferencia 10 Junio
Conferencia 10 Junio
 
Introduction aux médias sociaux--MRC de Rousillon
Introduction aux médias sociaux--MRC de RousillonIntroduction aux médias sociaux--MRC de Rousillon
Introduction aux médias sociaux--MRC de Rousillon
 
PMI Cameroon Chapter October 4th 2014 : Pmief Presentation for cameroun chapter
PMI Cameroon Chapter October 4th 2014 : Pmief Presentation for cameroun chapterPMI Cameroon Chapter October 4th 2014 : Pmief Presentation for cameroun chapter
PMI Cameroon Chapter October 4th 2014 : Pmief Presentation for cameroun chapter
 
Mendeley_french
Mendeley_frenchMendeley_french
Mendeley_french
 
INTERNET Y LAS ORGANIZACIONES EL PARADIGMA DE LA WEB 2.0
INTERNET Y LAS ORGANIZACIONESEL PARADIGMA DE LA WEB 2.0INTERNET Y LAS ORGANIZACIONESEL PARADIGMA DE LA WEB 2.0
INTERNET Y LAS ORGANIZACIONES EL PARADIGMA DE LA WEB 2.0
 
Je continuerai bo
Je continuerai boJe continuerai bo
Je continuerai bo
 
Atelier JFK2009 Delaire
Atelier JFK2009 DelaireAtelier JFK2009 Delaire
Atelier JFK2009 Delaire
 
Présentation de carrières
Présentation de carrièresPrésentation de carrières
Présentation de carrières
 
Super maman
Super mamanSuper maman
Super maman
 

Checkstyle 6.6

  • 1. Page 1 sur 14 Zaghir.Y Utilisation de Checkstyle avec Eclipse pour la gestion de qualité de code: Version Checkstyle 6.16 , eclipse version Mars / fait le 2016-04-11
  • 2. Page 2 sur 14 Zaghir.Y
  • 3. Page 3 sur 14 Zaghir.Y
  • 4. Page 4 sur 14 Zaghir.Y
  • 5. Page 5 sur 14 Zaghir.Y
  • 6. Page 6 sur 14 Zaghir.Y
  • 7. Page 7 sur 14 Zaghir.Y
  • 8. Page 8 sur 14 Zaghir.Y
  • 9. Page 9 sur 14 Zaghir.Y
  • 10. Page 10 sur 14 Zaghir.Y
  • 11. Page 11 sur 14 Zaghir.Y
  • 12. Page 12 sur 14 Zaghir.Y
  • 13. Page 13 sur 14 Zaghir.Y Exemple de classe mal écrite public class client { public String codeClient ; private String Nom ; public String getNom(){ return Nom ; } public void setNom(String nom){ Nom = nom ; } }
  • 14. Page 14 sur 14 Zaghir.Y Classe bien écrite package entity; /** * @ Class Client * @author yzaghir * @version : 1.0 */ public class Client { /** * @see codeClient */ private String codeClient; /** * @see nom */ private String nom; /** * @see getCodeClient * @return codeClient */ public final String getCodeClient() { return codeClient; } /** * @param codeClient * @see setCodeClient */ public final void setCodeClient(final String codeClient) { this.codeClient = codeClient; } /** * @see getNom * @return nom */ public final String getNom() { return nom; } /** * @see setNom * @param nom */ public final void setNom(final String nom) { this.nom = nom; } }