Beruflich Dokumente
Kultur Dokumente
CS309OOAD
SoftwareRequirementsSpecificationTemplate
OnlineExchangeSystem
SoftwareRequirementsSpecification
<1.0>
06Nov2016
JaiKarmani K142118
IbtehajRaza K142111
M.Ahsan K142097
Instructor:
SoftwareRequirementsSpecification
Pageii
RevisionHistory
Date
<date>
Description
<Version1>
Author
<YourName>
Comments
<FirstRevision>
DocumentApproval
ThefollowingSoftwareRequirementsSpecificationhasbeenacceptedandapprovedbythe
following:
Signature
PrintedName
Title
Date
SoftwareRequirementsSpecification
Pageiii
TableofContents
REVISIONHISTORY................................................................................................................................................II
DOCUMENTAPPROVAL........................................................................................................................................II
1.INTRODUCTION.....................................................................................................................................................1
1.1PURPOSE...............................................................................................................................................................1
1.2SCOPE...................................................................................................................................................................1
2.GENERALDESCRIPTION....................................................................................................................................2
2.1PRODUCTPERSPECTIVE........................................................................................................................................2
2.2PRODUCTFUNCTIONS...........................................................................................................................................2
2.3USERCHARACTERISTICS......................................................................................................................................2
2.4GENERALCONSTRAINTS.......................................................................................................................................2
2.5ASSUMPTIONSANDDEPENDENCIES......................................................................................................................2
3.SPECIFICREQUIREMENTS................................................................................................................................2
3.1EXTERNALINTERFACEREQUIREMENTS...............................................................................................................3
3.1.1UserInterfaces.............................................................................................................................................3
3.1.2HardwareInterfaces....................................................................................................................................3
3.1.3SoftwareInterfaces......................................................................................................................................3
3.1.4CommunicationsInterfaces.........................................................................................................................3
3.2FUNCTIONALREQUIREMENTS...............................................................................................................................3
3.2.1<FunctionalRequirementorFeature#1>..................................................................................................3
3.2.2<FunctionalRequirementorFeature#2>..................................................................................................3
3.3USECASES............................................................................................................................................................3
3.3.1UseCase#1.................................................................................................................................................3
3.3.2UseCase#2.................................................................................................................................................3
3.4CLASSES/OBJECTS..............................................................................................................................................3
3.4.1<Class/Object#1>....................................................................................................................................3
3.4.2<Class/Object#2>....................................................................................................................................3
3.5NONFUNCTIONALREQUIREMENTS......................................................................................................................4
3.5.1Performance.................................................................................................................................................4
3.5.2Reliability.....................................................................................................................................................4
3.5.3Availability...................................................................................................................................................4
3.5.4Security........................................................................................................................................................4
3.5.5Maintainability.............................................................................................................................................4
3.5.6Portability....................................................................................................................................................4
3.6INVERSEREQUIREMENTS......................................................................................................................................4
3.7DESIGNCONSTRAINTS..........................................................................................................................................4
3.8LOGICALDATABASEREQUIREMENTS..................................................................................................................4
3.9OTHERREQUIREMENTS........................................................................................................................................4
4.ANALYSISMODELS..............................................................................................................................................4
4.1SEQUENCEDIAGRAMS..........................................................................................................................................5
4.3COLLLABRATIONDIAGRAM.................................................................................................................................5
....................................................................................................................................................................................5
SoftwareRequirementsSpecification
Pageiv
1.Introduction
Thisisasoftwarewhereanypeoplecanaccessandcanperformseveraloperations,liketobuy
anyitem,ortosellanyitemortoseethepriceofdifferentitemswithoutanycost.Herethe
customerscanbeabletocommunicatewithotherpersonwhoaresellinghis/herproductby
messagesandcangetacontactnumber.Inthissoftwareanycustomercancreatean
accounteasily.
1.1Purpose
Thisdocumentwillprovidethedesignofwebsite.Itprovidestherelationsofseveralfunctions,
classeswhichmeetstherequirementinitsdevelopment.Adetailedinformationaboutthis
websiteisdefinedattheendofdocument.
1.2Scope
Thiswebsiteisusedbyanyoneinterestedinonlineshoppingasitprovideeaseofshoppingat
home.Itwillnotprovideonlinepaymentmethods.Onceanorderisplacedthenpaymentcanbe
doneatthetimeofitsdelivery.
2.GeneralDescription
Thepurposeforthisdesignistoprovideeaseofaccessforuserwhoarenotinterestedinvisiting
marketforproducts.
2.1ProductPerspective
Thiswebsiteinintendedfortheuserswhoareinterestedinonlineshoppingasitprovidesbasic
functionalitiesofitempurchasing,selling,comparisonbetweenitems,chattingathome.
2.3UserCharacteristics
Thegeneralcharacteristicsforintendedusersincludeanyonewhohasatleastknowledgeof
onlineshopping.
2.4GeneralConstraints
Thiswebsitecanrunonanysystemhavinginternetaccess.
SoftwareRequirementsSpecification
Page1
2.5AssumptionsandDependencies
Thiswebsiteisonlyintendforshoppingpurposes.
3ExternalInterfaceRequirements
Variousexternalinterfacerequirementsaredividedintosubsections.
3.1.1UserInterfaces
ThiswebsiteusesaGUIforitsusersatrealtimebasis.
3.1.2HardwareInterfaces
Anysystemthatsupportinternetaccess.
3.1.3SoftwareInterfaces
Nospecialsoftwarerequiredforthisdesign.
3.1.4CommunicationsInterfaces
Thisdesignhasbuiltincommunicationsystem(chatfunctionality).
3.2FunctionalRequirements
Thisdesignfeatureswithvariousfunctionalitiesasunder.
3.2.1<Featuresofwebsite>
3.2.1.1Introduction
Thisdesignfeaturewithbackendprogrammingsupportedbyhtmlandphp.
3.2.1.2Inputs
Theexpectedinputsrequiredbyuserisonlytoenterhiscredentialstologininwebsitefor
sellingpurposesonlyorinputdetailsoftheproducthe/shewantstosellorsimplychatting.
3.2.1.3Processing
Whenusermakepurchasethanthewebsitechecksforproductavailabilityindatabase,after
successfulprocessingtheuserorderisthenplaced.
3.2.1.4Outputs
Theuserthenreceiveaconfirmationmessagethroughemailabouttheorderplacement.
3.2.1.5ErrorHandling
Incasewhenserverisdownandotherrelatedissuesthemessageisshownaboutrelatedissues
andusercantaccessthewebsite.
SoftwareRequirementsSpecification
Page2
3.3UseCases
3.3.1Login
3.3.2UploadingItem
3.3.3FillingCarts
3.3.4Searsching/SelectingItems
3.3.5SendingMessages/reviews
3.4NonFunctionalRequirements
Afterorderplacementthedeliveryshouldbereceivedwithin3days.Theusercanplaceone
orderatatimee.gafterconfirmationmessagethatorderisplacedthenhe/shecanmakeother.
Thelogintimeshouldnotexceedmorethan10seconds.
3.4.1Performance
Thiswebsiteisintendedforquickresponseforeveryuserandeverytimeitisaccess.
3.4.2Reliability
Thisdesignisreliablebyconstantlymaintainingite.gbackendprocesses,frontendissuesetc.
3.4.3Availability
Websiteisavailable24x7exceptduringmaintenanceperiods.
3.4.4Security
Usercredentialsaresecuredindatabasebyconstantlycheckingitsstatusandanybackdoor
issuesisimmediatelytackledown.
3.4.5Maintainability
Theoverallaccessofthewebsiteismaintainedbyadminandincaseofanyissuesandupdates,
thesiteshouldnotbedownformorethan6hours.
3.4.6Portability
Itisaccessibletoanywhereatanysystemthatsupportsinternetaccess.
3.5InverseRequirements
Stateany*useful*inverserequirements.
3.6DesignConstraints
Thedesignconstraintsimposedonthisdesignimpliesoncompanypolicies,termsandconditions
appliedbydevelopers.Thehardwarewithnointernetorwifiaccessisnotcompatible.
SoftwareRequirementsSpecification
Page3
3.7LogicalDatabaseRequirements
Inthisdesign,databasebasedonoracleisusedinwhichalluserdataismaintainedinsequential
mannerintable.Datastoringformatwillbeindifferentforms(varchar,intetc.)
Whensearchforspecificitem,databasewillsearchandaccessthatitemalongwithitsdetails.
Forthispurpose,alargestorageisusedbydatabase.
3.8OtherRequirements
Forfuture,additionalfunctionalitiesisintroducedlikeloginwithfacebook,twitterandgmail
whichwillsavemoretimeforlogintowebsiteratherthancreatingaccountforit.
4.AnalysisModels
Analysismodelsusedinthisdesignwillbe:
Usecasemodel
Sequencediagram
Collaborationdiagram.
4.1SequenceDiagrams
1) Login
SoftwareRequirementsSpecification
Page4
2)UploadingItem
SoftwareRequirementsSpecification
Page5
3)FillingCarts
4)SearchingItems
SoftwareRequirementsSpecification
Page6
5)SendingMessages/reviews
SoftwareRequirementsSpecification
Page7
SEQUENCEDIAGRAMS:
1)SD:LOGIN
SoftwareRequirementsSpecification
Page8
2)SD:UploadAnItem
3)SD:FillingCart:
SoftwareRequirementsSpecification
Page9
4)SD:ItemReview/Messages
5) SD:SearchingItems:
SoftwareRequirementsSpecification
Page10
COLLABORATIONDIAGRAM:
1)LOGIN:
2) ADDITEM
SoftwareRequirementsSpecification
Page11
3) FillingCart:
4) REVIEW:
SoftwareRequirementsSpecification
Page12
5)SearchingItem:
SoftwareRequirementsSpecification
Page13