basho/riak_kv — pull request #886 by jtuple (2014-04-01 02:06:07+00:00)
Title: Add yz_stat exception to xref analysis

Running `xref` complains about undefined calls to `yz_stat` because Yokozuna is not a riak_kv dependency.

Since we already ignore `yz_kv` calls, this commit adds an exception for `yz_stat` calls as well.

In the future, we'll either make Yokozuna a proper sub-dependency of riak_kv, or add support to dynamically registered stat callbacks for stat aggregation (eg. for `/stats`).

For reference, the two calls into `yz_stat` are on [riak_kv_stat_bc.erl#L159](https://github.com/basho/riak_kv/blob/a5103ad56cafbbc3d8724f5ccc36eed4a1bb70fa/src/riak_kv_stat_bc.erl#L159) and [riak_kv_wm_stats.erl#L89](https://github.com/basho/riak_kv/blob/a5103ad56cafbbc3d8724f5ccc36eed4a1bb70fa/src/riak_kv_wm_stats.erl#L89).