Atlas Report

go.temporal.io/server · 12775 tests · 43914 ranges · 25741 concepts · density 0.0122

Concept facts

14930 code concepts · 6547 test concepts · 4264 joint concepts

7587 tests introduced at test concepts · 5188 tests introduced at joint concepts · 1016 concepts introduce multiple tests

Shape

single-test 3% · narrow 4% · shared 6% · broad 6% · uncovered 81%

Open strata mosaic

Subsystems

Showing the 12 largest of 572 communities. Open the complete map.

Hubs

Substrate hubs are foundational concepts whose intent includes at least 90% of all collected tests. The percentage is breadth, not a quality score.

Open hubs

Substrate hubs

ConceptIntent share
TestOperatorServiceMetadata, TestWorkflowServiceMetadata
12775 tests · 0 LOC · 0 files · introduces 2 tests · 0 LOC · 0 files
100%
cluster.pb.go ×2
11830 tests · 200 LOC · 10 files · introduces 0 tests · 200 LOC · 10 files
93%
message.pb.go ×2
11764 tests · 249 LOC · 12 files · introduces 0 tests · 49 LOC · 2 files
92%
tags.go ×9
11649 tests · 237 LOC · 12 files · introduces 0 tests · 37 LOC · 2 files
91%
message.pb.go ×2
11618 tests · 20 LOC · 1 file · introduces 0 tests · 20 LOC · 1 file
91%
message.pb.go ×2
11613 tests · 711 LOC · 30 files · introduces 0 tests · 442 LOC · 17 files
91%
defs.go ×5
11564 tests · 377 LOC · 21 files · introduces 2 tests · 91 LOC · 7 files
91%
retrypolicy.go ×3
11529 tests · 19 LOC · 1 file · introduces 0 tests · 19 LOC · 1 file
90%
service.pb.go ×2
11507 tests · 1053 LOC · 43 files · introduces 0 tests · 342 LOC · 13 files
90%

Load-bearing concepts

ConceptTest packages
TestOperatorServiceMetadata, TestWorkflowServiceMetadata
12775 tests · 0 LOC · 0 files · introduces 2 tests · 0 LOC · 0 files
222 packages
cluster.pb.go ×2
11830 tests · 200 LOC · 10 files · introduces 0 tests · 200 LOC · 10 files
163 packages
tags.go ×9
11649 tests · 237 LOC · 12 files · introduces 0 tests · 37 LOC · 2 files
158 packages
message.pb.go ×2
11764 tests · 249 LOC · 12 files · introduces 0 tests · 49 LOC · 2 files
157 packages
message.pb.go ×2
11618 tests · 20 LOC · 1 file · introduces 0 tests · 20 LOC · 1 file
154 packages
message.pb.go ×2
11613 tests · 711 LOC · 30 files · introduces 0 tests · 442 LOC · 17 files
153 packages
defs.go ×5
11564 tests · 377 LOC · 21 files · introduces 2 tests · 91 LOC · 7 files
150 packages
service.pb.go ×2
11507 tests · 1053 LOC · 43 files · introduces 0 tests · 342 LOC · 13 files
149 packages
retrypolicy.go ×3
11529 tests · 19 LOC · 1 file · introduces 0 tests · 19 LOC · 1 file
148 packages
message.pb.go ×2
11482 tests · 768 LOC · 33 files · introduces 0 tests · 20 LOC · 1 file
148 packages

Largest code-introducing concepts

ConceptIntroduced ranges
fx.go ×44
12 tests · 18736 LOC · 572 files · introduces 0 tests · 4693 LOC · 176 files
705 ranges
request_response.pb.go ×295
14 tests · 2853 LOC · 88 files · introduces 4 tests · 784 LOC · 6 files
378 ranges
onebox.go ×75
1 test · 29268 LOC · 661 files · introduces 1 test · 1256 LOC · 37 files
238 ranges
handler.go ×25
10 tests · 39660 LOC · 738 files · introduces 0 tests · 728 LOC · 45 files
210 ranges
service_grpc.pb.go ×20
11 tests · 23685 LOC · 619 files · introduces 0 tests · 740 LOC · 37 files
182 ranges
data_store_factory.go ×29
2 tests · 44881 LOC · 771 files · introduces 0 tests · 703 LOC · 21 files
177 ranges
fx.go ×44
11 tests · 20600 LOC · 595 files · introduces 0 tests · 705 LOC · 31 files
168 ranges
service.go ×8
11 tests · 19726 LOC · 572 files · introduces 0 tests · 413 LOC · 47 files
96 ranges
event_generator.go ×48
8 tests · 1869 LOC · 57 files · introduces 0 tests · 643 LOC · 2 files
91 ranges
service_grpc.pb.go ×19
10 tests · 25769 LOC · 622 files · introduces 0 tests · 357 LOC · 19 files
80 ranges

