Comments (2)
Hi @lenntt,
Thanks for making this plugin available.
My pleasure!
Probably more a question based on my inexperience (and outdated docs?):
I was wondering, how to use the metrics mentioned in the Readme, I'm not seeing them in sonarqube 6.6, JS project.
Only the defaults in /admin/custom_metrics.
I'm not sure to understand. Are you talking about the following section in the Readme file: https://github.com/racodond/sonar-gherkin-plugin#metrics ? If so, it means that:
Statement
as SonarQube metric corresponds to aStep
in GherkinFunction
as SonarQube metric corresponds to aScenario
in GherkinClass
as SonarQube metric corresponds to aFeature
in Gherkin
For instance, if your Gherkin project in SonarQube states that there are 25 functions, it means that your Gherkin project contains 25 scenarios total.
All those metrics are available through the Measures tab: https://sonarcloud.io/component_measures?id=com.racodond.sonarqube.plugin.gherkin%3Agherkin&metric=statements
from sonar-gherkin-plugin.
Aaah, got it!
Thanks for the quick&helpful answer
from sonar-gherkin-plugin.
Related Issues (20)
- New rule: All features should be written in the same language HOT 1
- New rule: Features should be written in the same language
- Support ``` as DocString prefix/suffix
- please provide stand alone maven example to use it HOT 4
- Feature files not picked up HOT 3
- Support scenarios with two 'Examples' sections HOT 2
- False positive when a variable is used inside a table HOT 1
- Change 'allowed-tags' rule parameter from a comma-separated list to a regular expression HOT 2
- Make the plugin compatible with SonarQube 6.7
- FP on rule unused-variable: Variable in doc string not recognized HOT 3
- Check that .feature files exist in the project HOT 4
- Plugin not working when used with SonarCloud HOT 4
- add sonarlint supported config prop HOT 2
- false-positive when pystring contains '<...>' HOT 3
- False positive on Common Given steps should be added to Background HOT 2
- Cucumber Gherkin plugin fails with JAXBException (SQ 7.9.1, JRE 11) HOT 2
- Error during SonarQube Scanner execution : java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException HOT 1
- New Release HOT 2
- No issues raised against gherkin cutom rules HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonar-gherkin-plugin.