Premium Essay

Refactoring

In: Computers and Technology

Submitted By nha2731991
Words 6344
Pages 26
~ p~ina7echni cal

epwIt,

CD, EACTORS IN SOFTWAREQUALITY.

/
/0

j~/AquisitionManager,
~4iJim
___

(~'P-elimlnary'!Handbookwon A. /m'cCall,
Gene F./Waiters

Software Quality for an

Vk~~

'4 Paul K./RichA'rds
-General Electric Company
.,..... . 4-

Approved for public release; distribution unlimited.

ROME AIR DEVELOPMENT CENTER Air Force Systems Command Griffiss Air Force Base, New York 13441

This report has been reviewed by the PADC Information Office (01) and is releasable to the National Technical Information Service (NTIS). At NTIS it will be releasable to the general public, including foreign nations. RADC-TR-77-369, Vo] III (of three) has been reviewed and approved for publication.

APPROVED: JOSEPH P. CAVANO Project Engineer

APPROVED:

(2

&4~L

(

ALAN R. BARNUM, Assistant Chief information Sciences Division

FOR THE COMMANDER: JOH" F . HUSS Acting Clief, Plans Office

If your address has changed or if you wish to be removed from the RADC mailing list, or if the addressee is no longer employed by your organization, please notify RADC (ISIS) Griffiss AFB NY 13441. This will assist us in maintaining a current mailing list. Do not return this copy. Retain or destroy.

SECURITY

CLASSIFICATION OF THIS PAGE (IW.i,

Vt

e En eed)RE

REPORT DOCUMENJATIO4 PAGE
I. REPORT NU bER
.

D I S UC ON BFRE COMPTING ORM

... '

j2. GOVT ACCESSION NO. 3. ft9CIPIkNTIS CATALOG NUMBER

RADC-TR-77-369,
4. TITLE (and Subtlfe)

Vol III (of three)
COVERED S. TYPE OF REPORT A P91111O0

Final Technical Report
FACTORS IN SOFTWARE QUALITY Aug

76

-

Jul 77

-

Preliminary Handbook on Software Quality for an Acquisition Manager
7 AUTHOR(s)

I11 PERFOIRMIWGORO. REPORT NUMBER N/A
I. CONTRACT 00 GRANT NUMBreR~)

Jim A. McCall
Paul K. Richards

F30602-76-C-0417
10.

Gene F. Walters
7. PERFORMING...

Similar Documents

Premium Essay

Hacking and Refactoring

...though, I've been sensing a growing convergence between agile programming and the open-source movement. I've seen agile concepts and terminology being adopted rapidly and enthusiastically by my colleagues in open-source-land — especially ideas like refactoring, unit testing, and design from stories and personas. From the other side, key agile-movement figures like Kent Beck and Martin Fowler have expressed strong interest in open source both in published works and to me personally. Fowler has gone so far as to include open source on his list of agile-movement schools. I agree that we belong on that list. But I also agree with Fowler's description of of open source as a style, rather than a process. I think his reservations as to whether open source can be described as just another agile school are well-founded. There is something more complicated and interesting going on here. and I realized when I read Fowler's description of open source that at some point I was going to have to do some hard thinking and writing in an effort to sort it all out. While doing research for my book The Art of Unix Programming, I read one particular passage in Fowler's Refactoring that finally brought it all home. He writes: One argument is that refactoring can be an alternative to up-front design. In this scenario, you don't do any design at all. You just code the first approach that comes into your head, get it working, and then refactor it into shape. Actually, this approach can...

Words: 2291 - Pages: 10

Free Essay

Plan

...CASE TOOLS Submissions SEM 5/2011 Due Date : 03/10/2011 Journal The following assignments need to be included in your Lab Journal The assignments need to be hand written on college sheets except for the MS Project assignment which is a print out. Eclipse • Overview of eclipse Java Docs • What is Java Docs and why is it used ? • What are the various JavaDoc tags and explain each one with an example • What are the steps to generate JavaDocs in Eclipse • What is the file structure of the JavaDoc folder • Document Your code for the class used to demonstrate use of JavaDocs tags Refactoring • What is a code smell ? What are the various code smells and describe some of them • What is refactoring ? What are the various refactorings one can perform ? Describe each of them. • How is code smell related to refactoring ? • Document the refactorings performed in the lab for the vehicle and car classes Unit Testing • What is Unit Testing and why is it required in a project • What are the various Asserts used and describe each with an example • How is a unit test created for a class in a project • What is the purpose of the Setup() and the TearOff() methods in the test class • How does one go about doing a unit test • Document the test classes for the following projects written in the lab : a) Student Grades • compute_grade method b) Bank Account • withdraw method c) Calculator Debugging • What is debugging ? Write about the debug......

Words: 585 - Pages: 3

Free Essay

