Can someone explain the difference between the two?
Because currently there are multiple properties with these names, some in FamixClass, FamixBehaviouralEntity, FamixMethod....
Are they duplicated properties?
-- Simon
W* notation is the traditional names for class metrics that aggregate the values from methods.
So, you will find WLOC only in FAMIXClass, and everywhere else it will be LOC. Nevertheless, the methods are still named the same: #numberOfLinesOfCode.
I never liked the W* names, in particular given that we always just sum the values without weighting them. So, I suggest to make them all LOC :).
Cheers, Doru
On 30 Mar 2009, at 18:21, Simon Denier wrote:
Can someone explain the difference between the two?
Because currently there are multiple properties with these names, some in FamixClass, FamixBehaviouralEntity, FamixMethod....
Are they duplicated properties?
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"We cannot reach the flow of things unless we let go."
W* notation is the traditional names for class metrics that aggregate the values from methods.
So, you will find WLOC only in FAMIXClass, and everywhere else it will be LOC. Nevertheless, the methods are still named the same: #numberOfLinesOfCode.
I never liked the W* names, in particular given that we always just sum the values without weighting them. So, I suggest to make them all LOC :).
I agree with Doru. Google told me that WLOC could also be white lines of code, a line that contains whitespace only.
Alexandre
On 30 Mar 2009, at 18:21, Simon Denier wrote:
Can someone explain the difference between the two?
Because currently there are multiple properties with these names, some in FamixClass, FamixBehaviouralEntity, FamixMethod....
Are they duplicated properties?
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"We cannot reach the flow of things unless we let go."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Well I can see that there is also some A_WLOC, S_WLOC, AEWLOC, in particular in Class history, should we update them.
Anyway I remove a nasty FamixMethod#WLOC (not #LOC) which was mistakenly pushed there, doing nothing, and hiding the correct definition of #LOC in FamixBehaviouralEntity. Triple bug! (I will not reveal the culprit, even knowing it is not me :) )
Now all tests are green Famix-LANTests and SmalltalkImporter-tests!
flatCollect: done
asSortBlock: done
On 1 avr. 09, at 10:49, Tudor Girba wrote:
W* notation is the traditional names for class metrics that aggregate the values from methods.
So, you will find WLOC only in FAMIXClass, and everywhere else it will be LOC. Nevertheless, the methods are still named the same: #numberOfLinesOfCode.
I never liked the W* names, in particular given that we always just sum the values without weighting them. So, I suggest to make them all LOC :).
Cheers, Doru
On 30 Mar 2009, at 18:21, Simon Denier wrote:
Can someone explain the difference between the two?
Because currently there are multiple properties with these names, some in FamixClass, FamixBehaviouralEntity, FamixMethod....
Are they duplicated properties?
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"We cannot reach the flow of things unless we let go."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Good job Simon!
Alexandre
On 1 Apr 2009, at 16:06, Simon Denier wrote:
Well I can see that there is also some A_WLOC, S_WLOC, AEWLOC, in particular in Class history, should we update them.
Anyway I remove a nasty FamixMethod#WLOC (not #LOC) which was mistakenly pushed there, doing nothing, and hiding the correct definition of #LOC in FamixBehaviouralEntity. Triple bug! (I will not reveal the culprit, even knowing it is not me :) )
Now all tests are green Famix-LANTests and SmalltalkImporter-tests!
flatCollect: done
asSortBlock: done
On 1 avr. 09, at 10:49, Tudor Girba wrote:
W* notation is the traditional names for class metrics that aggregate the values from methods.
So, you will find WLOC only in FAMIXClass, and everywhere else it will be LOC. Nevertheless, the methods are still named the same: #numberOfLinesOfCode.
I never liked the W* names, in particular given that we always just sum the values without weighting them. So, I suggest to make them all LOC :).
Cheers, Doru
On 30 Mar 2009, at 18:21, Simon Denier wrote:
Can someone explain the difference between the two?
Because currently there are multiple properties with these names, some in FamixClass, FamixBehaviouralEntity, FamixMethod....
Are they duplicated properties?
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"We cannot reach the flow of things unless we let go."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev