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 191585 - a lot of false syntax errors when it shouldn't
Summary: a lot of false syntax errors when it shouldn't
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
: 190222 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-02 20:58 UTC by Thomas Preisler
Modified: 2011-01-27 13:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2010-11-02 20:58:24 UTC
From CR 6996673:

Over all, syntax checking or language semantic checking is not very accurate, it often gives out false positive errors once I start to make changes of sources.

Two examples here, there are much more, but I won't file more bugs regarding this area.
--------------------------------------------------------------------------------------------------------
See attached screen shot :

  problem in machine_type.cc, I moved is_ia64() implementation from machine_type.h to machine_type.cc, IDE gave "Unable to resolve symbole _machine_arch" error.

  problem in dbxmain.cc, see attach.
  glue is a library of dbx, I did not change anything there.
*** (#1 of 1): 2010-11-01 18:45:56 PDT chihin
Comment 1 Vladimir Voskresensky 2010-11-13 10:46:04 UTC
*** Bug 190222 has been marked as a duplicate of this bug. ***
Comment 2 nnnnnk 2011-01-27 13:46:41 UTC
for dbx we have 91 unresolved ids.
that matches our quality criteria.

if there is some specific code snippet you'd like to be recognised by IDE please provide simplified code sample.

Test result:
===>Name = dbx, Files = 609, Errors = 0, Warnings = 0, Invalid identifiers = 91, Invalid identifiers (Warnings) = 8, Other Annotations = 2, Errors (Internal API) = 99, Lines = 333740, 1000.0*Invalid identifiers/Lines = 0.28, 100*Files with errors/All files = 2.96