Work in progress. The paper from the doctoral consortium at ICSOFT 2022 explains the motivation behind the project.
Slice your code into edible pieces
Understanding a complex codebase is time-consuming and difficult. Slicito aims to be a toolbox which you can use to make this task much faster and simpler. Currently, it serves only for simple visualisations of project structure, but more features are on their way.
Compile the solution:
dotnet build Slicito.sln
Install the extension Polyglot Notebooks to VS Code and open the notebook samples/notebooks/NamespaceHierarchy.ipynb
.
When you execute its first cell, an image similar to this should appear:
It shows the namespaces of Slicito itself, and allows you to navigate through its structure.
If you have an instance of Microsoft Visual Studio opened, the elements you click in the schema will be shown to you there.
Replace the reference to Slicito.csproj
with your C# project to inspect the structure of your code.
You can also extract and visualize dependencies as shown in the second cell of the sample notebook.
- Make turning code into graphs as straightforward as possible.
- Document all the provided abstraction and visualization techniques.
- Use advanced techniques from AskTheCode to reason precisely about program behaviour.
There has been no release of the tool yet. Therefore, the public interface is currently under rapid development, and as such, it can change without warning.
If you have any questions, ideas or concerns, e-mail me, create an issue or start a discussion.