The habitats where perforated St John's wort~(Hypericum perforatum) grows:

Brownfield
Coastal floodplain grazing marsh
Hard cliff and cliff slope
Lowland calcareous grassland
Mesotrophic grassland