All files

68.6% Statements 1630/2376
93.81% Branches 91/97
30% Functions 9/30
68.6% Lines 1630/2376

Press n or j to go to the next uncovered block, b, p or k for the previous block.

File Statements Branches Functions Lines
copy_matrix.js
100% 79/79 100% 3/3 100% 1/1 100% 79/79
copy_vector.js
90.9% 40/44 100% 1/1 0% 0/1 90.9% 40/44
dot.js
71.42% 40/56 100% 1/1 0% 0/1 71.42% 40/56
euclidean.js
87.09% 54/62 100% 1/1 0% 0/1 87.09% 54/62
find_closest_centroid.js
72.3% 47/65 100% 1/1 0% 0/1 72.3% 47/65
incrstats.js
47.61% 40/84 100% 1/1 0% 0/1 47.61% 40/84
index.js
100% 84/84 100% 1/1 100% 0/0 100% 84/84
init.js
64.54% 71/110 100% 2/2 50% 1/2 64.54% 71/110
init_clusters.js
50% 47/94 100% 1/1 0% 0/1 50% 47/94
init_forgy.js
39.65% 46/116 100% 1/1 0% 0/1 39.65% 46/116
init_kmeansplusplus.js
37.13% 101/272 100% 1/1 0% 0/2 37.13% 101/272
init_sample.js
44.21% 42/95 100% 1/1 0% 0/1 44.21% 42/95
main.js
72.68% 314/432 85.36% 35/41 100% 4/4 72.68% 314/432
matrix.js
100% 59/59 100% 4/4 100% 1/1 100% 59/59
normalize.js
63.63% 42/66 100% 1/1 0% 0/1 63.63% 42/66
normalize_matrix.js
60.93% 39/64 100% 1/1 0% 0/1 60.93% 39/64
squared_correlation.js
91.83% 45/49 100% 1/1 0% 0/1 91.83% 45/49
squared_cosine.js
91.83% 45/49 100% 1/1 0% 0/1 91.83% 45/49
squared_euclidean.js
91.83% 45/49 100% 1/1 0% 0/1 91.83% 45/49
standardize.js
69.35% 43/62 100% 1/1 0% 0/1 69.35% 43/62
standardize_matrix.js
61.53% 40/65 100% 1/1 0% 0/1 61.53% 40/65
stats.js
74.69% 62/83 100% 3/3 50% 1/2 74.69% 62/83
update_centroid.js
73.77% 45/61 100% 1/1 0% 0/1 73.77% 45/61
validate.js
100% 118/118 100% 25/25 100% 1/1 100% 118/118
vector.js
72.41% 42/58 100% 1/1 0% 0/1 72.41% 42/58