Skip to content

Commit

Permalink
screenshot from wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
halllo committed Sep 12, 2012
1 parent b9a9eba commit 5684c4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -2,15 +2,16 @@ Usus.NET
========

This Visual Studio extension provides static code analysis for software developed with .NET.
![Usus.NET VSIX](https://github.com/usus/Usus.NET/wiki/andrenarefacafter.png)

The analysis can also be performed in code.
```csharp
//var metrics = Analyze.PortableExecutables(assemblyToAnalyze);
var metrics = Analyze.Me();
foreach (var method in metrics.Methods)
{
Console.WriteLine("Signature: " + method.Signature);
Console.WriteLine("CC: " + method.CyclomaticComplexity);
Console.WriteLine("Signature: " + method.Signature);
Console.WriteLine("CC: " + method.CyclomaticComplexity);
}
```

Expand Down

0 comments on commit 5684c4b

Please sign in to comment.