metrics for effort/cost estimation of mobile apps development

92
Università degli studi di Salerno Dipartimento di Scienze Aziendali, Management & Innovation System Corso di Laurea Magistrale in Tecnologie Informatiche e Management Metrics for Effort/Cost Estimation of Mobile apps development ANNO ACCADEMICO 2015-2016 Relatore: Prof. ssa Filomena Ferrucci Dott. Pasquale Salza Candidata: Catolino Gemma Matricola 0222500095 Tesi di laurea magistrale in Ingegneria del Software: Metriche, Qualità e Valutazione Sperimentale

Upload: gemma-catolino

Post on 22-Jan-2018

197 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Metrics for Effort/Cost Estimation of Mobile apps development

Università degli studi di SalernoDipartimento di Scienze Aziendali, Management & Innovation SystemCorso di Laurea Magistrale in Tecnologie Informatiche e Management

Metrics for Effort/Cost Estimation of Mobile apps development

ANNO ACCADEMICO 2015-2016

Relatore: Prof. ssa Filomena FerrucciDott. Pasquale Salza

Candidata: Catolino Gemma

Matricola 0222500095

Tesi di laurea magistrale in Ingegneria del Software: Metriche, Qualità e Valutazione Sperimentale

Page 2: Metrics for Effort/Cost Estimation of Mobile apps development

The Effort and Cost Estimation

Page 3: Metrics for Effort/Cost Estimation of Mobile apps development

Not Only for traditional Software

Page 4: Metrics for Effort/Cost Estimation of Mobile apps development

always hard to estimate in advance

Page 5: Metrics for Effort/Cost Estimation of Mobile apps development

over budget

and overrun

Page 6: Metrics for Effort/Cost Estimation of Mobile apps development

Continuous process

Page 7: Metrics for Effort/Cost Estimation of Mobile apps development

When more data become available…

Page 8: Metrics for Effort/Cost Estimation of Mobile apps development

more accurate estimations can be achieved!

Page 9: Metrics for Effort/Cost Estimation of Mobile apps development

Non-Model-Based

Human experts

MAN / HOURS

Page 10: Metrics for Effort/Cost Estimation of Mobile apps development

Model-BasedM M M M

MAN / HOURS

Page 11: Metrics for Effort/Cost Estimation of Mobile apps development

the Size Factor

Page 12: Metrics for Effort/Cost Estimation of Mobile apps development

the Size Factor

L OC

Page 13: Metrics for Effort/Cost Estimation of Mobile apps development

L OC

the Size Factor

Page 14: Metrics for Effort/Cost Estimation of Mobile apps development

F P AFunction Point Analysis

(functional) transactions

and (logical) data

the Size Factor

Page 15: Metrics for Effort/Cost Estimation of Mobile apps development

c f pCosmic Function Point

movements from/to persistent

storage and users

the Size Factor

Page 16: Metrics for Effort/Cost Estimation of Mobile apps development

D’avanzo et al. approach

van Heeringen & van Gorp

approach

Sellami et al.

Set of guidelines for

an approximate and

quick sizing of mobile apps

IFPUG Guidelines

Page 17: Metrics for Effort/Cost Estimation of Mobile apps development

D’avanzo approach

van Heeringen & van Gorp

approach

Cozzolino et al. approach

new set of guidelines

Page 18: Metrics for Effort/Cost Estimation of Mobile apps development

Cozzolino et al. approach

View/Show Data

Create/Set/Delete Data

Invoking service

new set of guidelines

Page 19: Metrics for Effort/Cost Estimation of Mobile apps development

Cozzolino et al. approach

3 CFP

3 CFP

2 CFP

new set of guidelines

Page 20: Metrics for Effort/Cost Estimation of Mobile apps development

LIMITations

Page 21: Metrics for Effort/Cost Estimation of Mobile apps development

The software life cycle is already started!

Page 22: Metrics for Effort/Cost Estimation of Mobile apps development
Page 23: Metrics for Effort/Cost Estimation of Mobile apps development

Early Effort Estimation

Page 24: Metrics for Effort/Cost Estimation of Mobile apps development

Defining a set of metrics for mobile early effort estimation

Page 25: Metrics for Effort/Cost Estimation of Mobile apps development

Defining a set of metrics for mobile early effort estimation

Investigating how the early size measure can be mapped

into Cozzolino et al. guidelines

Page 26: Metrics for Effort/Cost Estimation of Mobile apps development

Defining a set of metrics for mobile early effort estimation

Investigating if the mapping is useful for estimating CFP

Investigating how the early size measure can be mapped

into Cozzolino et al. guidelines

Page 27: Metrics for Effort/Cost Estimation of Mobile apps development

Defining a set of metrics for mobile early effort estimation

