This semi-parametric test checks the null hypothesis of zero
correlation between errors of the same group. Therefore, it
has power both against individual effects and, more generally,
any kind of serial correlation.
The test relies on large-N asymptotics. It is valid under error
heteroskedasticity and departures from normality.
The above is valid if effect="individual", which is the
most likely usage. If effect="time", symmetrically, the
test relies on large-T asymptotics and has power against time
effects and, more generally, against cross-sectional correlation.
References
Wooldridge, J.M. (2002) Econometric Analysis of Cross-Section and Panel Data, MIT Press, Sec. 10.4.4., pp. 264--265.
Wooldridge, J.M. (2010) Econometric analysis of cross-section and panel data, 2nd ed., MIT Press, Sec. 10.4.4, pp. 299--230.