Cart  

No products

Shipping 0,00 €
Tax 0,00 €
Total 0,00 €

Prices are tax included

Cart Check out

Categories

Newsletter

Scan2Fix4Aspx product

Scan2Fix4Aspx product

Scan2Fix4Aspx is the engine to reveal the internal quality of Web site easily !

More details


0,00 € tax incl.

Fonctionalities

  • analysis of HTML pages HTML produced by the Web server (development, staging, production)
  • scan based on a url list, or by autodiscover starting with a root url
  • autodetection of invalid Url (href, src) within the pages
  • quality analysis of HTML pages according to the W3C and WCAG repositories
  • analysis if css files (duplication of attributs, validity of referenced URL)
  • cross reference HTML / CSS
  • loading time measurement and graph
  • HTTP status, cross references of URL

 

Getting started

  • Maven et Sonar are enough
  • start in command mode / task scheduler or kron is recommended
  • auto upgrade of the rule engine (maven download)
  • integration with existing process via the configuration POM.XML file
  • the scan speed is configurable in Staging mode (intense scan without pause) or Production by default (2 secondes between each http request)
  • the autodiscover is configurable for an automatic crawler of site

 

Integration in development and production environments

  • Sonar provides a multi views dashboard :
    • continous integration (jenkins for ex)
    • source code + unit test (Sonar and Scan2Fix 4CSharp or 4Php or 4VB6 or 4Java)
    • production supervision (IIS logs Scan2Fix4Iis, Windows Stack trace Scan2Fix4Stt)
    • web site qualityaudit (Scan2Fix4Aspx)
  • Sonar Web Server is accessible for all technical actors (developers, project managers, Web integrators, production)
  • Generation of static Html reports : standalone and publishable

 

Quick and simple installation

  • during the command process, provide the sonar server hostname
  • install a java jre
  • install maven 2 or 3
  • install Sonar (any version)
  • copy the plugin (the dwnload link is provided during the commande process) in SONAR_HOME/extensions/plugins
  • restart the Sonar server
  • under admin / Profiles, activate all the rules in the profile "Default Aspx Profile")
  • start a scan Asp/Html and the violations appera in the Sonar dashboard)

Example of pom.xml file

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

  • <modelVersion>4.0.0</modelVersion>
  • <groupId>com.qualitesys.wsqualitychecker</groupId>
  • <artifactId>tfs_MEL_2012_06_19_aspx</artifactId>
  • <version>2012_06_19_01</version>
  • <name>tfs_MEL_2012_06_19_aspx</name>


  • <properties>
    • <sonar.language>aspx</sonar.language>
    • <sonar.httpautodiscover>yes</sonar.httpautodiscover>
    • <!-- _dp_ is for ":" or "deux points", "_sl_" is for "/" or "slash" -->
    • <sonar.httpseed>http_dp__sl__sl_www.mysite.com_sl_; http_dp__sl__sl_www.mysiteelse.com_sl_</sonar.httpseed>
    • <sonar.httpenvironment>production</sonar.httpenvironment>
    • <sonar.reporting06sites>mysite.com;mysiteelse.com</sonar.reporting06sites>
  • </properties>


  • <pluginRepositories>
    • <pluginRepository>
      • <id>QualityChecker remote repository</id>
      • <url>http://www.qualitesys.com/mavenrepository/</url>
    • </pluginRepository>
  • </pluginRepositories>
  • <build>
    • <!-- COMPULSORY -->
    • <sourceDirectory>C:your_dir_to_source_code</sourceDirectory>
    • <plugins>
      • <plugin>
        • <groupId>com.qualitesys.maven.plugins</groupId>
        • <artifactId>qcr-maven-plugin</artifactId>
        • <executions>
          • <execution>
            • <id>PhaseCleanGoalqcrgoalclean</id>
            • <phase>clean</phase>
            • <goals>
              • <goal>qcrgoalclean</goal>
            • </goals>
          • </execution>
          • <execution>
            • <id>PhaseHttpScanGoalqcrhttpscan</id>
            • <phase>generate-sources</phase>
            • <goals>
              • <goal>qcrgoalhttpscan</goal>
            • </goals>
          • </execution>
          • <execution>
            • <id>PhaseCompileGoalqcrgoalcompile</id>
            • <phase>compile</phase>
            • <goals>
              • <goal>qcrgoalcompile</goal>
            • </goals>
          • </execution>
        • </executions>
      • </plugin>
      • <plugin>
        • <groupId>org.apache.maven.plugins</groupId>
        • <artifactId>maven-site-plugin</artifactId>
        • <version>3.0-beta-3</version>
        • <configuration>
          • <reportPlugins>
            • <plugin>
              • <groupId>org.apache.maven.plugins</groupId>
              • <artifactId>maven-project-info-reports-plugin</artifactId>
              • <version>2.2</version>
            • </plugin>
            • <plugin>
              • <groupId>com.qualitesys.maven.plugins</groupId>
              • <artifactId>qcr-maven-plugin</artifactId>
            • </plugin>
          • </reportPlugins>
        • </configuration>
      • </plugin>
    • </plugins>
  • </build>

