What are the criteria for RoomPlan to distinguish doors, windows, and openings

What are the criteria for RoomPlan to distinguish doors, windows, and openings? In the end, they are all openings, right? In addition, what is the probability of categorization errors? Thanks a lot.

What are the criteria for RoomPlan to distinguish doors, windows, and openings
 
 
Q