Jtest logo




Contents  Previous  Next  Index

NAMING.NCL


Enforce name format of classes

Description

This rule flags any class that has an unconventional name format.

Most programmers or groups of programmers develop a set of naming rules for classes. Jtest will enforce the name format of the "class" using a regular expression.

Example

 package NAMING;
 
 public class NCL {
 }

Repair

Capitalize the first letter of the "class" name and use mixed case for the rest of the "class" name.

Reference

http://www.AmbySoft.com/javaCodingStandards.pdf


Contents  Previous  Next  Index

ParaSoft logo
(888) 305-0041 info@parasoft.com Copyright © 1996-2001 ParaSoft