-
Notifications
You must be signed in to change notification settings - Fork 0
Commit History Analysis
-
F5a: Resolved with commit change to mysql ts-train - April 29, 2022
The
ts-train-service
now correctly perform anisPresent()
-check instead of the previous incorrectnull
-check: -
F5b: Resolved with commit fix station - Jul 13, 2022
The
ts-station-service
now correctly perform anisPresent()
-check instead of the previous incorrectnull
-check: -
F9a and F9b: Resolved with commit fix Order/Orderother about date type bug - July 28, 2022
Instead of receiving a
Date
object as a path variable, thets-order-service
andts-order-other-service
now correctly accept a string object as a path variable, which is then correctly transformed into the desiredDate
object: -
F13a: Resolved with commit optimize travel and seat loop dependency - July 21, 2022
The
ts-basic-service
now no longer generates an empty string that will be used as a path variable for thets-price-service
, and instead correctly returns an unsuccessful response beforehand: -
F16a and F16b: Resolved with commit modify timeout value - June 8, 2020
The timeout values defined in the controller classes of the
ts-preserve-service
andts-preserve-other-service
were increased from 5000 milliseconds to 20000 milliseconds to resolve the insufficient timeout value: -
F27b: Resolved with commit Hd mysql - June 12, 2022
All faults related to F27 stemmed from failing to check whether a string could be converted to a UUID before attempting the conversion, leading to a
NumberFormatException
. In thets-security-service
, this fault was addressed by changing the data type of identifiers from UUID to string, eliminating the need for conversion: -
F27c: Resolved with commit change to mysql ts-auth - April 29, 2022
All faults related to F27 stemmed from failing to check whether a string could be converted to a UUID before attempting the conversion, leading to a
NumberFormatException
. In thets-auth-service
, this fault was addressed by changing the data type of identifiers from UUID to string, eliminating the need for conversion:
-
F6: Indirectly resolved with commit optimize travel and seat loop dependency - July 21, 2022
F6 involved a faulty
null
-check, as the methodgetRouteByRouteId()
within thets-travel-service
incorrectly returned a new route object with default (uninitialized) values when no matching route was found. While this method remains unaltered in version 1.0.0, the service implementation no longer invokes it, thereby avoiding the fault as a byproduct: -
F11: Indirectly resolved with commit remove hystrix - July 19, 2020
The mismatch between two different data types (
HTTPEntity
vs.ResponseEntity<Response>
) is no longer present in version 1.0.0. However, the commit which resolved the fault deleted all occurrences of fallback methods. Therefore, whether this fault was recognized and intentionally addressed by its developers or resolved as a byproduct of broader changes remains unknown: -
F13b and F13c: Indirectly resolved with commit delete service ticketinfo - December 31, 2021
F13b and F13c involved passing an empty string variable as a path to the ts-ticketinfo-service. The
ts-ticketinfo-service
was removed entirely with this commit, removing the request made to this service and indirectly resolving these faults in thets-travel-service
(F13b) andts-travel2-service
(F13c). -
F20a and F20b: Indirectly resolved with commit fix bugs - July 26, 2022
An unhandled
IndexOutOfBoundsException
occurred in thets-order-service
(F20a) andts-order-other-service
(F20b) due to unchecked access to an empty list of stations returned by the requestedts-station-service
. Within both services, this request to thets-station-service
has been commented out, which resolved the fault in the process of this change. It remains unclear whether this request was commented out specifically to address this fault or was part of broader service changes:
-
F4a: Partially resolved with commit Station food (January 4, 2022) and Fix food service (July 27, 2022)
F4a involved an incorrect null-check with a repository method that never returns null. The
ts-food-map-service
, which previously contained multiple instance of this fault, was removed. Its functionality was split into two new services:ts-train-food-service
andts-station-food-service
with commit Station food (January 4, 2022).In the
ts-train-food-service
, the fault was addressed , as the repository method has been altered with commit Fix food service (July 27, 2022) to be able to return null, as it returns a single object instead of a list:However, in the
ts-station-food-service
, the method containing the fault remains unchanged from its previous implementation in thets-food-map-service
:Consequently, F4a has only been partially resolved.
-
F27e and F27f: Partially resolved with commit Cqq mysql - June 10, 2022
All faults related to F27 stemmed from failing to check whether a string could be converted to a UUID before attempting the conversion, leading to a
NumberFormatException
. In thets-order-other-service
(F27e) andts-order-service
(F27f), this fault occurred multiple times within the same service. While most of these occurrences have been resolved by changing the data type of identifiers from UUID to string, eliminating the need for conversion:the
deleteOrder()
method within both services remains unresolved:Consequently, F27e and F27f have only partially been resolved.
- Home
- Test Suite Creation
- Fault Identification
- Fault Classification
- Commit History Analysis
- Dependency of Test Cases and Detected Faults
- Adjustments to the Original Source Code