Commit Graph

3116 Commits

Author SHA1 Message Date
Godin
f9330dd6f4 SONAR-2011: Remove unused dependencies on maven-plugin-api and maven-core from sonar-findbugs-plugin 2010-12-03 22:02:24 +00:00
simonbrandhof
16d425a08d SONAR-249 support configurations by custom date or by last analysis 2010-12-03 19:20:25 +00:00
simonbrandhof
46124a16b7 SONAR-249 add the select-box to display variation periods 2010-12-03 17:51:58 +00:00
simonbrandhof
5b1b89db69 SONAR-249 correctly save the variations configuration into the table SNAPSHOTS 2010-12-03 15:28:17 +00:00
Godin
58756ad8e3 SONAR-2011: Remove dependency on maven-common-artifact-filters from sonar-plugin-api 2010-12-03 14:57:36 +00:00
Godin
555287b5a0 SONAR-1450: Prevent NPE with Natural and VB plugins 2010-12-03 13:38:45 +00:00
Godin
b24e8d9e7f Core Plugins: don't use deprecated methods, add missing license header 2010-12-03 13:14:37 +00:00
simonbrandhof
4797af9603 SONAR-249 improve some widgets + display variation of test execution time 2010-12-03 12:59:56 +00:00
Godin
ba864aa618 SONAR-1450: Remove unused methods, improve unit tests 2010-12-03 12:34:20 +00:00
Godin
f8961c4b76 SONAR-1450: Add checksum to RuleFailureModel and use it in ViolationPersisterDecorator 2010-12-03 12:00:23 +00:00
simonbrandhof
4de9f9f8e8 SONAR-2007 remove iso categories from checkstyle, pmd and findbugs 2010-12-03 11:50:44 +00:00
simonbrandhof
ef39d74467 SONAR-249 remove the annotation @SupportVariationDashboard 2010-12-03 11:35:57 +00:00
simonbrandhof
7220ec643e SONAR-249 add variations to design widgets 2010-12-03 11:30:55 +00:00
simonbrandhof
1f93d163ae SONAR-249 add variations to widgets comments, tests and complexity 2010-12-03 11:05:14 +00:00
Godin
ed8c925b4b SONAR-2007: Remove IsoCategory from Squid rules 2010-12-03 10:56:26 +00:00
Godin
a2b82f1adb SONAR-1683: Remove dependency on maven-dependency-tree from sonar-plugin-api 2010-12-03 00:48:31 +00:00
simonbrandhof
3ed6a62ad9 SONAR-249 do not hide widgets which are changed in variation view + improve ruby api to display trend icons and measure variations + support variations in the widgets rules/size 2010-12-03 00:09:06 +00:00
Godin
fcd0d57b85 Fix violations reported on Nemo. 2010-12-02 23:56:05 +00:00
Godin
3be4324b27 SONAR-1450: Show only date for violation in UI 2010-12-02 23:29:02 +00:00
Godin
52c5150f26 SONAR-1829: Replace "Priority" by "Severity" in Hotspots service 2010-12-02 23:02:07 +00:00
Godin
f05ad5850f SONAR-1450: Improve unit tests 2010-12-02 22:08:46 +00:00
Godin
d68565f7ad SONAR-1450: Fix ViolationPersisterDecorator 2010-12-02 21:16:03 +00:00
Godin
65e3e57e3e SONAR-1450: Compare violations using checksums 2010-12-02 19:27:22 +00:00
simonbrandhof
a8391cfc44 fix animal-sniffer in sonar-core-plugin 2010-12-02 17:35:04 +00:00
Godin
8c6b57e711 Add missing dependency from sonar-core-plugin to sonar-batch 2010-12-02 14:33:02 +00:00
simonbrandhof
28d0818463 remove idea file 2010-12-02 14:06:28 +00:00
simonbrandhof
625da3dc6b extract GWT components from sonar-core-plugin 2010-12-02 14:05:25 +00:00
Godin
1a51c6bf53 SONAR-1450: Extract ViolationPersisterDecorator from ViolationPersister 2010-12-02 13:52:57 +00:00
simonbrandhof
473065f87a SONAR-249 save configuration used for measure variations and new violations in the table SNAPSHOTS 2010-12-01 22:09:09 +00:00
Godin
612acd33d5 SONAR-1450: Add creation date of violation to violations tab 2010-12-01 13:38:41 +00:00
simonbrandhof
e537ea6120 SONAR-2007 Remove the useless ISO Categories + fix components page 2010-12-01 11:30:48 +00:00
Godin
0441e5cb03 SONAR-1450: Fix NPE in NewViolationsDecorator 2010-12-01 09:23:32 +00:00
Godin
0621aa8238 SONAR-1450: Add first implementation of NewViolationsDecorator 2010-12-01 00:03:43 +00:00
Godin
7fcba49070 SONAR-1450: Add first implementation of NewViolationsDecorator 2010-11-30 23:53:17 +00:00
Godin
4e10bd0c5b SONAR-1450: Add first implementation of NewViolationsDecorator 2010-11-30 23:34:59 +00:00
simonbrandhof
4334b6952b SONAR-249 add the columns SNAPSHOT.VAR_MODE_x and VAR_LABEL_x (x=1, 2 or 3) 2010-11-30 21:02:26 +00:00
Godin
1579738e5b SONAR-1450: Add support for incremental review of incoming violations 2010-11-30 15:40:42 +00:00
simonbrandhof
def12c0752 SONAR-249 add variation values to Ruby API 2010-11-30 15:19:54 +00:00
Godin
0471c891ff Fix violations reported on Nemo 2010-11-30 09:36:15 +00:00
Godin
65c771783c SONAR-1760: Improve performance of NoSonarFilterLoader 2010-11-29 22:12:51 +00:00
simonbrandhof
83b138bebb SONAR-249 add the class TimeMachineConfiguration 2010-11-29 21:00:15 +00:00
Godin
5276b9eadc Fix SquidVisitorNotifier 2010-11-29 17:45:35 +00:00
simonbrandhof
6ce6cc598f SONAR-249 improve core components to load rules and metrics 2010-11-29 17:00:54 +00:00
Godin
0c4893c83a Instead of 'bypassExclusionMechanism' use 'bypassExclusion' in CheckMessage 2010-11-29 16:43:55 +00:00
Godin
3d5765bd4b Instead of 'force' use more meaningful name 'bypassExclusionMechanism' in CheckMessage 2010-11-29 15:58:35 +00:00
Godin
f8ab1ee2e5 SONAR-1817: Squid rule to create violation on each NOSONAR tag occurence 2010-11-29 15:49:47 +00:00
simonbrandhof
984e1ff8d3 SONAR-249 decrease complexity 2010-11-29 13:33:16 +00:00
simonbrandhof
138f4ebc4f SONAR-249 add the decorator to calculate differential values of measures. 2010-11-29 09:56:20 +00:00
Godin
b9060a23e5 Don't use deprecated API 2010-11-29 01:13:12 +00:00
Godin
af7e72e0a8 SONAR-971: Change description of Checkstyle TodoComment rule, because it can't report violations for NOSONAR tags 2010-11-29 00:05:50 +00:00
Godin
f172395d65 SONAR-2015: Improve unit test 2010-11-28 22:29:03 +00:00
Godin
4b56cc8557 SONAR-2015: Improve unit test 2010-11-28 22:28:39 +00:00
Godin
a28163d9de SONAR-2015: Fix inconsistency between Undocumented API measure and Undocumented API violations 2010-11-28 22:14:19 +00:00
Godin
28654fbd5d Fix violations reported on Nemo 2010-11-28 20:43:34 +00:00
Godin
a1f30abd29 Fix violations reported on Nemo 2010-11-26 22:47:03 +00:00
Godin
3c72827ae0 SONAR-1760: Support the annotation "@SuppressWarnings" at class and method level 2010-11-26 22:22:53 +00:00
Godin
6502189ac6 * Use AnnotationUtility from checkstyle
* Fix minor bug - Override annotation can be specified with fully qualified name
2010-11-26 21:30:20 +00:00
Godin
f461f11854 SONAR-1817: Add unit test 2010-11-26 15:58:47 +00:00
Godin
ee7713a87f SONAR-1930, SONAR-1845, SONAR-1931: Improve unit tests 2010-11-26 15:50:49 +00:00
Godin
6d6a15f11a SONAR-1817: Squid rule to create violation on each NOSONAR tag occurence 2010-11-26 15:02:43 +00:00
simonbrandhof
9a062c018b dbcleaner plugin: add comment 2010-11-26 13:57:53 +00:00
simonbrandhof
c7adb18726 dbcleaner plugin: fix unit tests when locale with first day of week is monday 2010-11-26 13:55:53 +00:00
simonbrandhof
402f5fb15a dbcleaner plugin: rename the class IntegrationTest to DefaultPeriodCleanerTest 2010-11-26 13:32:38 +00:00
simonbrandhof
19f841e8c1 SONAR-249: extract persistence layer from data index + dump measures at the end of the batch instead of persisting them on the fly 2010-11-26 06:56:17 +00:00
Godin
0b63c5a59a Fix violations reported on Nemo 2010-11-25 20:27:32 +00:00
Godin
8ccd8b6a76 SONAR-2005: Remove the useless Findbugs rule "DMI_VACUOUS_CALL_TO_EASYMOCK_METHOD" 2010-11-25 18:53:03 +00:00
Godin
dfb53e5555 Fix violations reported on Nemo 2010-11-25 18:10:45 +00:00
Godin
994ac26039 Add missing license headers 2010-11-23 22:16:51 +00:00
Godin
df9b58de71 SONAR-1979: Add missing FindBugs rule - Dead store due to switch statement fall through to throw 2010-11-23 20:58:08 +00:00
Godin
b22bfd03b7 Make SquidVisitor interface instead of class 2010-11-23 20:49:38 +00:00
Godin
63e52abdc3 SONAR-1931: Create a SQUID rule : total class complexity should not exceed a pre-defined threshold 2010-11-23 20:36:24 +00:00
Godin
334c4356cf SONAR-1845: Create a new Sonar rule to check method complexity 2010-11-23 20:27:50 +00:00
Godin
97c4395b62 SONAR-1930: Change message for MaximumInheritanceDepth rule 2010-11-23 20:18:18 +00:00
Godin
9f8394b46a SONAR-1845, SONAR-1931: Create a new Squid rules to check class and method complexity 2010-11-23 18:52:32 +00:00
Godin
bb2cd28550 SONAR-1971: Change description of TodoComment rule 2010-11-23 16:30:48 +00:00
Godin
feaffdac3f SONAR-1933: Create a SQUID rule : break instruction should not be used outside a switch statement 2010-11-23 16:20:39 +00:00
Godin
aa819fe282 SONAR-1932: Create a SQUID rule : instruction "continue" should not be used 2010-11-23 16:11:29 +00:00
Godin
597e9b5f87 Minor fix 2010-11-23 15:50:19 +00:00
Godin
3b39dd732c SONAR-1930: Create a SQUID rule : depth of inheritance should not exceed XX 2010-11-23 15:43:22 +00:00
simonbrandhof
8d7d96bae8 move org.sonar.plugins.dbcleaner.util.PurgeUtils to org.sonar.plugins.dbcleaner.api 2010-11-19 14:51:14 +00:00
simonbrandhof
952108dca6 SOAR-1663 the purge task by period can be reused by plugins 2010-11-19 14:17:09 +00:00
simonbrandhof
9113225756 SONAR-1663 improve QA 2010-11-18 15:45:53 +00:00
simonbrandhof
435981a06d SONAR-1663 improve QA 2010-11-18 15:34:12 +00:00
simonbrandhof
4bfd79e52c SONAR-1663 include the dbcleaner plugin + move all purges in this plugin 2010-11-18 15:02:54 +00:00
Godin
c3e9146d9a SONAR-1845, SONAR-1930, SONAR-1931: Add description to properties for new squid rules to workaround SONAR-1988 2010-11-17 14:29:46 +00:00
Godin
b7fe47e0db SONAR-1977: Ignore violations from findbugs report, if rule not activated in Sonar 2010-11-15 23:24:27 +00:00
Godin
07bf6c1878 SONAR-1977: Ignore violations from findbugs report, if rule not activated in Sonar 2010-11-15 23:22:48 +00:00
Godin
5500015d89 SONAR-1845 , SONAR-1931, SONAR-1933 , SONAR-1932 , SONAR-1930 : Add names for new squid rules 2010-11-15 20:26:33 +00:00
fmallet
5f0f17291c fix SONAR-1978 : The Squid "Unused private method" doesn't report a violation at correct line with generic methods 2010-11-15 10:56:43 +00:00
Godin
e410437db4 SONAR-1845: Create a new Sonar rule to check method complexity 2010-11-14 02:51:28 +00:00
Godin
9a3d8a9e30 SONAR-971: Cardinality of checkstyle rule TodoComment should be multiple 2010-11-13 22:09:54 +00:00
Godin
e6f784aa37 Add missing license headers 2010-11-13 17:10:49 +00:00
Godin
724ad34334 Add test for UndocumentedApiCheck 2010-11-13 17:02:00 +00:00
Godin
e9ea7102c1 SONAR-1931: Create a SQUID rule : total class complexity should not exceed a pre-defined threshold 2010-11-13 16:39:50 +00:00
Godin
f731667625 SONAR-1933: Create a SQUID rule : break instruction should not be used outside a switch statement 2010-11-13 01:42:38 +00:00
Godin
f98a1c7fc2 SONAR-1932: Create a SQUID rule : instruction "continue" should not be used 2010-11-13 00:42:45 +00:00
Godin
ab5692d6e8 SONAR-1930: Create a SQUID rule : depth of inheritance should not exceed XX 2010-11-13 00:22:55 +00:00
simonbrandhof
969b85fd6e SONAR-1953 Minimum period used in purge tasks should be configurable 2010-11-12 13:25:15 +00:00
simonbrandhof
39f78c6dc0 [maven-release-plugin] prepare for next development iteration 2010-11-09 16:19:27 +00:00
simonbrandhof
8602aa58e3 [maven-release-plugin] prepare release 2.4-RC1 2010-11-09 16:18:52 +00:00
simonbrandhof
063bf16933 fix rendering issue of the rules widget on Google Chrome/Safari 2010-11-09 10:36:39 +00:00
simonbrandhof
a46321d145 compress HTML templates in plugins core and design 2010-11-08 14:25:45 +00:00
simonbrandhof
f763de308b upgrade to sonar-update-center 0.4 and sonar-packaging-maven-plugin 0.4 2010-11-08 14:13:09 +00:00
simonbrandhof
a63e179df8 VIEWS-56 do not display the Design page on views 2010-11-08 11:09:13 +00:00
simonbrandhof
4dd938c67c fix layout of core widgets 2010-11-05 17:40:59 +00:00
simonbrandhof
8257d99985 custom dashboards: add the annotation @WidgetLayout with values DEFAULT (gray border + padding) or NONE (no padding, no border) 2010-11-05 12:48:07 +00:00
gaudol
08088b8cd0 Add description to core widgets 2010-11-04 17:40:14 +00:00
simonbrandhof
0e7c1da6f8 SONAR-1643 improve HTML of widget filtering by categories 2010-11-04 09:09:43 +00:00
Godin
72864ce12e Improve routines for patterns, add unit tests 2010-11-03 16:34:10 +00:00
Godin
db1aa08abd SONAR-1901: Fix UndocumentedApiCheck 2010-11-03 16:13:06 +00:00
Godin
3cd3e807f4 Use ProjectClasspath instead of custom filtering in sonar-squid-java-plugin 2010-11-03 14:42:22 +00:00
Godin
0ea1701668 SONAR-1915: Deploy core plugins to maven repository 2010-11-03 11:16:25 +00:00
Godin
a5c8a5524a SONAR-1772: Add annotations.jar and jsr305.jar to auxiliary classpath before launching Findbugs analysis 2010-11-02 17:37:11 +00:00
Godin
6167b0fd22 SONAR-1772: Use method getURL() from org.sonar.api.platform.Server 2010-11-02 09:54:37 +00:00
Godin
633b956594 add some missing license headers 2010-11-02 09:09:13 +00:00
Godin
87b8327cca SONAR-1772: Add unit test for FindbugsDownloader 2010-11-02 09:06:33 +00:00
Godin
f4a655bb73 SONAR-1772: Add annotations.jar and jsr305.jar to auxiliary classpath before launching Findbugs analysis 2010-11-01 22:02:13 +00:00
simonbrandhof
1cf4319b82 rename description of the google analytics plugin 2010-11-01 18:27:13 +00:00
Godin
d4d455365c SONAR-1832:
* Improve performance for "Architecture rule"
* Reduce number of violations whose line number is 0
2010-11-01 15:19:02 +00:00
Godin
2d82eec709 SONAR-1832:
* Improve performance for "Architecture rule"
* Reduce number of violations whose line number is 0
2010-11-01 15:18:10 +00:00
Godin
18f5954e4f SONAR-1901: "Undocumented API" is not defined as a rule in Sonar
* Add abstract class JavaAstCheck
* Change description of rule
* Check must not extend the PublicApiVisitor
* Add an optional new parameter to rule whose value would be a list of wildcard patterns
2010-11-01 13:53:18 +00:00
Godin
34afe79711 SONAR-1901: Add new rule to report on "Undocumented API" 2010-10-28 22:11:39 +00:00
Godin
0c700ae743 SONAR-1901: Add new rule to report on "Undocumented API" 2010-10-28 22:07:58 +00:00
Godin
d7869519b8 SONAR-1837:
* Add profiling logs to database optimization tasks
* Extend TimeProfiler to produce logs using debug level
2010-10-28 14:28:57 +00:00
Godin
7ad796bce6 SONAR-1871: Generate a meaningful error message when the PMD XPATH rule is activated without setting the "XPATH_EXPRESSION_PARAM" and "XPATH_MESSAGE_PARAM" values 2010-10-28 13:14:57 +00:00
simonbrandhof
5078541b8e SONAR-1643 move core widgets from sonar-server to sonar-core-plugin + improve UI 2010-10-28 10:23:58 +00:00
Godin
7a8fe553fe SONAR-1844: The "Squid" rule engine should be renamed "Sonar" rule engine in the web interface 2010-10-28 10:04:31 +00:00
simonbrandhof
ec7f0817ee SONAR-1643 apply a part of the GSOC branch 2010-10-28 08:02:18 +00:00
Godin
96ae4fe2cd SONAR-1772: Remove deprecated property "sonar.findbugs.maxHeap" 2010-10-25 15:39:19 +00:00
Godin
d5bb754081 SONAR-1832: Fix unit test 2010-10-25 15:32:18 +00:00
Godin
c0f8c39d35 SONAR-1832: Remove duplicated words from violation message 2010-10-25 14:29:09 +00:00
Godin
22203e7f1d SONAR-1832: Use injected AnnotationRuleParser 2010-10-25 10:12:23 +00:00
Godin
e072b1fe98 SONAR-1832: Improve detection of line numbers 2010-10-23 23:39:40 +00:00
Godin
69538e36cb SONAR-1832: Improve rule definition 2010-10-23 22:36:20 +00:00
Godin
57d65f6558 SONAR-1832: Use new rules api 2010-10-23 22:11:39 +00:00
simonbrandhof
ff1ad1ff44 SONAR-1830 support rating metrics in alerts 2010-10-22 13:30:31 +00:00
Godin
6868445024 SONAR-1772: Minor fixes 2010-10-21 22:56:53 +00:00
Godin
c9fe310c12 SONAR-1772: Remove old code, add tests 2010-10-21 22:44:21 +00:00
Godin
cedf8b42af SONAR-1772: Don't allow to reuse existing rules config for findbugs 2010-10-21 17:02:54 +00:00
Godin
ec338d6e49 SONAR-1772: Use existing rules config 2010-10-21 15:50:56 +00:00
Godin
4309fc779e SONAR-1832: Create an architecture rule engine 2010-10-21 11:27:13 +00:00
Godin
d0127fb555 SONAR-1772: Use existing rules config 2010-10-21 10:59:03 +00:00
Godin
d79015f074 SONAR-1832: Create an architecture rule engine 2010-10-21 08:19:55 +00:00
Godin
0b1219c671 SONAR-1772: Use existing rules config 2010-10-20 23:25:14 +00:00
Godin
c311147fa8 SONAR-1808: Fix possible NPE 2010-10-20 11:46:26 +00:00
Godin
71fba38c4f SONAR-1808: Add CoberturaUtils 2010-10-20 11:16:32 +00:00
Godin
77c389b462 SONAR-1808: Add CoberturaUtils 2010-10-20 11:10:38 +00:00
Godin
ab6d196d40 SONAR-1784: Add SurefireUtils 2010-10-20 10:59:39 +00:00
Godin
2d84946fcb SONAR-1772:
* Don't use existing rules config
* Add more tests
2010-10-19 21:04:10 +00:00
Godin
2a800be6f8 SONAR-1772: Reuse report 2010-10-19 20:47:17 +00:00
Godin
9edb39c091 SONAR-1772: Add FindbugsNativeSensorTest 2010-10-19 15:53:00 +00:00
Godin
0398bddbda SONAR-1772: Fix dependencies for findbugs in order to avoid 'VerifyError: Cannot inherit from final class' 2010-10-19 14:20:16 +00:00
Godin
01586574fb SONAR-1772:
* Provide aux classpath for findbugs
* Produce xml report with messages
2010-10-19 10:35:16 +00:00
Godin
887e326f97 SONAR-1772: Add FindbugsVersionTest 2010-10-18 23:29:04 +00:00
Godin
3116fb2315 SONAR-1784: Move AbstractSurefireParser to package org.sonar.plugins.surefire.api 2010-10-18 17:10:04 +00:00
Godin
c1a12d6ef2 SONAR-1772: Execute findbugs in separate thread and terminate after "sonar.findbugs.timeout" milliseconds 2010-10-18 16:54:33 +00:00
Godin
ba547c4d39 SONAR-1772: Execute findbugs in separate thread and terminate after "sonar.findbugs.timeout" milliseconds 2010-10-18 16:53:34 +00:00
Godin
bc92061a8b SONAR-1772:
* Add FindbugsVersion
* Use sonar.findbugs.effort
2010-10-18 16:09:19 +00:00
Godin
7e212fe31c SONAR-1772: Remove the use of the Maven Findbugs plugin to directly pilot the Findbugs library 2010-10-18 14:48:32 +00:00
Godin
46c5aca175 SONAR-1808: Move AbstractCoberturaParser to package org.sonar.plugins.cobertura.api 2010-10-18 13:53:39 +00:00
Godin
e2cf58f8b8 SONAR-1808: Fix CoberturaSensor. 2010-10-17 01:22:54 +00:00
Godin
a557af871b SONAR-1808: Add "since" javadoc 2010-10-17 00:51:08 +00:00
Godin
ad2c860250 SONAR-1808: Extract AbstractCoberturaParser from CoberturaSensor. 2010-10-17 00:41:51 +00:00
Godin
9153b187d5 SONAR-1784: Extract AbstractSurefireParser from SurefireSensor. 2010-10-17 00:23:11 +00:00
simonbrandhof
2d3b588b4a [maven-release-plugin] prepare for next development iteration 2010-10-12 10:47:11 +00:00
simonbrandhof
b791b9aac2 [maven-release-plugin] prepare release 2.3 2010-10-12 10:46:47 +00:00
simonbrandhof
fc24fe199e API: apply the same pattern between rules and profiles API. The extension point to define rules is org.sonar.api.rules.RuleRepository. The classes AnnotationRuleParser and XMLRuleParser are components that can be used but not extended. 2010-10-08 15:48:07 +00:00
simonbrandhof
7ca495d674 API: improve the pattern to define quality profiles. The extension point is org.sonar.api.profiles.ProfileDefinition, whereas XMLProfileParser and AnnotationProfileParser are components that can be used but not extended. 2010-10-08 14:38:32 +00:00
simonbrandhof
9185222d18 Checkstyle: fix export/import of duplicated rules (for example RegexpSingleline) 2010-10-08 10:18:38 +00:00
simonbrandhof
7361c326e5 [maven-release-plugin] prepare for next development iteration 2010-10-05 19:00:30 +00:00
simonbrandhof
6c36be2a02 [maven-release-plugin] prepare release 2.3-RC2 2010-10-05 19:00:02 +00:00
simonbrandhof
a512de3bbd upgrade trunk to 2.4-SNAPSHOT 2010-09-30 17:35:41 +00:00
simonbrandhof
49130adac6 [maven-release-plugin] prepare for next development iteration 2010-09-30 16:09:53 +00:00
simonbrandhof
293e51c2af [maven-release-plugin] prepare release 2.3-RC1 2010-09-30 16:09:27 +00:00
simonbrandhof
2c7c234cf1 rename org.sonar.api.rules.StandardRuleXmlFormat to XMLRuleParser 2010-09-30 09:00:18 +00:00
simonbrandhof
8f8c465216 remove use of deprecated constructors in CoberturaSensor and CloverSensor 2010-09-29 20:37:02 +00:00
simonbrandhof
b2e835b4ea SONAR-1822 Add the property 'sonar.skipTendencies' to skip calculation of measure tendencies 2010-09-28 16:31:54 +00:00
simonbrandhof
90dee8b40e checkstyle unit tests must not request http://www.puppycrawl.com when parsing XML. It avoids building sonar in offline mode. 2010-09-28 12:52:26 +00:00
simonbrandhof
51c728457c SONAR-1711 add a lock on SensorContext/DecoratorContext in order to avoid creation of resources in methods saveViolation() and saveMeasure(). 2010-09-24 16:02:35 +00:00
simonbrandhof
d3707d42f0 SONAR-1812 The declaration @BelongsTo(classes=GeneratesViolations.class) does not work 2010-09-24 12:24:57 +00:00
fmallet
fe2910fa2c fix SONAR-1802 : Can't import FindBugs profile when some rules are duplicated in the findbugs.xml configuration file 2010-09-23 19:54:10 +00:00
simonbrandhof
1dfd7034c4 add AnnotationRuleRepository to load rules from sonar-check-api annotations 2010-09-23 17:28:25 +00:00
simonbrandhof
98a9a7f8c3 SONAR-1706 Depreciate sonar.reuseExistingRulesConfiguration 2010-09-23 15:14:09 +00:00
simonbrandhof
cc199ff792 findbugs plugin: improve a unit test 2010-09-23 08:24:10 +00:00
simonbrandhof
0a85d34d0a remove unused GWT permutations in order to increase build duration + use parallel unit tests on plugins checkstyle, pmd and findbugs 2010-09-22 21:03:57 +00:00
simonbrandhof
365a5dbae8 SONAR-1798 rename RULE_FAILURES.POINTS to COST 2010-09-22 13:29:23 +00:00
simonbrandhof
d6000bfbea SONAR-1798 Ability to register a number of points to a rule violation 2010-09-22 13:14:08 +00:00
Godin
464ad2d23f Add pluginDescription for Surefire, Core, Design 2010-09-21 12:31:28 +00:00
Godin
05e77fb905 SONAR-1778: Add pluginDescription for Cobertura and Google analytics 2010-09-20 21:31:49 +00:00
simonbrandhof
6494a6d3e9 Rules API: parameters with default value are automatically activated when a rule is activated (profile console + provided profiles loaded at startup) 2010-09-20 15:31:17 +00:00
fmallet
ced6b594e3 fix : The PMD rule CloneMethodMustImplementCloneable was not imported from the profile Sonar Way 2010-09-17 13:38:58 +00:00
fmallet
94cb8ef21d fix integration test : SONAR-583-reuse-rules-config 2010-09-17 13:29:59 +00:00
fmallet
483e556846 fix integration test : the root node of a PMD configuration is "ruleset" and not "resultset" 2010-09-17 12:20:29 +00:00
fmallet
7215f16b54 When the import of a PMD configuration file fails, the full stack trace is logged in the Sonar log file. 2010-09-17 11:53:13 +00:00
fmallet
b4ba514185 fix SONAR-1480 : No way to export Findbugs rules in a XML file and then to reimport this file to create a new Quality profile
Moreover, the Findbugs plugin now uses the new Rule API
2010-09-17 11:51:49 +00:00
fmallet
af671ec593 Prevent Unit Tests from generating report file outside of the /target directory 2010-09-16 08:47:47 +00:00
fmallet
f27104c1d9 fix SONAR-1766 - A warning is generated when the user tries to import a PMD configuration file with contains XPath rules. Those rules must be defined through the user web interface. 2010-09-15 22:01:00 +00:00
fmallet
513e60ec6d SONAR-1766 - remove useless test resource 2010-09-15 21:42:27 +00:00
fmallet
3196fad33e SONAR-1766 - The PMD XPath rule can now be duplicated through the Sonar user interface and is operational. 2010-09-15 21:41:32 +00:00
fmallet
c889c986bc remove unexpected use of System.out 2010-09-15 15:18:17 +00:00
fmallet
83a555da85 SONAR-1766 : Definition of the XPath rule and first version of the export mechanism 2010-09-15 15:01:17 +00:00
fmallet
5ac2f4fb7d SONAR-1766 : The PMD plugin uses the new Sonar rule API 2010-09-15 12:11:34 +00:00
simonbrandhof
ddcc6272a6 move deprecated rule API to sonar-deprecated 2010-09-14 13:00:25 +00:00
simonbrandhof
91b4e663c5 move deprecated check api to sonar-deprecated 2010-09-14 09:59:18 +00:00
simonbrandhof
cdd05f32ec SONAR-1229 simplify the profiles API 2010-09-13 17:49:40 +00:00
fmallet
da66ba3415 SONAR-1766 - start migrating to the new Sonar rule API before defining the PMD XPath rule 2010-09-12 19:51:23 +00:00
simonbrandhof
23830d07ed * rename RuleProvider to RuleFinder
* deprecate some classes in the rule API
* add the parameter ValidationMessages to ProfileDefinition.createPrototype()
2010-09-10 13:04:24 +00:00
simonbrandhof
5cd839bbec simplify ValidationMessages and ProfileDefinition 2010-09-10 12:27:33 +00:00
fmallet
5c90df84c8 fix SONAR-1534 : Activation of all the default FindBugs rules 2010-09-10 12:22:23 +00:00
simonbrandhof
88495df471 SONAR-440 Warning when some rules are not imported from a checkstyle and/or PMD configuration file(s) 2010-09-08 09:47:21 +00:00
simonbrandhof
3cc63963cf SONAR-1549 The Sonar profile creation form doesn't allow to import checkstyle,pmd and Findbugs conf files when several langages are defined
SONAR-440 add warnings to checkstyle when importing configuration
2010-09-07 23:23:23 +00:00
simonbrandhof
6b3ca3adbf SONAR-440 Warning when some rules are not imported from a checkstyle and/or PMD configuration file(s)
SONAR-1229 Export/Import a given Sonar quality profile
2010-09-07 11:08:38 +00:00
simonbrandhof
e51183ff04 checkstyle plugin : add some unit tests 2010-09-07 09:11:52 +00:00
simonbrandhof
aef2286bf0 SONAR-1229 Export/Import a given Sonar quality profile 2010-09-06 17:22:57 +00:00
simonbrandhof
4592819b97 checkstyle plugin : remove some useless files 2010-09-06 17:11:39 +00:00
simonbrandhof
aeadc1f912 SONAR-236 remove deprecated code from checkstyle plugin + display default value of rule parameters in Q profile console 2010-09-06 14:08:06 +00:00