Get your code review.
70 issue typesin our database
6.16% issue ratioon average
4 issues on 48 LOC = 8% issue ratio
I use this approach when a Qt GUI has a set of control elements that repeats several times to control several different entities. E.g. in this example, I have a set of a button + a spinbox repeated 5 times to control 5 different external devices connected to different COM ports. I find it convenient to connect all the signals from e.g. buttons to one single slot, and then to find out what button was pressed by looking for `self.sender()` in the list of buttons. To make it more universal, I use a `get_device_port()` method to let the user look for the sender in any given list - i.e. in the list of buttons when the button is pressed or in the list of spinboxes when a spinbox value is updated. But is this approach safe and scalable enough?
4 issues on 138 LOC = 3% issue ratio
My AUT protects specific registry folders from being changed, even for users with admin privileges. "is_admin" is a cross-platform function used with other tests on macOS.
4 issues on 113 LOC = 4% issue ratio
А draft for scripts that will be used for Win Registry tests
1 issue on 64 LOC = 2% issue ratio
I believe the last version! I saved all approaches in one file for (my) learning purposes.
5 issues on 46 LOC = 11% issue ratio
There are many comments in this code - just for debugging purposes.