Combining a Formal Method and PSP for Improving Software Process: An Initial Report
- (Work-In-Progress Report) -
Combining a Formal Method and PSP for Improving Software Process: - - PowerPoint PPT Presentation
Combining a Formal Method and PSP for Improving Software Process: An Initial Report - (Work-In-Progress Report) - Shigeru KUSAKABE , Yoichi OMORI, Keijiro ARAKI Kyushu University, Japan Outline Background Personal Software Process
TSP Symposium 2012 2012/09/19 2
TSP Symposium 2012 2012/09/19 3
2012/09/19 TSP Symposium 2012 4
2012/09/19 TSP Symposium 2012 5
TSP Symposium 2012 2012/09/19 6
TSP Symposium 2012 2012/09/19 7
* Service Mark of Carnegie Mellon University, Software Engineering Institute
TSP Symposium 2012 2012/09/19 8
9
SS2011: 2011/06/10
9
Size estimating Test report
Code reviews Design reviews
Team development
Design templates
Task planning Schedule planning
Current process Time recording Defect recording Defect type standard
Coding standard Size measurement Process improvement proposal (PIP)
Process extension (variation)
as baseline data
consider how to improve
2012/09/19 TSP Symposium 2012 9
TSP Symposium 2012 2012/09/19 10
TSP Symposium 2012 2012/09/19 11
*0 One of the most famous succeeded projects is Felica IC chip firmware *1 SEC: Software Engineering Center, *2 IPA: Information-technology Promotion Agency
TSP Symposium 2012 2012/09/19 12
2012/09/19 TSP Symposium 2012 13
2012/09/19 TSP Symposium 2012 14
2012/09/19 TSP Symposium 2012 15
2012/09/19 TSP Symposium 2012 16
17
TSP Symposium 2012 2012/09/18 17 2012/09/19
functions IAddAddress(name: Name, address: Address, book: AddressBook) r: AddressBook IAddAddress(name, address, book) == is not yet specified pre name not in set dom(book) post r = book munion {name |-> address}
2012/09/19 TSP Symposium 2012 18
functions fact : nat -> nat fact(n) == cases n : 0 -> 1,
end
Reduction of ambiguity in a phase may reduce the defects in the following phases, and may help finding the defects in the preceding phases.
TSP Symposium 2012 2012/09/19 19
Planning
Design
Coding Compile Test Different level / style
No proof so far (level 0)
TSP Symposium 2012 2012/09/19 20
SS2011: 2011/06/10
TSP Symposium 2012 2012/09/19 21
22
SS2011: 2011/06/10
22
Size estimating Test report
Code reviews Design reviews
Team development
Design templates
Task planning Schedule planning
Current process Time recording Defect recording Defect type standard
Coding standard Size measurement Process improvement proposal (PIP)
Process extension
data until PSP1*
consider how to improve
2012/09/19 TSP Symposium 2012 22
TSP Symposium 2012 2012/09/19 23
6.82 2.73 16.4 1.36 2.73 21.8 10 20 30 40 50 60
Defect density (/kLOC)
機能 データ チェック インタフェース 文法 文書化
SS2011: 2011/06/10
24
target type ave. fix time (mi) I-1 Interface insufficient breakdown 15.8 F-1 Function loop control 10.3 F-2 Function logic 6.8
24
TSP Symposium 2012 2012/09/19 24
(PSP 0, PSP 0.1, PSP 1, PSP 1.1)
SS2011: 2011/06/10
25
TSP Symposium 2012 2012/09/19 25
TSP Symposium 2012 2012/09/19 26
TSP Symposium 2012 2012/09/19 27
– none
(slightly increased, but removed in..)
– baseline
– proposed
– no reduction ...
– language proficiency?
SS2011: 2011/06/10
28
TSP Symposium 2012 2012/09/19 28
TSP Symposium 2012 2012/09/19 29
TSP Symposium 2012 2012/09/19 30
TSP Symposium 2012 2012/09/19 31