Commit Graph

3116 Commits

Author SHA1 Message Date
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