You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OPTIONAL MATCH (p)-[:CONTAINS]->(t:Java:Type)-[:DECLARES]->(m:Method)<-[:INVOKES]-(dm:Method)<-[:DECLARES]-(dt:Java:Type)<-[:CONTAINS]-(dp:Package)<-[:CONTAINS]-(da:Artifact)
OPTIONAL MATCH (dm)<-[:DECLARES]-(dti:Interface)
WHERE p <> dp
WITH p, t
,COUNT(dm) AS incomingMethodCalls
,COUNT(DISTINCT dm) AS incomingDistinctMethodCalls
,COUNT(DISTINCT dt) AS incomingMethodCallTypes
,COUNT(DISTINCT dti) AS incomingMethodCallInterfaces
,COUNT(DISTINCT dp) AS incomingMethodCallPackages
,COUNT(DISTINCT da) AS incomingMethodCallArtifacts