私はCppDependを使用してLCOMメトリックレポートを取得しようとしていました。私は次のクエリを書いた // <Name>TODO short description</Name>
from t in Application.Types
select new {t,t.LCOM, t.LCOMHS}
しかし、このクエリは、コード内のヘッダーファイルのみのテーブル値を与えます。 Cpp
GetterおよびSetterが含まれています 1) A class is utterly cohesive if all its methods use all its instance fields
2) Both static and instance methods are counted, it includes also constructors, properties getter