opensearch-project / k-NN
File Age

File age measurements show the distribution of file ages (days since the first commit) and the recency of file updates (days since the latest commit).

Summary
  • Number of files: 155
  • Daily file updates (only one update per file and date counted): 497
  • First update: 2019-09-17
  • Latest update: 2022-01-28
  • Days between first and latest update: 865 (123 weeks, estimated 615 working days)
  • Active days (at least one file change): 190
  • Data:
File Change History Overall
File Age Distribution Overall
Days since first update
  • There are 155 files with 10,576 lines of code in files.
    • 1 files that are 366+ days old (5 lines of code)
    • 76 files that are 181-365 days old (6,672 lines of code)
    • 46 files that are 91-180 days old (2,638 lines of code)
    • 25 files that are 31-90 days old (966 lines of code)
    • 7 files that are 1-30 days old (295 lines of code)
<1% | 63% | 24% | 9% | 2%
Legend:
366+
181-365
91-180
31-90
1-30
Latest Change Distribution Overall
Days since last update
  • There are 155 files with 10,576 lines of code in files.
    • 0 files have been last changed 366+ days ago (0 lines of code)
    • 2 files have been last changed 181-365 days ago (95 lines of code)
    • 39 files have been last changed 91-180 days ago (1,707 lines of code)
    • 97 files have been last changed 31-90 days ago (7,562 lines of code)
    • 17 files have been last changed 1-30 days ago (1,212 lines of code)
