Habitat heterogeneity involves measuring environmental variables such as habitat architecture or plant species composition that integrate the community (
Beals, 2006) because these effects are complex, elucidating these relationships has proven difficult. Multiple aspects of vegetation architecture or plant species composition, for example, may simultaneously affect animal communities and their constituent species. This hypothesis, initially developed by
MacArthur & MacArthur (1961), states that more heterogeneous environments present a greater variety of resources and conditions, allowing species to coexist through niche differentiation. Although the positive relationship between diversity and habitat heterogeneity has been demonstrated for many insect groups, some groups respond negatively to habitat heterogeneity (e.g.,
Silva et al., 2010).