用于生成Haskell函数依赖关系(控制流)图的工具? [英] Tools for generating Haskell function dependency (control flow) graph?
问题描述
是的,当然有。如果您查看Hackage上的开发类别,那么您'会找到工具:
特别是, SourceGraph 包含许多分析通行证,包括:
- 可视化< a href =http://code.ha skell.org/~ivanm/Sample_SourceGraph/Graphalyze/Graphalyze.html#visualisation-of-overall-function-callsrel =noreferrer>函数调用
- 计算循环复杂性
- 可视化模块导入
您可能感兴趣的其他工具包括:
- HPC,用于可视化测试覆盖率
- ThreadScope,用于可视化运行时行为
- lscabal,从包中提取模块
- graphing package dependencies -- n.b requres older cabal
- graphing module dependencies
- graphing function calls
- graphing running data structures
- visualizing function calls
- computing cyclomatic complexity
- visualizing module imports
- HPC, for visualizing test coverage
- ThreadScope, for visualizing runtime behavior
- lscabal, extract modules from a package
ul>
以下是由SourceGraph在cabal2arch上运行生成的函数调用图:
Note not "functional dependency". Are there tools available that allow me to build a static function dependency graph from source code? Something which indicates to me which functions depend on which other ones in a graphical manner.
Yes, there certainly are. If you look in the Development category on Hackage, you'll find tools for:
In particular, SourceGraph contains many analysis passes, including:
Other tools that you might be interested in are:
Here is the functional call graph produced by SourceGraph run over cabal2arch:
这篇关于用于生成Haskell函数依赖关系(控制流)图的工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!