0% | <1% | 16% | 71% | 11%
Legend:
366+
181-365
91-180
31-90
1-30
File Change History per File Extension
java, md, py, yml, cpp, json, h, txt, gradle, xml, in, gitignore, properties, bat, sh, gitmodules, policy
File Age Distribution per Extension
Days since first update
366+
181-365
91-180
31-90
1-30
policy100% | 0% | 0% | 0% | 0%
java0% | 65% | 30% | 2% | 1%
cpp0% | 81% | 0% | 18% | 0%
h0% | 76% | 0% | 23% | 0%
in0% | 65% | 0% | 35% | 0%
py0% | 0% | 0% | 76% | 23%
yml0% | 0% | 0% | 100% | 0%
Latest Change Distribution per Extension
Days since last update
366+
181-365
91-180
31-90
1-30
java0% | <1% | 19% | 69% | 10%
h0% | 14% | 0% | 85% | 0%
cpp0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 61% | 38%
yml0% | 0% | 0% | 17% | 82%
in0% | 0% | 0% | 100% | 0%
policy0% | 0% | 0% | 100% | 0%
File Change History per Logical Decomposition
primary
primary (file age distribution)
Days since first update
366+
181-365
91-180
31-90
1-30
src/main/plugin-metadata100% | 0% | 0% | 0% | 0%
src/main/java/org0% | 65% | 30% | 2% | 1%
jni/src0% | 81% | 0% | 18% | 0%
jni/include0% | 76% | 0% | 23% | 0%
jni0% | 100% | 0% | 0% | 0%
benchmarks/perf-tool/okpt/io0% | 0% | 0% | 70% | 29%
benchmarks/perf-tool/okpt/diff0% | 0% | 0% | 100% | 0%
benchmarks/perf-tool/sample-configs/faiss-sift-ivf0% | 0% | 0% | 100% | 0%
benchmarks/perf-tool/sample-configs/nmslib-sift-hnsw0% | 0% | 0% | 100% | 0%
benchmarks/perf-tool/okpt0% | 0% | 0% | 100% | 0%
benchmarks/perf-tool0% | 0% | 0% | 100% | 0%
primary (latest change distribution)
Days since last update
366+
181-365
91-180
31-90
1-30
src/main/java/org0% | <1% | 19% | 69% | 10%
jni/include0% | 14% | 0% | 85% | 0%
jni/src0% | 0% | 0% | 100% | 0%
benchmarks/perf-tool/okpt/io0% | 0% | 0% | 52% | 47%
benchmarks/perf-tool/okpt/diff0% | 0% | 0% | 100% | 0%
benchmarks/perf-tool/okpt0% | 0% | 0% | 100% | 0%
jni0% | 0% | 0% | 100% | 0%
benchmarks/perf-tool0% | 0% | 0% | 100% | 0%
src/main/plugin-metadata0% | 0% | 0% | 100% | 0%
benchmarks/perf-tool/sample-configs/faiss-sift-ivf0% | 0% | 0% | 0% | 100%
benchmarks/perf-tool/sample-configs/nmslib-sift-hnsw0% | 0% | 0% | 0% | 100%
Oldest Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
policy
plugin-security.policy
in src/main/plugin-metadata
5 - 90 575 8
KNNVectorFieldMapper.java
in src/main/java/org/opensearch/knn/index
463 31 57 260 12
KNNSettings.java
in src/main/java/org/opensearch/knn/index
318 20 84 260 8
KNNPlugin.java
in src/main/java/org/opensearch/knn/plugin
193 6 15 260 12
KNN80DocValuesConsumer.java
in src/main/java/org/opensearch/knn/index/codec/KNN80Codec
186 10 20 260 14
KNNQueryBuilder.java
in src/main/java/org/opensearch/knn/index
182 13 84 260 4
KNNWeight.java
in src/main/java/org/opensearch/knn/index
157 7 7 260 11
KNNScoringSpace.java
in src/main/java/org/opensearch/knn/plugin/script
141 11 84 260 2
KNNScoringUtil.java
in src/main/java/org/opensearch/knn/plugin/script
121 15 84 260 2
RestKNNStatsHandler.java
in src/main/java/org/opensearch/knn/plugin/rest
96 8 84 260 2
KNN86Codec.java
in src/main/java/org/opensearch/knn/index/codec/KNN86Codec
89 13 84 260 2
KNN87Codec.java
in src/main/java/org/opensearch/knn/index/codec/KNN87Codec
89 13 84 260 2
KNNIndexShard.java
in src/main/java/org/opensearch/knn/index
88 6 20 260 5
KNN84Codec.java
in src/main/java/org/opensearch/knn/index/codec/KNN84Codec
82 12 84 260 2
KNNStatsConfig.java
in src/main/java/org/opensearch/knn/plugin/stats
81 - 84 260 6
KNN80Codec.java
in src/main/java/org/opensearch/knn/index/codec/KNN80Codec
80 12 84 260 2
KNNCircuitBreaker.java
in src/main/java/org/opensearch/knn/index
78 4 84 260 3
RestKNNWarmupHandler.java
in src/main/java/org/opensearch/knn/plugin/rest
74 6 84 260 2
KNNConstants.java
in src/main/java/org/opensearch/knn/common
71 - 84 260 21
KNNStatsTransportAction.java
in src/main/java/org/opensearch/knn/plugin/transport
70 6 84 260 2
Files Not Recently Changed (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
SpaceType.java
in src/main/java/org/opensearch/knn/index
66 8 256 256 1
nmslib_wrapper.h
in jni/include
29 1 232 246 2
OutOfNativeMemoryException.java
in src/main/java/org/opensearch/knn/common/exception
10 2 160 160 1
NativeMemoryCacheManagerSupplier.java
in src/main/java/org/opensearch/knn/plugin/stats/suppliers
14 2 160 160 1
UpdateModelMetadataAction.java
in src/main/java/org/opensearch/knn/plugin/transport
11 1 140 140 1
ModelState.java
in src/main/java/org/opensearch/knn/indices
40 5 133 133 1
TrainingJobRouteDecisionInfoRequest.java
in src/main/java/org/opensearch/knn/plugin/transport
12 2 124 124 1
TrainingJobRouteDecisionInfoAction.java
in src/main/java/org/opensearch/knn/plugin/transport
12 1 124 124 1
TrainingJobRouteDecisionInfoNodeRequest.java
in src/main/java/org/opensearch/knn/plugin/transport
12 2 124 124 1
TrainingJobRouteDecisionInfoNodeResponse.java
in src/main/java/org/opensearch/knn/plugin/transport
33 5 124 124 1
TrainingJobRouteDecisionInfoTransportAction.java
in src/main/java/org/opensearch/knn/plugin/transport
50 5 124 124 1
TrainingJobRouteDecisionInfoResponse.java
in src/main/java/org/opensearch/knn/plugin/transport
50 6 124 124 1
UpdateModelMetadataTransportAction.java
in src/main/java/org/opensearch/knn/plugin/transport
112 6 121 140 2
MethodComponentContext.java
in src/main/java/org/opensearch/knn/index
143 13 121 256 4
GetModelAction.java
in src/main/java/org/opensearch/knn/plugin/transport
14 1 120 120 1
GetModelTransportAction.java
in src/main/java/org/opensearch/knn/plugin/transport
29 2 120 120 1
GetModelRequest.java
in src/main/java/org/opensearch/knn/plugin/transport
30 5 120 120 1
DeleteModelRequest.java
in src/main/java/org/opensearch/knn/plugin/transport
34 5 120 120 1
RestGetModelHandler.java
in src/main/java/org/opensearch/knn/plugin/rest
42 3 120 120 1
RestDeleteModelHandler.java
in src/main/java/org/opensearch/knn/plugin/rest
41 3 119 120 2
Most Recently Created Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
dataset.py
in benchmarks/perf-tool/okpt/io
126 19 12 12 1
KNNVectorSerializerFactory.java
in src/main/java/org/opensearch/knn/index/codec/util
61 7 20 20 1
KNNCodecUtil.java
in src/main/java/org/opensearch/knn/index/codec/util
37 2 20 20 1
KNNVectorAsArraySerializer.java
in src/main/java/org/opensearch/knn/index/codec/util
32 - 20 20 1
KNNVectorAsCollectionOfFloatsSerializer.java
in src/main/java/org/opensearch/knn/index/codec/util
28 - 20 20 1
KNNVectorSerializer.java
in src/main/java/org/opensearch/knn/index/codec/util
7 - 20 20 1
SerializationMode.java
in src/main/java/org/opensearch/knn/index/codec/util
4 - 20 20 1
args.py
in benchmarks/perf-tool/okpt/io
111 6 55 55 1
diff.py
in benchmarks/perf-tool/okpt/diff
93 7 55 55 1
util.py
in benchmarks/perf-tool/okpt/io/config/parsers
82 6 12 55 2
test.yml
in benchmarks/perf-tool/sample-configs/faiss-sift-ivf
60 - 12 55 2
test.py
in benchmarks/perf-tool/okpt/io/config/parsers
43 2 55 55 1
test.yml
in benchmarks/perf-tool/sample-configs/nmslib-sift-hnsw
36 - 12 55 2
main.py
in benchmarks/perf-tool/okpt
32 1 55 55 1
base.py
in benchmarks/perf-tool/okpt/io/config/parsers
24 4 55 55 1
test.yml
in benchmarks/perf-tool/okpt/io/config/schemas
21 - 55 55 1
reader.py
in benchmarks/perf-tool/okpt/io/utils
17 5 55 55 1
writer.py
in benchmarks/perf-tool/okpt/io/utils
10 2 55 55 1
in
requirements.in
in benchmarks/perf-tool
7 - 55 55 1
knn-perf-tool.py
in benchmarks/perf-tool
2 - 55 55 1
Most Recently Changed Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
KNNWeight.java
in src/main/java/org/opensearch/knn/index
157 7 7 260 11
dataset.py
in benchmarks/perf-tool/okpt/io
126 19 12 12 1
util.py
in benchmarks/perf-tool/okpt/io/config/parsers
82 6 12 55 2
test.yml
in benchmarks/perf-tool/sample-configs/faiss-sift-ivf
60 - 12 55 2
test.yml
in benchmarks/perf-tool/sample-configs/nmslib-sift-hnsw
36 - 12 55 2
KNNPlugin.java
in src/main/java/org/opensearch/knn/plugin
193 6 15 260 12
KNN80DocValuesConsumer.java
in src/main/java/org/opensearch/knn/index/codec/KNN80Codec
186 10 20 260 14
KNNIndexShard.java
in src/main/java/org/opensearch/knn/index
88 6 20 260 5
KNNVectorSerializerFactory.java
in src/main/java/org/opensearch/knn/index/codec/util
61 7 20 20 1
KNNVectorScriptDocValues.java
in src/main/java/org/opensearch/knn/index
52 3 20 260 3
KNN80CompoundFormat.java
in src/main/java/org/opensearch/knn/index/codec/KNN80Codec
45 4 20 260 4
KNNCodecUtil.java
in src/main/java/org/opensearch/knn/index/codec/util
37 2 20 20 1
KNNVectorAsArraySerializer.java
in src/main/java/org/opensearch/knn/index/codec/util
32 - 20 20 1
KNNVectorAsCollectionOfFloatsSerializer.java
in src/main/java/org/opensearch/knn/index/codec/util
28 - 20 20 1
VectorField.java
in src/main/java/org/opensearch/knn/index
18 1 20 260 3
KNNVectorSerializer.java
in src/main/java/org/opensearch/knn/index/codec/util
7 - 20 20 1
SerializationMode.java
in src/main/java/org/opensearch/knn/index/codec/util
4 - 20 20 1
args.py
in benchmarks/perf-tool/okpt/io
111 6 55 55 1
diff.py
in benchmarks/perf-tool/okpt/diff
93 7 55 55 1
test.py
in benchmarks/perf-tool/okpt/io/config/parsers
43 2 55 55 1