Menu

#37 cccc adds the metrics of two different elements (functions)

open
nobody
C++ Parser (23)
5
2004-10-26
2004-10-26
Anonymous
No

If there are two classes with inner classes and each of
the inner class has the same function then the metrics
are added. (inner class names and function names must
be identical).

Example:

class CMyClassA
{
class CMyInnerClass
{
int Function();
}
}

class CMyClassB
{
class CMyInnerClass
{
int Function();
}
}

Result:
There have to be two modules in the output.
CMyClassA::CMyInnerClass
CMyClassB::CMyInnerClass

But there is only one.
CMyInnerClass ==> this is wrong

Discussion


Log in to post a comment.