kalekseev/vim-coverage.py

Undocumented interfaces

Opened this issue · 1 comments

What would coverage.py need to add to its documented interfaces so that you wouldn't need to use _analyze? https://github.com/kalekseev/vim-coverage.py/blob/master/rplugin/python3/vim_coveragepy/util.py#L163

Hi @nedbat, first of all thank you very much for coverage!

What would coverage.py need to add to its documented interfaces so that you wouldn't need to use _analyze?

I need branch information and analysis2 doesn't provide it neither any other method in public API (maybe it can be computed from data.arcs()?). I found that html report module gets that information directly from Analyze object instead of using analysis2 results, so I used the same technique.

I think the rule for what should go to public API can be "anything that used by included report modules".

Let me know if I should create an issue for that in coverage.py repo.