Reduce Warnings in flex project

7 views
Skip to first unread message

raghavendra gunda

unread,
Jun 29, 2011, 7:48:00 AM6/29/11
to flex_...@googlegroups.com
Hi All

How to reduce warnings in flex to improve performance ..............

Thanks

Amar Shukla

unread,
Jun 29, 2011, 11:46:07 PM6/29/11
to flex_...@googlegroups.com
Reducing warning is all in your hands, following standard practices will reduce the warnings such as -

1- In your methods, declare the return type .If method does not returns anything then use void.
2- Always declare variable type. If you are not sure what type it should be, in that case use * such as var container : *;
3- Don't use the deprecated methods.
4- Always use Access Modifiers when declaring variables at class level.

And so on, the list is long so basically following the standard will reduce the warning.  

Thanks & Regards!
Amar Shukla

kiran reddy

unread,
Jun 29, 2011, 11:53:53 PM6/29/11
to flex_...@googlegroups.com
Hi Amar,
 

As per Human Psychology,we will do mistakes unfortunately.At the same time we are eagerly try to come out from that dig.As per my knowledge,it is better to use software to check the warnings.I came across one software to check warnings in flex called FLEX PMD.Once try this one.
 
 
 
Regards,
Kiran
--
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To view this discussion on the web visit https://groups.google.com/d/msg/flex_india/-/qYYCl-fJ9v8J.
To post to this group, send email to flex_...@googlegroups.com.
To unsubscribe from this group, send email to flex_india+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

Amar Shukla

unread,
Jul 1, 2011, 12:39:40 AM7/1/11
to Flex India Community
Hi Kiran,

Thanks for sharing Flex PMD information though I have read about this
but never used. I will surely give it a try now.But I would still
prefer to avoid doing mistakes by following coding standards as
precaution is better than the cure :)

Thanks & Regards!
Amar Shukla

On Jun 30, 8:53 am, kiran reddy <kiranadn....@gmail.com> wrote:
> Hi Amar,
>
> As per Human Psychology,we will do mistakes unfortunately.At the same time
> we are eagerly try to come out from that dig.As per my knowledge,it is
> better to use software to check the warnings.I came across one software to
> check warnings in flex called FLEX PMD.Once try this one.
>
> Regards,
> Kiran
Reply all
Reply to author
Forward
0 new messages