Alipay Ued launched the Web site Code Analysis plug-ins: Monster

Source: Internet
Author: User

Monster is Alipay UED launched the Web site code analysis, quality detection and grading browser expansion, it can intelligently analyze CSS, JS, HTML content and vivid image of the page to display the score (similar to YSlow). It is an open source project that you can check out Monsterforchrome project source code in the Googlecode center. The Firefox version will soon be available for expansion.

Monster Main Testing Rules:

  1. Check for labels with duplicate IDs;
  2. Detects whether to use inline tags to nest block-level labels, such as a nested div;
  3. Check HTTPS protocol page, whether the use of HTTP protocol pictures, JS, CSS, etc.
  4. Detect Compatmode, doctype whether error;
  5. Detect whether the use of HTML5 no longer supported tags, such as font,s,u;
  6. Detect whether the label is properly closed;
  7. Detection of CSS, JS, background-image file is 404;
  8. Detection of CSS, JS file is repeated calls;
  9. Detect whether to reference too many external JS, CSS files;
  10. Detection of CSS, JS, HTML is compressed;
  11. Detects whether CSS style sheets use CSS expression;
  12. Detect whether the cookie exceeds 30KB;
  13. Detects if a form label is nested form labels;
  14. Detect whether the JS event is defined directly in the label, such as <a href=http://www.google.org.cn/posts/"#" onclick= "..." >link</a>;
  15. Detect <meta charset= "Utf-8″/> is the first child label of
  16. Detect the presence of two input[type=submit labels inside a <form> label;
  17. Check whether the label of id= "Submit" is used in the <form> label;
  18. Detects whether <style> blocks are placed in front of
  19. Detects whether <script> blocks are placed in front of </body>;
  20. Detect label whether ALT attribute is specified;
  21. Detect whether a label is specified for Input[text];
  22. Detect whether the page encoding is GBK or utf-8;
  23. Detects whether the @import import style sheet is used;
  24. If CSS, JS specifies similar to "? t=20100405" timestamp, then automatically output the last modification time, easy to compare;
  25. If the background-image more than 6, then prompts all background pictures and size, more than 30KB, marked red display;

Monster Scoring Rules:

Monster is a comprehensive score based on how easily the problem is solved, how much performance is raised, how much usability is raised, and how much maintenance is promoted. Specifically, please download the monster scoring algorithm. xls

Download Monster.

Article Source: http://ued.alipay.com/2010/05/monster-for-chrome/



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.