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 206731

Summary: regression in inaccuracy tests (code model)
Product: cnd Reporter: soldatov <soldatov>
Component: Code ModelAssignee: nnnnnk <nnnnnk>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: 7.1   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2011-12-27 10:20:51 UTC
===>Name = Quote, Files = 13, Errors = 0, Warnings = 0, Invalid identifiers = 7, Invalid identifiers (Warnings) = 0, Other Annotations = 0, Errors (Internal API) = 7, Lines = 1224, 1000.0*Invalid identifiers/Lines = 5.72, 100*Files with errors/All files = 7.7

NPE in log:
    [junit] java.lang.NullPointerException at parsing file /export/new_projects/Quote/disk.h
    [junit] java.lang.NullPointerException at parsing file /export/new_projects/Quote/memory.h

Unresolved identifiers:
Full log: Name = /export/new_projects/Quote/module.h, Errors = 0, Warnings = 0, Invalid identifiers = 0, Invalid identifiers (Warnings) = 0, Other Annotations = 0, Errors (Internal API) = 0, Lines = 94
Name = /export/new_projects/Quote/module.h, Errors = 0, Warnings = 0, Invalid identifiers = 0, Invalid identifiers (Warnings) = 0, Other Annotations = 0, Errors (Internal API) = 0, Time = 0.925, Lines = 94
Full log: /export/new_projects/Quote/quote.cc 158 Unable to resolve identifier HIGH
Full log: /export/new_projects/Quote/quote.cc 163 Unable to resolve identifier MEDIUM
Full log: /export/new_projects/Quote/quote.cc 180 Unable to resolve identifier RAID
Full log: /export/new_projects/Quote/quote.cc 185 Unable to resolve identifier SINGLE
Full log: /export/new_projects/Quote/quote.cc 201 Unable to resolve identifier FAST
Full log: /export/new_projects/Quote/quote.cc 205 Unable to resolve identifier ULTRA
Full log: /export/new_projects/Quote/quote.cc 210 Unable to resolve identifier STANDARD
Full log: Name = /export/new_projects/Quote/quote.cc, Errors = 0, Warnings = 0, Invalid identifiers = 7, Invalid identifiers (Warnings) = 0, Other Annotations = 0, Errors (Internal API) = 7, Lines = 232
Name = /export/new_projects/Quote/quote.cc, Errors = 0, Warnings = 0, Invalid identifiers = 7, Invalid identifiers (Warnings) = 0, Other Annotations = 0, Errors (Internal API) = 7, Time = 2.343, Lines = 232
Comment 1 Vladimir Voskresensky 2011-12-27 10:26:07 UTC
Nik, all issues are about enumerators' recognition. Most probably related to prototyping
Comment 2 nnnnnk 2011-12-29 15:17:27 UTC
fixed:
http://hg.netbeans.org/cnd-main/rev/f5ebfa36b1a6
Comment 3 soldatov 2012-01-10 12:09:37 UTC
Build: 20120109
===>Name = Quote, Files = 13, Errors = 0, Warnings = 0, Invalid identifiers = 7, Invalid identifiers (Warnings) = 0, Other Annotations = 0, Errors (Internal API) = 7, Lines = 1224, 1000.0*Invalid identifiers/Lines = 5.72, 100*Files with errors/All files = 7.7
Comment 4 nnnnnk 2012-01-17 14:18:03 UTC
moved under flag:
http://hg.netbeans.org/releases/rev/fb7e9bb0f596