Defense spending accounted for about 20 percent of total federal spending 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.