The number of consumer protection class actions has nearly tripled in the past decade, with cases over data privacy and unwanted text messages behind the increase, according to a report compiled by Lex Machina.

The “Consumer Protection Litigation Report,” released Wednesday, is the first of its kind by Lex Machina, a unit of LexisNexis, that tracks consumer protection lawsuits filed in federal courts.