Error Inspection using Telerik JustCode

Learn More about JUST CODE at Telerik site

In this post, let us have a look on different ways of error inspection using Telerik Just Code. List of inspection can be performed are as follows.

  • Identical if and else clauses
  • Obsolete casts
  • Empty statements
  • Assignments with no effect
  • Unused private members
  • Unused parameters
  • Unused variables
  • Unused namespaces
  • Unreachable statements

I have a very simple code as below,

clip_image001

And if you would see carefully there is a compile time error in the code because of string value assignment in integer type variable.

Telerik JUST CODE reports above error in many developer friendly ways and at the same time helps developers to resolve the issue.

If you are having JUST CODE installed you will get error messages in different ways. JUST CODE provides inspection details in many ways. They are listed as below,

ToolTip below the highlighted code

clip_image002

If you hover over line causing error, in the tooltip you will get the error message.

ToolTip in the Marker Bar

At the right hand side you will find Marker war.

clip_image003

If you hover over marker you will get the error detail as below,

clip_image004

In Error List

At the bottom you will find r error list. All the error and warning will be listed there.

clip_image006

In next post we will see some other features of Just Code. I hope this post was useful. Thanks for reading.

Dhananjay Kumar is Developer, Blogger , Speaker, Learner , Mindcracker & Microsoft MVP.

Tagged with:
Posted in Telerik
8 comments on “Error Inspection using Telerik JustCode

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Categories
Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my current or previous employer's view in anyway. © Copyright 2013
Follow

Get every new post delivered to your Inbox.

Join 2,121 other followers

%d bloggers like this: