For chief legal officers at publicly traded companies in New Jersey, the difference between a prosperous 2011 and a mediocre one was largely dictated by the stock market.

Gains from the exercise of stock options among 30 general counsel rose in 2011 by 49 percent, to $492,040, according to Securities and Exchange Commission filings.