32
Quantitative Functional Change Impact Analysis in Activity Diagrams: A COSMIC-based Approach 17-Oct-15 © 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 1 Mariem Haoues, Asma Sellami, Hanêne Ben-Abdallah, and Nourhen Elleuch Abid FSEG, University of Sfax, Tunisia ISIMS, University of Sfax, Tunisia King Abdulaziz University, KSA

Quantitative functional change impact analysis in activity diagrams a cosmic-based approach - mariem haoues

Embed Size (px)

Citation preview

Page 1: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Quantitative Functional Change Impact Analysis in Activity Diagrams:

A COSMIC-based Approach

17-Oct-15 © 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL

1

Mariem Haoues, Asma Sellami, Hanêne Ben-Abdallah,

and Nourhen Elleuch Abid

FSEG, University of Sfax, Tunisia ISIMS, University of Sfax, Tunisia

King Abdulaziz University, KSA

Page 2: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Outline 2

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

¤  Introduction ¤ Background ¤ FC impact in UML-AD ¤  Illustrative Example ¤ Conclusion & Perspective

Page 3: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Problematic 3

¤  Building software that satisfy FUR within the quality, time, and budget constraint is a challenge

¤  FUR change during all the SDLC

¤  Responding to a change request

¤  Accepting a change request often leads to an additional cost and extra efforts to produce the final product within the schedule

¤  Rejecting a change request may produce a software that does not satisfy the user expectations

How important

is a functional

change?

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 4: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Objectives 4

¤  Express functional changes (FC) in terms of COSMIC-CFP ¤  Identify FC leading to a potential impact on the software

functional size ¤  Classify FC into three categories (Minor, Moderate, Major)

¤  Analyze the impact of FC on the size of UML activity diagrams (UML-AD) ¤  Propose three impact analysis directions (internal impact, intra-

impact, and inter-level impact)

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 5: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Methodology 5

Requested FC in FUR

UML-AD

COSMIC Minor

Moderate

Major

Internal Intra-level

Inter-level

FC impact in UML-AD: Three analysis directions

FS(FC)

R = FS(UML-AD)/N

FC Status

FS(UML-AD)

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 6: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Background 6

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

¤  Introduction ¤ Background ¤ FC impact in UML-AD ¤  Illustrative Example ¤ Conclusion & Perspective

Page 7: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

COSMIC-ISO 19761 7

¤  COSMIC ISO 19761 Measurement method –V 4.0.1

¤  Allow the quantification of any type of software (business,

real-time, embedded,…) from user’s point of view ¤  Independent of any quality or technical criteria ¤  Free on the web: http://cosmic-sizing.org/

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 8: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

COSMIC-ISO 19761 8

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 9: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Overview of Activity Diagram (UML-AD) 9

¤  UML-AD illustrates the behavior of a software system early in the SDLC at the functional and dynamic levels

Functional level

Actor 1

Actor 2

Actor 4

Actor 3

Activity 01

Activity 02

Activity 03

Dynamic level Who do what?

Actor 1 Actor 2 Actor 3

Action 031

Object 1

Action 032

Action 033

Action 034

Action 032

How?

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 10: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Works on Change Impact Analysis 10

¤  Many researchers studied ¤  Intra-dependency ¤  Inter-dependency

Statechart Sequence Use Cases Class

Inpirom et al.

Briand et al.

Hoa et al. JayPrakash Vargas et al.

Briand et al.

Chaumun et al.

UML Diagrams

Class Class Class Class Class Class Class

Sequence Sequence Sequence Sequence Sequence

Statechart Statechart

Use Case Use Case

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 11: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD 11

¤  Introduction ¤ Background ¤ FC impact in UML-AD ¤  Illustrative Example ¤ Conclusion & Perspective

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 12: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Classification of Functional Change Impact in UML-AD

12

¤  Three analysis directions ¤  Internal impact ¤  Intra-level impact ¤  Inter-level impact (child/parent)

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 13: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Classification of Functional Change Impact in UML-AD

13

¤  Three analysis directions ¤  Internal impact ¤  Intra-level impact ¤  Inter-level impact (child/parent)

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Functional Level Dynamic Level

Activity Action

Page 14: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Classification of Functional Change Impact in UML-AD

