Sometimes the MSE contains method parameters out of order,
e.g. for method methodName(Type1 parameter1, Type2 parameter2, Type3 parameter3) it produced the following:
(in the order as they appeared in the MSE, with line numbers added:)
[...]
29734:
(FAMIX.Parameter (id: 5273)
(name 'parameter3')
(declaredType (ref: 1236))
(parentBehaviouralEntity (ref: 10032)))
[...]
50547:
(FAMIX.Parameter (id: 8995)
(name 'parameter1')
(declaredType (ref: 15523))
(parentBehaviouralEntity (ref: 10032)))
[...]
56409:
(FAMIX.Method (id: 10032)
(name 'methodName')
(astStartPosition 7268)
(astStopPosition 7284)
(cyclomaticComplexity 2)
(modifiers 'private')
(parentType (ref: 16356))
(signature 'methodName(Type1, Type2, Type3)'))
[ ... ]
96727:
(FAMIX.Parameter (id: 17183)
(name 'parameter2')
(declaredType (ref: 19939))
(parentBehaviouralEntity (ref: 10032)))
[...]
The parameters are incorrectly in the order 3,1,2.
I cannot share the source code, but the order changes every time I re-run the importer.
Sometimes the MSE contains method parameters out of order,
e.g. for method
methodName(Type1 parameter1, Type2 parameter2, Type3 parameter3)it produced the following:(in the order as they appeared in the MSE, with line numbers added:)
The parameters are incorrectly in the order 3,1,2.
I cannot share the source code, but the order changes every time I re-run the importer.