In a small study, three different projects were examined with respect to the degree that they used eXtreme Programming practices and what the code looked like in terms of size, complexity and coupling. The conclusion was that more agile practices used in a project lead to lower size, complexity and coupling in the product. The study is too small for any definitive conclusions but it is evidence pointing in the right direction.
References
[bibtex file=http://www.citeulike.org/bibtex/user/greger/tag/20120320a?fieldmap=posted-at:posted-date&clean_urls=0]