SlideShare una empresa de Scribd logo
1 de 33
Descargar para leer sin conexión
Software Qualimetry at Schneider
Electric using SQuORE
Hervé Dondey
Schneider Electric
Strategy & Innovation
Make the most of your
energy™
Schneider Electric at a glance
Schneider Electric – Strategy & Innovation – H. Dondey 2012 3
1999
Groupe Schneider becomes
Schneider Electric,
focused on Power & Control
1975
Merlin Gerin joins
Groupe Schneider
1988
Telemecanique joins
Groupe Schneider
1991
Square D joins
Groupe Schneider
1996
Modicon, historic leader in
Automation, becomes a
Schneider brand
2007
Acquisition of
APC corp. and Pelco
1836
Creation of Schneider
at Le Creusot, France
19th century 20th century 21st century
2000
Acquisition of
MGE UPS Systems
2003
Acquisition of
T.A.C
2005
Acquisition of
Power Measurement Inc.
2003-2008
Targeted acquisitions in wiring devices
and home automation
(Lexel, Clipsal, Merten, Ova, GET, etc.)
2008
Acquisition of
Xantrex
Steel
Industry
Power &
Control
2010
Acquisition of Areva’s distribution
activity
Energy
Management
More than 170 years of history
Schneider Electric – Strategy & Innovation – H. Dondey 2012 4
Residential 9%
Utilities & Infrastructure 20%
Industrial & machines 24%
Data centres 17%
Non-residential buildings 30%
Balanced geographies – FY 2010 sales
Year-end 2010 employees
Diversified end markets – FY 2010 sales1
North
America
24%
Asia
Pacific
24%Rest of
World
18%
Western
Europe
34%
1 Proforma with Areva D integrated on 12-month basis
26,000
41,700
31,900
19,200
Schneider Electric – the global
specialist in energy management
billion € sales in 2010
% of sales in new economies
people in 100+ countries
of sales devoted to R&D
Schneider Electric – Strategy & Innovation – H. Dondey 2012 5
● Around 9 100 employees in R&D and
technical engineering
● More than 2 500 employees in Software
Development
● 60 major R&D centers in about 23 countries,
representative in terms of markets and
competences
Schneider Electric R&D and
technical engineering population
Software Qualimetry at Schneider Electric
- Main Goals
Schneider Electric – Strategy & Innovation – H. Dondey 2012 7
The Cost of Waiting Focusing on Code
Schneider Electric – Strategy & Innovation – H. Dondey 2012 8
Three pillars, but …
Prevent
Industry
standard
coding
Rules
C/C++,C#,
Java &Security
MISRA, JSF, =S=
Detect
Static
Code
Analysis
Early defect
Detection
Coverity,Klocwork
…
Source
Code
Quality
Measure
Qualimetry
SCQI / SQUORE
Measure
Source Code Quality model
One Source Code Quality Model
This code quality solution enables SW bug prevention, defect identification,
policy enforcement and corrective actions early in the development cycle
Software Qualimetry at Schneider Electric
- The Source Code Quality Indicators
(SCQI) Method
Schneider Electric – Strategy & Innovation – H. Dondey 2012 10
SCQI Basic Concepts
Quality
Objectives
Technical Debt
Quality Model
Analysis Model
Schneider Electric – Strategy & Innovation – H. Dondey 2012 11
RxR4R3R2R1 Comment ratio Complexity
Readability Understandability Changeability
The Quality Model describes the break down of code quality
into characteristics, sub characteristics and then establish the
link with the internal properties of the code artifacts
Portability Reliability ….ilityMaintainability
Quality
1st concept: the Quality Model
Cyclomatic Complexity
Comment line count
Non Conformity count
for rule R
Coupling Between Object
Code Measures
Schneider Electric – Strategy & Innovation – H. Dondey 2012 12
Schneider Electric
Source Code Quality Model (SCQM)
All quality sub characteristics are linked to 50 internal property checks
(measures or coding rules)
Re-usability Maintainability
* for future extension of quality model ** when code coverage measures are available
Schneider Electric – Strategy & Innovation – H. Dondey 2012 13
Tailored Source Code Quality Model
Tailored (at department level)
Source Code Quality Model
Schneider Electric – Strategy & Innovation – H. Dondey 2012 14
A Quality Hierarchy of
(sub) characteristics
linked to measures/rules
QH
Q
Measure/rule
Sub characteristic
CharacteristicMaintainability
An Artifact
Hierarchy
2nd concept: the Analysis Model
Rules to aggregate from one AH level to the upper level
Rules to aggregate from one QH level to the upper level
The Analysis Model describes the rules and algorithms for
combining measures in order to build the relevant indicators
AH
A Application
C
Files
Component
Schneider Electric – Strategy & Innovation – H. Dondey 2012 15
3nd concept: the Technical Debt
The Technical Debt is the cost of remediating / refactoring the
software components to remove (intentional or unintentional)
defects or to comply with requirements related to source code
The Technical Debt of a software artifact shall aggregate the
technical debts of the embedded artifacts.
AH
A
QH
Σ
Software Qualimetry at Schneider Electric
- SCQI Process and Tools
Schneider Electric – Strategy & Innovation – H. Dondey 2012 17
Using software qualimetry during project
ConstructionDefinition
Concept and
feasibility
Validation Closure
1 - Quality Assessment
before maintenance
CLOSESELLDOSELECTOPEN
Release for
Validation
2 - Quality stage gate (intermediate
and final audit before launching)
......
3 - Quality measurement integrated into
each design and coding phase with 1 to n
iterations as needed
Schneider Electric – Strategy & Innovation – H. Dondey 2012 18
SQuORE: An Open and Scalable Architecture
A Collaborative Platform for
Optimizing Software Project Management
SQuORE DataBase
SQuORE Server
Data Analysis
& Modeling
Optimized
Remediation Plan Dashboards &
Reporting
Source
Code
Design
Models
Requirements
Test
Coverage
Bug
Tracking User Defined
Checklists
…
SQuORE Evaluation Engine
Schneider Electric – Strategy & Innovation – H. Dondey 2012 19
SQuORE: An intuitive Portal to Key Performance
Indicators
19
Trend analysis
version by
version
Forecast
Predicting the
trend
Objective and
impartial
evaluation
Breakdown into
Quality
characteristics
Distribution of artifacts
according to their level
of performance
Double
Drill-Down
Schneider Electric – Strategy & Innovation – H. Dondey 2012 20
SQCI Infrastructure
in January 2012
SQuORE
servers
UserUser
Admin
Centralized infrastructure
http://http://
Standard browser
(M:)
Local source
repository
Continuous integration
CLI*
* CLI: SQuORE Command Line Interface
(Z:)
Local source
repository
Pre-Prod
Prod #1
Prod #2
Prod #3
Software Qualimetry at Schneider Electric
– Status of the deployment
Schneider Electric – Strategy & Innovation – H. Dondey 2012 22
Deployment status
Last year (Q4 2010)
SW/FW population impacted < 20%
SCQI - mature
SCA - begin
SCQI - begin
SCA - mature
50p
50p
100p
100p
50p
50p
WW impacted population xx p (estimation)
Schneider Electric – Strategy & Innovation – H. Dondey 2012 23
Deployment status
Current (Q4 2011)
SW/FW Population impacted ~ 30%
SCQI - mature
SCA - begin
SCQI - begin
SCA - mature
150p
50p
150p
150p
50p
70p
70p
70p
?p
WW impacted population xx p (estimation)
Schneider Electric – Strategy & Innovation – H. Dondey 2012 24
Deployment forecast
> Q2 2012
SW/FW Population impacted > 50%
SCQI - mature
SCA - begin
SCQI - begin
SCA - mature
200p
100p
200p
170p
300p
120p
100p
70p
50p
WW impacted population xx p (estimation)
100p
Software Qualimetry at Schneider Electric
- Field background
Based on 5 departments and 70+ projects using
SQuORE for Source Code Quality Indicators
Schneider Electric – Strategy & Innovation – H. Dondey 2012 26
Some key feedback from the field
 Deliver an easy-to-access “out-of-the-box” platform
 Establish the scope of the evaluation clearly
 Make your own “Technical Debt”
 Extend the scope of quality evaluation when possible
 Optimize standardized “configurations”
 Ensure simple use cases for the end-users
