Barrel diameter is the outside dimension of the barrel measured at any point without factoring in lugs, sights, dovetails, etc.
Footnotes / Sources:
“Glossary ⇒.” Sporting Arms and Ammunition Manufacturers’ Institute. Ed. SAAMI’s Technical Committee. Web. 15-18 Jan. 2011.