Jms Tutorial

...Business (Domain) Objects GUI Refactoring Core Java Values Simplicity Use the simplest design for the current functionality; don't try to anticipate tomorrow's needs. Code should be easy for a new developer to understand (or yourself a year later). Don't optimize for performance unless there's empirical evidence that it is needed. Be wary of building or using frameworks that make the application harder to understand. If you do need a framework (e.g. Spring for dependency injection), make sure the application's business logic isn't tied to the framework in any way. Maintainability Good naming is crucial. You should be able to read the code aloud, and a person listening to you should be able to understand what the code you are reading does Put responsibilities in the right place. Enforce a clean separation of the application's layers. For example, the UI code should not know anything about the database structure. Use well-known patterns and common idioms for the language. Maintain consistency at the module, application, and team level. There's always more than one way to do something, but doing it consistently is more important than finding the absolute best way. Information Classification: Limited Access Refactor your application code aggressively to maintain design quality in the face of changing requirements. Testing Use automated unit and regression tests to verify business functionality, minimize defects and enable safe refactoring Communication Developers, QA......

Words: 6069 - Pages: 25

Free Essay

Analyzing Anti-Pattern Detection

...developed and used in the software industry to detect anti-pattern. Towards the end, this paper also highlights some of the problems that are still open, to drive future research direction in this field. 1. Introduction Now-a-days, most of the software projects deal with large number of components that make the software more complicated and hard for novice designers to design. A design pattern is one of the most simple and powerful techniques used to improve the software design. Unfortunately, due to a number of market/customers constraints, anti-patterns may get introduced into the software systems and deteriorate its software quality. Hence, anti-patterns need to be carefully detected and monitored and, consequently, refactoring operations should be planned and performed to deal with them. In this paper, we will focus to present the different types of anti-patterns in object-oriented design, their symptoms and consequences, and the challenges and issues...

Words: 4918 - Pages: 20

Free Essay

Research Paper on Extreme Programming

...------------------------------------------------- Software Engineering Research Assignment 2015 ------------------------------------------------- Software Engineering Research Assignment 2015 211515576 Zaahirah Sheik Ismail 211515576 Zaahirah Sheik Ismail Table of Contents Statement of research problem 2 Context or background to the research problem 2 Literature survey 3 Research Methods 4 Research Justification 7 Conclusion 7 Bibliography 8 Statement of research problem The purpose of this study is to find out if the adoption of Extreme programming in a learning environment has improved student productivity. It is a software development process used by small teams who have rapidly changing requirements. With regard to students, all students that are studying software development modules are also faced with this problem where by the requirements are continuously changing as they get deeper within their project. This paper is to show if extreme programming is actually helping students become more productive regardless of the ever changing requirements. Context or background to the research problem In this day and age the most widely used form of agile development in software development is extreme programming which was proposed by Kent Beck in 1996. Many parameters contribute to the success of XP. Researchers concluded that using XP in an educational domain has many benefits, where they have seen that less skilled students were able to show...

Words: 2047 - Pages: 9

Free Essay

Weel 4

...during object design. There are two types of responsibilities, the “doing” and the “knowing.” The “doing” is known for doing something itself; it initiates the action in other objects and controls/coordinates the activities in other objects. The “knowing” is more about the related objects, private encapsulated data and things it can derive/calculate. Responsibilities related to “knowing” often are inferable from the Domain Model because of the attributes and associations it illustrates. That being said, a responsibility is not the same thing as a method, even though methods are applied to satisfy responsibilities. Methods are branded to either act alone or join forces with other methods and objects. Ensuing in the slides, we find refactoring. Refactoring is a well-ordered technique for restructuring an existing body of code,...

Words: 1045 - Pages: 5

Premium Essay

A Framework for Software Quality Assurance Using Agile Methodology

...INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 4, ISSUE 02, FEBRUARY 2015 ISSN 2277-8616 44 IJSTR©2015 www.ijstr.org A Framework For Software Quality Assurance Using Agile Methodology Maria Sagheer, Tehreem Zafar, Mehreen Sirshar Abstract: Agile methodology that uses iterative and incremental approach is widely used in the industry projects as they can satisfy to the change of requirements. Efficient product delivery is achieved by using short iterations. But assuring the quality in any system is essential and imperative part which is very difficult task, which raises a question that: Is quality is assured in the software which is developed using agile methodology? The research paper proposed a solution and summarizes that how the quality is achieved or assure in agile software development using different factors. The major focus of this research paper is to analyse the quality parameter which assure quality in the agile methodology. The research paper includes the brief overview of the parameters which assure quality in agile. ———————————————————— I. INTRODUCTION. For the successful software engineering, the delivery of high quality software is needed. Mainly the customer satisfaction level is considered as the quality attribute which defines high quality of any system. Traditionally waterfall approach is used for the software development in which system is developed by freezing the requirements. To achieve high quality Agile methods......

