Counting conditional statements in Eclipse

116 views Asked by At

I want to count the occurrence of conditional statements like if, else if, for, case. Using normal eclipse search may give results which includes "if" from a comments. Is there any plugin to do this job ?

1

There are 1 answers

0
Fredrik On

The closest one is the metrics plugin or this one. But lines of code or number of conditional statements are usually pretty bad indicators.

You should look at some of the many static code analyzers that will help you get better quality and give some actual valuable information. See this question