Search code examples
ndependlcomcppdepend

CPPdepend LCOM metric query


I was trying to get LCOM metric report using CppDepend. I wrote the following query

// <Name>TODO short description</Name>
from  t in Application.Types
select new {t,t.LCOM, t.LCOMHS}

But this query gives table value for only header files in the code. It doesn't report the values for Cpp files.

Please help as I am new to doing this.


Solution

  • This query give you the LCOM of types ( classes or structs) and not the LCOM of header or source files

    enter image description here