14

¤  Three analysis directions ¤  Internal impact ¤  Intra-level impact ¤  Inter-level impact (child/parent)

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Functional Level

Activity B

Activity A

Page 15: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Classification of Functional Change Impact in UML-AD

15

¤  Three analysis directions ¤  Internal impact ¤  Intra-level impact ¤  Inter-level impact (child/parent)

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Functional Level Dynamic Level

Activity Action Parent

Child

Page 16: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Identification of COSMIC Data Movements in UML-AD

16

Action A Action B W R

R W

Action A Action B Object W R

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 17: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Identification of COSMIC Data Movements in UML-AD

17

Activity A Activity B X E

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 18: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Identification of COSMIC Data Movements in UML-AD

18

Action A E

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Activity B

Activity B Action A X

Page 19: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Identification of COSMIC Data Movements in UML-AD

19

Action A Action B E

Action A Action B X

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 20: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Identification of COSMIC Data Movements in UML-AD

20

Action A Action B X

Action A Action B X

Confirmation message

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 21: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Functional size of UML-AD after a FC

21

¤  Internal Impact of a Functional Change in UML-AD

Where ¤  FSf(UML-AD): functional size of UML-AD after the change ¤  FSi(UML-AD): functional size of UML-AD before the change ¤  FS(A): functional size of the activity A

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 22: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Functional size of an activity A after a FC

22

¤  Intra-Level Impact of a Functional Change

¤  Where ¤  FSf(A): the functional size of the activity A after the change ¤  FSi(A): the functional size of the activity A before the change ¤  FS(B): the functional size of the activity B

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 23: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD FS(UML-AD) Elements When a FC is Submitted

23

¤  Inter-Level Impact of a Functional Change (parent)

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 24: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Functional Change Status

24

¤  According to COSMIC

q  “The minimum size of a change to a piece of software is 1 CFP” [COSMIC]

q  “very small” changes to a piece of software means “a few data movements” [COSMIC]

FS(UML-AD) N

R=

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 25: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD Functional Change Status

25

•  FS(FC) =1 CFP

Minor

•  FS(FC) ≥2CFP & •  FS(FC) ≤ R

Moderate

•  FS(FC) > R

Major

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 26: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD 26

¤  Introduction ¤ Background ¤ FC impact in UML-AD ¤  Illustrative Example ¤ Conclusion & Perspective

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 27: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Activity: “Ticket Vending Machine” 27

¤  Includes three partitions: Commuter, Ticket vending machine, and Bank

¤  Allows a Commuter to buy a ticket for a trip

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 28: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Activity: “Ticket Vending Machine” 28

¤  FC lead to the addition of 1 CFP to the FS (“Ticket Vending Machine”) ¤  FS(FC) = 1 CFP ¤  R= 13/1 = 13 CFP

Minor Change

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 29: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

FC impact in UML-AD 29

¤  Introduction ¤ Background ¤ FC impact in UML-AD ¤  Illustrative Example ¤ Conclusion & Perspective

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 30: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Conclusion 30

¤  Analysis of FC impact in the UML Activity Diagram (UML-AD) by using COSMIC-FSM method

¤  Change impact analysis along three directions (Internal, Intra-level, and Inter-level) and two levels (functional and dynamic)

¤  Identification of FC status (“Minor”, “Moderate”, “Major”) ¤  Minor change: FS(FC) = 1 CFP ¤  Moderate change: 2 CFP ≤FS(FC) ≤ R ¤  Major change: FS(FC) > R

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 31: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Perspective 31

¤  Further works ¤  The focus on inter-dependency analysis ¤  Provide guidelines to help in making appropriate

decisions related to the FC purpose ¤  Enhancing the existing system ¤  Re-developing the system

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15

Page 32: Quantitative functional change impact analysis in activity diagrams   a cosmic-based approach - mariem haoues

Thank you! 32

Mariem Haoues Asma Sellami

Hanêne Ben-Abdallah &

Nourchène Elleuch Ben Ayed

e-mail: [email protected]

[email protected] [email protected]

[email protected]

© 2015 “Multimedia, InfoRmation Systems and Advanced Computing Laboratory” - MIRACL 17-Oct-15