aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-design-plugin/src
diff options
context:
space:
mode:
authorgaudol <gaudol@gmail.com>2010-11-04 17:40:14 +0000
committergaudol <gaudol@gmail.com>2010-11-04 17:40:14 +0000
commit08088b8cd0eb6a680c820e2a2194ca0dca8e3339 (patch)
tree38544e3f5a19466bc0ba2bea6bb92439c43f7ab1 /plugins/sonar-design-plugin/src
parentc9af0a5d6184229b57d913c52ff4506dfe967972 (diff)
downloadsonarqube-08088b8cd0eb6a680c820e2a2194ca0dca8e3339.tar.gz
sonarqube-08088b8cd0eb6a680c820e2a2194ca0dca8e3339.zip
Add description to core widgets
Diffstat (limited to 'plugins/sonar-design-plugin/src')
-rw-r--r--plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/ChidamberKemererWidget.java6
-rw-r--r--plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java6
-rw-r--r--plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java1
3 files changed, 6 insertions, 7 deletions
diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/ChidamberKemererWidget.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/ChidamberKemererWidget.java
index 0bbcbcec6c6..90345b27db8 100644
--- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/ChidamberKemererWidget.java
+++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/ChidamberKemererWidget.java
@@ -19,13 +19,11 @@
*/
package org.sonar.plugins.design.ui.widgets;
-import org.sonar.api.web.AbstractRubyTemplate;
-import org.sonar.api.web.RubyRailsWidget;
-import org.sonar.api.web.UserRole;
-import org.sonar.api.web.WidgetCategory;
+import org.sonar.api.web.*;
@UserRole(UserRole.USER)
@WidgetCategory({"Design"})
+@Description("Reports on LCOM4 and RFC average and distribution.")
public final class ChidamberKemererWidget extends AbstractRubyTemplate implements RubyRailsWidget {
public String getId() {
return "ckjm";
diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java
index bd6bda2aaee..c4009c9dd7b 100644
--- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java
+++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java
@@ -19,11 +19,11 @@
*/
package org.sonar.plugins.design.ui.widgets;
-import org.sonar.api.web.AbstractRubyTemplate;
-import org.sonar.api.web.RubyRailsWidget;
-import org.sonar.api.web.UserRole;
+import org.sonar.api.web.*;
@UserRole(UserRole.USER)
+@WidgetCategory({"Design"})
+@Description("Reports on files dependency cycles and tangle index.")
public final class FileDesignWidget extends AbstractRubyTemplate implements RubyRailsWidget {
public String getId() {
return "file-design";
diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java
index 309d95f18d0..be27d6a7130 100644
--- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java
+++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java
@@ -23,6 +23,7 @@ import org.sonar.api.web.*;
@UserRole(UserRole.USER)
@WidgetCategory({"Design"})
+@Description("Reports on package dependency cycles and tangle index.")
public final class PackageDesignWidget extends AbstractRubyTemplate implements RubyRailsWidget {
public String getId() {
return "package-design";