Largest test-introducing concepts

ConceptIntroduced tests
version_workflow.go ×2
60 tests · 3056 LOC · 136 files · introduces 30 tests · 18 LOC · 1 file
30 tests
version_workflow.go ×4
24 tests · 3125 LOC · 138 files · introduces 24 tests · 19 LOC · 1 file
24 tests
version_workflow.go ×1
33 tests · 3180 LOC · 138 files · introduces 24 tests · 4 LOC · 1 file
24 tests
replay_worker_deployment_wf_run_0b4656d2-8dde-49f7-a4e5-4b3d39d5ba96.json.gz, replay_worker_deployment_wf_run_0b4656d2-8dde-49f7-a4e5-4b3d39d5ba96.json.gz, +22
57 tests · 2973 LOC · 135 files · introduces 24 tests · 0 LOC · 0 files
24 tests
version_workflow.go ×2
27 tests · 3162 LOC · 137 files · introduces 18 tests · 4 LOC · 1 file
18 tests
replay_worker_deployment_wf_run_3146dade-cbb9-4c24-aa95-e1ab142e756a.json.gz, replay_worker_deployment_wf_run_3146dade-cbb9-4c24-aa95-e1ab142e756a.json.gz, +16
18 tests · 3366 LOC · 137 files · introduces 18 tests · 0 LOC · 0 files
18 tests
replay_worker_deployment_version_wf_run_11b6e05b-cde0-4d81-a4a2-87ef1fb54e01.json.gz, replay_worker_deployment_version_wf_run_11b6e05b-cde0-4d81-a4a2-87ef1fb54e01.json.gz, +15
17 tests · 2961 LOC · 136 files · introduces 17 tests · 0 LOC · 0 files
17 tests
activities.go ×1
15 tests · 2161 LOC · 108 files · introduces 15 tests · 2 LOC · 1 file
15 tests
query_converter_util_legacy.go ×1
19 tests · 2010 LOC · 93 files · introduces 15 tests · 2 LOC · 1 file
15 tests
replay_worker_deployment_version_wf_run_019861cc-e3a1-78dd-91de-62372bd1f88b.json.gz, replay_worker_deployment_version_wf_run_019861cc-e3a1-78dd-91de-62372bd1f88b.json.gz, +13
15 tests · 3083 LOC · 136 files · introduces 15 tests · 0 LOC · 0 files
15 tests

Fragile code

6554 single-proof ranges.