Page 28: Metrics for Effort/Cost Estimation of Mobile apps development

Emilia Mendes

Emilia Mendes, Nile Mosley, and Steve Counsell.Investigating early web size measures for web cost estimation. In Proceedings of EASE’2003 Conference,Keele, pages 1–22, 2003.

Page 29: Metrics for Effort/Cost Estimation of Mobile apps development

Analysis of quote form

Emilia Mendes, Nile Mosley, and Steve Counsell.Investigating early web size measures for web cost estimation. In Proceedings of EASE’2003 Conference,Keele, pages 1–22, 2003.

Page 30: Metrics for Effort/Cost Estimation of Mobile apps development

Emilia Mendes, Nile Mosley, and Steve Counsell.Investigating early web size measures for web cost estimation. In Proceedings of EASE’2003 Conference,Keele, pages 1–22, 2003.

377manually validated links

Analysis of quote form

Page 31: Metrics for Effort/Cost Estimation of Mobile apps development

Analysis of quote form

Emilia Mendes, Nile Mosley, and Steve Counsell.Investigating early web size measures for web cost estimation. In Proceedings of EASE’2003 Conference,Keele, pages 1–22, 2003.

Extraction of initial set of metrics

Page 32: Metrics for Effort/Cost Estimation of Mobile apps development

Features

Categories

Page 33: Metrics for Effort/Cost Estimation of Mobile apps development

Features Application GUI

Categories

Page 34: Metrics for Effort/Cost Estimation of Mobile apps development

Features Application GUICost

Driver

Categories

Page 35: Metrics for Effort/Cost Estimation of Mobile apps development

Features Application GUI

Project’s Metrics

Cost Driver

Categories

Page 36: Metrics for Effort/Cost Estimation of Mobile apps development

Features Application GUI

Project’s Metrics

Cost Driver

Application functionality

Categories

Page 37: Metrics for Effort/Cost Estimation of Mobile apps development

Features Application GUI

Project’s Metrics

Cost Driver

Application functionality

Application size

Categories

Page 38: Metrics for Effort/Cost Estimation of Mobile apps development

Features Application GUI

Project’s Metrics

Cost Driver

Application functionality

Possible Metrics

Application size

Categories

Page 39: Metrics for Effort/Cost Estimation of Mobile apps development

Emilia Mendes, Nile Mosley, and Steve Counsell.Investigating early web size measures for web cost estimation. In Proceedings of EASE’2003 Conference,Keele, pages 1–22, 2003.

Extraction of initial set of metrics Validation of initial

set of metrics

Analysis of quote form

Page 40: Metrics for Effort/Cost Estimation of Mobile apps development

Validation of initial set of metrics

42

DEVELOPERS

PROJECT MANAGERS

Page 41: Metrics for Effort/Cost Estimation of Mobile apps development

Validation of initial set of metrics

TWO SURVEYS

Page 42: Metrics for Effort/Cost Estimation of Mobile apps development

Validation of initial set of metrics

TWO SURVEYS

Page 43: Metrics for Effort/Cost Estimation of Mobile apps development

Validation of initial set of metrics

TWO SURVEY

YY

Page 44: Metrics for Effort/Cost Estimation of Mobile apps development

Validation of initial set of metrics

48 METRICS

Page 45: Metrics for Effort/Cost Estimation of Mobile apps development

Validation of initial set of metrics

36CONFIRMED

Page 46: Metrics for Effort/Cost Estimation of Mobile apps development

Validation of initial set of metrics

12DELETED

Page 47: Metrics for Effort/Cost Estimation of Mobile apps development

Validation of initial set of metrics

12DELETED

Project start date

App purchasing

Type of business owns the app idea

Complex back-end

Page 48: Metrics for Effort/Cost Estimation of Mobile apps development

Validation of initial set of metrics

5 ADDED

Page 49: Metrics for Effort/Cost Estimation of Mobile apps development

Validation of initial set of metrics

5 ADDED

Support Security

Backward compatibility

User target

Page 50: Metrics for Effort/Cost Estimation of Mobile apps development

Features

Generalities

Projects Design

Platfom

Accounting

User featuresSocial Aspect

Remote Connection

eCommerce

Date & Location

MonitoringAdditional

Functionality

Renovation of Categories

Page 51: Metrics for Effort/Cost Estimation of Mobile apps development

DesignProjects

Platfom

Features

Date & Location

MonitoringAdditional

Functionality

Renovation of Categories

Accounting

User featuresSocial Aspect

Generalities

Remote Connection

eCommerceGoogle Module

Page 52: Metrics for Effort/Cost Estimation of Mobile apps development
Page 53: Metrics for Effort/Cost Estimation of Mobile apps development
Page 54: Metrics for Effort/Cost Estimation of Mobile apps development

SIZE

