1
NDependからのクエリを特定のタイプのセットに制限したいと考えています。NDependあるクエリの出力と別のクエリの出力を混合するLinq
let temp = from t in Types
let depth0 = t.DepthOfIsUsedBy("PrintOddsDrawing")
where depth0 >= 0 orderby depth0
select new { t, depth0, t.NbTypesUsed }
// <Name>Methods too complex - critical</Name>
warnif count > 0 from m in JustMyCode.Methods where
m.CyclomaticComplexity > 30 ||
m.ILCyclomaticComplexity > 60 ||
m.ILNestingDepth > 6
orderby m.CyclomaticComplexity descending,
m.ILCyclomaticComplexity descending,
m.ILNestingDepth descending
select new { m, m.CyclomaticComplexity,
m.ILCyclomaticComplexity,
m.ILNestingDepth }
ありがとう。私が取り組んでいるタイプに関連する縮小されたサブセットに対してのみ、すべてのコードにおいての調査を適用する方法もありますか? – Revious
あなたの2番目の質問に対する回答を見る –