This repository was archived by the owner on Jun 18, 2026. It is now read-only.
Commit 4db289a
committed
refactor: extract shared DirectedAdj and safeNeighbors into GraphUtils
Add GraphUtils.DirectedAdj class and buildDirectedAdjacencyMap() method,
generalized from TopologicalSortAnalyzer's private DirectedAdj.
Add GraphUtils.safeNeighbors() to eliminate null-check boilerplate.
Refactor TopologicalSortAnalyzer to use shared DirectedAdj (removes ~25
lines of duplicated adjacency construction).
Refactor CycleAnalyzer's getNeighbors helper to use GraphUtils.safeNeighbors.
This establishes the shared utilities for consolidating adjacency/BFS
construction across the remaining 11 analyzers listed in #43.
Partial fix for #431 parent 5461013 commit 4db289a
177 files changed
Lines changed: 8761 additions & 499 deletions
File tree
- Gvisual/src/gvisual
- target
- maven-status/maven-compiler-plugin
- compile/default-compile
- testCompile/default-testCompile
- surefire-reports
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
664 | | - | |
665 | | - | |
| 664 | + | |
666 | 665 | | |
667 | 666 | | |
668 | 667 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
88 | 148 | | |
89 | 149 | | |
90 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | 186 | | |
201 | | - | |
202 | | - | |
| 187 | + | |
203 | 188 | | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
| 189 | + | |
| 190 | + | |
226 | 191 | | |
227 | 192 | | |
228 | 193 | | |
| |||
240 | 205 | | |
241 | 206 | | |
242 | 207 | | |
243 | | - | |
| 208 | + | |
244 | 209 | | |
245 | 210 | | |
246 | 211 | | |
| |||
351 | 316 | | |
352 | 317 | | |
353 | 318 | | |
354 | | - | |
| 319 | + | |
355 | 320 | | |
356 | 321 | | |
357 | 322 | | |
| |||
416 | 381 | | |
417 | 382 | | |
418 | 383 | | |
419 | | - | |
| 384 | + | |
420 | 385 | | |
421 | 386 | | |
422 | 387 | | |
| |||
0 commit comments