Page 55: Metrics for Effort/Cost Estimation of Mobile apps development

Investigating how the early size measure can be mapped into Cozzolino et al. guidelines

Page 56: Metrics for Effort/Cost Estimation of Mobile apps development

Requirements

Early phase of developments Requirement Elicitation/ Analysis

Page 57: Metrics for Effort/Cost Estimation of Mobile apps development

SOFTWARE SIZE

Early phase of developments Requirement Elicitation/ Analysis

Page 58: Metrics for Effort/Cost Estimation of Mobile apps development

Early phase of developments Requirement Elicitation/ Analysis

cosmic

Page 59: Metrics for Effort/Cost Estimation of Mobile apps development

View/Show Data

Exchange Data via a network

Invoking service

Create/Set/Delete Data

GuidelinesCozzolino et al.

Early MetricsSocial sharing

Search

MessagingAd hoc

authentication

Analytics

Page 60: Metrics for Effort/Cost Estimation of Mobile apps development

Exchange Data via a network

Early Metrics

Ad hoc authentication

GuidelinesCozzolino et al.

Page 61: Metrics for Effort/Cost Estimation of Mobile apps development

Exchange Data via a network

Lines guideCozzolino et al.Early Metrics

Ad hoc authentication

MIN MAX10 CFP5 CFP

Login + RegisterLogin

Ad hoc authentication

Page 62: Metrics for Effort/Cost Estimation of Mobile apps development

Exchange Data via a network

Lines guideCozzolino et al.Early Metrics

Ad hoc authentication

MINMAX10 CFP 5 CFP

Login + Register Login

41 METRICS

Page 63: Metrics for Effort/Cost Estimation of Mobile apps development

Exchange Data via a network

Lines guideCozzolino et al.Early Metrics

Ad hoc authentication

MINMAX10 CFP 5 CFP

Login + Register Login

26 METRICSMIN MAXOPERATIONS

Page 64: Metrics for Effort/Cost Estimation of Mobile apps development

Empirical study

Page 65: Metrics for Effort/Cost Estimation of Mobile apps development

Evaluate the accuracy of the estimations in terms of

COSMIC Function Pointsof the early metrics

Page 66: Metrics for Effort/Cost Estimation of Mobile apps development

RQ: To what extent the CFPs extractable using the early metrics are close to the actual CFPs of a Mobile app?

Evaluate the accuracy of the estimations in terms of

COSMIC Function Pointsof the early metrics

Page 67: Metrics for Effort/Cost Estimation of Mobile apps development

Evaluate the accuracy of the estimations in terms of

COSMIC Function Pointsof the early metrics

13 MOBILE APPLICATIONS

Page 68: Metrics for Effort/Cost Estimation of Mobile apps development

APP FUR EARLYMETRIC

DESIGN

Page 69: Metrics for Effort/Cost Estimation of Mobile apps development

EARLYMETRIC

#CFP

DESIGN

MIN

MAXAVG

Page 70: Metrics for Effort/Cost Estimation of Mobile apps development

EARLYMETRIC

#CFP

MRE

MMRE

MdMRE

PRED(25)

DESIGN

Page 71: Metrics for Effort/Cost Estimation of Mobile apps development

Results

Page 72: Metrics for Effort/Cost Estimation of Mobile apps development

Application Early CFP_min Early CFP_max Early CFP_avg Oracle

Wikipedia 37 47 42 46

Munch 41 51 46 42Loopboard 16 21 18,5 14

Man man 34 44 38,5 38

Easy Sound Recorder 20 25 22,5 18

K-9 Mail 38 53 45,5 32

Transportr 47 67 57 38

Hashr 23 23 23 19

arXiv Mobile 37 42 39,5 39NPR News 37 42 39,5 38

Loop Habit Tracker 26 31 28,5 28

Radio Droid 33 38 35,5 50

RoomMates Expense 26 31 28,5 44

Page 73: Metrics for Effort/Cost Estimation of Mobile apps development

Application Early CFP_min Early CFP_max Early CFP_avg Oracle

Wikipedia 37 47 42 46

Munch 41 51 46 42Loopboard 16 21 18,5 14

Man man 34 44 38,5 38

Easy Sound Recorder 20 25 22,5 18

K-9 Mail 38 53 45,5 32

Transportr 47 67 57 38

Hashr 23 23 23 19

arXiv Mobile 37 42 39,5 39NPR News 37 42 39,5 38

Loop Habit Tracker 26 31 28,5 28

Radio Droid 33 38 35,5 50

RoomMates Expense 26 31 28,5 44

Page 74: Metrics for Effort/Cost Estimation of Mobile apps development

Application Early CFP_min MRE_min PRED(25)

Wikipedia 37 0,19 1

Munch 41 0,02 1Loopboard 16 0,14 1

