top of page

What is a bug?

  • Apr 30, 2023
  • 3 min read


ISTQB definition:

A defect (bug, fault) - is an imperfection or deficiency in a work product where it does not meet its requirements or specifications.


Human language:

Human beings are fallible and thus, when they work, they sometimes introduce defects. Defects and bugs are synonyms.

A bug is - a general term describing any unexpected hardware or software problem. In short, it is any behavior or result that a program or system gets, but was not designed to do. Software bugs can be caused by many factors, including unclear requirements, programming errors, software complexity, lack of communication, timeline deviation, errors in bug tracking, documentation errors, deviation from standards, and much more.


The rate at which people make defects increases when they are under time pressure when they are working with complex systems, interfaces, or code, and when they are dealing with changing technologies or highly interconnected systems. While we commonly think of failures being the result of ‘bugs in the code’, a significant number of defects are introduced in work products such as requirements specifications and design specifications. We can detect a bug at any stage of the software development lifecycle. Ideally, defects are removed in the same phase of the life cycle in which they are introduced.


Bugs can have a wide-ranging impact on the product’s performance, from minor issues such as unintended text formatting that can be overlooked to major ones that make the software impossible to use such as causing a program to crash, freezing the computer, or causing damage to hardware. Other bugs qualify as security bugs and might, for example, enable a malicious user to bypass access controls in order to obtain unauthorized privileges. That's why we have the terms bug severity and bug priority, which we will describe in separate articles.

Life example:

Example 1: functional bug

The development team builds functionality on the website. Functionality is a New section named Electronics.

After the development team has developed this module, the QA Engineer starts testing it. During testing, the QA Engineer navigates to the first section of the developed module named Deals and clicks on the Holiday Tech Deals.

The expected result of this action is: the Holiday Tech Deals page is displayed with the corresponding products.

But instead of seeing it, the error is displayed: Sorry, we are having technical issues. But we will be back in a flash.

This is our bug because the expected behavior is that the developed section works, while in our case the user is unable to use the page. In this example, the issue will be the highest impact on the users and thus should be fixed as soon as possible, which means the severity and priority of this issue will be the highest.


Example 2: Design bug The development team builds header elements on the https://www.walmart.com/

Such as:

  • Site Logo;

  • Departments;

  • Services;

  • Search field;

  • My Items;

  • Account;

  • Bag.

The requirement is: All components in the header menu should be aligned in the same line. Our design is:

After the development team has developed all components in the header, the QA Engineer starts testing it. During testing, the QA Engineer notices that the Search field is not aligned with the other elements of the header.

This is our bug because the expected behavior is that all components in the header menu should be aligned in the same line.

Conclusion:

So, if you are asked at an interview: What is a bug? The best way to answer is:

A bug - is a general term describing any unexpected hardware or software problem. In short, it is any behavior or result that a program or system gets, but was not designed to do.

116 Comments


sunnieannn
9 hours ago

Theo mình, một website thời tiết hữu ích là nơi cung cấp thông tin nhanh và đủ, và trang này làm khá tốt điều đó. Mục dự báo thời tiết TP. Hồ Chí Minh có từ nhiệt độ, độ ẩm, cảm giác thực tế đến dự báo 7, 10, 15 và 30 ngày. Thông tin còn chi tiết theo từng phường, xã, rất tiện khi cần theo dõi thời tiết chính xác hơn.

Like

jason96400650
2 days ago

Trong quá trình đọc các thảo luận, mình có để ý thấy https://mb88aa.com/ được nhắc qua nên thử vào xem cho biết. Mình chỉ xem nhanh tổng thể chứ chưa tìm hiểu sâu, nhưng cảm giác ban đầu là cách trình bày khá thoáng, bố cục rõ ràng, nhìn vào không bị rối mắt.

Like

5721wqsacoral
3 days ago

Trong quá trình đọc các thảo luận, mình có để ý thấy nhà cái u888 được nhắc qua nên thử vào xem cho biết. Mình chỉ xem nhanh tổng thể chứ chưa tìm hiểu sâu, nhưng cảm giác ban đầu là cách trình bày khá thoáng, bố cục rõ ràng, nhìn vào không bị rối mắt.

Like

ok8386 mình có dịp ghé vào xem thử khi thấy được nhắc đến ở một vài nơi, chủ yếu để tham khảo cách họ thiết kế giao diện và sắp xếp thông tin. Ấn tượng ban đầu là tổng thể khá gọn gàng, các khu vực nội dung được phân chia rõ nên theo dõi dễ dàng. Các danh mục chính hiển thị trực quan, giúp việc chuyển đổi giữa các mục diễn ra nhanh chóng. Khi dùng trên điện thoại, giao diện vẫn hoạt động ổn định, thao tác cuộn và điều hướng khá mượt

Like

5721wqsacoral
4 days ago

In my free time, I often read some experience-sharing articles. Compared to a few websites I used to visit before, I noticed gbet casino being mentioned, especially in sections related to online sports information, so I became curious and checked it out. My general impression is that if the information is organized clearly and is easy to view, then quick reading is quite convenient. For me, this might be a premium online entertainment brand.

Like

© 2023 by Mark Shrike

bottom of page