Atlas Report

src/vs · 12741 tests · 55684 ranges · 20961 concepts · density 0.0377

Concept facts

12055 code concepts · 5118 test concepts · 3788 joint concepts

8198 tests introduced at test concepts · 4543 tests introduced at joint concepts · 1201 concepts introduce multiple tests

Shape

single-test 5% · narrow 9% · shared 13% · broad 51% · uncovered 22%

Open strata mosaic

Subsystems

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

src/vs/base/common 11168 concepts

src/vs/platform/agentHost/node 1612 concepts

agentService.ts ×1 1 test · 53557 LOC · 304 files · introduces 1 test · 2 LOC · 1 file
agentService.ts ×1 1 test · 53364 LOC · 304 files · introduces 1 test · 3 LOC · 1 file

src/vs/base/common 848 concepts

promptsServiceImpl.ts ×1 1 test · 69345 LOC · 326 files · introduces 1 test · 3 LOC · 1 file

src/vs/editor/common/model/pieceTreeTextBuffer 385 concepts

editableTextModel.test|title=EditorModel - EditableTextModel.applyEdits advanced 1|occurrence=1 1 test · 42859 LOC · 241 files · introduces 1 test · 0 LOC · 0 files
combineTextEditInfos.ts ×1 26 tests · 42328 LOC · 240 files · introduces 0 tests · 4 LOC · 1 file

src/vs/editor/common/diff/defaultLinesDiffComputer 207 concepts

editorWebWorker.test|title=EditorWebWorker computeHumanReadableDiff 2|occurrence=1 1 test · 19826 LOC · 91 files · introduces 1 test · 0 LOC · 0 files
editorWebWorker.test|title=EditorWebWorker computeHumanReadableDiff 4|occurrence=1 1 test · 19754 LOC · 91 files · introduces 1 test · 0 LOC · 0 files

src/vs/platform/contextkey/common 164 concepts

src/vs/platform/userDataSync/common 147 concepts

userDataSyncService.test|title=UserDataSyncService test sync when there are remote changes|occurrence=1 3 tests · 29252 LOC · 133 files · introduces 1 test · 0 LOC · 0 files

src/vs/base/common 138 concepts

yaml.test|title=YAML Parser parseMarkdown getStringValue returns the scalar for a known key|occurrence=1 2 tests · 4157 LOC · 19 files · introduces 1 test · 0 LOC · 0 files

src/vs/base/common 127 concepts

textModelWithTokens.test|title=TextModelWithTokens 2 bracket matching 3|occurrence=1 1 test · 41804 LOC · 239 files · introduces 1 test · 0 LOC · 0 files
getBracketPairsInRange.test|title=Bracket Pair Colorizer - getBracketPairsInRange Basic All|occurrence=1 1 test · 41745 LOC · 238 files · introduces 1 test · 0 LOC · 0 files
textModelSearch.test|title=TextModelSearch Simple find using unicode escape sequences|occurrence=1 1 test · 41423 LOC · 238 files · introduces 1 test · 0 LOC · 0 files

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
map.ts ×97
12741 tests · 3334 LOC · 18 files · introduces 0 tests · 3334 LOC · 18 files
100%
lifecycle.ts ×1
12733 tests · 3337 LOC · 18 files · introduces 0 tests · 3 LOC · 1 file
100%
lifecycle.ts ×1
12731 tests · 3339 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
100%
lifecycle.ts ×1
12729 tests · 3339 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
100%
lifecycle.ts ×4
12727 tests · 3349 LOC · 18 files · introduces 0 tests · 8 LOC · 1 file
100%
lifecycle.ts ×6
12718 tests · 3353 LOC · 18 files · introduces 0 tests · 16 LOC · 1 file
100%
lifecycle.ts ×2
12716 tests · 3359 LOC · 18 files · introduces 0 tests · 4 LOC · 1 file
100%
utils.ts ×3
12714 tests · 3378 LOC · 18 files · introduces 0 tests · 9 LOC · 1 file
100%

Load-bearing concepts

ConceptTest packages
map.ts ×97
12741 tests · 3334 LOC · 18 files · introduces 0 tests · 3334 LOC · 18 files
522 packages
lifecycle.ts ×1
12733 tests · 3337 LOC · 18 files · introduces 0 tests · 3 LOC · 1 file
522 packages
lifecycle.ts ×1
12731 tests · 3339 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
522 packages
lifecycle.ts ×1
12729 tests · 3339 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
522 packages
lifecycle.ts ×4
12727 tests · 3349 LOC · 18 files · introduces 0 tests · 8 LOC · 1 file
522 packages
lifecycle.ts ×6
12718 tests · 3353 LOC · 18 files · introduces 0 tests · 16 LOC · 1 file
522 packages
lifecycle.ts ×2
12716 tests · 3359 LOC · 18 files · introduces 0 tests · 4 LOC · 1 file
522 packages
utils.ts ×3
12714 tests · 3378 LOC · 18 files · introduces 0 tests · 9 LOC · 1 file
522 packages
lifecycle.ts ×1
11366 tests · 3351 LOC · 18 files · introduces 0 tests · 2 LOC · 1 file
481 packages
uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2
11353 tests · 3380 LOC · 18 files · introduces 4 tests · 0 LOC · 0 files
481 packages

