<commit_before>package org.springframework.aop.interceptor;

import java.io.Serializable;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.jamonapi.Monitor;
import com.jamonapi.MonitorFactory;

/**
 * Performance monitor interceptor that uses <b>Jamon </b> library to perfom the performance mesurment on the
 * intercepted method and output the stats.
 * <p>
 * This code is inspired by Thierry Templier's blog
 * 
 * @author <NAME>
 * @version $Id: JamonPerformanceMonitorInterceptor.java,v 1.1 2004-11-30 17:34:32 dkopylenko Exp $
 */
public class JamonPerformanceMonitorInterceptor implements MethodInterceptor, Serializable {

    protected static final Log logger = LogFactory.getLog(JamonPerformanceMonitorInterceptor.class);
    
    /**
     * @see org.aopalliance.intercept.MethodInterceptor#invoke(org.aopalliance.intercept.MethodInvocation)
     */
    public Object invoke(MethodInvocation invocation) throws Throwable {<commit_msg>Got rid of CVS Id keyword<commit_after>package org.springframework.aop.interceptor;

import java.io.Serializable;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.jamonapi.Monitor;
import com.jamonapi.MonitorFactory;

/**
 * Performance monitor interceptor that uses <b>Jamon </b> library to perfom the performance mesurment on the
 * intercepted method and output the stats.
 * <p>
 * This code is inspired by Thierry Templier's blog
 * 
 * @author <NAME>
 * @since 1.1.3
 */
public class JamonPerformanceMonitorInterceptor implements MethodInterceptor, Serializable {

    protected static final Log logger = LogFactory.getLog(JamonPerformanceMonitorInterceptor.class);
    
    /**
     * @see org.aopalliance.intercept.MethodInterceptor#invoke(org.aopalliance.intercept.MethodInvocation)
     */
    public Object invoke(MethodInvocation invocation) throws Throwable {
{'fraction_non_alphanumeric': 0.08679245283018867, 'fraction_numerical': 0.008962264150943396, 'mean_word_length': 5.183673469387755, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '536840', 'n_tokens_mistral': 637, 'n_tokens_neox': 606, 'n_words': 151}