A Preliminary Study of Quantified, Typed Events
Robert Dyer1, Mehdi Bagherzadeh1, Hridesh Rajan1 and Yuanfang Cai2
1Iowa State University 2Drexel University
A Preliminary Study of Quantified, Typed Events Robert Dyer 1 , - - PowerPoint PPT Presentation
A Preliminary Study of Quantified, Typed Events Robert Dyer 1 , Mehdi Bagherzadeh 1 , Hridesh Rajan 1 and Yuanfang Cai 2 1 Iowa State University 2 Drexel University { rdyer,mbagherz,hridesh } @cs.iastate.edu yfcai@cs.drexel.edu March 16, 2010
1Iowa State University 2Drexel University
Motivation Benefits in a Nutshell Evaluation Summary Background An Example in AspectJ An Example in Ptolemy
1
2
◮ AO: quantification failure, fragile pointcuts, limited context
◮ II: coupling of observers, no replacement of event code, no
1Rajan and Leavens - ECOOP’08 Dyer, Bagherzadeh, Rajan and Cai 2 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Background An Example in AspectJ An Example in Ptolemy
◮ Software engineering metrics: makes implicit coupling in
◮ NOV analysis: Ptolemy needs ITDs (so we added it) 2Rajan and Leavens - ECOOP’08 3Figueiredo et al - ICSE’08 Dyer, Bagherzadeh, Rajan and Cai 3 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Background An Example in AspectJ An Example in Ptolemy
◮ Points, Lines, etc ◮ All such elements are of type FElement
◮ Whenever an element of drawing changes — ◮ Update the display Dyer, Bagherzadeh, Rajan and Cai 4 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Background An Example in AspectJ An Example in Ptolemy
Dyer, Bagherzadeh, Rajan and Cai 5 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Background An Example in AspectJ An Example in Ptolemy
Dyer, Bagherzadeh, Rajan and Cai 6 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Background An Example in AspectJ An Example in Ptolemy
Dyer, Bagherzadeh, Rajan and Cai 7 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Background An Example in AspectJ An Example in Ptolemy
Dyer, Bagherzadeh, Rajan and Cai 8 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Background An Example in AspectJ An Example in Ptolemy
Dyer, Bagherzadeh, Rajan and Cai 9 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Background An Example in AspectJ An Example in Ptolemy
Dyer, Bagherzadeh, Rajan and Cai 10 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
◮ Inter-type declarations (ITDs) ◮ Declare Parents ◮ Softened Exceptions Dyer, Bagherzadeh, Rajan and Cai 11 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
4Ptolemy now supports AspectJ-style ITDs Dyer, Bagherzadeh, Rajan and Cai 12 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
Dyer, Bagherzadeh, Rajan and Cai 13 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
Dyer, Bagherzadeh, Rajan and Cai 14 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
Dyer, Bagherzadeh, Rajan and Cai 15 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
Dyer, Bagherzadeh, Rajan and Cai 16 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
◮ No Quantification Failure ◮ No Fragile Pointcuts ◮ Can easily advise other advice (due to symmetry) Dyer, Bagherzadeh, Rajan and Cai 17 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
Dyer, Bagherzadeh, Rajan and Cai 18 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
Dyer, Bagherzadeh, Rajan and Cai 19 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
Dyer, Bagherzadeh, Rajan and Cai 20 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
Dyer, Bagherzadeh, Rajan and Cai 21 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
Dyer, Bagherzadeh, Rajan and Cai 22 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Benefits of Aspect-oriented Designs Benefits of Quantified, Typed Events
Dyer, Bagherzadeh, Rajan and Cai 23 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Software Engineering Metrics Net Options Value Analysis
Dyer, Bagherzadeh, Rajan and Cai 24 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Software Engineering Metrics Net Options Value Analysis
OO AO PTL Dyer, Bagherzadeh, Rajan and Cai 25 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary Software Engineering Metrics Net Options Value Analysis
R1 R2 R3 R4 R5 R6 R7 R8 1 2 3 4 5
OO AO PTL
Dyer, Bagherzadeh, Rajan and Cai 26 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary
Dyer, Bagherzadeh, Rajan and Cai 27 Preliminary Study of Quantified, Typed Events
Motivation Benefits in a Nutshell Evaluation Summary
Dyer, Bagherzadeh, Rajan and Cai 28 Preliminary Study of Quantified, Typed Events
Mobile Media Metrics Tables Citations Releases Table
Dyer, Bagherzadeh, Rajan and Cai 30 Preliminary Study of Quantified, Typed Events
Mobile Media Metrics Tables Citations Change Propagation Coupling and Cohesion Size Metrics
Dyer, Bagherzadeh, Rajan and Cai 31 Preliminary Study of Quantified, Typed Events
Mobile Media Metrics Tables Citations Change Propagation Coupling and Cohesion Size Metrics
Dyer, Bagherzadeh, Rajan and Cai 32 Preliminary Study of Quantified, Typed Events
Mobile Media Metrics Tables Citations Change Propagation Coupling and Cohesion Size Metrics
Dyer, Bagherzadeh, Rajan and Cai 33 Preliminary Study of Quantified, Typed Events
Mobile Media Metrics Tables Citations
Dyer, Bagherzadeh, Rajan and Cai 34 Preliminary Study of Quantified, Typed Events