On 06/08/2012 09:11 AM, Mikael Petterson wrote:
Hi,
We have been running Cobertura plugin 1.3 for a while and it is a very helpful plugin. The actual build takes about 10 min with generating stats for findbugs,checkstyle,pmd, junit/testng and cobertura.
The "full" run including the:
BUILD SUCCESSFUL
Total time: 9 minutes 55 seconds
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Parsing 1 files in /tmp/roamhudson/workspace/roamhudson_main_rnc_aue_prechecks [CHECKSTYLE] Successfully parsed file /tmp/roamhudson/workspace/roamhudson_main_rnc_aue_prechecks/checkstyle_errors.xml of module with 757 warnings.
[FINDBUGS] Collecting findbugs analysis files...
[ANALYSIS] Parsing 1 files in /tmp/roamhudson/workspace/roamhudson_main_rnc_aue_prechecks [ANALYSIS] Successfully parsed file /tmp/roamhudson/workspace/roamhudson_main_rnc_aue_prechecks/roam-fb.xml of module with 0 warnings.
[PMD] Collecting PMD analysis files...
[PMD] Parsing 1 files in /tmp/roamhudson/workspace/roamhudson_main_rnc_aue_prechecks [PMD] Successfully parsed file /tmp/roamhudson/workspace/roamhudson_main_rnc_aue_prechecks/pmd_report.xml of module with 399 warnings.
[DRY] Collecting duplicate code analysis files...
[DRY] Parsing 1 files in /tmp/roamhudson/workspace/roamhudson_main_rnc_aue_prechecks [DRY] Successfully parsed file /tmp/roamhudson/workspace/roamhudson_main_rnc_aue_prechecks/cpd_report.xml of module with 257 warnings.
Publishing Cobertura coverage report...
Publishing Cobertura coverage results...
Recording test results
Then the total process takes about 40 min.
This means that the 30 min is spent on the different steps after the actual build ( ant). Just by looking at each step ( rolling log) I can see that cobertura takes a long while. But in order not to go on a feeling it would be nice to be able to measure the time spent in each tool. Is the analysis framework a good place ( how about cobertura)? Tell me if it is a good idea and if it is possible to implement.
Br,
//mike
You can installl the console timestamp plug-in, then you will see more details on the runtime of the individual steps.

Ulli

Reply via email to