State of Flow Eclipse Metrics plugin
Compute quality metrics on your Java code, reported as problem markers. Create code metrics reports.
Download State of Flow Eclipse Metrics plugin 3.3.1 for EasyEclipse 1.2.2:
A plug in for Eclipse that calculates metrics for your code during build cycles and warns you, via the Problems View, of 'range violations' for each metric. You may also export the metrics to various formats for further analysis.
Comments are currently disabled on this page.'; ?>
Installing this plugin
This plugin is not shipped in any distribution. You must manually install it on an EasyEclipse distribution.
The dependent plugin Eclipse Java Development Tools must be present in the EasyEclipse distribution you use, or must be installed separately.
Getting started
To enable metrics measurements on a Java project, right-click on the project in the Package Explorer view, or the Navigator view, and select Properties. In the Properties dialog, select the Metrics tab, and check the Enable Metrics Gathering checkbox. Rebuild the project if it is not built automatically, using the menu Project > Build Project. Any potentially problematic measurements should appear in the Problems view.
Tests
(Notes that tests are only displayed if the page is served statically)- Failing:
- file > new > project, Java > Java Project, give name, OK - file > new > File, give name "Main.java" selct parent folder (project name), OK - paste in file: public class Main { public static void main(String argv[]) { System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); System.out.println("Hello, World"); } } - right-click on project, Properties > Metric, check the "Enable Metrics Gathering" - two warnings should appear in problem view: "Lines of Code in Method is 23" "Number of Statements is 21"
Useful links
Changelog
Changes in EasyEclipse 1.2.2:
- Upgraded to State of Flow Eclipse Metrics plugin 3.3.1.
- Upgraded to State of Flow Eclipse Metrics plugin 3.2.0.
- Initial release (with State of Flow Eclipse Metrics plugin 3.1.0).
Credits and License
Credits: Lance Walton
Copyright (c) 2006 State of Flow.
This plugin is licensed under the Common Public License 1.0 license.
(816KB)
(776KB)
(708KB)