Giter Site home page Giter Site logo

asqatasun-sonar-plugin's Introduction

Asqatasun

License : AGPL v3 Build Status Contributing welcome Code of Conduct

Asqatasun Logo

Asqatasun is an opensource web site analyzer, used for web accessibility (a11y).

Demo

https://app.asqatasun.org

https://app.asqatasun.org

Features

web accessibility assessment #a11y (RGAA 4, AccessiWeb, WCAG)

  • scan a given page, and manually fulfill the audit to produce report
  • scan offline file (e.g. template being created but not online yet)
  • scan a user-workflow like site registration, form completion or e-commerce checkout with Asqatasun scenarios.

What tests are covered:

  • all the "tag and attributes tests" like missing alt, table headers check, frame title...
  • color contrast
  • language specification
  • downloadable files / office files (spreadsheet, word-processor...)
  • switch of context
  • ...

Vision

  1. Automate as much as we can and even more :)
  2. Be 200% reliable (don't give erroneous result)
  3. have technological fun

Installation and documentation


Contact and discussions

Contribute

We would be glad to have you on board! You can help in many ways:

  1. Use Asqatasun on your sites !
  2. Give us feedback on the forum
  3. Fill in bug report
  4. Contribute code

License

AGPL v3

Have Fun

Happy testing !

Asqatasun Team

asqatasun-sonar-plugin's People

Contributors

dzc34 avatar jkowalczyk avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

dzc34

asqatasun-sonar-plugin's Issues

Build fail

Observed behaviour

[ERROR] Failed to execute goal com.mycila.maven-license-plugin:maven-license-plugin:1.9.0:check (enforce-license-headers): 
Some files do not have the expected license header

sonarqube 6.7.3 (LTS) and 7.1 - Fail to load plugin Asqatasun

see also: https://forum.asqatasun.org/t/sonarqube-plugin-for-asqatasun/459/4

Observed behaviour

2018.04.29 15:13:06 INFO  web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2018.04.29 15:13:07 ERROR web[][o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
java.lang.IllegalStateException: Fail to load plugin Asqatasun [asqatasun]
	at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:88)
	at org.sonar.server.platform.platformlevel.PlatformLevel4.start(PlatformLevel4.java:582)
	at org.sonar.server.platform.Platform.start(Platform.java:211)
	at org.sonar.server.platform.Platform.startLevel34Containers(Platform.java:185)
	at org.sonar.server.platform.Platform.access$500(Platform.java:46)
	at org.sonar.server.platform.Platform$1.lambda$doRun$0(Platform.java:119)
	at org.sonar.server.platform.Platform$AutoStarterRunnable.runIfNotAborted(Platform.java:371)
	at org.sonar.server.platform.Platform$1.doRun(Platform.java:119)
	at org.sonar.server.platform.Platform$AutoStarterRunnable.run(Platform.java:355)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: org/sonar/api/batch/AbstractSourceImporter
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
	at org.sonar.classloader.ClassRealm.loadClassFromSelf(ClassRealm.java:125)
	at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:37)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
	at org.sonar.plugins.asqatasun.AsqatasunPlugin.getExtensions(AsqatasunPlugin.java:63)
	at org.sonar.api.SonarPlugin.define(SonarPlugin.java:51)
	at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:78)
	... 9 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.sonar.api.batch.AbstractSourceImporter
	at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
	... 25 common frames omitted

Your configuration

Docker / sonarqube:6.7.3

FROM sonarqube:6.7.3

# #### usage ######################################################
#
#   --- Building this docker image
#   docker build -t asqa_sonarqube_6.7.3 .
#
#   --- Launch a container
#   docker run -d --name asqa_sonar -p 9000:9000 -p 9092:9092 asqa_sonarqube_6.7.3
#
#   --- Playing with this docker image
#   docker exec -ti asqa_sonar /bin/bash
#   docker logs -f  asqa_sonar
#
#
#  https://hub.docker.com/r/library/sonarqube/
#  https://github.com/SonarSource/docker-sonarqube/blob/master/6.7.3/Dockerfile
###################################################################



# environment variables
ENV PLUGIN_VERSION="0.2.1-SNAPSHOT"

# Add contrast-finder .war
ADD sonar-asqatasun-${PLUGIN_VERSION}.jar  /opt/sonarqube/extensions/plugins
RUN chown -R sonarqube:sonarqube /opt/sonarqube/extensions/plugins

    # in "sonarqube:6.7.3" DockerFile
    #     ENTRYPOINT ["./bin/run.sh"]
    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.