Committed!
Here a test
-=-=-=-=-=-=-=-=-=-=-=-=
HismoTest>>testCorrelation
| classHistories v |
classHistories := testData simpleHistory allClassHistories.
self assert: ((v := (classHistories at: 1) correlationOf: #numberOfLinesOfCode and:
#numberOfMethods) closeTo: 0.9948).
-=-=-=-=-=-=-=-=-=-=-=-=
Santiago implemented correlationOf:and: on HismoAbstractHistory
We will probably add more statistical tools soon.
Cheers,
Alexandre
On 22 Nov 2011, at 09:47, Alexandre Bergel wrote:
Hi!
We are currently implementing some statistics functionalities in Hismo.
The idea is to be able to identify correlation between two metrics, computing the
standard deviation.
We will commit in a couple of hours.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.