|
|
|
|
|
by belter
1558 days ago
|
|
We are in the year 2022. We don't have the technology to produce bug free software based solutions. 100% code coverage, as other mentioned in this thread, does not guarantee you exercised 100% of all the inputs values possible. That is why: - You can pay millions of dollars to a Software Company, and when you install the product the usual license text, says something in capitals along the lines of:
NO GUARANTEES WHATSOEVER FOR ANYTHING...
plus some will mention you can't use for controlling X-Ray machines, Nuclear Power generators and so. and also why - Software where life depends on, normally will use a type of summation or
consensus based software like the Shuttle had with 3/4 computers. |
|
If you have a function
that returns two integers (A, B) so that and we discover that F(2) -> (-2, 2147483647), which is entirely correct in a language that permits integer overflow; then we call it a bug because A and B must be smaller than n (or whatever). This was not a requirement until the bug was discovered.