build 300 and strange warning

In build 300 ReSharper for VS2005 has found that one of my method has warning "control flow complexity is overflow"

What does ReSharper mean by this?

4 comments
Comment actions Permalink

This warning indicates that ReSharper Null Reference analisys failed to process
the method because analysis data exceeded empirical limit. Usually this is
a sign that a method has too complex control flow and/or too much data operated.
We will apreciate if you post the method body that raised this warning.
The text of the warning will be discarded or replaced with a more informative
one (? "Method is too complex. Try refactoring it.") in the release.

In build 300 ReSharper for VS2005 has found that one of my method has
warning "control flow complexity is overflow"

What does ReSharper mean by this?

Best regards,
Andrey Simanovsky


0
Comment actions Permalink

Hi Andrey

Thank you for your answer. I do not thonk that this method is a good example of the proper C# programming style, but you can try it like a source for the warning generation

Regards

Sergey



Attachment(s):
problematic_method.cs
0
Comment actions Permalink

"Sergey Vasiliev" <no_reply@jetbrains.com> wrote in message
news:11414995.1163092034351.JavaMail.itn@is.intellij.net...

I do not thonk that this method is a good example of the proper C#
programming style


That's an understatement! A nine page method!

John


0
Comment actions Permalink

I think I improved the metrcics by opening it on a big screen with a small font. I got it to less than 2 pages long!

Tee hee

0

Please sign in to leave a comment.