001    /*
002     * Cobertura - http://cobertura.sourceforge.net/
003     *
004     * This file was taken from JavaNCSS
005     * http://www.kclee.com/clemens/java/javancss/
006     * Copyright (C) 2000 Chr. Clemens Lee <clemens a.t kclee d.o.t com>
007     *
008     * Cobertura is free software; you can redistribute it and/or modify
009     * it under the terms of the GNU General Public License as published
010     * by the Free Software Foundation; either version 2 of the License,
011     * or (at your option) any later version.
012     *
013     * Cobertura is distributed in the hope that it will be useful, but
014     * WITHOUT ANY WARRANTY; without even the implied warranty of
015     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
016     * General Public License for more details.
017     *
018     * You should have received a copy of the GNU General Public License
019     * along with Cobertura; if not, write to the Free Software
020     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
021     * USA
022     */
023    
024    package net.sourceforge.cobertura.javancss;
025    
026    /**
027     * Contains a couple of constants used to fill and access data
028     * structures containing Java metric data.
029     *
030     * @author    Chr. Clemens Lee <clemens@kclee.com>
031     * $Id: JavancssConstants.java,v 1.5 2006/04/16 11:42:20 clemens Exp clemens $
032     */
033    public interface JavancssConstants
034    {
035      static final int FCT_NAME = 0;
036      static final int FCT_NCSS = 1;
037      static final int FCT_CCN  = 2;
038      static final int FCT_JVDC = 3;
039    
040      // added by SMS
041      static final int FCT_JVDC_LINES   = 4;
042      static final int FCT_SINGLE_LINES = 5;
043      static final int FCT_MULTI_LINES  = 6;
044    
045      // specially added for Cobertura
046      static final int FCT_BEGIN_LINE_NUMBER  = 7;
047      static final int FCT_END_LINE_NUMBER  = 8;
048      
049      static final int OBJ_NAME  = 0;
050      static final int OBJ_NCSS  = 1;
051      static final int OBJ_FCTS  = 2;
052      static final int OBJ_CLSSS = 3;
053      //static final int OBJ_JVDCS = 4;
054      //static final int OBJ_JVDCS = 5;
055      static final int OBJ_JVDCS = 6;
056    
057      // added by SMS
058      static final int OBJ_JVDC_LINES   = 7;
059      static final int OBJ_SINGLE_LINES = 8;
060      static final int OBJ_MULTI_LINES  = 9;
061    }