<commit_before><?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE digester-rules PUBLIC
"-//Jakarta Apache //DTD digester-rules XML V1.0//EN"
"digester-rules.dtd">
<digester-rules>
    <pattern value="plug-in">
        <bean-property-setter-rule pattern="name" />
        <bean-property-setter-rule pattern="version"/>
        <bean-property-setter-rule pattern="description"/>
        <bean-property-setter-rule pattern="provider"/>
        <bean-property-setter-rule pattern="provider-url" propertyname="providerUrl" />
        <bean-property-setter-rule pattern="copyright"/>
        <bean-property-setter-rule pattern="class" propertyname="pluginClass" />
        <bean-property-setter-rule pattern="icon-url" propertyname="iconUrl"/>
        <bean-property-setter-rule pattern="db-pool-required" propertyname="isDbPoolRequired" />
        <pattern value="core-version-dependency">
            <bean-property-setter-rule pattern="min-core-version" propertyname="minCoreVersion" />
            <bean-property-setter-rule pattern="max-core-version" propertyname="maxCoreVersion" />
         </pattern>
        <pattern value="css-stylesheets">
            <bean-property-setter-rule pattern="css-stylesheets-scope" propertyname="cssStylesheetsScope"/>
            <call-method-rule pattern="css-stylesheet" methodname="addCssStyleSheet" paramcount="1" />
            <call-param-rule pattern="css-stylesheet" paramnumber="0"/>
        </pattern>
        <pattern value="javascript-files">
            <bean-property-setter-rule pattern="javascript-files-scope" propertyname="javascriptFilesScope"/>
            <call-method-rule pattern="javascript-file" methodname="addJavascriptFile" paramcount="1" />
            <call-param-rule pattern="javascript-file" paramnumber="0"/>
        </pattern>
        <pattern value="content-services/content-service">
            <object-create-rule classname="fr.paris.lutece.portal.service.content.ContentServiceEntry" />
            <set-properties-rule />
            <bean-property-setter-rule pattern="content-service-class" propertyname="className" />
            <set-next-rule methodname="addContentService" />
        </pattern>
        <pattern value="search-indexers/search-indexer">
            <object-create-rule classname="fr.paris.lutece.portal.service.search.SearchIndexerEntry" />
            <set-properties-rule />
            <bean-property-setter-rule pattern="search-indexer-class" propertyname="className" />
            <set-next-rule methodname="addSearchIndexer" />
        </pattern>
        <pattern value="insert-services/insert-service">
            <object-create-rule classname="fr.paris.lutece.portal.service.insert.InsertService" />
            <set-properties-rule />
            <bean-property-setter-rule pattern="insert-service-id" propertyname="id" />
            <bean-property-setter-rule pattern="insert-service-name" propertyname="nameKey" />
            <bean-property-setter-rule pattern="insert-service-label" propertyname="labelKey" />
            <bean-property-setter-rule pattern="insert-service-bean-class" propertyname="actionBeanClassName" />
            <set-next-rule methodname="addInsertService" />
        </pattern>
        <pattern value="applications/application">
            <object-create-rule classname="fr.paris.lutece.portal.web.xpages.XPageApplicationEntry" />
            <set-properties-rule />
            <bean-property-setter-rule pattern="application-id" propertyname="id" />
            <bean-property-setter-rule pattern="application-class" propertyname="className" />
            <bean-property-setter-rule pattern="application-roles" propertyname="roles" />
            <set-next-rule methodname="addXPageApplication" />
        </pattern>
        <pattern value="filters/filter">
            <object-create-rule classname="fr.paris.lutece.portal.service.filter.FilterEntry" />
            <set-properties-rule />
            <bean-property-setter-rule pattern="filter-name" propertyname="name" />
            <bean-property-setter-rule pattern="filter-class" propertyname="filterClass" />
            <bean-property-setter-rule pattern="url-pattern" propertyname="mappingUrlPattern" />
            <call-method-rule pattern="init-param" methodname="addParameter" paramcount="2" />
            <call-param-rule pattern="init-param/param-name" paramnumber="0"/>
            <call-param-rule pattern="init-param/param-value" paramnumber="1"/>
            <set-next-rule methodname="addFilter" />
        </pattern>
        <pattern value="listeners/listener">
            <object-create-rule classname="fr.paris.lutece.portal.service.sessionlistener.ListenerEntry" />
            <set-properties-rule /><commit_msg>LUTECE-1382 : Add HttpSessionListener as a new component for plugins<commit_after><?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE digester-rules PUBLIC
