analyze exports a function