Prepare a detailed code review and analysis of the code

Assignment Help JAVA Programming
Reference no: EM131954580

Assignment

Use Microsoft Word or equivalent to prepare a detailed code review and analysis of the code in the attached pdf. The syllabus contains the details and requirements for this (see the CASE STUDY section). Be sure to cover, at minimum, each bullet point shown

CASE STUDY

The case study involves a detailed, professional-quality code review. The code will be assigned to each student by the instructor, who will try to choose code written in a language familiar to the student. The student is expected to review the code, noting both positive and negative aspects, of areas such as

· design,

· comments (and other documentation),

· code readability,

· safety,

· security,

· performance,

· test code,

· logging

Not all projects will have all of these aspects, but if (for example) logging is missing, and you feel that the code should include logging, you must make note of that in your review. Likewise, if some objects are added to a collection, make sure those classes are correctly designed, with appropriate methods. (In Java, that would be equals, hashCode, and toString, as well as correctly implementing all appropriate interfaces such as Comparable or Cloneable.) Code should be designed with best practices, for the given implementation language. For example, in most object-oriented languages, you should prefer to create immutable classes when appropriate.

Note each area has several points; for example, code readability includes the use of proper naming conventions (and no names you can't figure out, e.g. "RsFadCtl"), proper use of white space, appropriately short methods, no commented-out code (that's what revision control systems such as CVS are for), no sign of copy-and-paste, no "magic numbers" in the code (use named constants instead), and so on. Test code might include unit test suites, implementation testing (e.g., in Java, use of assert statements), etc. Security includes appropriate testing of method arguments (pre-conditions), not trusting user data directly in an SQL statement, appropriate use of exceptions, correctly accessing files and other external resources, and so on.

Attachment:- Case-Study.rar

Reference no: EM131954580

Questions Cloud

Explain the cognitive principle : Explain the principle and how you would incorporate it when developing an AIDS prevention program.
Find the first quartile for the average percent of fat : Find the first quartile for the average percent of fat calories. (Round your answer to two decimal places.)
Probability that a sample of batteries : The company's claim is not reasonable because the probability that a sample of 30 batteries would have a lifetime of at most 15.7 hours is about
Normal approximation to the binomial distribution : Calculate the following using the normal approximation to the binomial distribution. (Round your answers to four decimal places.)
Prepare a detailed code review and analysis of the code : Use Microsoft Word or equivalent to prepare a detailed code review and analysis of the code in the attached pdf.
Probability that a randomly chosen worker : What's the probability that a randomly chosen worker is neither married nor a college? graduate?
Confidence interval for the true population mean : Construct a 90% confidence interval for the true population mean of concentration in the river.
Alternative hypothesis and all computations and values : Be sure to show the claim, your null and alternative hypothesis and all computations and values. What do you conclude about the null hypothesis?
Critique the six pillars of united states policing : Critique the six pillars of United States policing and how they are demonstrated within the concept of procedural justice.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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