I think the coverage is done by method using something like method wrappers. And the whole method is marked as covered if hit, nothing fancy like branch or statement coverage.
On Sun, Dec 20, 2020, 14:28 Stéphane Ducasse <stephane.duca...@inria.fr> wrote: > Thanks I could not find it. > I read the code and it is still unclear what is the logic. I could not > figure out what we get lines here. > > I would like to resurrect the AST interpreter to get some information on > AST level coverage. > What is see is that so far this is a heuristic that is used in > SmalltalkCI. > > S. > > On 20 Dec 2020, at 13:27, Gabriel Cotelli <g.cote...@gmail.com> wrote: > > AFAIR is implemented in > https://github.com/hpi-swa/smalltalkCI/tree/master/repository/SmalltalkCI-Pharo-Coverage-Core.package/SCIPharoCodeCoverage.class > and it's superclass. > > On Sun, Dec 20, 2020, 05:44 Stéphane Ducasse <stephane.duca...@inria.fr> > wrote: > >> Hi >> >> I would like to know exactly how the test coverage is computed. >> I read all the code of SmalltalkCi and I could not find it. >> >> S. >> -------------------------------------------- >> Stéphane Ducasse >> http://stephane.ducasse.free.fr / http://www.pharo.org >> 03 59 35 87 52 >> Assistant: Aurore Dalle >> FAX 03 59 57 78 50 >> TEL 03 59 35 86 16 >> S. Ducasse - Inria >> 40, avenue Halley, >> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza >> Villeneuve d'Ascq 59650 >> France >> >> > -------------------------------------------- > Stéphane Ducasse > http://stephane.ducasse.free.fr / http://www.pharo.org > 03 59 35 87 52 > Assistant: Aurore Dalle > FAX 03 59 57 78 50 > TEL 03 59 35 86 16 > S. Ducasse - Inria > 40, avenue Halley, > Parc Scientifique de la Haute Borne, Bât.A, Park Plaza > Villeneuve d'Ascq 59650 > France > >