</project>

 

Example with Maven only

Nota : the plugin for Sonar is not required. Usage is limited to 5 days.

mvn clean compile site

Maven will generate the static Web site under target/site/index.html

Example with Maven and Sonar

Nota : the plugin for Sonar is not required. It is provided at the validation step of the command process or on explicit request (contact@qualitesys.com).

mvn clean compile sonar:sonar

To check the URL validity (type status!= 200) :

mvn clean compile qcr:qcrgoalreporting06 sonar:sonar

 

Violations dictionary

IdPriorityDescription
QC-ASP999999 BLOCKER Syntax analysis failure on the source code
QC-ASP000024 BLOCKER Instructions preceede DOCTYPE, illegal configuration
QC-ASP000041 BLOCKER Javascript console. is forbidden
QC-ASP000050 BLOCKER The http header exposes a software version, security issue
QC-ASP000053 BLOCKER The string key value seems to be illegal for security reasons
QC-ASP000054 BLOCKER The HTTP status is incorrect (not 200)
QC-ASP000001 CRITICAL Unbalanced XML nodes
QC-ASP000002 CRITICAL Lonely closing XML nodes
QC-ASP000003 CRITICAL Start and end XML nodes are distinct
QC-ASP000004 CRITICAL Incorrect HTML sequence
QC-ASP000005 CRITICAL Suspicious typo error <br>
QC-ASP000007 CRITICAL Obsolete XML
QC-ASP000011 CRITICAL The element has 2 id
QC-ASP000037 CRITICAL ID should be unique in HTML file
QC-ASP000038 CRITICAL A CSS property should be unique in HTML or CSS file
QC-ASP000039 CRITICAL A 'style' node must be located in the 'head' node
QC-ASP000040 CRITICAL The title should contain at least 3 words
QC-ASP000042 CRITICAL The element has 2 class definitions
QC-ASP000043 CRITICAL The id must not be a number
QC-ASP000016 MAJOR WCAG 1.0 : A title section is required for head
QC-ASP000017 MAJOR WCAG 1.0 : The for section for label must have the id of input or select
QC-ASP000044 MAJOR Empty node should be removed
QC-ASP000051 MAJOR A script section must start be included in CDATA
QC-ASP000006 MINOR An asp ID is incorrect
QC-ASP000008 MINOR An attribute doesn't exist for some browsers
QC-ASP000010 MINOR Element and attribute should not be used in HTML strict
QC-ASP000030 MINOR Incorrect HTML comment
QC-ASP000031 MINOR Incorrect css rule : more than one ;
QC-ASP000032 MINOR Incorrect url in css : use quoted string for the url value
QC-ASP000033 MINOR Incorrect css comment : more than one '/*
QC-ASP000034 MINOR Incorrect css rule : missing selector after ,
QC-ASP000009 INFO WCAG 1.0 : Attributes alt, src, title are required for img or a
QC-ASP000045 INFO Thesaurus of the Html page
QC-ASP000046 INFO An Enabling attribute is set on asp:Page
QC-ASP000047 INFO SEO : title or h1/h6 node
QC-ASP000048 INFO SEO : meta name='description'
QC-ASP999996 INFO Local Cut and Paste Detector in single file





  • Sonar compatibility Sonar 3.0 to 4.1.2
  • Maven compatibility maven 2&3

Informations After saving your customized product, remember to add it to your cart.

Texts

  • Name of the Sonar server*

* required fields