In this paper we study the problem of covering the perimeter of a region of interest with a wireless sensor network in order to monitor the trespassing in surveillance applications. We will characterize in a probabilistic context the relationship between the parameters of the sensor network, e.g. number of sensors or sensor density, and the coverage capability and energy efficiency.