This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 147458 - Log specific information about freeform projects
Summary: Log specific information about freeform projects
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Freeform (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL: http://wiki.netbeans.org/UsageLogging...
Keywords:
Depends on: 175985
Blocks:
  Show dependency tree
 
Reported: 2008-09-17 10:00 UTC by Jesse Glick
Modified: 2009-11-30 08:36 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2008-09-17 10:00:47 UTC
I would like to gather some statistics on freeform projects in the field, probably when the project is opened. Possible
things to record:

- whether or not <web-data> is present

- number of <compilation-unit>s (of regular and test type)

- total number of <package-root>s inside those <c-u>s

- total number of classpath entries

- total number of <built-to>s

- number of <properties>s (other than the original project location sometimes inserted by the New Project wizard) or
<property-file>s defined

- number of <view-item>s (other than those inserted by the GUI) defined

- whether a custom Java platform is configured for the project

- number of subprojects (i.e. classpath entries corresponding to project-owned sources)

- number of source files (though it is likely this would be too slow to compute)

- number of context-sensitive actions defined

- number of targets bound to non-context-sensitive actions

- number of targets present in build.xml

All numeric values which are likely to be more than a few (e.g. number of source files) should be rather categorized
into range buckets, as e.g. CND projects do, especially where the exact number might be considered confidential information.
Comment 1 Jan Chalupa 2008-09-17 10:37:24 UTC
I'm concerned that the proposed set of properties might be a little too detailed comparing to the information gathered
on other project types. If possible, I'd suggest to trim it down and focus on items critical to future freeform project
support planning.
Comment 2 Jesse Glick 2008-10-02 19:30:36 UTC
Well code freeze came earlier than originally planned so I guess this is not going into 6.5.
Comment 3 Jesse Glick 2008-11-19 00:32:23 UTC
Would be useful in 7.0. No plans to release autoprojects in that timeframe anyway.
Comment 4 Jesse Glick 2009-11-04 00:41:42 UTC
core-main #1073b51d5e85
Comment 5 Quality Engineering 2009-11-04 22:31:23 UTC
Integrated into 'main-golden', will be available in build *200911041401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1073b51d5e85
User: Jesse Glick <jglick@netbeans.org>
Log: #147458: log usage information when a freeform project is opened.
Comment 6 Jan Chalupa 2009-11-11 05:20:29 UTC
Can we get a formal description of the log event and its parameters documented in the spec, please?

http://wiki.netbeans.org/UsageLoggingSpecification

I'll start making respective changes to the backend then. Thanks.
Comment 7 Jesse Glick 2009-11-12 18:17:57 UTC
http://wiki.netbeans.org/UsageLoggingSpecification#Specialized_Project_Events

See "USG_FREEFORM_PROJECT".
Comment 8 Jan Chalupa 2009-11-30 08:36:48 UTC
Implemented on the back-end. USG_FREEFORM_PROJECT log records are being imported and processed correctly.