I have a few Java codes for which I wish to measure empirical computational complexity . There is a trend-prof tool which takes as input compiled C/C++ programs
C/C++
Sonar is commonly used : http://www.sonarsource.org/
Regards.