Largest code-introducing concepts

ConceptIntroduced ranges
extHostTypes.ts ×270
103 tests · 68881 LOC · 244 files · introduces 0 tests · 6339 LOC · 23 files
811 ranges
textModel.ts ×190
861 tests · 35636 LOC · 206 files · introduces 0 tests · 2948 LOC · 35 files
618 ranges
map.ts ×97
12741 tests · 3334 LOC · 18 files · introduces 0 tests · 3334 LOC · 18 files
462 ranges
abstractSynchronizer.ts ×49
348 tests · 21433 LOC · 133 files · introduces 0 tests · 2102 LOC · 24 files
413 ranges
devToolsLogger.ts ×24
3467 tests · 6426 LOC · 59 files · introduces 0 tests · 1971 LOC · 36 files
312 ranges
debugModel.ts ×185
9 tests · 23428 LOC · 114 files · introduces 0 tests · 988 LOC · 5 files
311 ranges
extHostExtensionService.ts ×64
33 tests · 81803 LOC · 296 files · introduces 0 tests · 1246 LOC · 16 files
231 ranges
agentService.ts ×122
483 tests · 45592 LOC · 285 files · introduces 0 tests · 1518 LOC · 7 files
218 ranges
copilotAgent.ts ×185
171 tests · 49789 LOC · 297 files · introduces 0 tests · 1576 LOC · 3 files
216 ranges
chatModel.ts ×179
252 tests · 41154 LOC · 175 files · introduces 0 tests · 1630 LOC · 4 files
206 ranges

Largest test-introducing concepts

ConceptIntroduced tests
stringEdit.test|title=Edit tryRebase invariants case6|occurrence=1, stringEdit.test|title=Edit tryRebase invariants case10|occurrence=1, +289
557 tests · 6599 LOC · 39 files · introduces 291 tests · 0 LOC · 0 files
291 tests
stringEdit.test|title=Edit tryRebase invariants case0|occurrence=1, stringEdit.test|title=Edit tryRebase invariants case7|occurrence=1, +172
914 tests · 6576 LOC · 39 files · introduces 174 tests · 0 LOC · 0 files
174 tests
stringEdit.test|title=Edit tryRebase invariants case2|occurrence=1, stringEdit.test|title=Edit tryRebase invariants case4|occurrence=1, +139
211 tests · 6683 LOC · 39 files · introduces 141 tests · 0 LOC · 0 files
141 tests
stringEdit.test|title=Edit StringEdit compose case11|occurrence=1, stringEdit.test|title=Edit StringEdit compose case18|occurrence=1, +114
538 tests · 6613 LOC · 39 files · introduces 116 tests · 0 LOC · 0 files
116 tests
stringEdit.test|title=Edit tryRebase invariants case9|occurrence=1, stringEdit.test|title=Edit tryRebase invariants case26|occurrence=1, +84
643 tests · 6594 LOC · 39 files · introduces 86 tests · 0 LOC · 0 files
86 tests
stringEdit.test|title=Edit tryRebase invariants case21|occurrence=1, stringEdit.test|title=Edit tryRebase invariants case34|occurrence=1, +77
636 tests · 6594 LOC · 39 files · introduces 79 tests · 0 LOC · 0 files
79 tests
stringEdit.test|title=Edit StringEdit compose case13|occurrence=1, stringEdit.test|title=Edit StringEdit compose case20|occurrence=1, +54
252 tests · 6653 LOC · 39 files · introduces 56 tests · 0 LOC · 0 files
56 tests
stringEdit.test|title=Edit StringEdit compose case17|occurrence=1, stringEdit.test|title=Edit StringEdit compose case57|occurrence=1, +53
328 tests · 6633 LOC · 39 files · introduces 55 tests · 0 LOC · 0 files
55 tests
stringEdit.test|title=Edit StringEdit compose case35|occurrence=1, stringEdit.test|title=Edit StringEdit compose case38|occurrence=1, +46
176 tests · 6649 LOC · 39 files · introduces 48 tests · 0 LOC · 0 files
48 tests
stringEdit.test|title=Edit tryRebase invariants case18|occurrence=1, stringEdit.test|title=Edit tryRebase invariants case41|occurrence=1, +42
284 tests · 6679 LOC · 39 files · introduces 44 tests · 0 LOC · 0 files
44 tests