FileLinesLengthTest
go.temporal.io/server/common/persistence/persistence-tests/metadata_persistence_v2.go 2127-2207 81 go.temporal.io/server/common/persistence/tests/TestCassandraMetadataPersistenceV2/TestRenameNamespaceCassandra
go.temporal.io/server/common/persistence/persistence-tests/metadata_persistence_v2.go 111-179 69 go.temporal.io/server/common/persistence/tests/TestCassandraMetadataPersistenceV2/TestCreateWithPartialNamespaceSameNameSameID
go.temporal.io/server/common/persistence/persistence-tests/metadata_persistence_v2.go 190-258 69 go.temporal.io/server/common/persistence/tests/TestCassandraMetadataPersistenceV2/TestCreateWithPartialNamespaceSameNameDifferentID
go.temporal.io/server/tests/testcore/onebox.go 181-238 58 go.temporal.io/server/tests/testcore/TestFunctionalTestBaseSuite/TestWorkerServiceHealthCheck
go.temporal.io/server/service/history/transfer_queue_standby_task_executor.go 327-381 55 go.temporal.io/server/service/history/TestTransferQueueStandbyTaskExecutorSuite/TestProcessCloseExecution
go.temporal.io/server/common/persistence/tests/execution_mutable_state.go 2373-2419 47 go.temporal.io/server/common/persistence/tests/TestCassandraExecutionMutableStateStoreSuite/TestListConcreteExecutions
go.temporal.io/server/common/archiver/s3store/visibility_archiver.go 194-239 46 go.temporal.io/server/common/archiver/s3store/TestVisibilityArchiverSuite/TestQuery_EmptyQuery_Pagination
go.temporal.io/server/common/persistence/persistence-tests/metadata_persistence_v2.go 268-311 44 go.temporal.io/server/common/persistence/tests/TestCassandraMetadataPersistenceV2/TestCreateWithPartialNamespaceDifferentNameSameID
go.temporal.io/server/service/history/workflow/mutable_state_impl.go 6034-6077 44 go.temporal.io/server/service/history/TestTransferQueueActiveTaskExecutorSuite/TestProcessStartChildExecution_InheritsPendingOneTimeOverride
go.temporal.io/server/tests/testcore/test_cluster.go 301-336 36 go.temporal.io/server/tests/testcore/TestFunctionalTestBaseSuite/TestWorkerServiceHealthCheck

Surprising connections

Concepts with few tests spanning multiple packages

ConceptPackagesTests
collector.go ×7
1 test · 44918 LOC · 772 files · introduces 1 test · 33 LOC · 2 files
189 · go.temporal.io/server/api/adminservice/v1, go.temporal.io/server/api/archiver/v1, go.temporal.io/server/api/batch/v1, +186 1
common.go ×1
1 test · 45700 LOC · 755 files · introduces 1 test · 11 LOC · 4 files
188 · go.temporal.io/server/api/adminservice/v1, go.temporal.io/server/api/archiver/v1, go.temporal.io/server/api/batch/v1, +185 1
fx.go ×1
1 test · 44945 LOC · 771 files · introduces 1 test · 4 LOC · 1 file
188 · go.temporal.io/server/api/adminservice/v1, go.temporal.io/server/api/archiver/v1, go.temporal.io/server/api/batch/v1, +185 1
visibility_store.go ×17
1 test · 44979 LOC · 761 files · introduces 1 test · 171 LOC · 15 files
188 · go.temporal.io/server/api/adminservice/v1, go.temporal.io/server/api/archiver/v1, go.temporal.io/server/api/batch/v1, +185 1
workflow_handler.go ×11
1 test · 45899 LOC · 755 files · introduces 1 test · 117 LOC · 8 files
188 · go.temporal.io/server/api/adminservice/v1, go.temporal.io/server/api/archiver/v1, go.temporal.io/server/api/batch/v1, +185 1
data_store_factory.go ×29
2 tests · 44881 LOC · 771 files · introduces 0 tests · 703 LOC · 21 files
188 · go.temporal.io/server/api/adminservice/v1, go.temporal.io/server/api/archiver/v1, go.temporal.io/server/api/batch/v1, +185 2
request_response.pb.go ×6
2 tests · 45591 LOC · 755 files · introduces 0 tests · 246 LOC · 19 files
188 · go.temporal.io/server/api/adminservice/v1, go.temporal.io/server/api/archiver/v1, go.temporal.io/server/api/batch/v1, +185 2
TestNewServer
1 test · 44185 LOC · 758 files · introduces 1 test · 0 LOC · 0 files
187 · go.temporal.io/server/api/adminservice/v1, go.temporal.io/server/api/archiver/v1, go.temporal.io/server/api/batch/v1, +184 1
TestNewServer
1 test · 44717 LOC · 753 files · introduces 1 test · 0 LOC · 0 files
187 · go.temporal.io/server/api/adminservice/v1, go.temporal.io/server/api/archiver/v1, go.temporal.io/server/api/batch/v1, +184 1
logger.go ×1
1 test · 42280 LOC · 751 files · introduces 1 test · 2 LOC · 1 file
187 · go.temporal.io/server/api/adminservice/v1, go.temporal.io/server/api/archiver/v1, go.temporal.io/server/api/batch/v1, +184 1