Illustrating the initial code and another class diagram

Assignment Help Software Engineering
Reference no: EM131061094

Assignment-

Overview

You are required to document, test and refactor an existing application. You will be given a copy of an existing C# application which is responsible for taking bookings for a cruise ship, this application is badly in need of refactoring and even a casual viewing of the source code reveals many examples of the "code smells" discussed by Fowler.

Learning Outcomes Assessed

Knowledge:

-Explain the significance of detailed project planning and control, good communication and documentation and the use of appropriate tools in order to provide a quality product;

-Discriminate between software engineering and programming, and thus the distinction between a software configuration and a program;

Skills:

-Analyse source code and develop comprehensive unit test suites

-Operate CASE software to document the design of a piece of software

-Apply refactoring to identify poor programming practice in existing source code and improve its structure and readability

Assessment Details

Notes about the assignment

There are eight types of cabin which may be booked. Standard costs are as follows:

• Balcony Suite ($5000 per cabin)
• Suite ($4000 per cabin)
• Deck 3 - Outside Twin ($3500 per cabin)
• Deck 2 - Outside Twin ($3400 per cabin)
• Deck 1 - Outside Twin ($3300 per cabin)
• Deck 3 - Inside Twin ($3400 per cabin)
• Deck 2 - Inside Twin ($3300 per cabin)
• Deck 1 - Inside Twin ($3200 per cabin)

Requirements

• Report detailing any "code smells" present in the code and how you intend to refactor them out of the code

• A refactored version of the system eliminating all identified code smells

• A class diagram illustrating the initial code and another class diagram illustrating the final refactored code (including all relevant dependencies)

• A sequence diagram illustrating how the final refactored system processes a new booking

• Extensive NUnit tests for methods SetupShip and BookPassage in the FedUniCruises class

• Add a loyalty rewards system. People who are bronze members of the loyalty rewards program receive a 5% discount on all bookings, people who are silver members receive 7.5% discount, while gold members receive 10% off the cost of their bookings.

• Add a platinum membership to the loyalty rewards program which entitles the holder to 50% off the cost of booking on decks 1, 2 and 3 and 25% off the cost of bookings for all suites.

Attachment:- Assignment.zip

Reference no: EM131061094

Questions Cloud

The account right after she makes the last deposit : For the last 19 years, Mary has been depositing $500 in her savings account , which has earned 5% per year, compounded annually and is expected to continue paying that amount. Mary will make one more $500 deposit one year from today. If Mary closes t..
Areas of concern as seen from an hr perspective : 1. Discuss possibilities and address the areas of concern as seen from an HR perspective. 2. Answer the following questions:
What is after-tax cash flow from the sale of asset : Consider an asset that costs $176,000 and is in a seven-year MACRS class. The asset is to be used in a 7-year project; at the end of the project, the asset can be sold for $22,000. The relevant tax rate is 30 percent. What is the after-tax cash flow ..
Determine which the packages will move : The packages are placed on the belt so that they are in contact with each other and at rest. Determine which, if any, of the packages will move and the friction force acting on each package
Illustrating the initial code and another class diagram : A class diagram illustrating the initial code and another class diagram illustrating the final refactored code (including all relevant dependencies)
Employment contract : Gulf IT Services LLC needs to hire two IT engineers for the position of IT technician. They hire the services of Al Mansour Recruitment Agency to find them suitable candidates. What do they have to do before Mr. Tolani starts working for them?
Determine perfect approach to managing an organization : If you were asked to select the perfect approach to managing an organization, which theorist model or approach would you select? Why this specific approach? What are the advantages the organization would gain from the structure? What potential dra..
Hr director at the organization : For this assignment, imagine that you are the HR director at the organization where you currently work OR at an organization with which you are familiar. Your primary purpose is to educate the President and convince him or her of the impact (wheth..
What is the one-year standard deviation : A conservative investor has a well-diversified portfolio but is still concerned about two things. First, he is concerned about the downside risk and secondly, he is concerned whether he is earning a sufficient rate of return to compensate for the ..

Reviews

Write a Review

Software Engineering Questions & Answers

  Discuss waterfall model technique

discuss waterfall model technique of software design

  Research the following financial off balance sheet

research the following financial off balance sheet instrumentsaforeign currency forwards exchange contract binterest

  Paper that started the study of computer security

Look up the paper that started the study of computer security - Prepare a summary of the key points. What in this paper specifically addresses security in areas previously unexamined

  General frameworkdiscuss performance management in the

general frameworkdiscuss performance management in the context of the identifying the relevant school of

  Discuss how these terms are related

Discuss how these terms are related to each other.  Component Connector

  Aimdevelop practical application of models techniques and

aimdevelop practical application of models techniques and approaches in social marketing to an identified social issue

  Part a short-answer questionsanswer each question in one to

part a short-answer questionsanswer each question in one to two paragraphs.1. what are the major differences between

  Identify all functional requirements the gui must support

Develop a persistence mechanism using data access objects for the domain objects involved in the CCRD use case.

  Describe threats that specifically target confidentiality

Describe threats that specifically target confidentiality on a data system. Do not limit yourself to the textbook for answers, and use external resources to support your conclusions.

  Drawing upon your knowledge of software development

Drawing upon your knowledge of software development, which process--requirements, design, coding, or testing--do you think has the greatest effect on the overall success and quality of development

  Path and editor variables in linux login

Login to Linux environment and construct start-up shell script. Whether you write the scripts as .profile or .cshrc, include the following options:

  Assume that you are leading a team of designers for a new

imagine you are leading a team of designers for a new software product. during the kickoff meeting the team starts to

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd