Defense spending constitutes a sizable share of all spending by the federal government, nearly 20 percent in 2012. CBO analyzes the budgetary effects of proposed legislation related to national security and assesses the cost-effectiveness of current and proposed defense programs. CBO also evaluates federal programs and issues related to veterans.