Commit Graph

417 Commits

Author SHA1 Message Date
simonbrandhof
a426f32490 Ignore plugins/sonar-core-plugin/derby.log generated during unit tests 2011-04-28 11:32:38 +02:00
simonbrandhof
bd604e4090 SONAR-2202 Calculate variations on quality model measures 2011-04-28 01:22:08 +02:00
simonbrandhof
f4e12a9527 Fix scheduling of ViolationDecorator
ViolationPersisterDecorator must be executed before computing measures on violations, so the flag switched_off is correctly loaded from database.
2011-04-27 23:43:05 +02:00
simonbrandhof
d69404ccb4 SONAR-2323 Remove logs specific to Maven 2011-04-27 11:55:16 +02:00
simonbrandhof
dbc988359b SONAR-2327 split actions for resource viewer and reviews page 2011-04-26 12:06:08 +02:00
Evgeny Mandrikov
e174628696 SONAR-2298 Add support for multi-modules for non-Maven projects
* Use ProjectDefinition in ProjectTree instead of MavenProject

* Allow to specify extensions for project's container via
  ProjectDefinition, so MavenProject not passed directly to batch in mojos

* ProjectDefinition should store all information in properties

* Replace DefaultProjectFileSystem by DefaultProjectFileSystem2, which
  works not only for Maven projects

* Add DefaultProjectClasspath, which works not only for Maven projects

* Enable ProjectLinksSensor only for Maven
2011-04-26 13:00:11 +04:00
Evgeny Mandrikov
4eb630d0ff SONAR-2371 UnitTestDecorator should not save anything if tests measure already exists 2011-04-25 13:42:16 +04:00
Evgeny Mandrikov
29ec06b3e0 SONAR-2358 Add unit test 2011-04-24 07:11:43 +04:00
Freddy Mallet
c065b62343 SONAR-2358 Reapply patch 'Mechanism to calculate checksums for violations is unstable' 2011-04-23 21:32:25 +02:00
Freddy Mallet
db1f420129 SONAR-2344 Improve the algorithm in charge to define/update the creation date of each violation 2011-04-22 22:53:26 +02:00
Evgeny Mandrikov
55d60c0ffd Tests should be independent from EOL in resources 2011-04-22 15:28:09 +04:00
Evgeny Mandrikov
ec2974edf3 SONAR-2341 Deprecate Project.getPackaging and don't use it in findbugs plugin 2011-04-21 01:48:34 +04:00
Evgeny Mandrikov
986b9dfe5b Increase coverage for a new code in UnitTestDecorator 2011-04-21 01:40:19 +04:00
Fabrice Bellingard
3c653a2018 SONAR-2347 Add unit test to ReviewsDecorator 2011-04-20 17:15:30 +02:00
simonbrandhof
0766d9835c SONAR-2255 the metric 'classes' must not be 0 on unit tests 2011-04-20 15:26:55 +02:00
Evgeny Mandrikov
ee7b180068 Fix crlf 2011-04-20 13:32:53 +04:00
Fabrice Bellingard
875fa294a3 Merge remote branch 'upstream/master' 2011-04-20 09:15:50 +02:00
Fabrice Bellingard
8d294104c3 [SONAR-2347] Close a review when its corresponding violation does not
exist anymore
2011-04-20 08:57:56 +02:00
Evgeny Mandrikov
71c0bf5a18 SONAR-2372 Upgrade to maven-cobertura-plugin 2.5 2011-04-20 10:51:22 +04:00
Fabrice Bellingard
73a7647736 Temporary commit before merging with Simon's modifications on
RuleFailure
2011-04-20 08:49:58 +02:00
Evgeny Mandrikov
060c185232 SONAR-2371 SurefireSensor should not insert unit test measures when there is no reports
- UnitTestDecorator should save zero for unit test measure for project, when there is
  no values for summarizing and type of analysis is reuse reports or dynamic

