The Artima Developer Community
Sponsored Link

Artima Developer Spotlight Forum
Adobe Releases Open-Source Code Quality Tool For Flex

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Frank Sommers

Posts: 2616
Nickname: fsommers
Registered: Jan, 2002

Adobe Releases Open-Source Code Quality Tool For Flex Posted: Sep 8, 2009 6:51 PM
Reply to this message Reply
Advertisement

As developers create increasingly substantial applications with Flex, Adobe's open-source rich-client toolkit, the maintainability and quality of Flex codebases have become important. Just as Adobe engineers have ported JUnit to Flex, the company recently released a Flex port of PMD, the popular Java code inspection tool. Similar to its Java-based model, FlexPMD scans a Flex codebase and produces reports based on Flex code violating some quality rules. Built-in rules check for:

  • Unused code (functions, variables, constants, etc.)
  • Inefficient code (misuse of dynamic filters, heavy constructors, etc.)
  • Over-complex code (nested loops, too many conditionals, etc.)
  • Over-long code (classes, methods, etc.)
  • Incorrect use of the Flex component lifecycle (commitProperties, etc.)

The rules for FlexPMD are configurable. FlexPMD can be executed from an Ant task, from the command line, and even from the Hudson continuous integration tool.

What are some of worst Flex coding practices you've seen in your experience?

Topic: Managing Records in Python (Part 1 of 3) Previous Topic   Next Topic Topic: Martin Fowler on Continuous vs Promiscuous Integration


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us