Macker

A build-time architectural rule checking utility for Java developers
Download

Macker Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Paul Cantrell
  • Publisher web site:
  • http://www.copters.com/downloads/QtLogbook.html
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 4.7 MB

Macker Tags


Macker Description

A build-time architectural rule checking utility for Java developers Macker is meant to model the architectural ideals programmers always dream up for their projects, and then break -- it helps keep code clean and consistent. You can tailor a rules file to suit a specific project's structure, or write some general "good practice" rules for your code. Macker does not try to shove anybody else's rules down your throat; it actually is flexible, and writing a rules file is part of the development process for each unique project.Macker allows you to specify broad access rules that Java's native access modifiers can't. The current version supports class- and package-level access rules, such as:· Classes in the UI layer may not directly access the data object layer, or use classes in java.sql.· External systems may not access internal implementation classes (suffixed with 'Impl').· One functional module may access another only through its API.· Only classes implementing interfaces in javax.ejb, and certain framework packages, may use the EJB APIs. (All of these are all just examples. Macker doesn't check anything by default; it's up to you to write rules to fit what you're doing.)Future versions will support more sophisticated matching class matching, existence/nonexistence rules in addition to access rules, and possibly rules applying at the method as well the class level.This would allow rules such as:· Classes implementing the SessionBean interface must have the suffix 'EJB'.· Methods should take and return Java collections interfaces (e.g. List) instead of concrete types (e.g. ArrayList).· Objects implementing a certain interface should have static factory methods instead of public constructors. Requirements: · Java What's New in This Release: · Added an Ant task for report formatting, with built-in support for HTML/CSS output, and extensibility through XSLT.


Macker Related Software