<commit_before>package com.codahale.metrics.servlet;

import java.util.HashMap;
import java.util.Map;

/**
 * Implementation of the {@link AbstractInstrumentedFilter} which provides a default set of response codes
 * to capture information about. <p>Use it in your servlet.xml like this:</p>
 * <pre>{@code
 * <filter>
 *     <filter-name>webappMetricsFilter</filter-name>
 *     <filter-class>com.codahale.metrics.servlet.DefaultWebappMetricsFilter</filter-class>
 * </filter>
 * <filter-mapping>
 *     <filter-name>webappMetricsFilter</filter-name>
 *     <url-pattern>/*</url-pattern>
 * </filter-mapping>
 * }</pre><commit_msg>Updated class comment to match new class name.<commit_after>package com.codahale.metrics.servlet;

import java.util.HashMap;
import java.util.Map;

/**
 * Implementation of the {@link AbstractInstrumentedFilter} which provides a default set of response codes
 * to capture information about. <p>Use it in your servlet.xml like this:</p>
 * <pre>{@code
 * <filter>
 *     <filter-name>instrumentedFilter</filter-name>
 *     <filter-class>com.codahale.metrics.servlet.InstrumentedFilter</filter-class>
 * </filter>
 * <filter-mapping>
 *     <filter-name>instrumentedFilter</filter-name>
 *     <url-pattern>/*</url-pattern>
 * </filter-mapping>
 * }</pre>
{'fraction_non_alphanumeric': 0.1452991452991453, 'fraction_numerical': 0.0, 'mean_word_length': 4.389121338912134, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1698229', 'n_tokens_mistral': 398, 'n_tokens_neox': 399, 'n_words': 86}