Video Rental System Use Case Packet Register as Member Initial Use Case Packet Outline 1) Use Case Diagram for VRS 2) Class Diagram for VRS 3) Entity Relationship Diagram for VRS 4) For the Selected Use Case - Register as Member a. Use Case Description for Register as Member b. Use Case Point Analysis for Register as Member c. User Interface Designs and Navigation needed for Register as Member d. Functional Tests for Register as Member e. Table Definitions Register as Member PARTIAL USE CASE PACKET COMPONENTS f. Extended Class Diagram for Register as Member g. Message Analysis Table for Register as Member h. Sequence Diagram Register as Member COMPLETED USE CASE PACKET COMPONENTS i. Method Descriptions VRS 1) VRS Use Case Diagram for VRS 2) VRS Class Diagram for VRS 3) VRS ERD for VRS 4) a. Register as Member Use Case Description for Register as Member 2) Use Case Description for “Register Membership” Use Case Name ID Requirement Number Description Primary Actor Secondary Actor(s) Pre-condition Post-condition Trigger Register As Member 1 3.1 This use case defines how a customer can register to become a member. Customer None Customer is not a current member. A member account is created for this customer. This new member has a user name and password to use for future transactions with system. Member selects the “register as member” option. Normal Scenario Customer enters name, address, phone number, email address, credit card number, and expiration 1. date of credit card. System validates member information. 2. Customer enters new user name and password for subsequent membership login. 3. System validates user name and password. 4. Customer confirms membership information. 5. System emails membership confirmation to new member. 6. Extensions Customer information is missing on application form: 2.1 2.1a System displays error message and redisplays form. Customer information is invalid: 2.2 2.2a System displays error message about invalid data. User name or password is missing: 4.1 4.1a System displays error message and redisplays form. User name or password is invalid: 4.2 4.2a System displays error message about invalid data. VRS b. Use Case Point Analysis for Register as Member Video Rental System Use Case Point Analysis DETAILS Actor Points VRS Actor Name Actor Type Customer User Interface TOTAL Actor Points 3 3 Use Case Points Use Case Name Register Membership Number of Transactions 10 TECHNICAL COMPLEXITY FACTORS Technical Description Factor Number T1 Distributed system T2 Response time, throughput or performance objectives T3 End User online efficiency Use Case Points 15 Use Case Type Complex TOTAL 15 Weight Assigned Value (0..5) Weighted Notes Value 2.0 1.0 0 5 0 5 1.0 5 5 T4 T5 T6 T7 Complex internal processing Reusability of Code Easy to install Ease of use 1.0 1.0 0.5 0.5 1 3 0 5 1 3 0 2.5 T8 Portability 2.0 5 10 T9 Ease of Change 1.0 5 5 T10 Concurrency 1.0 2 2 T11 Special security objectives 1.0 3 3 T12 T13 Direct access for third parties Special user training required 1.0 1.0 0 0 TFactor Technical Complexity Factor (TCF) 0 0 36.5 .965 36.5*0.01 = .365 +0.6=.965 VRS none critical users are satisfied users may not be efficient not complex somewhat No install Must be easy to use Must be ported to any machine no tech staff – all contract Multiple users Some for members and credit cards none None needed ENVIRONMENTAL FACTORS Environmental Description Weight Factor Number E1 Familiarity with 1.5 system development process being used Assigned Value Weighted Value Notes 2 3 E2 Application experience 0.5 0 0 E3 Object-Oriented experience Lead analyst capability Motivation 1.0 2 2 no one knows process or has any experience no one has application experience All have some 0.5 0 0 1.0 5 5 Requirements Stability Part time staff Difficulty of the programming language 2.0 2 4 -1.0 -1.0 4 2 -4 -2 E4 E5 E6 E7 E8 1.4 + 0.03*EFactor None available Most are motivated stable All part time Not lengthy experience EFactor 7 Environmental 1.61 Factor (EF) SUMMARY – Estimated Work Factor Total Actor Points (Raw) Total Use Case Points (Raw) Total Unadjusted Use Case plus Actor Points Technical Complexity Factor Environmental Complexity Factor Adjusted Use Case Points (Total Unadjusted Use Case plus Actor Points * Technical Complexity Factor * Environmental Complexity Factor ) Hours per Adjusted Use Case Points (constant) TOTAL Estimation of Work in hours (Adjusted Use Case Points * Hours per Adjusted Use Case Points) VRS Value 3 15 18 0.965 1.61 18*0.965*1.61 = 27.95 28 782 person hours or ~98 person days or about 4 months years with one person c. User Interface Designs and Navigation needed for Register as Member Membership Application First Name Format 8 to 20 alphabetic characters Last Name Format 8 to 20 alphabetic characters Phone Number Format xxx-xxx-xxxx Credit Card Number Only Master Card Accepted Expiration Date Email Address VRS Format MMYYYY SUBMIT New Member User Name and Password User Name Format 8 to 20 alphanumeric characters Password Format 8 to 20 alphanumeric characters Reenter Password VRS d. Functional Tests for Register as Member Video Rental System Functional Test Cases for “Register As Member” Use Case FUNCTIONAL TEST CASES Use Case Name: Register As Member Use Case Number: 1 Step Number Function Name System Validates Membership 2 Information 2 4 System validates User Name and Password 4 5 5 VRS Customer confirms membership information Test Script Information in correct format Information in incorrect format (name, address, phone#, emailaddress, creditcard#, and expiration date Information in correct format Information in incorrect format (user name, password) User selects SUBMIT User selects MODIFY Developer Name: Jane Doe Test Results Outputs Go to Step 3 none Displays invalid format error message Error message Go to Step 5 none Displays invalid format error message Error message Database Updated Email Message Database NOT Modified Email message not sent none Completed Who, Date e. Table Definitions Register as Member Member memberID Password VRS name address phoneNumber creditCardNumber emailAddress userName f. Message Analysis Table for Register as Member Message Analysis Table Use Case Name Use Case ID Initiating Actor RegisterAsMember 3 Customer Candidate Objects/Classes RegisterAsMemberController Use Case Controller Domain Member Database Table MemberTable Messages Step # Message Name 1 acceptMemberInformation 2 validateMembershipInformation 3 acceptUserNamePassword 4 validateUserNamePassword 5 acceptConfirmation 5 updateMembershipInformation 6 emailMembershipConfirmation VRS Display Screens or Report MemberApplicationScreen NewUserNamePasswordScreen ConfirmationScreen Owner Class Name MembershipApplicationScreen Member NewUserNamePasswordScreen Member ConfirmationScreen MemberTable Member g. Sequence Diagram Register as Memberg Sequence Diagram Register As Member Use Case Member RegisterAs Member Controller Member Member Form Member Table Member Application Screen NewUser Name Password Confirma tion Screen acceptMemberInformation () validateMembershipInformation (membershipInformation) (membershipinformation) acceptUserNamePassword () validateUserNamePassword (username,password) acceptConfirmation () OK updateMembershipInformation () emailMembershipConfirmation () VRS