Schneider Electric – Strategy & Innovation – H. Dondey 2012 27
F1.c
Some key feedback from the field
 Establish the scope of the evaluation clearly
F2.c
F3.c
F4.c
F5.c
F6.c
Avoid generated code
Avoid test oriented code: test drivers, stubs, …
Avoid Third-Party code / Reusable packages, …
Schneider Electric – Strategy & Innovation – H. Dondey 2012 28
Some key feedback from the field
 Make your own “Technical Debt”!
Considering the 4 following change proposals being part of a remediation plan,
which one should have the highest priority ?
a) completing function comment headers for Analyzability purpose,
b) specifying a default clause at the end of a switch structure for Fault Tolerance,
c) factorizing cloned code for Changeability and Testability,
d) adding a missing break statement ending a case block of a switch structure to
avoid unintentionally falling through the next case for Reliability purpose
 Consider severity to
setup an optimized
remediation plan!
The SCQI Technical Debt Density Scale
Schneider Electric – Strategy & Innovation – H. Dondey 2012 29
Some key feedback from the field
 Extend the scope of quality evaluation when possible
Source
CodeSource
CodeSource
CodeSource
CodeSource
Code
Mantis
Jira
ClearQuest
…
Change Mgnt.
SVN
GIT
ClearCase
…
Conf. Mgnt.
PCLint, FxCop,
Logiscope
CheckStyle
…
Rule Checking
GCOV
Junit
RTRT
…
Test - V&V
Coding
ReqPro
Reqtify
Doors
…
Requ. Mgnt.
Schneider Electric – Strategy & Innovation – H. Dondey 2012 30
Some key feedback from the field
 Optimize standardized “configurations”
