COVIEW for eclipse
Create JUnit tests and mocks, measure coverage

Details | Download

purchase CoView and Comet
COMET for ant
Measure coverage and metrics in a CI environment

Details | Download

purchase CoView and Comet

Testable Code

Imagine having to fix a bug in someone else's code, especially when they have no unit tests, the code is complicated, written under duress, and with no comments. It happens all the time.

Even with the best of intentions, code complexity can easily creep in. Often the result of poor design, coding under duress, or simply being tired, complexity is a fact of life for developers.

CoView offers you more control for your code. Even if you don't unit test, you can at least make sure your code is testable for everyone else. Through using a series of well known, well researched metrics, controlling their threshold and severity levels, you can develop a consistent team approach to developing testable code.

Pick Your Metrics

Since testability is best defined by your requirements, CoView lets you select from a number of industry standard metrics. You can define the metric, threshhold, and severity level. As you code within Eclipse, decorators are immediately displayed when you exceed your threshold. You also have the ability to ignore metrics while coding, since sometimes code complexity is required.

Testability Metrics

Immediate Testability Feedback

While you are coding, the CoView parser is analyzing code in real time to assess its testability level based on the metrics and severity you selected. Decorators (like syntax errors or warnings) are immediately displayed if you exceed your metric thresholds.

Immediate Testability Feedback

Analyze Your Entire Code Base

With one click, you can easily analyze your code testability. Results are easily viewed in the CoView Quality Manager view and Eclipse Problems view or through a number of reports.

Testability Metric Reporting