<commit_before>[![Build Status](https://travis-ci.org/sonar-perl/sonar-perl.svg?branch=master)](https://travis-ci.org/sonar-perl/sonar-perl)
[![Quality Gate](https://sonarqube.com/api/badges/gate?key=com.github.otrosien:sonar-perl)](https://sonarqube.com/dashboard/index/com.github.otrosien:sonar-perl)
[![Coverage](https://sonarqube.com/api/badges/measure?key=com.github.otrosien:sonar-perl&metric=coverage&template=FLAT)](https://sonarqube.com/dashboard/index/com.github.otrosien:sonar-perl)

# SonarQube Perl Plugin

This is a [SonarQube](http://www.sonarqube.org/) [plugin](http://docs.sonarqube.org/display/PLUG/Plugin+Library) 
to integrate popular features like code coverage, Perl::Critic and test reporting for your perl projects.

You can see it in action [here](http://sonarqube.racodond.com/dashboard/index/1015)!

## Current State

Current plugin is still at an early stage. It analyzes perl projects
without having to parse the perl code itself, attaching the source as
line-based text. In a later step there would be some proper grammar-based
parsing and analyzing (as far as this is possible for perl, see bugtracker 
for current status).

What we have so far...
<commit_msg>[ci skip] remove outdated link to racodond.com<commit_after>[![Build Status](https://travis-ci.org/sonar-perl/sonar-perl.svg?branch=master)](https://travis-ci.org/sonar-perl/sonar-perl)
[![Quality Gate](https://sonarqube.com/api/badges/gate?key=com.github.otrosien:sonar-perl)](https://sonarqube.com/dashboard/index/com.github.otrosien:sonar-perl)
[![Coverage](https://sonarqube.com/api/badges/measure?key=com.github.otrosien:sonar-perl&metric=coverage&template=FLAT)](https://sonarqube.com/dashboard/index/com.github.otrosien:sonar-perl)

# SonarQube Perl Plugin

This is a [SonarQube](http://www.sonarqube.org/) [plugin](http://docs.sonarqube.org/display/PLUG/Plugin+Library) 
to integrate popular features like code coverage, Perl::Critic and test reporting for your perl projects.

## Current State

Current plugin is still at an early stage. It analyzes perl projects
without having to parse the perl code itself, attaching the source as
line-based text. In a later step there would be some proper grammar-based
parsing and analyzing (as far as this is possible for perl, see bugtracker 
for current status).

What we have so far...

{'fraction_non_alphanumeric': 0.13138686131386862, 'fraction_numerical': 0.0017174753112924003, 'mean_word_length': 5.418732782369146, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3447664', 'n_tokens_mistral': 810, 'n_tokens_neox': 769, 'n_words': 187}