Presentasjon lastes. Vennligst vent

Presentasjon lastes. Vennligst vent

SPIQ/QIS 31.03.2015 1 The Problem The company in question develops hardware and software. They have two software groups, each with circa 15 developers.

Liknende presentasjoner


Presentasjon om: "SPIQ/QIS 31.03.2015 1 The Problem The company in question develops hardware and software. They have two software groups, each with circa 15 developers."— Utskrift av presentasjonen:

1 SPIQ/QIS 31.03.2015 1 The Problem The company in question develops hardware and software. They have two software groups, each with circa 15 developers. Part of the system is developed in SDL. In order to focus their V&V work better they needed to know which SDL module characteristics that caused errors. Possible candidates were number of module states, number of input signals etc.

2 SPIQ/QIS 31.03.2015 2 What to measure? In order to get a consistent and efficient data collection and analysis, we started with a GQM process. This consisted of A half-day basic course in GQM. A half-day workshop where they identified –the questions that needed answers. –which metrics they needed in order to answer these questions.

3 SPIQ/QIS 31.03.2015 3 Analyser PMC- modulen for å redusere Vedlikeholds kostnadene Sett fra FW vedlikehold og utvikling Omgivelse Omskriving av PMC Fokus 1.Antall feil pr. SDL blokk 2.Rettekostnader 3.Fordeling av antall feil på kategorier 4.Fordeling av kostnader over faser 5.Antall ”nye” feil pr. SDL blokk 6.Fordeling av feil meldt internt vs. feil meldt fra eksterne kunder Omgivelser a.Antall ”fremmede” endringer pr. blokk b.Kompleksitet av blokkomgivelser c.Kompleksitet av blokk d.Volum av blokk Hva tror vi Q1_1: Ca. 400 feil hittil for SDL-delen av PMC i alt Q1_2 Q1_3: Se definisjonen av Q1_3. Q1_4: TBD Q1_5: Ca. 5% ”nye” feil Q1_6: Ca 90% av feilene meldt internt Påvirkning Økt Q1_a => Økt Q1_1, Q1_2 Økt Q1_b => Økt Q1_1, Q1_2, Q1_5 Økt Q1_c => Økt Q1_1, Q1_2, Q1_5 Økt Q1_d => Økt Q1_1, Q1_2, Q1_5 Feedback

4 SPIQ/QIS 31.03.2015 4 SpørsmålQ1_c: Kompleksiteten av blokk Tilknyttede metrikkerM5: Antall tilstander pr. blokk M6: Antall signaler inn pr. blokk (M6a og M6b) M7: Antall GOTO pr. blokk M8: Antall variable pr. blokk M9: Antall eksterne signaler ut M12: Kompleksiteten til en SDL-blokk Definisjon Presentasjon og analyseQ1_c presenters som et Kiviat-diagram med en akse for hver av de seks metrikkene M5 – M9. M12 vises ved siden som en kontrollverdi. Hva tror vi

5 SPIQ/QIS 31.03.2015 5 The Metrics Some of the metrics that were collected for each SDL module: Number of errors found. Subjective - perceived - complexity. Number of pages of SDL description. Number of SDL states Number of signals in Number of signals out

6 SPIQ/QIS 31.03.2015 6

7 SPIQ/QIS 31.03.2015 7

8 SPIQ/QIS 31.03.2015 8 What makes it complex - 1 In order to answer this question we went through all the hypothesis put forward by the developers during the GQM session. We will look at three of them: Number of states - M5 Number of signals out - M9 Number of pages in the SDL description - M10

9 SPIQ/QIS 31.03.2015 9 What makes it complex - 2 The identified problems were well suited for ANOVA analysis. The data for the three metrics M5, M9 and M10 were sorted according to the complexity scores (High, Medium and Low). An ANOVA analyses was then performed for each data set. We decided to require p-value better than 10%

10 SPIQ/QIS 31.03.2015 10 ANOVA results - 1 Number of states: Source of VariationSSdfMSP-value Between Groups1190,0422595,02080,254299 Within Groups1631,8335326,3667 Number of states does not contribute significantly to the complexity as perceived by the developers.

11 SPIQ/QIS 31.03.2015 11 ANOVA results - 2 Number of signals out: Source of VariationSSdfMSP-value Between Groups2779,04221389,5210,098013 Within Groups1813,8335362,7667 Number of signals out contribute significantly to the complexity as perceived by the developers

12 SPIQ/QIS 31.03.2015 12 ANOVA results - 3 Number of pages in the SDL description: Source of VariationSSdfMSP-value Between Groups5586,04222793,0210,040168 Within Groups2133,8335426,7667 Number of pages in the SDL description contribute significantly to the complexity as perceived by the developers

13 SPIQ/QIS 31.03.2015 13 Summary - 1 SDL module complexity as perceived by the developers depends on two factors: Number of signals out Number of pages in the SDL description The other suspected factors identified during the GQM process did not give a significant contribution.

14 SPIQ/QIS 31.03.2015 14 What about Errors Now that we have some ideas on what makes a module look complex to the developers, the next step was to see if there is any connection between module complexity and the number of errors in the modules. As before, the ANOVA can give us an answer.

15 SPIQ/QIS 31.03.2015 15 Complexity and Errors - 1 Errors and complexity Source of VariationSSdfMSFP-value Between Groups1646,8332823,41670,057379 Within Groups770,66675154,1333 It is reasonable to assume that complex modules have more errors.

16 SPIQ/QIS 31.03.2015 16 Complexity and Errors - 2 If we look at the summary table form ANOVA, we see that the differences are quite large: GroupsCountSumAverageVariance Column 1310234343 Column 23227,33333341,33333 Column 32212 However, due to few observations for each complexity level, the variances are large also. Thus, we should not be too categorical.

17 SPIQ/QIS 31.03.2015 17 Conclusions With all the necessary caveats in mind the company decided as follows: In order to reduce the number of errors we need to single out modules with : Large descriptions - more than 35 pages of SDL description. Many signals out - more than 30. The limiting values are the average values from the ANOVA summary tables.


Laste ned ppt "SPIQ/QIS 31.03.2015 1 The Problem The company in question develops hardware and software. They have two software groups, each with circa 15 developers."

Liknende presentasjoner


Annonser fra Google