Login | Register
My pages Projects Community openCollabNet

Discussions > Commits > svn commit: r133 - trunk/externalTools/MetricsGather/src/metrics/MetricsProcessor.java

argouml-spl
Discussion topic

Back to topic list

svn commit: r133 - trunk/externalTools/MetricsGather/src/metrics/MetricsProcessor.java

Author marcusvnac
Full name Marcus Vinícius de Ávila Couto
Date 2010-10-05 15:55:59 PDT
Message Author: marcusvnac
Date: 2010-10-05 15:55:58-0700
New Revision: 133

Modified:
   trunk/externalTools/​MetricsGather/src/me​trics/MetricsProcess​or.java

Log:
Fix Class Metric regular expression.

Modified: trunk/externalTools/​MetricsGather/src/me​trics/MetricsProcess​or.java
Url: http://argouml-spl.t​igris.org/source/bro​wse/argouml-spl/trun​k/externalTools/Metr​icsGather/src/metric​s/MetricsProcessor.j​ava?view=diff&pa​threv=133&r1=132​&r2=133
====================​====================​====================​==================
--- trunk/externalTools/​MetricsGather/src/me​trics/MetricsProcess​or.java (original)
+++ trunk/externalTools/​MetricsGather/src/me​trics/MetricsProcess​or.java 2010-10-05 15:55:58-0700
@@ -182,7 +182,7 @@
         else if (!isCommentOrBlankLine(value)) {
             insertMetric(value, MetricType.LOC);
             // Contabilizar classes
- if (value.matches("(pri​vate|public|protecte​d){0,1}.*class .*")) {
+ if (value.matches("(pub​lic|protected|privat​e|static|abstract|fi​nal|native|synchroni​zed|transient|volati​le|strictfp| )*class .*")) {
                 CLASS_COUNTER++;
             }
         }

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r133 - trunk/externalTools/MetricsGather/src/metrics/MetricsProcessor.java marcusvnac Marcus Vinícius de Ávila Couto 2010-10-05 15:55:59 PDT
Messages per page: