A libertarian think tank has panned Massachusetts highways.

The Reason Foundation of Los Angeles said Massachusetts ranked 46th in the nation for overall performance and cost-effectiveness.

The foundation’s 22nd annual highway report tracks the performance of state-owned highways and bridges in 11 categories, including spending, condition, traffic and fatality rates.

The foundation gave Massachusetts its lowest marks in spending-per-mile categories.

The best highways were in South Carolina, the foundation said. The worst were in Alaska.

For more information, go to http://reason.org/studies/show/22nd-annual-highway-report.