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 92358 - Zero length methods have 'wrong' distribution rate
Summary: Zero length methods have 'wrong' distribution rate
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-11 16:08 UTC by ehucka
Modified: 2012-06-05 06:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (51.89 KB, image/png)
2007-01-12 08:55 UTC, ehucka
Details
screenshot - methods without categories (55.23 KB, image/png)
2007-01-12 09:09 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2007-01-11 16:08:31 UTC
These methods - with 0.0 ms self time - are shown in their categories with 0%
distribution rate.
I think there can be 100% for methods in one category and e.g. 50% for methods
distributed in 2 categories. It would look better than 0%.
Comment 1 J Bachorik 2007-01-12 07:55:08 UTC
Could you, please, provide a stepst to reproduce or, better yet, a screenshot?
Comment 2 ehucka 2007-01-12 08:55:56 UTC
Created attachment 37302 [details]
screenshot
Comment 3 ehucka 2007-01-12 08:58:48 UTC
Steps to reproduce:

1. open AnagramGame sample project
2. create custom profiling task - CPU, Entire Application, Sample Timing, All
Classes, include empty methods and getter/setter
3. start profiling
4. check Project/UI category, methods with zero length

I found out there are many methods without any category assigned - they have
empty category distribution panel.
Comment 4 ehucka 2007-01-12 09:09:36 UTC
Created attachment 37303 [details]
screenshot - methods without categories
Comment 5 J Bachorik 2007-01-12 09:12:54 UTC
will investigate
Comment 6 Tomas Hurka 2007-11-07 10:35:20 UTC
Changing target milestone to dev, since NetBeans 6.0 is in high resistance mode.
Comment 7 Tomas Hurka 2009-04-08 12:52:23 UTC
Milestone cleanup: future->next
Comment 8 J Bachorik 2012-05-29 10:31:05 UTC
fixed http://hg.netbeans.org/profiler-main/rev/31a7cb266fe0
Comment 9 Quality Engineering 2012-06-05 06:03:19 UTC
Integrated into 'main-golden', will be available in build *201206050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/31a7cb266fe0
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #92358: Fixing the forward category distribution drilldown panel