Project Maturity Data Providers Configuration and Training
Low Level:
No code review or analysis
No continuous integration
All technologies:
CPD (Copy/paste detection)
SQuORE (Code metrics)
- Corporate standard Quality Model
- SQuORE deployed as a static code analyzer
and qualimetry dashboard
- Training/coaching provided only to super-users
(senior software developer)
Medium Level:
Code review
One or more static code
analysers (at different steps)
No continuous integration
All technologies:
CPD (Copy/paste detection)
SQuORE (Code metrics)
C/C++: Klocwork, Coverity,
CodeSonar
C# : FxCop
Java: Checkstyle
- Quality Model adapted to the local technical
rules set
- Rule Checking results integrated into SQuORE
- Qualimetry dashboard shared within the team
from the SQuORE server
- Training/coaching provided to some key users
(i.e. senior software developers and quality
engineers)
High Level:
Code review supported by
static code analyzers
running all along the
software development
lifecycle.
Continuous integration
(including static code
analysis, unit testing and
code coverage
measurement)
All technologies:
CPD (Copy/paste detection)
SQuORE (Code metrics)
C/C++: Klocwork, Coverity,
CodeSonar, Gcov
C#: FxCop, Nunit, Ncover
Java: Checkstyle, Junit,
FindBugs
- Quality Model adapted to the local technical
rules set
- All results integrated in automatic tool chain
- Qualimetry dashboard shared within team in
development loop
- Training/coaching provided to all team
members.
Schneider Electric – Strategy & Innovation – H. Dondey 2012 31
Software Qualimetry at Schneider Electric
- Conclusion & Perspectives
Schneider Electric – Strategy & Innovation – H. Dondey 2012 32
Conclusion & Perspectives
●Adding new data providers
● Additional “Advanced” Source code Analyzers
● New process measurement (i.e.: Configuration management, Requirement
management,
●Including architectural data from Design Models
●Towards a “Capitalization Database”
●And deploying on more and more R&D centres…
Thank you for your attention

Más contenido relacionado

Similar a 20120612 07 - Portail qualimétrie mis en oeuvre chez Schneider Squoring

Cadison world-issue-01-2013
Cadison world-issue-01-2013Cadison world-issue-01-2013
Cadison world-issue-01-2013
CADISON
 
MaxResume2014NoPhone
MaxResume2014NoPhoneMaxResume2014NoPhone
MaxResume2014NoPhone
Max Bernhardt
 
Mike Ward CV 2016.12.23
Mike Ward CV 2016.12.23Mike Ward CV 2016.12.23
Mike Ward CV 2016.12.23
Mike Ward
 
Roberto Mireles RESUME_2015 - Eng -
Roberto Mireles RESUME_2015 - Eng -Roberto Mireles RESUME_2015 - Eng -
Roberto Mireles RESUME_2015 - Eng -
Roberto Mireles
 
Efficient Solutions For The Courier Express And Postal Industry
Efficient Solutions For The Courier Express And Postal IndustryEfficient Solutions For The Courier Express And Postal Industry
Efficient Solutions For The Courier Express And Postal Industry
Thorne & Derrick UK
 

Similar a 20120612 07 - Portail qualimétrie mis en oeuvre chez Schneider Squoring (20)

Saichander resume
Saichander resumeSaichander resume
Saichander resume
 
Ranjith
RanjithRanjith
Ranjith
 
Engage with...Ricardo | Driving the Electric Revolution Webinar
Engage with...Ricardo | Driving the Electric Revolution WebinarEngage with...Ricardo | Driving the Electric Revolution Webinar
Engage with...Ricardo | Driving the Electric Revolution Webinar
 
Model-Driven Development for Safety-Critical Software
Model-Driven Development for Safety-Critical SoftwareModel-Driven Development for Safety-Critical Software
Model-Driven Development for Safety-Critical Software
 
Software Architecture Challenges in Process Automation - From Code Generation...
Software Architecture Challenges in Process Automation - From Code Generation...Software Architecture Challenges in Process Automation - From Code Generation...
Software Architecture Challenges in Process Automation - From Code Generation...
 
AEC - Presentation Slides 26012021 engineering software.pdf
AEC - Presentation Slides 26012021 engineering software.pdfAEC - Presentation Slides 26012021 engineering software.pdf
AEC - Presentation Slides 26012021 engineering software.pdf
 
TAC by Schneider Electric Corporate Presentation
TAC by Schneider Electric Corporate PresentationTAC by Schneider Electric Corporate Presentation
TAC by Schneider Electric Corporate Presentation
 
Cadison world-issue-01-2013
Cadison world-issue-01-2013Cadison world-issue-01-2013
Cadison world-issue-01-2013
 
INTEGRADDE Concept: AMEF 2018
INTEGRADDE Concept: AMEF 2018INTEGRADDE Concept: AMEF 2018
INTEGRADDE Concept: AMEF 2018
 
GenerationRFID Test & Embedded Electronics Technology Company
GenerationRFID Test & Embedded Electronics Technology CompanyGenerationRFID Test & Embedded Electronics Technology Company
GenerationRFID Test & Embedded Electronics Technology Company
 
MaxResume2014NoPhone
MaxResume2014NoPhoneMaxResume2014NoPhone
MaxResume2014NoPhone
 
Mike Ward CV 2016.12.23
Mike Ward CV 2016.12.23Mike Ward CV 2016.12.23
Mike Ward CV 2016.12.23
 
Nih ce-presentation-05272016(for approval)
Nih ce-presentation-05272016(for approval)Nih ce-presentation-05272016(for approval)
Nih ce-presentation-05272016(for approval)
 
Building converged plantwide ethernet architectures
Building converged plantwide ethernet architecturesBuilding converged plantwide ethernet architectures
Building converged plantwide ethernet architectures
 
Roberto Mireles RESUME_2015 - Eng -
Roberto Mireles RESUME_2015 - Eng -Roberto Mireles RESUME_2015 - Eng -
Roberto Mireles RESUME_2015 - Eng -
 
Intelligent Buildings and IAQ - COVID
Intelligent Buildings and IAQ - COVID Intelligent Buildings and IAQ - COVID
Intelligent Buildings and IAQ - COVID
 
Efficient Solutions For The Courier Express And Postal Industry
Efficient Solutions For The Courier Express And Postal IndustryEfficient Solutions For The Courier Express And Postal Industry
Efficient Solutions For The Courier Express And Postal Industry
 
ScaleFocus DACH Expertise
ScaleFocus DACH ExpertiseScaleFocus DACH Expertise
ScaleFocus DACH Expertise
 
Tim Erickson Visual Innovation Resume
Tim Erickson Visual Innovation ResumeTim Erickson Visual Innovation Resume
Tim Erickson Visual Innovation Resume
 
An Engineering Digital Twin to Accelerate Time to Production
An Engineering Digital Twin to Accelerate Time to ProductionAn Engineering Digital Twin to Accelerate Time to Production
An Engineering Digital Twin to Accelerate Time to Production
 

Más de LeClubQualiteLogicielle

20151013 - Crédit Mutuel ARKEA : mise en place d'une traçabilité outillée des...
20151013 - Crédit Mutuel ARKEA : mise en place d'une traçabilité outillée des...20151013 - Crédit Mutuel ARKEA : mise en place d'une traçabilité outillée des...
20151013 - Crédit Mutuel ARKEA : mise en place d'une traçabilité outillée des...
LeClubQualiteLogicielle
 

Más de LeClubQualiteLogicielle (20)

20171122 03 - Les tests de performance en environnement DevOps
20171122 03 - Les tests de performance en environnement DevOps20171122 03 - Les tests de performance en environnement DevOps
20171122 03 - Les tests de performance en environnement DevOps
 
20171122 04 - Automatisation - formation et certifications
20171122 04 - Automatisation - formation et certifications20171122 04 - Automatisation - formation et certifications
20171122 04 - Automatisation - formation et certifications
 
20171122 01 - REX : Intégration et déploiement continu chez Engie
20171122 01 - REX : Intégration et déploiement continu chez Engie20171122 01 - REX : Intégration et déploiement continu chez Engie
20171122 01 - REX : Intégration et déploiement continu chez Engie
 
20171122 02 - Engage developers to use better coding practices
20171122 02 - Engage developers to use better coding practices20171122 02 - Engage developers to use better coding practices
20171122 02 - Engage developers to use better coding practices
 
20171122 - Accueil Club Qualité Logicielle
20171122 - Accueil Club Qualité Logicielle 20171122 - Accueil Club Qualité Logicielle
20171122 - Accueil Club Qualité Logicielle
 
20151013 - Crédit Mutuel ARKEA : mise en place d'une traçabilité outillée des...
20151013 - Crédit Mutuel ARKEA : mise en place d'une traçabilité outillée des...20151013 - Crédit Mutuel ARKEA : mise en place d'une traçabilité outillée des...
20151013 - Crédit Mutuel ARKEA : mise en place d'une traçabilité outillée des...
 
20151013 - Agirc arrco : Behavior driven development
20151013 - Agirc arrco : Behavior driven development20151013 - Agirc arrco : Behavior driven development
20151013 - Agirc arrco : Behavior driven development
 
20151013 - Réduire les coûts des tests de performance ?
20151013 - Réduire les coûts des tests de performance ?20151013 - Réduire les coûts des tests de performance ?
20151013 - Réduire les coûts des tests de performance ?
 
20151013 - Accueil Club Qualité Logicielle
20151013 - Accueil Club Qualité Logicielle 20151013 - Accueil Club Qualité Logicielle
20151013 - Accueil Club Qualité Logicielle
 
20151013 - DevOps et qualification continue
20151013 - DevOps et qualification continue20151013 - DevOps et qualification continue
20151013 - DevOps et qualification continue
 
20140410 - Cartographie applicative multi-technologies et analyse d'impact
20140410 - Cartographie applicative multi-technologies et analyse d'impact20140410 - Cartographie applicative multi-technologies et analyse d'impact
20140410 - Cartographie applicative multi-technologies et analyse d'impact
 
20140410 - Implémentation de squash TM-TA - Architecture et méthodologie
20140410 - Implémentation de squash TM-TA - Architecture et méthodologie20140410 - Implémentation de squash TM-TA - Architecture et méthodologie
20140410 - Implémentation de squash TM-TA - Architecture et méthodologie
 
20140410 - Gestion des identités, traçabilité des accés - Analogie avec la qu...
20140410 - Gestion des identités, traçabilité des accés - Analogie avec la qu...20140410 - Gestion des identités, traçabilité des accés - Analogie avec la qu...
20140410 - Gestion des identités, traçabilité des accés - Analogie avec la qu...
 
20140410 - Choisir et implanter un outil de test
20140410 - Choisir et implanter un outil de test20140410 - Choisir et implanter un outil de test
20140410 - Choisir et implanter un outil de test
 
20130113 02 - TMMI, un modèle pour rentabiliser une organisation de test et a...
20130113 02 - TMMI, un modèle pour rentabiliser une organisation de test et a...20130113 02 - TMMI, un modèle pour rentabiliser une organisation de test et a...
20130113 02 - TMMI, un modèle pour rentabiliser une organisation de test et a...
 
20130113 06 - Travaux de recherche sur la corrélation entre qualité du code e...
20130113 06 - Travaux de recherche sur la corrélation entre qualité du code e...20130113 06 - Travaux de recherche sur la corrélation entre qualité du code e...
20130113 06 - Travaux de recherche sur la corrélation entre qualité du code e...
 
20130113 05 - Inspection continue et roadmap 2013
20130113 05 - Inspection continue et roadmap 201320130113 05 - Inspection continue et roadmap 2013
20130113 05 - Inspection continue et roadmap 2013
 
20130113 04 - Tests d'integration et virtualisation - La vision IBM
20130113 04 - Tests d'integration et virtualisation - La vision IBM20130113 04 - Tests d'integration et virtualisation - La vision IBM
20130113 04 - Tests d'integration et virtualisation - La vision IBM
 
20130523 06 - The mathematics the way algorithms think / the mathematics the ...
20130523 06 - The mathematics the way algorithms think / the mathematics the ...20130523 06 - The mathematics the way algorithms think / the mathematics the ...
20130523 06 - The mathematics the way algorithms think / the mathematics the ...
 
20130523 05 - Cyclomatic complexity
20130523 05 - Cyclomatic complexity20130523 05 - Cyclomatic complexity
20130523 05 - Cyclomatic complexity
 

Último

Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 

Último (20)

%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
 

20120612 07 - Portail qualimétrie mis en oeuvre chez Schneider Squoring

  • 1. Software Qualimetry at Schneider Electric using SQuORE Hervé Dondey Schneider Electric Strategy & Innovation
  • 2. Make the most of your energy™ Schneider Electric at a glance
  • 3. Schneider Electric – Strategy & Innovation – H. Dondey 2012 3 1999 Groupe Schneider becomes Schneider Electric, focused on Power & Control 1975 Merlin Gerin joins Groupe Schneider 1988 Telemecanique joins Groupe Schneider 1991 Square D joins Groupe Schneider 1996 Modicon, historic leader in Automation, becomes a Schneider brand 2007 Acquisition of APC corp. and Pelco 1836 Creation of Schneider at Le Creusot, France 19th century 20th century 21st century 2000 Acquisition of MGE UPS Systems 2003 Acquisition of T.A.C 2005 Acquisition of Power Measurement Inc. 2003-2008 Targeted acquisitions in wiring devices and home automation (Lexel, Clipsal, Merten, Ova, GET, etc.) 2008 Acquisition of Xantrex Steel Industry Power & Control 2010 Acquisition of Areva’s distribution activity Energy Management More than 170 years of history
  • 4. Schneider Electric – Strategy & Innovation – H. Dondey 2012 4 Residential 9% Utilities & Infrastructure 20% Industrial & machines 24% Data centres 17% Non-residential buildings 30% Balanced geographies – FY 2010 sales Year-end 2010 employees Diversified end markets – FY 2010 sales1 North America 24% Asia Pacific 24%Rest of World 18% Western Europe 34% 1 Proforma with Areva D integrated on 12-month basis 26,000 41,700 31,900 19,200 Schneider Electric – the global specialist in energy management billion € sales in 2010 % of sales in new economies people in 100+ countries of sales devoted to R&D
  • 5. Schneider Electric – Strategy & Innovation – H. Dondey 2012 5 ● Around 9 100 employees in R&D and technical engineering ● More than 2 500 employees in Software Development ● 60 major R&D centers in about 23 countries, representative in terms of markets and competences Schneider Electric R&D and technical engineering population
  • 6. Software Qualimetry at Schneider Electric - Main Goals
  • 7. Schneider Electric – Strategy & Innovation – H. Dondey 2012 7 The Cost of Waiting Focusing on Code
  • 8. Schneider Electric – Strategy & Innovation – H. Dondey 2012 8 Three pillars, but … Prevent Industry standard coding Rules C/C++,C#, Java &Security MISRA, JSF, =S= Detect Static Code Analysis Early defect Detection Coverity,Klocwork … Source Code Quality Measure Qualimetry SCQI / SQUORE Measure Source Code Quality model One Source Code Quality Model This code quality solution enables SW bug prevention, defect identification, policy enforcement and corrective actions early in the development cycle
  • 9. Software Qualimetry at Schneider Electric - The Source Code Quality Indicators (SCQI) Method
  • 10. Schneider Electric – Strategy & Innovation – H. Dondey 2012 10 SCQI Basic Concepts Quality Objectives Technical Debt Quality Model Analysis Model
  • 11. Schneider Electric – Strategy & Innovation – H. Dondey 2012 11 RxR4R3R2R1 Comment ratio Complexity Readability Understandability Changeability The Quality Model describes the break down of code quality into characteristics, sub characteristics and then establish the link with the internal properties of the code artifacts Portability Reliability ….ilityMaintainability Quality 1st concept: the Quality Model Cyclomatic Complexity Comment line count Non Conformity count for rule R Coupling Between Object Code Measures
  • 12. Schneider Electric – Strategy & Innovation – H. Dondey 2012 12 Schneider Electric Source Code Quality Model (SCQM) All quality sub characteristics are linked to 50 internal property checks (measures or coding rules) Re-usability Maintainability * for future extension of quality model ** when code coverage measures are available
  • 13. Schneider Electric – Strategy & Innovation – H. Dondey 2012 13 Tailored Source Code Quality Model Tailored (at department level) Source Code Quality Model
  • 14. Schneider Electric – Strategy & Innovation – H. Dondey 2012 14 A Quality Hierarchy of (sub) characteristics linked to measures/rules QH Q Measure/rule Sub characteristic CharacteristicMaintainability An Artifact Hierarchy 2nd concept: the Analysis Model Rules to aggregate from one AH level to the upper level Rules to aggregate from one QH level to the upper level The Analysis Model describes the rules and algorithms for combining measures in order to build the relevant indicators AH A Application C Files Component
  • 15. Schneider Electric – Strategy & Innovation – H. Dondey 2012 15 3nd concept: the Technical Debt The Technical Debt is the cost of remediating / refactoring the software components to remove (intentional or unintentional) defects or to comply with requirements related to source code The Technical Debt of a software artifact shall aggregate the technical debts of the embedded artifacts. AH A QH Σ
  • 16. Software Qualimetry at Schneider Electric - SCQI Process and Tools
  • 17. Schneider Electric – Strategy & Innovation – H. Dondey 2012 17 Using software qualimetry during project ConstructionDefinition Concept and feasibility Validation Closure 1 - Quality Assessment before maintenance CLOSESELLDOSELECTOPEN Release for Validation 2 - Quality stage gate (intermediate and final audit before launching) ...... 3 - Quality measurement integrated into each design and coding phase with 1 to n iterations as needed
  • 18. Schneider Electric – Strategy & Innovation – H. Dondey 2012 18 SQuORE: An Open and Scalable Architecture A Collaborative Platform for Optimizing Software Project Management SQuORE DataBase SQuORE Server Data Analysis & Modeling Optimized Remediation Plan Dashboards & Reporting Source Code Design Models Requirements Test Coverage Bug Tracking User Defined Checklists … SQuORE Evaluation Engine
  • 19. Schneider Electric – Strategy & Innovation – H. Dondey 2012 19 SQuORE: An intuitive Portal to Key Performance Indicators 19 Trend analysis version by version Forecast Predicting the trend Objective and impartial evaluation Breakdown into Quality characteristics Distribution of artifacts according to their level of performance Double Drill-Down
  • 20. Schneider Electric – Strategy & Innovation – H. Dondey 2012 20 SQCI Infrastructure in January 2012 SQuORE servers UserUser Admin Centralized infrastructure http://http:// Standard browser (M:) Local source repository Continuous integration CLI* * CLI: SQuORE Command Line Interface (Z:) Local source repository Pre-Prod Prod #1 Prod #2 Prod #3
  • 21. Software Qualimetry at Schneider Electric – Status of the deployment
  • 22. Schneider Electric – Strategy & Innovation – H. Dondey 2012 22 Deployment status Last year (Q4 2010) SW/FW population impacted < 20% SCQI - mature SCA - begin SCQI - begin SCA - mature 50p 50p 100p 100p 50p 50p WW impacted population xx p (estimation)
  • 23. Schneider Electric – Strategy & Innovation – H. Dondey 2012 23 Deployment status Current (Q4 2011) SW/FW Population impacted ~ 30% SCQI - mature SCA - begin SCQI - begin SCA - mature 150p 50p 150p 150p 50p 70p 70p 70p ?p WW impacted population xx p (estimation)
  • 24. Schneider Electric – Strategy & Innovation – H. Dondey 2012 24 Deployment forecast > Q2 2012 SW/FW Population impacted > 50% SCQI - mature SCA - begin SCQI - begin SCA - mature 200p 100p 200p 170p 300p 120p 100p 70p 50p WW impacted population xx p (estimation) 100p
  • 25. Software Qualimetry at Schneider Electric - Field background Based on 5 departments and 70+ projects using SQuORE for Source Code Quality Indicators
  • 26. Schneider Electric – Strategy & Innovation – H. Dondey 2012 26 Some key feedback from the field  Deliver an easy-to-access “out-of-the-box” platform  Establish the scope of the evaluation clearly  Make your own “Technical Debt”  Extend the scope of quality evaluation when possible  Optimize standardized “configurations”  Ensure simple use cases for the end-users
  • 27. Schneider Electric – Strategy & Innovation – H. Dondey 2012 27 F1.c Some key feedback from the field  Establish the scope of the evaluation clearly F2.c F3.c F4.c F5.c F6.c Avoid generated code Avoid test oriented code: test drivers, stubs, … Avoid Third-Party code / Reusable packages, …
  • 28. Schneider Electric – Strategy & Innovation – H. Dondey 2012 28 Some key feedback from the field  Make your own “Technical Debt”! Considering the 4 following change proposals being part of a remediation plan, which one should have the highest priority ? a) completing function comment headers for Analyzability purpose, b) specifying a default clause at the end of a switch structure for Fault Tolerance, c) factorizing cloned code for Changeability and Testability, d) adding a missing break statement ending a case block of a switch structure to avoid unintentionally falling through the next case for Reliability purpose  Consider severity to setup an optimized remediation plan! The SCQI Technical Debt Density Scale
  • 29. Schneider Electric – Strategy & Innovation – H. Dondey 2012 29 Some key feedback from the field  Extend the scope of quality evaluation when possible Source CodeSource CodeSource CodeSource CodeSource Code Mantis Jira ClearQuest … Change Mgnt. SVN GIT ClearCase … Conf. Mgnt. PCLint, FxCop, Logiscope CheckStyle … Rule Checking GCOV Junit RTRT … Test - V&V Coding ReqPro Reqtify Doors … Requ. Mgnt.
  • 30. Schneider Electric – Strategy & Innovation – H. Dondey 2012 30 Some key feedback from the field  Optimize standardized “configurations” Project Maturity Data Providers Configuration and Training Low Level: No code review or analysis No continuous integration All technologies: CPD (Copy/paste detection) SQuORE (Code metrics) - Corporate standard Quality Model - SQuORE deployed as a static code analyzer and qualimetry dashboard - Training/coaching provided only to super-users (senior software developer) Medium Level: Code review One or more static code analysers (at different steps) No continuous integration All technologies: CPD (Copy/paste detection) SQuORE (Code metrics) C/C++: Klocwork, Coverity, CodeSonar C# : FxCop Java: Checkstyle - Quality Model adapted to the local technical rules set - Rule Checking results integrated into SQuORE - Qualimetry dashboard shared within the team from the SQuORE server - Training/coaching provided to some key users (i.e. senior software developers and quality engineers) High Level: Code review supported by static code analyzers running all along the software development lifecycle. Continuous integration (including static code analysis, unit testing and code coverage measurement) All technologies: CPD (Copy/paste detection) SQuORE (Code metrics) C/C++: Klocwork, Coverity, CodeSonar, Gcov C#: FxCop, Nunit, Ncover Java: Checkstyle, Junit, FindBugs - Quality Model adapted to the local technical rules set - All results integrated in automatic tool chain - Qualimetry dashboard shared within team in development loop - Training/coaching provided to all team members.
  • 31. Schneider Electric – Strategy & Innovation – H. Dondey 2012 31 Software Qualimetry at Schneider Electric - Conclusion & Perspectives
  • 32. Schneider Electric – Strategy & Innovation – H. Dondey 2012 32 Conclusion & Perspectives ●Adding new data providers ● Additional “Advanced” Source code Analyzers ● New process measurement (i.e.: Configuration management, Requirement management, ●Including architectural data from Design Models ●Towards a “Capitalization Database” ●And deploying on more and more R&D centres…
  • 33. Thank you for your attention