"-//Jakarta Apache //DTD digester-rules XML V1.0//EN"
"digester-rules.dtd">
<digester-rules>
    <pattern value="plug-in">
        <bean-property-setter-rule pattern="name" />
        <bean-property-setter-rule pattern="version"/>
        <bean-property-setter-rule pattern="description"/>
        <bean-property-setter-rule pattern="provider"/>
        <bean-property-setter-rule pattern="provider-url" propertyname="providerUrl" />
        <bean-property-setter-rule pattern="copyright"/>
        <bean-property-setter-rule pattern="class" propertyname="pluginClass" />
        <bean-property-setter-rule pattern="icon-url" propertyname="iconUrl"/>
        <bean-property-setter-rule pattern="db-pool-required" propertyname="isDbPoolRequired" />
        <pattern value="core-version-dependency">
            <bean-property-setter-rule pattern="min-core-version" propertyname="minCoreVersion" />
            <bean-property-setter-rule pattern="max-core-version" propertyname="maxCoreVersion" />
         </pattern>
        <pattern value="css-stylesheets">
            <bean-property-setter-rule pattern="css-stylesheets-scope" propertyname="cssStylesheetsScope"/>
            <call-method-rule pattern="css-stylesheet" methodname="addCssStyleSheet" paramcount="1" />
            <call-param-rule pattern="css-stylesheet" paramnumber="0"/>
        </pattern>
        <pattern value="javascript-files">
            <bean-property-setter-rule pattern="javascript-files-scope" propertyname="javascriptFilesScope"/>
            <call-method-rule pattern="javascript-file" methodname="addJavascriptFile" paramcount="1" />
            <call-param-rule pattern="javascript-file" paramnumber="0"/>
        </pattern>
        <pattern value="content-services/content-service">
            <object-create-rule classname="fr.paris.lutece.portal.service.content.ContentServiceEntry" />
            <set-properties-rule />
            <bean-property-setter-rule pattern="content-service-class" propertyname="className" />
            <set-next-rule methodname="addContentService" />
        </pattern>
        <pattern value="search-indexers/search-indexer">
            <object-create-rule classname="fr.paris.lutece.portal.service.search.SearchIndexerEntry" />
            <set-properties-rule />
            <bean-property-setter-rule pattern="search-indexer-class" propertyname="className" />
            <set-next-rule methodname="addSearchIndexer" />
        </pattern>
        <pattern value="insert-services/insert-service">
            <object-create-rule classname="fr.paris.lutece.portal.service.insert.InsertService" />
            <set-properties-rule />
            <bean-property-setter-rule pattern="insert-service-id" propertyname="id" />
            <bean-property-setter-rule pattern="insert-service-name" propertyname="nameKey" />
            <bean-property-setter-rule pattern="insert-service-label" propertyname="labelKey" />
            <bean-property-setter-rule pattern="insert-service-bean-class" propertyname="actionBeanClassName" />
            <set-next-rule methodname="addInsertService" />
        </pattern>
        <pattern value="applications/application">
            <object-create-rule classname="fr.paris.lutece.portal.web.xpages.XPageApplicationEntry" />
            <set-properties-rule />
            <bean-property-setter-rule pattern="application-id" propertyname="id" />
            <bean-property-setter-rule pattern="application-class" propertyname="className" />
            <bean-property-setter-rule pattern="application-roles" propertyname="roles" />
            <set-next-rule methodname="addXPageApplication" />
        </pattern>
        <pattern value="filters/filter">
            <object-create-rule classname="fr.paris.lutece.portal.service.filter.FilterEntry" />
            <set-properties-rule />
            <bean-property-setter-rule pattern="filter-name" propertyname="name" />
            <bean-property-setter-rule pattern="filter-class" propertyname="filterClass" />
            <bean-property-setter-rule pattern="url-pattern" propertyname="mappingUrlPattern" />
            <call-method-rule pattern="init-param" methodname="addParameter" paramcount="2" />
            <call-param-rule pattern="init-param/param-name" paramnumber="0"/>
            <call-param-rule pattern="init-param/param-value" paramnumber="1"/>
            <set-next-rule methodname="addFilter" />
        </pattern>
        <pattern value="listeners/listener">
            <object-create-rule classname="fr.paris.lutece.portal.service.sessionlistener.HttpSessionListenerEntry" />
            <set-properties-rule />
{'fraction_non_alphanumeric': 0.14609571788413098, 'fraction_numerical': 0.002938706968933669, 'mean_word_length': 3.00209995800084, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 2, '>': 143, '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': '4906735', 'n_tokens_mistral': 2641, 'n_tokens_neox': 2625, 'n_words': 336}