Sorry, it's gonna be very specific.
I'm running and debugging the tests of
FamixPropertiesTest>>testAttributeMetrics, which tests the computation
of basic metrics on Famix entities (like numberOfAccesses).
In many cases, the value against which the model is tested seems
outdated.
For example:
attribute1 := self model entityNamed:
#'Smalltalk::LANInterface.nextNode'.
self assert: attribute1 numberOfAccesses = 4.
attribute1 numberOfAccesses returns 3 and I checked with the model,
LANInterface.nextNode, it is correct (nextNode is only accessed in its
accessor)
So I wonder where the value 4 comes from?
--
Simon