Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Static Code Analysis through API

Tags:

.net

I am looking for some automated process to achieve code review for JS, & C#

Is there any API available to do same? Basically, I would like certain static coding guidelines to be always followed i.e. Code without comment at Class or Method Level.

like image 416
Mitul Makadia Avatar asked Dec 04 '25 13:12

Mitul Makadia


1 Answers

There are several options that you can go with:

  • nDepend - a commercial static analysis tool for .NET (no JS support)
  • Use Visual Studio automation and API
  • Take a look at the Roslyn CTP
  • StyleCop and FxCop

Most of these will help with .NET (C# and VB.NET), but not with JS. For JS you may be able to use jsLint, though I don't know how automateable that can be.

like image 159
Oded Avatar answered Dec 12 '25 15:12

Oded



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!