Wednesday, December 03, 2008

Class name size in large scale application

This is a data set I ended up not using, but I might as well share it in case it helps others. It's a set of code metrics for a large scale financial application (no, not that one... the data comes from XTrade). In this case, the information provided refers to the sizes of class names. Here are the results*.

  • 13318 classes.
  • Arithmetic mean name size:
  • Harmonic mean name size: 10.04.
* Full data in array format. An integer j at position k means class name k occurred j times. #(9 18 2370 1072 1708 1488 1333 1490 1862 1906 2053 2317 2429 2330 2456 2361 2399 2347 2206 2093 2041 1960 1924 1792 1564 1592 1393 1374 1160 1055 1001 957 840 761 748 615 634 563 467 448 421 396 318 306 289 231 246 206 187 156 168 141 115 96 83 85 75 70 60 61 40 44 38 44 27 36 32 22 21 12 17 11 15 13 10 6 7 7 4 4 5 3 3 5 3 2 0 3 1 0 1 0 0 1 0 0 0 2 0 2 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 2)

No comments: