Spektrum
Description
Spektrum is a static, language-independent code analysis tool that generates test coverage metrics based on input generated from other external tools.
Examples of method names and ids:
Method Name: Method1#string,int
Method ID: Class1.cs->Class1@Method1#double
Entities
Repository
interface Repository
{
solutions: Solution[];
projects: Project[];
}
Solution
interface Solution
{
path: string;
projects: string[];
}
Project
interface Project
{
name: string;
path: string;
files: File[];
projectReferences: string[];
externalReferences: string[];
}
File
interface File
{
name: string;
path: string;
namespaces: Namespace[]
}
Namespace
interface Namespace
{
name: string;
classes: Class[]
}
Class
interface Class
{
name: string;
type: string;
usingStatements: string[];
attributes: string[];
usedClasses: stirng[];
methods: Method[];
}
Method
interface Method
{
name: string;
type: string;
attributes: string[];
modifiers: string[];
callers: string[];
calledMethods: string[];
}