Skip to content

Creating a metric for a custom rule in Java #4788

Discussion options

You must be logged in to vote

Hi sorry for the late reply, we were able to find a way to track the metrics that we needed. We needed to keep track of methods that were called by other methods so we stored the ASTMethodDeclaration nodes in a hash map along with how many times they were called by other methods. Hopefully this helps for anyone looking to do the same thing.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@NathanMacDiarmid
Comment options

@jsotuyod
Comment options

@NathanMacDiarmid
Comment options

Answer selected by NathanMacDiarmid
@jsotuyod
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants