Find Jobs
Hire Freelancers

Refactoring and Identifying bad smell code in C#

$30-250 AUD

已取消
已发布将近 6 年前

$30-250 AUD

货到付款
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 theater booking system, this application is badly in need of refactoring and even a casual viewing of the source code reveals many examples of the “code smells”. Notes about the assignment: • Theatres have three sections: stalls, dress circle and balcony • Each theatre section has a number of rows and each section row has the same number of seats. • Each section has a different price per seat, Stalls $30.00, Dress circle $50.00, Balcony $90.00 • Customers must register with the system prior to placing a booking (Customers must present credit card information when registering) • Customers may be members or nonmembers of the “Theatre Club” o Non-members pay full price per seat o Members fall into three categories: bronze, silver and gold. Bronze, Silver and Gold members are entitled to a discount of 10%, 20% and 30%, respectively off their booking. • The system will automatically reserve a given number of seats in a requested section o The seats are booked in the first row of a section which is found to have the number of requested seats free adjacent to each other. o The application searches a section from the first row working backwards towards the last row until it finds the requested number of seats. o There is no facility to book a particular seat. • The system can potentially manage many theatres, each theatre has a number of theatre bookings (events) and each theatre booking has a number of customer bookings. • Customers can currently only make a single booking for each event. 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)  Sequence Diagram: Calculation of Charges (represent the calls made by the refactored system when calculating the charges for a booking)  Sequence Diagram: Booking Seats (represent the calls made by the refactored system when booking seats in response to a reservation)  A sequence diagram illustrating how the final refactored system processes a new booking  Extensive NUnit tests for the methods Calculation of Charges and Booking of Seats Add a loyalty rewards system. That theater is running a new promotion to include more members. If a Gold member includes his/her friend as the new member of the Theater, s/he (Gold member) will receive a further 15% in next booking. This numbers are 10% and 5% for silver and bronze members, respectively.  The existing application doesn’t allow to book any particular seat. Include an appropriate method in your code base so that only the Gold members can book a particular seat. If that particular seats is not available, the user may try for more 2 time to select another seat. However, when all the chances are gone, that booking will be performed in usual system.  Your report should identify any of Fowler’s “Bad Smells” in the code, and which refactorings you performed to improve the application’s design. Refactor the code using the textbook and the refactoring example from the lectures as a guide. The resultant code should be generally free from Fowler’s “code smells”, this will become obvious when you start writing your NUnit tests and documenting the refactored system in UML.
项目 ID: 16953342

关于此项目

7提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
7威客以平均价$124 AUD来参与此工作竞价
用户头像
I have completed BE from Pune University. I have a working Experience of 5+ years in software and web development. I believe that my qualification and skills are best match for your requirements. If you need my resume i will send you Following is a list of my attributes which will enable me to contribute to your software projects effectively: • Extensive experience in C#.net, ASP.net,Asp.Net MVC 5,Power BI,Azure ,Software testing ,Unit testing • Long term interest in SQL Server 2016. • Familiar with Angular 4,Web Services • Strong knowledge of LINQ, Ajax, Javascript, Jquery.
$250 AUD 在3天之内
5.0 (2条评论)
1.0
1.0
用户头像
Hi, I am an experienced .Net developer having more than 12 years of experience in developing all kinds of .Net applications. I have experience in legacy applications where there needs a lot of refactoring (sometimes) and have created new applications with good SOA architecture and 3-tier architecture with implementations of design patterns like Factory, Singleton, etc. Please share the code with me and I will initially let you know which areas need improvement in the code in the beginning, this way you can better analyze whether I am the right guy for the job or not. :) Regards, Naveed Butt
$55 AUD 在1001天之内
0.0 (0条评论)
2.1
2.1
用户头像
A proposal has not yet been provided
$155 AUD 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
I am from HyderabadSoftwares. Relevant Skills and Experience Expert in. Dotnet
$155 AUD 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

AUSTRALIA的国旗
Australia
0.0
0
会员自9月 4, 2016起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。