Code Quality

Code Quality
Author: Diomidis Spinellis
Publsiher: Adobe Press
Total Pages: 610
Release: 2006-04-03
Genre: Computers
ISBN: 9780768685121

Download Code Quality Book in PDF, Epub and Kindle

Page 26: How can I avoid off-by-one errors? Page 143: Are Trojan Horse attacks for real? Page 158: Where should I look when my application can't handle its workload? Page 256: How can I detect memory leaks? Page 309: How do I target my application to international markets? Page 394: How should I name my code's identifiers? Page 441: How can I find and improve the code coverage of my tests? Diomidis Spinellis' first book, Code Reading, showed programmers how to understand and modify key functional properties of software. Code Quality focuses on non-functional properties, demonstrating how to meet such critical requirements as reliability, security, portability, and maintainability, as well as efficiency in time and space. Spinellis draws on hundreds of examples from open source projects--such as the Apache web and application servers, the BSD Unix systems, and the HSQLDB Java database--to illustrate concepts and techniques that every professional software developer will be able to appreciate and apply immediately. Complete files for the open source code illustrated in this book are available online at: http://www.spinellis.gr/codequality/

Quality Code

Quality Code
Author: Stephen Vance
Publsiher: Addison-Wesley
Total Pages: 256
Release: 2013-11-13
Genre: Computers
ISBN: 9780133017021

Download Quality Code Book in PDF, Epub and Kindle

Test-driven, test-first, and test-early development practices are helping thousands of software development organizations improve their software. Now, in Quality Code: Software Testing Principles, Practices, and Patterns, Stephen Vance builds on all that’s been learned about test-driven development, helping you achieve unprecedented levels of first-time quality. Using real-world code examples, this guide introduces patterns, principles, and more than two dozen detailed techniques for testing any software system more fully, effectively, and painlessly. Vance presents a conceptual framework to help you focus your efforts and design recommendations for improving testability across the software lifecycle, and also provides hands-on guidance to simplify testing of the full spectrum of code constructs. You’ll learn how to choose the best testing techniques for every situation, from the most common scenarios to threading. Two complete case studies put it all together, walking you through testing a brand-new Java application and an untested “legacy” JavaScript jQuery plugin. Whether you’re developing cutting-edge code for a new start-up, or maintaining an unruly old system, this guide will help you deliver exactly what you need: quality code. • Simplify unit testing of all your code—and improve integration and system testing • Delineate intent and implementation to promote more reliable and scalable testing • Overcome confusion and misunderstandings about the mechanics of writing tests • Test “side effects,” behavioral characteristics, and contextual constraints • Understand subtle interactions between design and testability—and make them work for, not against, you • Discover core principles that guide your key testing decisions • Explore testing getters/setters, string handling, encapsulation, override variations, visibility, singleton patterns, error conditions, and more • Reproduce and test complex race conditions deterministically

Sonar Code Quality Testing Essentials

Sonar Code Quality Testing Essentials
Author: Charalampos Arapidis
Publsiher: Packt Publishing Ltd
Total Pages: 415
Release: 2012-08-24
Genre: Computers
ISBN: 9781849517874

Download Sonar Code Quality Testing Essentials Book in PDF, Epub and Kindle

This is a step-by-step tutorial enriched with practical examples and the necessary screenshots for easy and quick learning. This book is for you if you are a Java developer or a Team Manager familiar with Java and want to ensure the quality of your code using Sonar. You should have a background with Java and unit testing in general.

The Definitive Guide to Building Code Quality

The Definitive Guide to Building Code Quality
Author: Don Jones
Publsiher: Realtimepublishers.com
Total Pages: 145
Release: 2009
Genre: Computers
ISBN: 9781931491907

Download The Definitive Guide to Building Code Quality Book in PDF, Epub and Kindle

Good Code Bad Code

Good Code  Bad Code
Author: Tom Long
Publsiher: Simon and Schuster
Total Pages: 374
Release: 2021-09-07
Genre: Computers
ISBN: 9781617298936

Download Good Code Bad Code Book in PDF, Epub and Kindle

"For coders early in their careers who are familiar with an object-oriented language, such as Java or C#"--Back cover.

Unit Testing Principles Practices and Patterns

Unit Testing Principles  Practices  and Patterns
Author: Vladimir Khorikov
Publsiher: Simon and Schuster
Total Pages: 442
Release: 2020-01-06
Genre: Computers
ISBN: 9781638350293

Download Unit Testing Principles Practices and Patterns Book in PDF, Epub and Kindle

