And this looks forever….. when we use Und_ :)So when you prefix your selector with Und_, it takes forever to get executed?I tried it on Pharo 6.1 64 bits (Ubuntu) i.e. created a class and a selector with Und_ prefix.And I could not reproduce the behavior/problem.
_______________________________________________I didn't try it in moose though because I couldn't make Pharo 32-bit work on Linux 64-bit.Crazy no.Can you reproduce it?On 12 Sep 2017, at 11:58, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:Hifor certain metrics we need to compute the total amount of lines of code for the complete project.FAMIXClass >> calculateARLCOMUnderstand"Class LCOM LOCC1 12 1000C2 2 50For C1 1000/1050 * 12For C2 50/1050 * 2"self halt.^ self TR_LoC / self mooseModel TR_totalNumberOfLinesOfCode * self TR_LCOMNow I have a question because totalNumberOfLinesOfCode does exist on Model but on TypeGroupI wrote it like that on FAMIXTypeGroupTR_totalNumberOfLinesOfCode<MSEProperty: #TR_totalNumberOfLinesOfCode type: #Number><derived><MSEComment: 'Total number of lines of code from Understand'>^ selflookUpPropertyNamed: #TR_totalNumberOfLinesOfCodecomputedAs: [ (self sumNumbers: [ :each | each TR_LoC ]) asFloat ]How can I access for example totalNumberOfLinesOfCode at the model level?Stef-------------------------------------------- Stéphane Ducasse03 59 35 87 52Assistant: Julie JonasFAX 03 59 57 78 50TEL 03 59 35 86 16S. Ducasse - Inria40, avenue Halley,Parc Scientifique de la Haute Borne, Bât.A, Park PlazaVilleneuve d'Ascq 59650France-------------------------------------------- Stéphane Ducasse03 59 35 87 52Assistant: Julie JonasFAX 03 59 57 78 50TEL 03 59 35 86 16S. Ducasse - Inria40, avenue Halley,Parc Scientifique de la Haute Borne, Bât.A, Park PlazaVilleneuve d'Ascq 59650France
_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev