View Javadoc

    1   package net.sourceforge.pmd.benchmark;
    2
    3   /**
    4    *
    5    * @author Brian Remedios
    6    */
    7   public enum Benchmark {
    8   	Rule		    (0, null),
    9   	RuleChainRule   (1, null),
    10  	CollectFiles    (2, "Collect files"),
    11  	LoadRules 	    (3, "Load rules"),
    12  	Parser 	 	    (4, "Parser"),
    13  	SymbolTable     (5, "Symbol table"),
    14  	DFA			    (6, "DFA"),
    15  	TypeResolution  (7, "Type resolution"),
    16  	RuleChainVisit  (8, "RuleChain visit"),
    17  	Reporting	    (9, "Reporting"),
    18  	RuleTotal	    (10, "Rule total"),
    19  	RuleChainTotal  (11, "Rule chain rule total"),
    20  	MeasuredTotal   (12, "Measured total"),
    21  	NonMeasuredTotal(13, "Non-measured total"),
    22  	TotalPMD		(14, "Total PMD");
    23
    24  	public final int index;
    25  	public final String name;
    26
    27  	private Benchmark(int idx, String theName) {
    28  		index = idx;
    29  		name = theName;
    30  	}
    31  }