The objective of this article is to present the development and evaluation of dETECT (Evaluating TEaching CompuTing), a model for the evaluation of the quality of instructional units for teaching computing in middle school based on the students' perception collected through a measurement instrument. The dETECT model was systematically developed and evaluated based on data collected from 16 case studies in 13 different middle school institutions with responses from 477 students. Our results indicate that the dETECT model is acceptable in terms of reliability (Cronbach's alpha ?=.787) and construct validity, demonstrating an acceptable degree of correlation found between almost all items of the dETECT measurement instrument. These results allow researchers and instructors to rely on the dETECT model in order to evaluate instructional units and, thus, contribute to their improvement and to direct an effective and efficient adoption of teaching computing in middle school.