Words: 5336 - Pages: 22

Premium Essay

Agile Comparisions

...Executive Summary The report covers the Agile development methods, what they are and how they are beneficial and help maintain desired levels of quality by keeping room for change in the system that may be requested by the client. We identify the problems of existing techniques and problems faced by those techniques in the current environment. We also compare dominant techniques such as the Waterfall development model with Agile methods to show how Agile methods are advantageous in the current dynamic business environment. The report also occurs Lean software development, what it is and the common areas that it has with Agile development. How using both the methods can result in even faster delivery of product to the customer and help reduce costs incurred during defect detection and correction, identification of common error categories and giving developers more responsibility increases better quality code and building of knowledge base. Table of Contents Executive Summary......................................................................................................................................1 Introduction...................................................................................................................................................1 Problem Identification...................................................................................................................................1 Agile development Technique............................

Words: 3791 - Pages: 16

Free Essay

It106 Assigments

...Contents Phase 1: Design Concepts 2 Project Description 2 Use Cases 3 Data Dictionary 4 High Level Design Components 5 Detailed Design: Checkout 7 Diagrams 7 Design Analysis 8 Detailed Design: Product Research 9 Diagrams 9 Design – Using Pseudocode 10 Product Profit 10 Phase 2: Sequential Logic Structures 11 Design 11 Product Profit 11 Phase 3: Problem Solving with Decisions 12 Safe Discount 12 Return Customer Bonus 13 Applying Discounts 14 Phase 4: Problem Solving with Loops 15 Total order 15 Problems to Solve 16 Calculate Profits 16 Rock, Paper, Scissors 18 Number Guessing Game 20 Phase 5: Using Abstractions in Design 22 Seeing Abstractions 22 Refactoring 22 Phase 1: Design Concepts Project Description Although we may be late to the game, we will nevertheless join the world of e-commerce to sell our fantastic product on the Internet. To do so, we need a Web site that will allow for commerce and sales. To be quick about it, we require the following: * Searchable inventory and shopping pages * A shopping cart * A place for customers to register when they make purchases * A checkout process to make the purchase Within this main process, there are a bunch of other needs that must be met, as follows: * We want to track the date of the last purchase a customer make so we can offer incentives and discounts based on the last time they shopped. * We will offer sales based on the number of different items that a person purchases. *......

Words: 2845 - Pages: 12

Premium Essay

Review

...Abstract: Agile methods in recent years have emerged as a new paradigm in software development, which promises to address some of the problem areas of traditional approaches by freeing some of its constraints. In an attempt to produce an improvised process to designing and implementation and thereby to produce qualitative deliverables, several pioneering efforts have been suggested. This paper examines two such methodologies that promote agility: eXtreme Programming and SCRUM. The process, the values and principles of the XP and SCRUM are described in detail. Crucial feature differences between XP and SCRUM and the advantages and disadvantages of both methodologies are also discussed. Keywords— XP, SCRUM, Agile INTRODUCTION The software development industry has been evolved to become the most important industries of time. This industry employs many practitioners world wide to create the most essential products that is been used to extend our lifestyles. From controlling the production of food we eat to providing safety and control of the vehicles, software has become the embodiment of the world's most valuable intellectual property.[15] In last few years, the trend to more agile has been the most significant event we have seen since the application of traditional software development process. The agile software methods and development is practices based approach which is empowered with values, principles and practices which make the I. software development process more......

Words: 4503 - Pages: 19

Premium Essay

Java Programming and Inheritance

...Muhammad 1 Mikey Muhammad Date Class Mr.Radev Java Programming and Inheritance As time continues to pass, the world we now live in is dominated by the use of technology. Technology continues to advance, and it seems, as if we can’t function without it. Whether it’s the use of technology in school or work, it is everywhere and you cannot escape it. It is important for us to be able to adapt to it and learn how the new inventions work and function properly. The Internet for example is one of the most important aspects of life today. The Internet allows us to have access to everything, and have endless information at our fingertips, whether it’s through a computer screen or through the use of a cellular device, or even a watch. Some of us choose to only use this amazing tool that has been provided to us, and then some us choose to go more in depth with this tool we call the Internet and want to know how it works. Although it takes millions of programs and concepts and other factors to get the Internet working how it does, the focus of my term paper will be Inheritance in Java. In order to truly understand what the specifics of Java are, you have to start with the totality of the Java program. The Java language could easily be the most difficult to understand because there are so many components to how it works. Java is a programing language and computing platform, which is a huge part of making the Internet work. It was first released by Sun Microsystems in 1995. Without...

Words: 1332 - Pages: 6

Premium Essay

Sas Unit Testing

