Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 952 by step...@stack.nl: Exporting Famix numberOfLinesOfCode fails when a function is defined http://code.google.com/p/moose-technology/issues/detail?id=952
FAMIXNamespace numberOfLinesOfCode <MSEProperty: #numberOfLinesOfCode type: #Number> <derived> <MSEComment: 'The number of lines of code in a namespace'> ^self lookUpPropertyNamed: #numberOfLinesOfCode computedAs: [self types , self functions inject: 0 into: [ :Sum :each | sum + each numberOfLinesOfCode] ]
self types, self functions fails
Easy to solve by calculating the sum independently and adding together
Updates: Status: Fixed Labels: Component-Famix Milestone-4.8
Comment #1 on issue 952 by tu...@tudorgirba.com: Exporting Famix numberOfLinesOfCode fails when a function is defined http://code.google.com/p/moose-technology/issues/detail?id=952
Thanks Diego and Stephan.