Some programming languages make it difficult to find cyclic references between different source files. Cycle-Breaker finds them.
- C
- C++
- Shell scripts
Support for Python and Ruby is planned for the next version. Need another language supported? Tell me!
- Switch between JSON and human readable formating
- Found cyclic references are printed in a format similar to that of a stack trace
- Heuristic programming language detection if source file has no file suffix
- Only the first cycle gets found, even if more than one cycle exists
Cyclic referencing in a directed graph is easy to detect using a depth search algorithm. When entering a new file recursively, you check if the file has been visited before. If yes, a cycle is found.