All Projects → willemsrb → sonar-jdepend-plugin

willemsrb / sonar-jdepend-plugin

Licence: Apache-2.0 License
Sonar plugin for jDepend

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to sonar-jdepend-plugin

Codecharta
CodeCharta visualizes multiple code metrics using 3D tree maps.
Stars: ✭ 85 (+286.36%)
Mutual labels:  metrics, sonarqube
sonar-fsharp-plugin
F# SonarQube (TM) plugin - support for F#
Stars: ✭ 46 (+109.09%)
Mutual labels:  metrics, sonarqube
Yaraguardian
Django web interface for managing Yara rules
Stars: ✭ 156 (+609.09%)
Mutual labels:  rules, metrics
selectel-exporter
No description or website provided.
Stars: ✭ 25 (+13.64%)
Mutual labels:  metrics
Okanshi
mvno.github.io/okanshi
Stars: ✭ 14 (-36.36%)
Mutual labels:  metrics
prosoul
Automatic Project Assessment and Visualization based on Quality Models
Stars: ✭ 16 (-27.27%)
Mutual labels:  metrics
kafka-influxdb-reporter
Kafka InfluxDB Metrics Reporter
Stars: ✭ 22 (+0%)
Mutual labels:  metrics
ModelMetrics
Rapid Calculation of Model Metrics
Stars: ✭ 29 (+31.82%)
Mutual labels:  metrics
grafana-dashboard-dsl
DSL for generating Grafana dashboards
Stars: ✭ 51 (+131.82%)
Mutual labels:  metrics
sensu-plugins-http
This plugin provides native HTTP instrumentation for monitoring and metrics collection, including: response code, JSON response, HTTP last modified, SSL expiry, and metrics via `curl`.
Stars: ✭ 31 (+40.91%)
Mutual labels:  metrics
FundamentalsQuantifier
A tool that allows you to visually compare the fundamentals of over 6,000 companies.
Stars: ✭ 195 (+786.36%)
Mutual labels:  metrics
metrics
IS, FID score Pytorch and TF implementation, TF implementation is a wrapper of the official ones.
Stars: ✭ 91 (+313.64%)
Mutual labels:  metrics
kamon-akka-http
Kamon integration for metrics, context and distributed tracing with Akka HTTP
Stars: ✭ 75 (+240.91%)
Mutual labels:  metrics
resilience4clj-circuitbreaker
Resilience4Clj circuit breaker lets you decorate a function call (usually with a potential of external failure) with a safety mechanism to interrupt the propagation of failures.
Stars: ✭ 40 (+81.82%)
Mutual labels:  metrics
opencensus telemetry
Opencensus integration with Telemetry library
Stars: ✭ 18 (-18.18%)
Mutual labels:  metrics
jail exporter
A Prometheus exporter for FreeBSD jail metrics
Stars: ✭ 21 (-4.55%)
Mutual labels:  metrics
s3 exporter
Exports Prometheus metrics about S3 buckets and objects
Stars: ✭ 65 (+195.45%)
Mutual labels:  metrics
aws-ec2-sg-exporter
A dockerized Prometheus exporter that compares desired/wanted IPv4/IPv6 CIDR against currently applied inbound CIDR rules in your security group(s).
Stars: ✭ 23 (+4.55%)
Mutual labels:  metrics
build-plugin
Track your build performances like never before.
Stars: ✭ 45 (+104.55%)
Mutual labels:  metrics
flask prometheus metrics
Prometheus Metrics for Flask Web App
Stars: ✭ 17 (-22.73%)
Mutual labels:  metrics

JDepend plugin for SonarQube Build Status Quality Gate

Requires SonarQube 5.6+ (tested against 5.6, 5.6.5 (LTS), 6.0, 6.1, 6.2 and 6.3)

Uses a fork (https://github.com/nidi3/jdepend) of the JDepend libraries (http://clarkware.com/software/JDepend.html version 2.9.1) to add the following rules and metrics to SonarQube:

  • Number of Classes and Interfaces (Rule and Metric)
  • Afferent Couplings (Rule and Metric)
  • Efferent Couplings (Rule and Metric)
  • Abstractness (Rule only)
  • Instability (Rule only)
  • Distance from the Main Sequence (Rule only)
  • Package Dependency Cycle (Rule and Metric)

This plugin depends on the existence of a package-info.java file in the package to correctly display issues (if no package-info.java file is present, the issues cannot be registered, as SonarQube only allows issues on existing files). (See Workarounds to generate package-info.java files using a Maven plugin)

Missing package-info.java files can be detected and enforced with the following metrics:

  • Number of Packages (Metric)
  • Number of missing package-info.java files (Metric)

Configuration

The plugin executes the Jdepend library (packaged within the plugin) during the execution of the SonarQube scanner to scan the binaries, so no extra configuration is needed within the project. The sensor will not be executed if no Jdepend rules have been activated.

Installation

Install the plugin via the Update Center in the SonarQube administration pages. Or to install the plugin manually; copy the .jar file from the release to the extensions/plugins directory of your SonarQube installation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].