Professional Documents
Culture Documents
O0SE
Vo21cSENOSCOOO3
ASS\GNMENT-2
Design crteria:
’ Per formance: This indlde the Speed ad space
YegyiYements imfosed on Syetem,
Desgn crterion efiotion
Regnse time Haw oon is a UserYeQuest ackorale
dof b-ged after the reasest has isoed?
Thodhput Hao mory tsks Canthe Systkmotorpls
in a fxed perioal f ime
Memoiy D8 Hos moch Saceis Yeaored tor the
System to yon?
’ Dependablity criteria: Delernne hoco mch effort sat
ke expendd in minimgng systen Cashes e thetr
GonseaJen ces
DeSin crteron Defioiion
Rolustness Ability to Sorvive inva lhd uer input
Relicality |DIeence behoeen Secihed ceserved
ehoviar.
Avoalability eYcentoae of time that systen lan e
USed tQ acomplsb ronal tasks
fawlttoleronce Ability to oeate one eríontous
Corcitions
Security AGlty to coithstund malicious attocks
Sofety Ablity to uoid endnqing hmaun
ives even in presence of erors&tulore
Cost cyilera: Tnclude the cost to cbweop e sysen,
to deplay it and tb adminis ter it Nde tbat cost cnteria
rot o 'node dosien Conscerotions bt manager
Ones, as coell
Design crieria Dehnton
Development Cost CcstoF doUebpivg initia sysem
Dplyment Cost Gost of insta lling systeg ond
tYauning the users
Maintenante Cost Cost Yeauired for buqs hxes&
erhorcements to he system
Administotion ast Cost,eauired toacminister
System
Mantenance crteria nelevine hao cifcalt it istocharg
he System ofterplornert these critena are
har to optimie plan for, as it is sebm
lona
cle hoo Success ful the project coil be &hos
he system call be operahonal
De Sign criteria Dehntton
is it to acd tnetonakty or
Extensiblity Haw easy
neo clases to Sustem
Mo difola lity HaoaJy is it to change fonttonoh ty
Sstem o
rtabihty Ha eaH is t to rt the
diferent latforms?
Taceoka kity of Heuo ay isito mop Code to sechl
eauitenents YeQwrements
nd oser criteria: Inc Qalities that are cxiYable
form a 0sers Point of vies, bot hawe not eeo
Covered onder pesfonance and dpendabi
evtteria
DeSion crieria Dehnion
Hau cell bes the Sustem pr
he coork of oser2
leage Advertiser
Qoner Plauer
* Refactoring:
ATefactoving is otcunsformation of Sounce cock that
improves its Ye dobikhy or medifiabi lity coithout
chonging the behavior of the System
4Refactoing cums at improving dosian of a coorkirg
System by focusing on a Secfe feld or methoe
The oject mockl tronsfofnotion Coresgordy to a
Seauerce of 3 Tefactoring's
Sthe t, RIlop felA moves erroil feld from the
ssbchsses to operclass Usr
the snd, Rol up Constucor Body, roves ini tiabzato
Code from sblass to supercdas
’The grd,lp Hetods, noves the me thods
manipoing emaul feld from selay to Sper
Refox refactoring Afler reatoring:
Rohe class pauer
picte sthngemaal, Rotected tringena.
Ric class lgner{ dale closs plouer
Rinate stringeka; etends USer
l i closs Adverhser eceolc class leqeOret
Rrivote sting emoil.oYezs Blk
paie cbss Adverkser
exterds eSet
Revexse Engineering
oUYe
Reerse Engneering is applied to a et ofmoc|
ode elements and resolts in a set of
elements
-’ The porpose f this type is to Yecreate he
model for an xisting stem,ether because
the mocel cny lost oy never CYeateo ,or
becawse it beCoume cut of SnC coith oUKe Corb
’ Reverse engineering is esentia|ky an ioverse
tvcnsforaion of toLard engneering Tt
Creates a UHL cla ss for each class
olovati¡n statement, adds an attriate for
ach feld, ard adds an opeYa tion or each
method