Man man 34 0,01 1

Easy Sound Recorder 20 0,11 1

K-9 Mail 38 0,19 1

Transportr 47 0,24 1

Hashr 23 0,21 1

arXiv Mobile 37 0,05 1NPR News 37 0,03 1

Loop Habit Tracker 26 0,07 1

Radio Droid 33 0,34 0

RoomMates Expense 26 0,41 0

MIN

Page 75: Metrics for Effort/Cost Estimation of Mobile apps development

MIN

MMRE 0,16

MDMRE 0,14

PRED(25) 85%

Page 76: Metrics for Effort/Cost Estimation of Mobile apps development

Application Early max MRE_max PRED(25)

Wikipedia 47 0,02 1

Munch 51 0,21 1Loopboard 21 0,5 0

Man man 44 0,16 1

Easy Sound Recorder 25 0,39 0

K-9 Mail 53 0,66 0

Transportr 67 0,76 0

Hashr 23 0,21 1

arXiv Mobile 42 0,08 1NPR News 42 0,1 1

Loop Habit Tracker 31 0,11 1

Radio Droid 38 0,24 1

RoomMates Expense 31 0,29 1

MAX

Page 77: Metrics for Effort/Cost Estimation of Mobile apps development

MIN

MMRE 0,29 0

MDMRE 0,21

PRED(25) 61%

Page 78: Metrics for Effort/Cost Estimation of Mobile apps development

Application Early avg MRE_avg PRED(25)

Wikipedia 42 0,09 1

Munch 46 0,09 1Loopboard 18,5 0,32 0

Man man 38,5 0,01 1

Easy Sound Recorder 22,5 0,25 1

K-9 Mail 45,5 0,42 0

Transportr 57 0,5 0

Hashr 23 0,21 1

arXiv Mobile 39,5 0,01 1NPR News 39,5 0,04 1

Loop Habit Tracker 28,5 0,02 1

Radio Droid 35,5 0,29 0

RoomMates Expense 28,5 0,35 0

AVG

Page 79: Metrics for Effort/Cost Estimation of Mobile apps development

MMRE 0.2

MDMRE 0.21

PRED(25) 61%

AVG

Page 80: Metrics for Effort/Cost Estimation of Mobile apps development

Application Early CFP_min Early CFP_max Early CFP_avg Oracle

Wikipedia 37 47 42 46

Munch 41 51 46 42Loopboard 16 21 18,5 14

Man man 34 44 38,5 38

Easy Sound Recorder 20 25 22,5 18

K-9 Mail 38 53 45,5 32

Transportr 47 67 57 38

Hashr 23 23 23 19

arXiv Mobile 37 42 39,5 39NPR News 37 42 39,5 38

Loop Habit Tracker 26 31 28,5 28

Radio Droid 33 38 35,5 50

RoomMates Expense 26 31 28,5 44

Page 81: Metrics for Effort/Cost Estimation of Mobile apps development

Application Early CFP_min Early CFP_max Early CFP_avg Oracle

Wikipedia 37 47 42 46

Munch 41 51 46 42Loopboard 16 21 18,5 14

Man man 34 44 38,5 38

Easy Sound Recorder 20 25 22,5 18

K-9 Mail 38 53 45,5 32

Transportr 47 67 57 38

Hashr 23 23 23 19

arXiv Mobile 37 42 39,5 39NPR News 37 42 39,5 38

Loop Habit Tracker 26 31 28,5 28

Radio Droid 33 38 35,5 50

RoomMates Expense 26 31 28,5 44

Page 82: Metrics for Effort/Cost Estimation of Mobile apps development

RQ: To what extent the CFPs extractable using the early metrics are close to the actual CFPs of a Mobile app?

The estimations provided by our metrics resulted quite

close to the actual values

Page 83: Metrics for Effort/Cost Estimation of Mobile apps development
Page 84: Metrics for Effort/Cost Estimation of Mobile apps development

EARLYMETRIC

Additional validation with companies

Gather data

FUTURE WORK

Page 85: Metrics for Effort/Cost Estimation of Mobile apps development

FUTURE WORK

EARLYMETRIC CFP+

Page 86: Metrics for Effort/Cost Estimation of Mobile apps development

Summary

Page 87: Metrics for Effort/Cost Estimation of Mobile apps development

Summary

Page 88: Metrics for Effort/Cost Estimation of Mobile apps development

Summary

Page 89: Metrics for Effort/Cost Estimation of Mobile apps development

Summary

Page 90: Metrics for Effort/Cost Estimation of Mobile apps development

Summary

Page 91: Metrics for Effort/Cost Estimation of Mobile apps development

Summary

Page 92: Metrics for Effort/Cost Estimation of Mobile apps development

Thank you!