Fragile code

5493 single-proof ranges.

FileLinesLengthTest
src/vs/platform/terminal/common/terminalPlatformConfiguration.ts 1-444 444 mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/terminal/test/node/ptyHostService.test|title=PtyHostService restartPtyHost disposes listeners registered during pty host startup|occurrence=1
src/vs/editor/common/cursor/cursorAtomicMoveOperations.ts 64-159 96 mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/editor/test/common/controller/cursorAtomicMoveOperations.test|title=Cursor move command test Test atomicPosition|occurrence=1
src/vs/base/common/labels.ts 245-324 80 mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/labels.test|title=Labels shorten - not windows|occurrence=1
src/vs/base/common/layout.ts 1-77 77 mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/layout.test|title=Layout layout|occurrence=1
src/vs/workbench/api/common/extHostChatAgents2.ts 466-536 71 mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/api/test/common/extHostChatAgents2.test|title=ExtHostChatAgents2 reports anchor before resolving it|occurrence=1
src/vs/base/common/path.ts 910-973 64 mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/path.test|title=Paths (Node Implementation) extname|occurrence=1
src/vs/base/common/labels.ts 348-410 63 mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/labels.test|title=Labels template|occurrence=1
src/vs/workbench/api/common/extHostChatAgents2.ts 1-61 61 mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/api/test/common/extHostChatAgents2.test|title=ExtHostChatAgents2 reports anchor before resolving it|occurrence=1
src/vs/base/common/image.ts 1-56 56 mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/image.test|title=readImageDimensions parses dimensions across supported formats and rejects unrecognized buffers|occurrence=1
src/vs/base/common/path.ts 601-656 56 mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/path.test|title=Paths (Node Implementation) relative|occurrence=1

Surprising connections

Concepts with few tests spanning multiple packages

ConceptPackagesTests
chatModel.ts ×1
1 test · 72761 LOC · 309 files · introduces 1 test · 3 LOC · 1 file
116 · src/vs, src/vs/base/common, src/vs/base/common/naturalLanguage, +113 1
chatModel.ts ×2
1 test · 71302 LOC · 309 files · introduces 1 test · 3 LOC · 1 file
116 · src/vs, src/vs/base/common, src/vs/base/common/naturalLanguage, +113 1
chatService.test|title=ChatService acquireExistingSession keeps model alive for steering request after refs released|occurrence=1
1 test · 73099 LOC · 309 files · introduces 1 test · 0 LOC · 0 files
116 · src/vs, src/vs/base/common, src/vs/base/common/naturalLanguage, +113 1
chatService.test|title=ChatService can deserialize with response|occurrence=1
1 test · 72973 LOC · 309 files · introduces 1 test · 0 LOC · 0 files
116 · src/vs, src/vs/base/common, src/vs/base/common/naturalLanguage, +113 1
chatService.test|title=ChatService can serialize and deserialize implicit request flag|occurrence=1
1 test · 72842 LOC · 309 files · introduces 1 test · 0 LOC · 0 files
116 · src/vs, src/vs/base/common, src/vs/base/common/naturalLanguage, +113 1
chatService.test|title=ChatService can serialize|occurrence=1
1 test · 72953 LOC · 309 files · introduces 1 test · 0 LOC · 0 files
116 · src/vs, src/vs/base/common, src/vs/base/common/naturalLanguage, +113 1
chatService.test|title=ChatService cancelCurrentRequestForSession returns after timeout if response does not complete|occurrence=1
1 test · 72931 LOC · 309 files · introduces 1 test · 0 LOC · 0 files
116 · src/vs, src/vs/base/common, src/vs/base/common/naturalLanguage, +113 1
chatService.test|title=ChatService cancelCurrentRequestForSession waits for response completion|occurrence=1
1 test · 72631 LOC · 309 files · introduces 1 test · 0 LOC · 0 files
116 · src/vs, src/vs/base/common, src/vs/base/common/naturalLanguage, +113 1
chatService.test|title=ChatService loadRemoteSession passes agent host session capabilities to the request parser|occurrence=1
1 test · 71811 LOC · 309 files · introduces 1 test · 0 LOC · 0 files
116 · src/vs, src/vs/base/common, src/vs/base/common/naturalLanguage, +113 1
chatService.test|title=ChatService loadRemoteSession progress streaming active session at load time: cancelCurrentRequestForSession invokes the interrupt callback|occurrence=1
1 test · 71754 LOC · 309 files · introduces 1 test · 0 LOC · 0 files
116 · src/vs, src/vs/base/common, src/vs/base/common/naturalLanguage, +113 1