- Don't use pom.getPackaging() in AbstractSurefireParser
2011-04-20 01:41:21 +04:00
Evgeny Mandrikov
5cc143c735 SONAR-2358 Don't use org.codehaus.plexus.util.StringInputStream to calculate checksums for violations 2011-04-19 17:51:53 +04:00
Evgeny Mandrikov
fe0764d0b6 Remove warnings about reuseExistingRulesConfiguration from checkstyle, pmd and findbugs plugins 2011-04-15 11:56:27 +04:00
simonbrandhof
5d445ea4f6 Slight refactoring of squid 2011-04-12 17:42:06 +02:00
simonbrandhof
31349321b0 SONAR-1957 add the column RULE_FAILURES.SWITCHED_OFF (boolean) 2011-04-12 17:14:34 +02:00
simonbrandhof
f3461ab00d SONAR-2347 Add the column RULE_FAILURES.PERMANENT_ID 2011-04-12 14:46:05 +02:00
simonbrandhof
3f782b64d7 SONAR-2349 New rule to detect empty Java files 2011-04-12 10:04:58 +02:00
Evgeny Mandrikov
d6693ffe16 Improve ProjectFileSystem
* Use ProjectFileSystem instead of DefaultProjectFileSystem in tests
* Use InputFileUtils in DefaultProjectFileSystem
* Add MavenProjectFileSystem
2011-04-12 08:48:51 +04:00
simonbrandhof
07625d01d5 SONAR-791 compare package declaration with physical directory 2011-04-11 16:55:40 +02:00
simonbrandhof
7d231a6776 SONAR-2322 Filter unit tests files listed in surefire reports 2011-04-08 09:13:10 +02:00
simonbrandhof
116a0e5cf5 Re-apply lost refactoring 2011-04-06 19:20:40 +02:00
simonbrandhof
a225619c7f SONAR-2332 Filter unit tests files listed in surefire reports 2011-04-06 16:26:29 +02:00
Evgeny Mandrikov
fbbb9f83cc SONAR-2332 Findbugs plugin must remove temporary files created during execution 2011-04-05 01:47:19 +04:00
Evgeny Mandrikov
18ad773901 Fix crlf 2011-04-04 23:56:21 +04:00
Evgeny Mandrikov
d4bb3b72f9 SONAR-1898 Introduce new entry point - SonarPlugin 2011-04-04 22:46:21 +04:00
Evgeny Mandrikov
628bb6718f Add tests for onar-googleanalytics-plugin 2011-04-04 19:57:10 +04:00
Evgeny Mandrikov
6f4124e680 SONAR-2303 "Architectural constraint" rule should work for patterns with spaces 2011-04-04 19:02:12 +04:00
simonbrandhof
9380e275b3 Fix some violations 2011-04-01 23:56:50 +02:00
Evgeny Mandrikov
f9e8c73f19 SONAR-2275 Remove Checkstyle "Design For Extension" rule from "Sonar Way" profile 2011-03-30 23:11:59 +04:00
Evgeny Mandrikov
edf036522c SONAR-1667 Add param ignoreAnnotations to PMD rule UselessOverridingMethod 2011-03-30 00:57:37 +04:00
simonbrandhof
4eecf910ac Upgrade master to version 2.8-SNAPSHOT 2011-03-29 17:03:48 +02:00
simonbrandhof
349b260a5e [maven-release-plugin] prepare for next development iteration 2011-03-28 17:50:26 +02:00
simonbrandhof
75bfca1251 [maven-release-plugin] prepare release 2.7-RC3 2011-03-28 17:50:24 +02:00
simonbrandhof
d4ae5228bb Fix coding violations 2011-03-27 23:43:19 +02:00
simonbrandhof
2b560c35ab fix coding violations 2011-03-27 21:26:17 +02:00
simonbrandhof
b25c800108 Fix Clover coverage on new code at project and package levels 2011-03-23 15:31:47 +01:00
simonbrandhof
c1ae10c193 Minor: fix rendering of link in coverage widget 2011-03-23 10:24:39 +01:00
simonbrandhof
22d26707d7 [maven-release-plugin] prepare for next development iteration 2011-03-22 09:59:51 +01:00
simonbrandhof
22d7301ef4 [maven-release-plugin] prepare release 2.7-RC1 2011-03-22 09:59:50 +01:00
simonbrandhof
ab2346e6bb [maven-release-plugin] prepare for next development iteration 2011-03-18 15:04:18 +01:00