Building code is a publishing company that puts forth a set of rules on a building design, construction, testing, inspections, and maintenance to protect public health, safety and welfare. Building codes are adopted and enforced by the government, who may inspect buildings to make sure they follow the rules.