Replies: 2 comments
-
Here's the same chart but in Mermaid: flowchart LR
s_8Frontend18CheckUpdateCommandV[struct CheckUpdateCommand]
s_8Frontend17ClearCacheCommandV[struct ClearCacheCommand]
s_8Frontend0A7CommandP[protocol FrontendCommand]
s_e_s_8Frontend0A7CommandPAAE11_errorLabelSSvpZ[extension FrontendCommand]
s_8Frontend12ScanBehaviorC[class ScanBehavior]
s_8Frontend11ScanCommandV[struct ScanCommand]
s_e_s_6Shared12OutputFormatOs_14ArgumentParser013ExpressibleByA0P[extension OutputFormat]
s_e_s_13SystemPackage8FilePathV8FrontendE8argumentACSgSS_tcfc[extension FilePath]
s_8Frontend14VersionCommandV[struct VersionCommand]
s_8Frontend16CommonSetupGuideC[class CommonSetupGuide]
s_8Frontend11GuidedSetupC[class GuidedSetup]
s_8Frontend7ProjectC[class Project]
s_8Frontend20SPMProjectSetupGuideC[class SPMProjectSetupGuide]
s_8Frontend4ScanC[class Scan]
s_8Frontend13UpdateCheckerC[class UpdateChecker]
s_8Frontend16PeripheryCommandV[struct PeripheryCommand]
s_8Frontend11GuidedSetupC --> s_8Frontend7ProjectC
s_8Frontend11ScanCommandV --> s_8Frontend0A7CommandP
s_8Frontend11ScanCommandV --> s_8Frontend4ScanC
s_8Frontend12ScanBehaviorC --> s_8Frontend11GuidedSetupC
s_8Frontend12ScanBehaviorC --> s_8Frontend7ProjectC
s_8Frontend14VersionCommandV --> s_8Frontend0A7CommandP
s_8Frontend16PeripheryCommandV --> s_8Frontend0A7CommandP
s_8Frontend16PeripheryCommandV --> s_8Frontend11ScanCommandV
s_8Frontend16PeripheryCommandV --> s_8Frontend14VersionCommandV
s_8Frontend16PeripheryCommandV --> s_8Frontend17ClearCacheCommandV
s_8Frontend16PeripheryCommandV --> s_8Frontend18CheckUpdateCommandV
s_8Frontend17ClearCacheCommandV --> s_8Frontend0A7CommandP
s_8Frontend18CheckUpdateCommandV --> s_8Frontend0A7CommandP
s_8Frontend4ScanC --> s_8Frontend7ProjectC
s_e_s_8Frontend0A7CommandPAAE11_errorLabelSSvpZ --> s_8Frontend0A7CommandP
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @jjrscott , is there a way to visualise how many dead lines of code a project has? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For a while I've been running a modified version of periphery (https://github.com/jjrscott/periphery/tree/jjrscott/charts) which exports the SourceGraph to json. I then run this through various scripts and GraphViz to produce charts such as this representation of periphery's Frontend:
My reasoning is to start using these charts to continually reduce overall tech debt in a project by finding and removing unneccessary links (usage) and generally slowly transforming the graph into something "simpler".
I'd like find other interested parties who can advise/assist me in how best to migrate these scripts into the main project. To that end here's a few questions I've been pondering on:
scan
command or should I make newchart
command? There's a lot of similar code and I don't want to duplicate it.scan
)Thanks for your time.
Beta Was this translation helpful? Give feedback.
All reactions