...SAS Unit Testing Date Instructor SAS Unit Testing SAS Unit testing is one of the most popular methods for software testing. It is integrated automated process by which standalone units of any source code are tested by control data, usage procedures, and operating procedures. The whole process is done in order to determine whether software is good enough for usage. Unit tests are created by programmers or occasionally by white box testers during the development process. The process of unit testing is simple and hassle free as compared to any other form of software testing. Each test comprised in total testing procedure is different and independent from another. There could be various substitutes like method stubs, mock objects, fakes and test harnesses which could be implemented for proper independent checking of software independently. Software developers and designers write unit codes which act as building blocks of any program. These test runs are directed for achieving pre determined objectives of any program. While a developer writes any unit code for software development, he takes account of various permutations and combinations and accordingly writes the source. But actual implementation is possible only when that code is tested in working environment. There could be inherent errors in the software development which are caught only during this phase of unit testing. Implementation phase of unit testing is the most crucial phase as various processes...

Words: 1121 - Pages: 5

Premium Essay

Not Now

...SYLLABUS BSA/385 Introduction to Software Engineering Copyright ©2016 by University of Phoenix. All rights reserved. Course Description This course introduces the fundamental, logical, and design considerations addressed during system and application software development. It provides a background in applications software development and testing techniques through a combination of theory and application. Course Dates May 03, 2016 - Jun 06, 2016 Faculty Information Name : Email Address : Phone Number : ROBERT MASCARENAS (PRIMARY) (505) 884-4399 Policies Faculty and students/learners will be held responsible for understanding and adhering to all policies contained within the following two documents (both located on your student website): • Academic Policies University policies are subject to change. Be sure to read the policies at the beginning of each class. Policies may be slightly different depending on the modality in which you attend class. If you have recently changed modalities, read the policies governing your current class modality. Academic Resources • Course Software Instructions Click the link for additional course software requirements. Note: We do not recommend trial software versions because they expire. SupportingMaterial Course Software • College of IS&T Resources Instructions Click the link to review the College of IS&T Resources. SupportingMaterial College of IS&T Resources • College of IS&T......

Words: 2511 - Pages: 11

Premium Essay

Adaptation of Agile Practices: a Systematic Review and Survey

...Master Thesis Software Engineering Thesis no: MSE-2011:64 September 2011 Adaptation of Agile Practices: A Systematic Review and Survey Budsadee Kongyai and Edi Edi School of Computing Blekinge Institute of Technology SE-371 79 Karlskrona Sweden This thesis is submitted to the School of Engineering at Blekinge Institute of Technology in partial fulfillment of the requirements for the degree of Master of Science in Software Engineering. The thesis is equivalent to 40 weeks of full time studies. Contact Information: Author(s): Budsadee Kongyai Address: Kungsmarksvägen 43 Karlskrona 371 44, Sweden E-mail: nune.budsadee@gmail.com Edi Edi Address: Kungsmarksvägen 57 Karlskrona 371 44, Sweden E-mail: edi198@gmail.com University advisor(s): Dr. Jürgen Börstler School of Computing EMSE Co-supervisors: Prof. Dr. Dr. h.c. H. Dieter Rombach (TU Kaiserslautern) Dr. Ove Armbrust (Fraunhofer IESE, Germany) School of Computing Blekinge Institute of Technology SE-371 79 Karlskrona Sweden Internet: www.bth.se/com Phone : +46 455 38 50 00 Fax : +46 455 38 50 57 Abstract Context. Due to the uniqueness of software projects there is no single Agile development approach that ideally fits all project contexts. Each software project is unique, whether in its subject area, development team, or project size. Because of this, adapting Agile practices according to project circumstances is a must. There has been a number of literature published discussing Agile......

Words: 49494 - Pages: 198

Premium Essay

Testing Plan

...3.0 TESTING There are many types of testing such as inspection, walkthrough, desk checking, unit test, integration test, stub test and system test. Inspection, walkthrough and desk checking was implemented by development team. Each module of system is test alone in attempt to discover errors in code. By using several of test, the potential error is revealed and action being taken to improve the performance of the system. The objectives of test planning are: • Record, organize, and guide testing activities • Schedule testing activities according to the test strategy and project deadlines • Provide a basis for re-testing during system maintenance • Provide a basis for evaluating and improving testing process The testing process required in implementation phase being began from planning phase which are determining part of system needs to be tested and also collecting test data. After that, come to analysis phase, testing requirements are list out by relating it with system requirements. HL Northern Enterprise development team used several types of testing toward system that consists of manual and computer conduct. Inspection being executed by team and subtle errors are being examined with the checklist. The information of errors occurred is investigated and documented to avoid making same types errors in future work. In addition, the automated inspection software is being implemented for detecting the routine error and content mistake. HL Northern Enterprise cooperates......

Words: 625 - Pages: 3