First, the analysis program structure
sixth assignment
measure:
Class Diagram:
BUG analysis
I don't know much about multithreading and file processing, so there are some problems with thread locking and scheduling, and there are also problems with some operations on files.
Design analysis
The design is a bit concentrated, so it is not a good design, and the thread scheduling is not handled well.
The seventh homework
measure:
Class Diagram:
BUG analysis
Some boundary conditions are not handled very well, and time is not handled well either.
Design analysis
Many methods have been written in the GUI, and Main is also written. It only needs to complete the necessary thread design, but it is still difficult to handle some scheduling problems.
2. Strategies for spotting bugs in others
I first check if there is any problem with his public beta. If there is no problem, I will find some unexplained situations in his readme for testing; if there is a problem, I will judge whether there is a situation similar to the public beta site and test it to find errors.
3. Summary of Multi-Thread Collaboration and Synchronization
The security issue between threads is very important. Only by correctly understanding multi-threading, correct locking, multi-thread cooperation and synchronization can it be perfect.
Fourth, experience
When writing OO homework, you must first think carefully, make your thinking clear, and leave enough time to make your work perfect. You must also learn more object-oriented thinking and write excellent code.