<commit_before>// <copyright file="Program.cs" company="<NAME>">
//  Copyright (c) <NAME> 2013 All Right Reserved
// </copyright>
// <author><NAME></author>
// <email><EMAIL></email>
namespace RenameRegex
{
    using System;
    using System.Diagnostics;
    using System.IO;
    using System.Reflection;
    using System.Text.RegularExpressions;

    /// <summary>
    /// RenameRegex command line program
    /// </summary>
    public static class Program
    {
        /// <summary>
        /// Main command line
        /// </summary>
        /// <param name="args">Command line arguments</param>
        /// <returns>0 on success</returns>
        public static int Main(string[] args)
        {
            // get command-line arguments
            string nameSearch;
            string nameReplace;
            string fileMatch;
            bool recursive;
            bool pretend;
            bool force;
            bool preserveExt;

            if (!GetArguments(args, out fileMatch, out nameSearch, out nameReplace,
                out pretend, out recursive, out force, out preserveExt))
            {
                Usage();
                return 1;
            }

            // enumerate all files
            string[] files = Directory.GetFiles(
                System.Environment.CurrentDirectory,
                fileMatch,
                recursive ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly);

            if (files.Length == 0)
            {
                Console.WriteLine(@"No files match!");
                return 1;
            }

            string pretendModeNotification = pretend ? " (pretend)" : String.Empty;
<commit_msg>StyleCop fix<commit_after>// <copyright file="Program.cs" company="<NAME>">
//  Copyright (c) <NAME> 2013 All Right Reserved
// </copyright>
// <author><NAME></author>
// <email><EMAIL></email>
namespace RenameRegex
{
    using System;
    using System.Diagnostics;
    using System.IO;
    using System.Reflection;
    using System.Text.RegularExpressions;

    /// <summary>
    /// RenameRegex command line program
    /// </summary>
    public static class Program
    {
        /// <summary>
        /// Main command line
        /// </summary>
        /// <param name="args">Command line arguments</param>
        /// <returns>0 on success</returns>
        public static int Main(string[] args)
        {
            // get command-line arguments
            string nameSearch;
            string nameReplace;
            string fileMatch;
            bool recursive;
            bool pretend;
            bool force;
            bool preserveExt;

            if (!GetArguments(
                    args,
                    out fileMatch,
                    out nameSearch,
                    out nameReplace,
                    out pretend,
                    out recursive,
                    out force,
                    out preserveExt))
            {
                Usage();
                return 1;
            }

            // enumerate all files
            string[] files = Directory.GetFiles(
                System.Environment.CurrentDirectory,
                fileMatch,
                recursive ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly);

            if (files.Length == 0)
            {
                Console.WriteLine(@"No files match!");
                return 1;
            }

            string pretendModeNotification = pretend ? " (pretend)" : String.Empty;

{'fraction_non_alphanumeric': 0.10228571428571429, 'fraction_numerical': 0.004571428571428572, 'mean_word_length': 1.46723044397463, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '6566584', 'n_tokens_mistral': 864, 'n_tokens_neox': 804, 'n_words': 228}