"This book is an indispensable resource." - Greg Wright, Kainos Software Ltd. Radically improve your testing practice and software quality with new testing styles, good patterns, and reliable automation. Key Features A practical and results-driven approach to unit testing Refine your existing unit tests by implementing modern best practices Learn the four pillars of a good unit test Safely automate your testing process to save time and money Spot which tests need refactoring, and which need to be deleted entirely Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About The Book Great testing practices maximize your project quality and delivery speed by identifying bad code early in the development process. Wrong tests will break your code, multiply bugs, and increase time and costs. You owe it to yourself—and your projects—to learn how to do excellent unit testing. Unit Testing Principles, Patterns and Practices teaches you to design and write tests that target key areas of your code including the domain model. In this clearly written guide, you learn to develop professional-quality tests and test suites and integrate testing throughout the application life cycle. As you adopt a testing mindset, you’ll be amazed at how better tests cause you to write better code. What You Will Learn Universal guidelines to assess any unit test Testing to identify and avoid anti-patterns Refactoring tests along with the production code Using integration tests to verify the whole system This Book Is Written For For readers who know the basics of unit testing. Examples are written in C# and can easily be applied to any language. About the Author Vladimir Khorikov is an author, blogger, and Microsoft MVP. He has mentored numerous teams on the ins and outs of unit testing. Table of Contents: PART 1 THE BIGGER PICTURE 1 ¦ The goal of unit testing 2 ¦ What is a unit test? 3 ¦ The anatomy of a unit test PART 2 MAKING YOUR TESTS WORK FOR YOU 4 ¦ The four pillars of a good unit test 5 ¦ Mocks and test fragility 6 ¦ Styles of unit testing 7 ¦ Refactoring toward valuable unit tests PART 3 INTEGRATION TESTING 8 ¦ Why integration testing? 9 ¦ Mocking best practices 10 ¦ Testing the database PART 4 UNIT TESTING ANTI-PATTERNS 11 ¦ Unit testing anti-patterns

Clean Code

Clean Code
Author: Robert C. Martin
Publsiher: Pearson Education
Total Pages: 464
Release: 2008-08-01
Genre: Computers
ISBN: 9780136083252

Download Clean Code Book in PDF, Epub and Kindle

Even bad code can function. But if code isn’t clean, it can bring a development organization to its knees. Every year, countless hours and significant resources are lost because of poorly written code. But it doesn’t have to be that way. Noted software expert Robert C. Martin presents a revolutionary paradigm with Clean Code: A Handbook of Agile Software Craftsmanship. Martin has teamed up with his colleagues from Object Mentor to distill their best agile practice of cleaning code “on the fly” into a book that will instill within you the values of a software craftsman and make you a better programmer–but only if you work at it. What kind of work will you be doing? You’ll be reading code–lots of code. And you will be challenged to think about what’s right about that code, and what’s wrong with it. More importantly, you will be challenged to reassess your professional values and your commitment to your craft. Clean Code is divided into three parts. The first describes the principles, patterns, and practices of writing clean code. The second part consists of several case studies of increasing complexity. Each case study is an exercise in cleaning up code–of transforming a code base that has some problems into one that is sound and efficient. The third part is the payoff: a single chapter containing a list of heuristics and “smells” gathered while creating the case studies. The result is a knowledge base that describes the way we think when we write, read, and clean code. Readers will come away from this book understanding How to tell the difference between good and bad code How to write good code and how to transform bad code into good code How to create good names, good functions, good objects, and good classes How to format code for maximum readability How to implement complete error handling without obscuring code logic How to unit test and practice test-driven development This book is a must for any developer, software engineer, project manager, team lead, or systems analyst with an interest in producing better code.

A Guide to Software Quality Engineering

A Guide to Software Quality Engineering
Author: Shravan Pargaonkar
Publsiher: CRC Press
Total Pages: 148
Release: 2024-06-04
Genre: Computers
ISBN: 9781040027738

Download A Guide to Software Quality Engineering Book in PDF, Epub and Kindle

In today’s fast-paced digital world, delivering high-quality software is not just a goal; it’s an absolute necessity. A Guide to Software Quality Engineering is a companion book for anyone involved in software development, testing, or quality assurance. This comprehensive book takes you on a transformative journey through the world of software quality engineering, providing invaluable insights, practical methodologies, and expert advice that will elevate your projects to new levels of excellence. The book features the following points: • Performance Testing Security Testing • Usability Testing • Continuous Integration and Continuous Testing • Requirements Engineering and Quality • Code Quality and Static Analysis • Defect Management and Root Cause Analysis • Release and Deployment Management Dive into the fundamental principles of software quality engineering, understanding the critical role it plays in ensuring customer satisfaction, user experience, and the overall success of your software products. Whether you’re a seasoned professional or a budding enthusiast, this book caters to all levels of expertise.