FILE - Texas cowboy longhorns rancher

A cowboy leads Texas longhorns from their pens during the daily cattle drive in Fort Worth, Texas.

Texas ranked as the 12th most attractive state for job seekers in a new analysis by the financial services website WalletHub.

“Job security is among the things that led to this high ranking,” WalletHub analyst Jill Gonzalez told The Center Square in an email, “but so are the large share of engaged workers, the existence of work-share programs (to avoid layoffs) and the small percentage of part-time employees.”

The WalletHub analysis rated the best and worst states based on 33 measurements of job markets, employment opportunities and overall economic health. Massachusetts rated the best state for jobs, while West Virginia came in last.

Texas workers finished fifth in the category of employee engagement, which is defined as workers who are committed and enthusiastic about fulfilling their job duties. But in terms of employee benefits, Texas came in at No. 49, indicating a smaller share of workers with private health insurance.

“Texas workers also have the highest monthly average starting salary, the second lowest percentage of workers with multiple jobs and no income tax burden,” Gonzalez said. “These are all indications of a strong economic environment.”

The state’s monthly average starting pay was estimated by WalletHub as $3,331. And the tax burden in Texas for all income earners is low since Texas has no state income tax.

A few areas where Texas is less friendly to workers are in the categories of commuter friendliness and friendliness toward working parents. The state ranks 48th in the number of employees who are within a 30-minute transit distance of their jobs, the analysis found.

Texans also spend more time working than employees in almost any other state, finishing 47th in a national calculus of the number of hours worked per week.

The state also finished in the middle range for the categories of job opportunities and employment growth, with ranks of 27th and 28th, respectively.