This exercise targets the rhomboids as well as infraspinatus and teres minor muscles which are external rotators of the shoulder and part of the rotator cuff complex.
This exercise helps strengthen the subscapularis muscle which is responsible for internal rotation of the shoulder and is part of the rotator cuff complex.
Wall crawling is a simple and effective exercise you can perform to restore range of motion, specifically flexion of the glenohumeral shoulder joint when in the acute injury phase.