努力したWiki

推敲の足りないメモ書き多数

ユーザ用ツール

サイト用ツール


documents:csharp:code-007

指定フォルダの情報取得

説明は後で。

Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace GetFolderSize
{
    class Program
    {
        static void Main(string[] args)
        {
            FolderNodes a = new FolderNodes(@"D:\Perl64");
            ListFolderNode(a, 5);
        }
        static void ListFolderNode(FolderNodes fn, int maxLevel)
        {
            print();
            treeWalk(fn, maxLevel);
        }
        static void treeWalk(FolderNodes fn, int maxLevel)
        {
            if (fn.deepLevel <= maxLevel)
            {
                StringBuilder sb = new StringBuilder();
                FolderNodes[] fns = fn.subFolders;
 
                sb.Clear();
                sb.Append('\t', fn.deepLevel);
                sb.Append(fn.path);
 
                print(fn.totalFileCount, fn.totalFolderCount, fn.totalFolderSize, fn.deepLevel, sb.ToString());
 
                if (fns != null)
                {
                    for (int idx = 0; idx < fns.Length; idx++)
                    {
                        treeWalk(fns[idx], maxLevel);
                    }
                }
            }
        }
        static void print()
        {
            Console.WriteLine(" files\t folders\t size\t level\t folderName");
        }
        static void print(long files, long folders, long size, int nestLevel, string folderName)
        {
            Console.WriteLine("{0:#,##0}\t{1:#,##0}\t{2:#,##0}\t{3}\t{4}", files, folders, size, nestLevel, folderName);
        }
 
    }
}
FolderNodes.cs
using System.Linq;
using System.Threading.Tasks;
using System.IO;
 
namespace GetFolderSize
{
    class FolderNodes
    {
        const int Parallelism = 6;
 
        object LockObject = new object();
 
        string BasePathString = "";
        int DeepLevel = 0;
        long TotalFileCount = 0;
        long TotalFolderCount = 0;
        long TotalFolderSize = 0;
        FolderNodes[] SubFolders = null;
 
        public string fullPath { get { return BasePathString; } }
        public string path { get { return Path.GetFileName(BasePathString); } }
        public FolderNodes[] subFolders { get { return SubFolders; } }
        public long totalFileCount { get { return TotalFileCount; } }
        public long totalFolderCount { get { return TotalFolderCount; } }
        public long totalFolderSize { get { return TotalFolderSize; } }
        public int deepLevel { get { return DeepLevel; } }
 
        public FolderNodes(string path)
        {
            if (Directory.Exists(path))
            {
                GetFolderInfo(Path.GetFullPath(path), 0);
            }
            else
            {
                throw new DirectoryNotFoundException();
            }
        }
        public FolderNodes(string path, int level)
        {
            if (Directory.Exists(path))
            {
                GetFolderInfo(Path.GetFullPath(path), level);
            }
            else
            {
                throw new DirectoryNotFoundException();
            }
        }
        private void GetFolderInfo(string path, int level)
        {
            ParallelOptions po = new ParallelOptions();
            DirectoryInfo di = new DirectoryInfo(path);
            DirectoryInfo[] dis = di.GetDirectories();
            FileInfo[] fis = di.GetFiles();
 
            po.MaxDegreeOfParallelism = Parallelism;
 
            BasePathString = di.FullName;
            DeepLevel = level;
 
            TotalFileCount = fis.Length;
            TotalFolderCount = dis.Length;
            TotalFolderSize = fis.Sum(item => item.Length);
 
            if (dis.Length != 0)
            {
                FolderNodes[] folders = new FolderNodes[dis.Length];
 
                int N = folders.Length;
                Parallel.For(0, N, po, idx =>
                {
                    folders[idx] = new FolderNodes(dis[idx].FullName, level + 1);
                    lock(LockObject)
                    {
                        TotalFileCount   += folders[idx].TotalFileCount;
                        TotalFolderCount += folders[idx].TotalFolderCount;
                        TotalFolderSize  += folders[idx].TotalFolderSize;
                    }
                });
 
                SubFolders = folders.OrderByDescending(item => item.TotalFolderSize).ToArray();
            }
        }
    }
}
sample.csv
 files	 folders	 size	 level	 folderName
5,726	1,132	115,413,326	0	Perl64
3,691	782	71,585,296	1		lib
525	330	28,016,541	2			auto
3	2	5,348,455	3				share
3	1	5,348,455	4					dist
3	0	5,348,455	5						DBD-SQLite
20	9	4,950,091	3				Encode
2	0	1,296,384	4					JP
2	0	1,199,104	4					KR
2	0	1,073,152	4					CN
2	0	1,062,400	4					TW
2	0	179,712	4					Byte
2	0	36,864	4					Symbol
2	0	31,744	4					Unicode
2	0	30,720	4					EBCDIC
1	0	32	4					Locale
4	0	4,733,451	3				Tcl
14	5	3,184,500	3				DBD
2	0	1,992,828	4					Pg
3	0	725,302	4					SQLite
6	0	317,667	4					Oracle
2	0	148,644	4					ODBC
1	0	59	4					CSV
82	3	2,162,895	3				Net
79	0	2,162,290	4					SSLeay
1	0	120	4					HTTP
1	0	29	4					Telnet
86	29	1,437,485	3				Win32
3	0	198,029	4					OLE
3	0	194,156	4					ODBC
3	0	105,595	4					Process
3	0	103,020	4					Pipe
6	1	81,663	4					Console
3	0	32,900	5						ANSI
3	0	75,904	4					WinError
3	0	61,056	4					NetAdmin
5	1	56,199	4					API
2	0	25,600	5						Callback
3	0	52,864	4					Internet
3	0	45,681	4					Sound
3	0	40,576	4					Registry
3	0	36,480	4					Shortcut
3	0	34,407	4					Job
3	0	30,336	4					EventLog
4	0	29,989	4					NetResource
4	0	28,937	4					PerfLib
3	0	27,269	4					Clipboard
3	0	23,700	4					FileSecurity
3	0	23,163	4					Service
3	0	22,999	4					IPC
4	0	20,808	4					AuthenticateUser
2	0	19,968	4					Event
2	0	19,456	4					ChangeNotify
2	0	18,432	4					Mutex
2	0	18,432	4					Semaphore
3	0	18,028	4					File
1	0	67	4					TieRegistry
6	2	1,353,116	3				GD
1	0	494	4					Graph
1	0	89	4					Text
6	2	1,014,032	3				Unicode
3	0	665,733	4					Collate
3	0	348,299	4					Normalize
11	0	369,845	3				DBI
2	0	347,136	3				re
8	3	331,047	3				Win32API
3	0	172,215	4					Registry
2	0	81,408	4					File
3	0	77,424	4					Net
9	5	284,576	3				Devel
2	0	173,279	4					NYTProf
3	0	88,139	4					PPPort
2	0	23,040	4					Peek
1	0	76	4					StackTrace
1	0	42	4					GlobalDestruction
7	6	229,686	3				ActiveState
2	0	211,602	4					Scineplex
2	1	15,872	4					Win32
2	0	15,872	5						Shell
1	0	1,167	4					PerlCritic
1	0	946	4					Utils
1	0	99	4					RelocateTree
4	3	218,234	3				XML
3	1	218,171	4					Parser
2	0	216,576	5						Expat
1	0	63	4					Simple
8	3	193,488	3				Compress
8	2	193,488	4					Raw
4	0	111,845	5						Zlib
4	0	81,643	5						Bzip2
2	3	149,643	3				YAML
1	1	149,504	4					XS
1	0	149,504	5						LibYAML
1	0	139	4					LibYAML
3	1	117,028	3				Bit
3	0	117,028	4					Vector
6	2	115,496	3				List
3	0	71,298	4					MoreUtils
3	0	44,198	4					Util
9	4	104,290	3				Digest
3	0	51,828	4					SHA
2	0	27,719	4					SHA1
3	0	24,644	4					MD5
1	0	99	4					HMAC
3	0	89,710	3				Storable
8	4	89,088	3				PerlIO
2	0	29,184	4					encoding
2	0	25,088	4					via
2	0	20,480	4					scalar
2	0	14,336	4					mmap
2	0	82,432	3				POSIX
6	1	76,517	3				threads
3	0	39,036	4					shared
4	2	68,663	3				B
1	0	29	4					Keywords
1	0	26	4					Debug
10	7	66,386	3				Text
3	0	49,267	4					CSV_XS
2	0	16,896	4					Soundex
1	0	97	4					Diff
1	0	34	4					Autoformat
1	0	34	4					ParseWords
1	0	30	4					Reform
1	0	28	4					Glob
6	2	53,499	3				Time
3	0	28,301	4					Piece
3	0	25,198	4					HiRes
7	5	52,722	3				HTML
3	0	51,512	4					Parser
1	0	1,084	4					Tree
1	0	68	4					Template
1	0	30	4					Tagset
1	0	28	4					Form
7	3	47,968	3				Params
3	0	24,274	4					Classify
3	0	23,663	4					Util
1	0	31	4					Check
11	10	45,675	3				File
2	0	30,208	4					Glob
2	0	14,848	4					DosGlob
1	0	388	4					HomeDir
1	0	77	4					Which
1	1	38	4					Copy
1	0	38	5						Recursive
1	0	31	4					Listing
1	0	29	4					Fetch
1	0	28	4					Next
1	0	28	4					Temp
4	2	45,056	3				Hash
4	1	45,056	4					Util
2	0	23,552	5						FieldHash
6	2	44,734	3				Sys
4	0	29,886	4					Syslog
2	0	14,848	4					Hostname
4	3	42,156	3				Data
2	0	41,984	4					Dumper
1	0	141	4					Dump
1	0	31	4					OptList
2	0	41,982	3				Moose
4	2	37,644	3				Version
2	0	37,376	4					vxs
1	0	39	4					Requirements
6	4	34,186	3				Package
4	1	34,105	4					Stash
3	0	33,914	5						XS
1	0	45	4					DeprecationManager
1	0	36	4					Constants
2	0	32,768	3				Socket
2	0	32,256	3				SDBM_File
2	0	26,624	3				Opcode
7	5	26,537	3				Term
4	0	26,372	4					ReadKey
1	1	78	4					ReadLine
1	0	78	5						Perl
1	0	60	4					UI
1	0	27	4					Cap
3	1	26,141	3				MRO
1	0	29	4					Compat
6	5	25,943	3				IO
1	0	1,201	4					Compress
1	1	112	4					Socket
1	0	112	5						SSL
1	0	28	4					String
1	0	26	4					HTML
2	0	25,088	3				arybase
2	0	22,528	3				Fcntl
3	1	22,166	3				MIME
3	0	22,166	4					Base64
3	2	22,151	3				Math
3	1	22,151	4					BigInt
2	0	22,016	5						FastCalc
2	2	19,968	3				Filter
2	1	19,968	4					Util
2	0	19,968	5						Call
7	6	19,916	3				Class
4	1	19,705	4					Load
3	0	19,644	5						XS
1	0	111	4					Accessor
1	0	59	4					C3
1	1	41	4					Data
1	0	41	5						Inheritable
2	2	18,944	3				Tie
2	1	18,944	4					Hash
2	0	18,944	5						NamedCapture
2	0	18,432	3				attributes
2	0	18,432	3				Cwd
4	0	17,629	3				Clone
6	4	16,695	3				Sub
3	0	16,486	4					Name
1	0	149	4					Exporter
1	0	30	4					Install
1	0	30	4					Uplevel
3	1	15,620	3				Readonly
2	0	15,429	4					XS
2	2	13,613	3				Perl
1	0	13,583	4					Critic
1	0	30	4					OSType
6	7	4,100	3				Module
1	0	3,499	4					Build
1	0	375	4					Pluggable
1	0	110	4					Runtime
1	1	42	4					Load
1	0	42	5						Conditional
1	0	40	4					Implementation
1	0	34	4					Metadata
1	0	3,559	3				PPI
4	5	3,514	3				ActivePerl
1	0	2,961	4					PPM
1	0	487	4					DocTools
1	0	36	4					Config
1	1	30	4					CPAN
1	0	30	5						Config
2	2	2,911	3				PPIx
1	0	2,750	4					Regexp
1	0	161	4					Utilities
4	4	2,440	3				Test
1	0	2,089	4					Harness
1	0	283	4					Simple
1	0	35	4					Differences
1	0	33	4					Exception
5	5	2,437	3				ExtUtils
1	0	1,104	4					MakeMaker
1	0	656	4					CBuilder
1	0	534	4					ParseXS
1	0	108	4					Install
1	0	35	4					Command
2	2	2,035	3				CPANPLUS
1	1	86	4					Dist
1	0	86	5						Build
1	1	1,693	3				Locale
1	0	1,693	4					Codes
1	0	1,495	3				URI
3	3	1,159	3				LWP
1	0	64	4					MediaTypes
1	1	37	4					Protocol
1	0	37	5						https
3	2	1,124	3				Pod
1	0	556	4					Perldoc
1	0	239	4					Parser
3	3	860	3				Archive
1	0	574	4					Zip
1	0	252	4					Tar
1	0	34	4					Extract
1	1	760	3				SQL
1	0	760	4					Statement
6	6	562	3				HTTP
1	0	331	4					Message
1	0	112	4					Cookies
1	0	33	4					Negotiate
1	0	30	4					Daemon
1	0	28	4					Date
1	0	28	4					Tiny
1	1	414	3				Date
1	0	414	4					Calc
2	2	360	3				WWW
1	0	282	4					Mechanize
1	0	78	4					RobotRules
3	2	326	3				JSON
1	0	110	4					PP
1	0	27	4					Any
3	3	319	3				CPAN
3	2	319	4					Meta
1	0	41	5						Requirements
1	0	33	5						YAML
2	2	313	3				Algorithm
1	0	209	4					Diff
1	0	104	4					C3
1	0	246	3				CGI
1	0	220	3				Tkx
1	0	192	3				autodie
1	1	141	3				Log
1	0	141	4					Message
2	1	109	3				Carp
1	0	57	4					Clan
1	1	105	3				Mozilla
1	0	105	4					CA
1	1	73	3				Exception
1	0	73	4					Class
1	0	62	3				ap-iis-config
1	1	58	3				Getopt
1	0	58	4					Long
1	0	57	3				AutoLoader
2	1	56	3				Shell
1	0	32	4					Command
1	0	56	3				Text-Wrap
1	1	38	3				Dist
1	0	38	4					CheckConflicts
1	1	35	3				PPM
1	0	35	4					Repositories
1	1	34	3				Object
1	0	34	4					Accessor
1	2	34	3				Parse
1	1	34	4					CPAN
1	0	34	5						Meta
1	1	32	3				Email
1	0	32	4					Address
1	1	31	3				Eval
1	0	31	4					Closure
1	1	30	3				Config
1	0	30	4					Tiny
1	1	30	3				Scope
1	0	30	4					Guard
1	1	30	3				Task
1	0	30	4					Weaken
1	1	27	3				Try
1	0	27	4					Tiny
1	1	26	3				IPC
1	0	26	4					Cmd
1	0	25	3				parent
1	0	24	3				mylib
1	0	22	3				lib
1	0	2	3				sdbm
1	0	2	3				Win32CORE
178	0	6,962,125	2			pods
95	3	3,225,003	2			Unicode
92	2	3,007,245	3				Collate
82	0	928,166	4					Locale
7	0	516,826	4					CJK
85	2	2,962,667	2			CORE
1	0	10,688	3				sys
1	0	55	3				arpa
887	70	2,833,870	2			unicore
34	0	852,545	3				To
843	68	789,491	3				lib
221	0	96,489	4					Blk
39	0	83,931	4					Perl
13	0	67,648	4					In
36	0	65,025	4					Gc
117	0	59,517	4					Nv
95	0	53,684	4					Sc
31	0	33,379	4					Lb
13	0	30,607	4					SB
55	0	27,349	4					Ccc
58	0	25,934	4					Jg
15	0	23,915	4					Age
32	0	19,565	4					Scx
19	0	17,505	4					Bc
10	0	15,849	4					WB
17	0	14,139	4					Dt
6	0	8,596	4					GCB
2	0	8,596	4					NFKDQC
5	0	7,690	4					Jt
1	0	7,502	4					GrBase
1	0	7,460	4					CWKCF
1	0	6,663	4					XIDC
1	0	6,604	4					IDC
5	0	6,488	4					Ea
1	0	6,304	4					Alpha
2	0	6,245	4					NFKCQC
1	0	5,751	4					XIDS
1	0	5,708	4					Lower
1	0	5,698	4					IDS
1	0	5,612	4					Upper
2	0	5,298	4					NFDQC
1	0	5,286	4					CWT
1	0	5,279	4					CWCF
1	0	5,275	4					CWU
1	0	5,164	4					CWL
3	0	4,461	4					Nt
1	0	3,333	4					CI
2	0	2,267	4					NFCQC
1	0	1,870	4					Math
1	0	1,710	4					Cased
1	0	1,646	4					Dia
1	0	1,538	4					BidiM
1	0	1,479	4					CWCM
1	0	1,119	4					Term
1	0	1,085	4					CompEx
1	0	908	4					STerm
1	0	742	4					SD
1	0	724	4					CE
1	0	704	4					PatSyn
1	0	655	4					NChar
1	0	614	4					Ext
1	0	592	4					Dash
1	0	577	4					DI
1	0	552	4					Ideo
1	0	552	4					UIdeo
1	0	537	4					QMark
1	0	510	4					Dep
1	0	506	4					Hyphen
1	0	491	4					Hst
1	0	489	4					Hex
1	0	475	4					LOE
1	0	472	4					PatWS
1	0	458	4					VS
1	0	456	4					AHex
1	0	456	4					Radical
1	0	445	4					BidiC
1	0	445	4					IDSB
1	0	434	4					IDST
1	0	434	4					JoinC
49	2	2,177,385	2			Locale
32	0	1,997,399	3				Codes
5	0	50,694	3				Maketext
196	29	1,371,928	2			Perl
193	28	1,309,081	3				Critic
141	17	799,518	4					Policy
21	0	127,279	5						ValuesAndExpressions
12	0	88,957	5						RegularExpressions
15	0	86,781	5						Variables
12	0	75,823	5						Subroutines
14	0	61,883	5						InputOutput
11	0	57,836	5						Modules
15	0	51,998	5						BuiltinFunctions
10	0	47,173	5						ControlStructures
5	0	42,442	5						Documentation
7	0	36,026	5						CodeLayout
2	0	33,303	5						NamingConventions
6	0	31,806	5						TestingAndDebugging
2	0	28,290	5						ErrorHandling
4	0	14,965	5						Miscellanea
3	0	7,540	5						ClassHierarchies
1	0	4,718	5						Objects
1	0	2,698	5						References
7	1	48,932	4					Utils
1	0	2,892	5						POD
17	5	44,834	4					Exception
9	3	24,955	5						Configuration
3	0	5,757	5						Fatal
6	1	25,940	4					PolicyParameter
5	0	23,023	5						Behavior
41	8	1,147,499	2			DBD
3	0	159,709	3				ODBC
12	1	118,807	3				Oracle
9	0	98,501	4					Troubleshooting
9	2	46,655	3				Gofer
5	0	35,428	4					Transport
4	0	11,227	4					Policy
3	0	31,557	3				File
1	0	5,045	3				SQLite
38	7	1,091,304	2			Devel
28	2	606,527	3				NYTProf
15	1	493,615	4					js
9	0	415,349	5						jit
1	2	171,520	3				auto
1	1	171,520	4					Devel
1	0	171,520	5						NYTProf
1	0	5,003	3				StackTrace
63	3	1,040,378	2			Pod
28	0	347,527	3				Simple
12	0	42,852	3				Perldoc
3	0	16,910	3				Text
42	5	990,245	2			Module
29	1	344,641	3				Build
14	0	33,567	4					Platform
2	0	21,348	3				CoreList
1	0	17,953	3				Load
1	0	12,111	3				Pluggable
183	35	893,074	2			Moose
121	22	372,139	3				Meta
83	9	100,085	4					Method
76	8	74,625	5						Accessor
10	2	46,056	4					Role
4	0	26,054	5						Application
2	0	3,904	5						Method
8	0	40,411	4					TypeConstraint
9	2	40,186	4					Attribute
8	1	32,756	5						Native
1	0	3,121	4					Mixin
1	0	2,361	4					TypeCoercion
1	1	1,848	4					Class
1	0	1,848	5						Immutable
1	0	1,527	4					Object
16	0	191,216	3				Manual
28	6	168,969	3				Cookbook
11	0	83,699	4					Basics
5	0	26,097	4					Meta
3	0	19,513	4					Extending
3	0	17,821	4					Roles
3	0	15,250	4					Legacy
2	0	5,742	4					Snack
3	1	61,896	3				Util
1	0	10,780	4					TypeConstraints
1	0	9,318	3				Spec
4	0	6,571	3				Error
67	9	837,669	2			ExtUtils
4	0	62,907	3				Constant
12	2	47,456	3				CBuilder
11	1	37,197	4					Platform
3	0	10,956	5						Windows
1	0	24,366	3				Liblist
4	0	21,425	3				ParseXS
3	0	18,656	3				MakeMaker
4	0	12,599	3				Typemaps
1	0	7,383	3				Command
29	3	788,236	2			Net
2	0	17,916	3				HTTP
1	0	10,458	3				SSLeay
5	0	6,594	3				FTP
42	4	780,692	2			Win32
8	0	122,652	3				OLE
5	1	72,247	3				API
1	0	8,298	4					Callback
1	0	19,452	3				Console
42	10	778,194	2			IO
11	1	275,545	3				Uncompress
3	0	9,905	4					Adapter
15	5	251,553	3				Compress
1	0	23,099	4					Base
2	0	7,369	4					Zlib
3	0	7,178	4					Adapter
1	0	3,903	4					Gzip
1	0	3,848	4					Zip
5	1	143,169	3				Socket
2	0	20,609	4					SSL
45	7	704,039	2			CPAN
8	0	160,026	3				Meta
2	0	10,593	3				HTTP
4	0	6,150	3				Exception
2	0	4,820	3				Kwalify
1	0	2,792	3				LWP
1	0	1,562	3				FTP
1	0	1,067	3				API
31	10	701,339	2			DBI
4	1	116,462	3				DBD
2	0	37,794	4					SqlEngine
4	1	79,275	3				Const
2	0	75,605	4					GetInfo
9	2	55,256	3				Gofer
3	0	8,408	4					Transport
3	0	4,253	4					Serializer
1	0	30,195	3				SQL
1	0	6,553	3				ProfileDumper
2	0	3,991	3				Util
43	15	647,914	2			CPANPLUS
12	4	173,819	3				Internals
3	1	23,186	4					Source
1	0	3,030	5						SQLite
1	0	15,394	4					Constants
1	0	113	4					Utils
6	2	110,641	3				Shell
4	1	17,136	4					Default
4	0	17,136	5						Plugins
6	1	77,457	3				Dist
1	0	2,008	4					Build
1	0	50,654	3				Configure
5	1	18,184	3				Module
1	0	1,769	4					Author
1	0	3,856	3				Backend
1	0	1,274	3				Config
20	3	636,247	2			HTML
3	0	106,800	3				Tree
1	0	10,219	3				Element
1	0	5,542	3				Template
69	7	569,275	2			ActivePerl
59	3	494,260	3				PPM
6	0	226,362	4					tcl
36	0	49,295	4					images
1	0	1,480	4					Status
7	2	54,379	3				DocTools
4	0	32,538	4					TOC
1	0	4,635	4					Tree
12	2	537,979	2			Date
4	0	208,186	3				Calendar
4	0	190,798	3				Calc
10	2	509,420	2			Math
4	0	92,357	3				BigInt
1	0	1,250	3				BigFloat
35	4	483,515	2			File
8	0	83,032	3				Spec
9	1	31,939	3				HomeDir
2	0	8,184	4					Darwin
1	0	22,545	3				Copy
93	13	462,804	2			PPI
45	5	165,345	3				Token
2	0	15,538	4					_QuoteEngine
6	0	14,183	4					Number
4	0	12,494	4					Quote
5	0	9,037	4					QuoteLike
3	0	4,410	4					Regexp
16	1	49,902	3				Statement
1	0	1,675	4					Include
3	0	12,958	3				Document
9	0	12,524	3				Structure
1	0	3,695	3				Transform
1	0	3,210	3				Normal
2	0	340	3				Exception
33	4	449,607	2			XML
30	2	302,997	3				Parser
23	0	257,969	4					Encodings
5	0	9,447	4					Style
1	0	20,009	3				Simple
20	2	386,649	2			SQL
13	0	176,939	3				Statement
4	0	6,839	3				Dialects
17	2	332,791	2			Archive
12	0	115,752	3				Zip
2	0	22,898	3				Tar
13	1	314,336	2			Text
2	0	17,451	3				Diff
63	9	309,340	2			PPIx
58	6	271,721	3				Regexp
32	3	128,124	4					Token
7	0	17,336	5						GroupType
3	1	10,368	5						CharClass
15	0	30,951	4					Structure
1	0	1,483	4					Node
3	1	16,182	3				Utilities
1	0	1,701	4					Exception
32	9	308,944	2			Class
21	4	189,785	3				MOP
7	0	33,599	4					Method
3	0	14,557	4					Mixin
1	1	3,018	4					Class
1	0	3,018	5						Immutable
2	0	4,710	3				Accessor
1	0	4,067	3				Data
1	0	2,254	3				C3
2	0	2,140	3				Load
23	2	306,893	2			GD
14	0	144,973	3				Graph
2	0	23,830	3				Text
9	1	285,414	2			B
1	0	1,579	3				Lint
45	10	280,107	2			TAP
31	5	142,367	3				Parser
5	0	21,921	4					SourceHandler
8	0	13,766	4					Result
2	0	12,837	4					YAMLish
3	0	12,528	4					Iterator
2	0	3,191	4					Scheduler
8	2	34,671	3				Formatter
2	0	10,224	4					Console
1	0	2,643	4					File
2	0	19,306	3				Harness
9	2	266,461	2			Term
2	0	137,772	3				ReadLine
1	0	2,920	3				UI
3	1	257,664	2			Mozilla
1	0	248,215	3				CA
17	3	248,724	2			HTTP
1	0	14,390	3				Request
2	0	11,085	3				Cookies
3	0	9,050	3				Headers
14	5	247,627	2			Test
4	2	34,281	3				Builder
1	0	13,612	4					IO
1	0	973	4					Tester
1	1	13,610	3				Perl
1	0	13,610	4					Critic
5	2	217,914	2			Win32API
1	0	6,104	3				File
1	0	3,737	3				Registry
25	2	215,527	2			LWP
12	0	57,194	3				Protocol
3	0	9,243	3				Authen
46	8	207,831	2			ActiveState
17	2	18,684	3				PerlCritic
13	0	6,078	4					img
1	0	3,735	4					UserProfile
1	0	14,053	3				Config
3	0	12,943	3				Tkx
1	0	6,801	3				Scineplex
2	0	4,452	3				CPAN
1	0	1,606	3				Win32
6	1	197,813	2			Bit
4	0	92,812	3				Vector
8	2	194,775	2			JSON
3	0	7,067	3				backportPP
2	0	4,364	3				PP
33	6	170,081	2			Encode
3	1	13,618	3				MIME
1	0	3,107	4					Header
2	0	9,297	3				JP
1	0	5,964	3				CN
1	0	3,810	3				Unicode
1	0	1,900	3				KR
8	2	136,554	2			WWW
5	0	39,447	3				Mechanize
1	0	3,617	3				RobotRules
11	1	120,291	2			Tie
1	0	1,542	3				Hash
3	1	101,872	2			Compress
2	0	58,009	3				Raw
7	0	101,411	2			Algorithm
51	2	93,965	2			URI
7	0	7,968	3				file
2	0	2,775	3				urn
2	0	89,022	2			Getopt
6	1	85,808	2			Data
3	0	16,778	3				Dump
7	1	83,669	2			Sub
3	0	26,675	3				Exporter
3	0	81,965	2			IPC
8	0	74,639	2			CGI
5	3	70,928	2			App
3	2	20,052	3				Prove
2	1	8,363	4					State
1	0	3,418	5						Result
7	0	69,313	2			Time
4	1	68,833	2			I18N
2	0	35,370	3				LangTags
4	0	60,763	2			version
3	1	57,958	2			Sys
1	0	8,009	3				Syslog
3	0	57,103	2			Params
2	1	49,094	2			Hash
1	0	29,768	3				Util
8	0	46,795	2			Digest
4	1	38,344	2			autodie
1	0	1,629	3				exception
2	1	36,631	2			Filter
1	0	12,800	3				Util
5	1	36,616	2			Log
4	0	21,302	3				Message
6	1	35,521	2			Package
3	0	17,467	3				Stash
3	1	33,988	2			List
1	0	1,004	3				Util
1	0	30,303	2			Attribute
2	1	30,177	2			Exception
1	0	14,177	3				Class
3	0	26,974	2			Tkx
3	1	24,675	2			Config
1	0	13,125	3				Perl
1	0	23,116	2			Object
2	0	22,299	2			Thread
1	0	19,984	2			threads
7	0	18,698	2			Memoize
1	0	17,473	2			Try
1	0	15,776	2			PPM
1	0	14,872	2			Email
3	0	12,851	2			Carp
2	0	12,773	2			User
5	1	12,582	2			PerlIO
1	0	2,589	3				via
1	0	10,974	2			MRO
2	1	9,806	2			inc
1	0	2,279	3				latest
1	0	9,742	2			Dist
1	0	9,697	2			Eval
2	0	8,740	2			MIME
1	1	8,553	2			Parse
1	0	8,553	3				CPAN
1	0	8,511	2			Scalar
1	0	6,378	2			Exporter
1	0	6,236	2			encoding
3	1	5,590	2			YAML
1	0	248	3				XS
4	0	5,423	2			Readonly
5	0	4,750	2			DBM_Filter
1	0	3,809	2			Scope
1	0	3,349	2			Search
1	0	3,024	2			Tcl
1	0	2,703	2			Task
3	1	2,649	2			Bundle
2	0	1,483	3				DBD
1	0	1,893	2			Shell
1	0	1,811	2			overload
1	0	772	2			warnings
1,800	331	37,325,915	1		html
1,666	323	35,985,477	2			lib
178	0	12,153,627	3				pods
38	8	1,789,062	3				DBD
3	0	321,432	4					ODBC
12	1	278,570	4					Oracle
9	0	267,295	5						Troubleshooting
3	0	75,886	4					File
9	2	40,017	4					Gofer
5	0	27,953	5						Transport
4	0	12,064	5						Policy
1	0	23,801	4					SQLite
107	26	1,201,680	3				Moose
16	0	401,321	4					Manual
28	6	393,094	4					Cookbook
11	0	184,951	5						Basics
5	0	66,985	5						Meta
3	0	41,425	5						Roles
3	0	41,229	5						Extending
3	0	38,106	5						Legacy
2	0	18,403	5						Snack
45	13	243,443	4					Meta
9	2	85,537	5						Attribute
10	2	31,548	5						Role
8	0	31,253	5						TypeConstraint
7	0	20,845	5						Method
1	0	2,737	5						TypeCoercion
1	0	2,166	5						Mixin
1	0	2,097	5						Object
1	1	2,067	5						Class
3	1	60,320	4					Util
1	0	688	5						TypeConstraints
1	0	18,641	4					Spec
4	0	9,179	4					Error
30	10	1,181,797	3				DBI
4	1	145,218	4					DBD
2	0	97,380	5						SqlEngine
1	0	29,417	4					SQL
9	2	26,879	4					Gofer
3	0	7,151	5						Serializer
3	0	4,964	5						Transport
1	0	10,559	4					ProfileDumper
4	1	7,815	4					Const
2	0	4,839	5						GetInfo
1	0	2,477	4					Util
196	29	1,121,966	3				Perl
193	28	1,037,766	4					Critic
141	17	614,010	5						Policy
17	5	43,905	5						Exception
7	1	37,175	5						Utils
6	1	17,681	5						PolicyParameter
21	2	1,022,810	3				Net
1	0	12,513	4					SSLeay
1	0	5,512	4					HTTP
53	4	984,082	3				Win32
20	0	208,091	4					OLE
5	1	47,123	4					API
1	0	16,406	5						Callback
1	0	30,535	4					Console
31	4	837,347	3				IO
8	0	334,437	4					Uncompress
7	0	297,547	4					Compress
5	1	98,749	4					Socket
2	0	18,616	5						SSL
54	3	603,218	3				Pod
21	0	233,796	4					Simple
12	0	33,362	4					Perldoc
3	0	12,300	4					Text
6	2	578,351	3				Date
2	0	119,675	4					Calc
2	0	102,604	4					Calendar
20	3	534,028	3				HTML
3	0	127,769	4					Tree
1	0	13,834	4					Element
1	0	10,430	4					Template
49	7	452,622	3				ExtUtils
3	0	36,715	4					MakeMaker
3	0	18,416	4					ParseXS
4	0	16,050	4					Typemaps
3	0	15,188	4					Constant
1	0	5,410	4					Command
1	1	1,827	4					CBuilder
1	0	1,827	5						Platform
8	1	439,766	3				Math
3	0	24,673	4					BigInt
35	4	412,802	3				File
8	0	63,202	4					Spec
9	1	32,871	4					HomeDir
2	0	7,842	5						Darwin
1	0	28,533	4					Copy
45	10	409,565	3				TAP
31	5	237,542	4					Parser
5	0	39,775	5						SourceHandler
8	0	29,527	5						Result
3	0	13,467	5						Iterator
2	0	13,142	5						YAMLish
2	0	7,746	5						Scheduler
2	0	29,067	4					Harness
8	2	23,530	4					Formatter
2	0	3,748	5						Console
1	0	1,711	5						File
88	12	392,663	3				PPI
45	5	139,216	4					Token
6	0	16,682	5						Number
5	0	14,574	5						QuoteLike
4	0	11,024	5						Quote
3	0	8,962	5						Regexp
2	0	2,714	5						_QuoteEngine
16	1	63,534	4					Statement
1	0	3,277	5						Include
9	0	27,211	4					Structure
3	0	12,594	4					Document
1	0	4,018	4					Transform
1	0	1,823	4					Normal
13	1	391,745	3				Text
2	0	12,677	4					Diff
20	2	339,093	3				SQL
13	0	254,117	4					Statement
4	0	10,160	4					Dialects
3	1	338,462	3				Bit
2	0	110,587	4					Vector
37	5	331,285	3				Module
26	1	184,567	4					Build
14	0	24,025	5						Platform
1	0	14,698	4					Load
1	0	6,230	4					CoreList
1	0	2,538	4					Pluggable
14	5	324,055	3				Test
4	2	32,124	4					Builder
1	0	9,995	5						IO
1	0	2,052	5						Tester
1	1	10,679	4					Perl
1	0	10,679	5						Critic
63	9	323,425	3				PPIx
58	6	272,579	4					Regexp
32	3	122,966	5						Token
15	0	52,573	5						Structure
1	0	3,135	5						Node
3	1	16,391	4					Utilities
1	0	1,990	5						Exception
22	2	319,016	3				Locale
11	0	104,146	4					Codes
5	0	79,807	4					Maketext
31	9	293,470	3				Class
21	4	136,555	4					MOP
7	0	23,608	5						Method
3	0	6,127	5						Mixin
1	1	2,003	5						Class
1	0	8,998	4					Data
2	0	5,269	4					Accessor
1	0	1,796	4					C3
1	0	1,714	4					Load
3	0	287,243	3				Win32API
37	11	264,508	3				CPANPLUS
8	1	56,508	4					Internals
2	0	3,659	5						Source
6	1	34,936	4					Dist
1	0	1,936	5						Build
6	2	29,008	4					Shell
4	1	18,624	5						Default
4	1	13,344	4					Module
1	0	2,665	5						Author
1	0	5,760	4					Backend
1	0	2,459	4					Config
11	2	260,594	3				Unicode
8	1	34,884	4					Collate
7	0	20,587	5						CJK
13	2	227,249	3				GD
5	0	53,679	4					Graph
2	0	20,727	4					Text
8	2	226,408	3				WWW
5	0	125,423	4					Mechanize
1	0	3,343	4					RobotRules
7	2	226,206	3				Archive
3	0	35,237	4					Zip
1	0	11,555	4					Tar
9	3	220,007	3				XML
6	1	43,658	4					Parser
5	0	15,339	5						Style
1	0	40,594	4					Simple
20	2	207,151	3				CPAN
8	0	120,841	4					Meta
1	0	3,641	4					API
16	2	202,456	3				Devel
7	0	43,454	4					NYTProf
1	0	2,445	4					StackTrace
25	5	198,814	3				Encode
2	0	4,564	4					MIME
1	0	3,045	4					Unicode
2	0	1,655	4					JP
1	0	826	4					KR
1	0	821	4					CN
15	3	184,638	3				HTTP
1	0	16,399	4					Request
2	0	7,742	4					Cookies
1	0	6,608	4					Headers
8	2	179,080	3				JSON
3	0	4,262	4					backportPP
2	0	2,865	4					PP
3	1	151,533	3				Compress
2	0	89,053	4					Raw
24	4	146,130	3				ActiveState
1	0	10,147	4					Config
1	0	7,004	4					PerlCritic
1	0	4,795	4					Tkx
1	0	2,789	4					Win32
7	1	144,884	3				Sub
3	0	66,099	4					Exporter
9	1	118,579	3				B
1	0	1,045	4					Lint
7	1	114,249	3				Term
1	0	3,818	4					UI
11	1	104,218	3				Tie
1	0	3,302	4					Hash
3	0	103,042	3				Algorithm
10	2	97,349	3				LWP
1	0	7,633	4					Authen
1	0	3,441	4					Protocol
2	1	93,885	3				Hash
1	0	65,162	4					Util
5	1	91,056	3				Data
2	0	14,721	4					Dump
8	0	90,761	3				Digest
4	1	85,987	3				I18N
2	0	51,569	4					LangTags
7	0	82,050	3				Time
8	0	81,529	3				CGI
9	2	81,465	3				ActivePerl
7	0	71,109	4					PPM
1	0	3,654	4					DocTools
2	0	80,864	3				Getopt
2	0	66,573	3				version
3	0	65,421	3				Params
3	1	63,546	3				List
1	0	2,256	4					Util
2	1	63,079	3				Filter
1	0	29,119	4					Util
3	0	62,311	3				Tkx
1	0	61,068	3				Attribute
10	0	60,067	3				URI
4	1	51,080	3				autodie
1	0	3,221	4					exception
1	0	45,355	3				threads
5	3	44,021	3				App
3	2	17,614	4					Prove
2	1	12,062	5						State
5	1	43,964	3				Log
4	0	25,944	4					Message
3	0	43,649	3				IPC
2	1	43,463	3				Exception
1	0	17,862	4					Class
3	1	40,931	3				Sys
1	0	1,721	4					Syslog
6	1	39,577	3				Package
3	0	9,264	4					Stash
2	0	33,277	3				Thread
1	0	32,192	3				Object
3	1	31,328	3				Config
1	0	8,827	4					Perl
1	0	31,284	3				Try
5	1	27,755	3				PerlIO
1	0	3,503	4					via
7	0	24,980	3				Memoize
1	0	22,095	3				Scalar
1	0	17,205	3				Email
2	0	15,945	3				MIME
2	0	15,252	3				User
1	1	12,641	3				Parse
1	0	12,641	4					CPAN
5	0	12,081	3				DBM_Filter
1	0	10,673	3				MRO
1	0	9,822	3				PPM
1	0	9,418	3				encoding
1	0	8,879	3				Eval
1	0	8,486	3				Dist
1	0	8,227	3				Scope
1	0	7,638	3				Carp
1	0	6,644	3				inc
1	0	6,601	3				Tcl
3	1	5,873	3				Bundle
2	0	3,628	4					DBD
2	1	5,276	3				YAML
1	0	825	4					XS
1	0	5,261	3				Mozilla
1	0	4,486	3				Task
1	0	3,714	3				Readonly
1	0	2,834	3				Search
1	0	2,408	3				Shell
1	0	1,375	3				warnings
1	0	1,036	3				Exporter
63	0	569,556	2			bin
13	1	204,402	2			faq
9	0	151,432	3				Windows
3	0	113,013	2			Windows
29	0	110,722	2			images
4	1	29,652	2			Components
3	0	26,828	3				Windows
128	0	4,847,832	1		bin
1	0	771,072	1		etc
47	2	747,935	1		man
46	0	739,381	2			man3
1	0	8,554	2			man1
57	6	123,981	1		eg
35	0	92,906	2			aspSamples
8	0	24,526	2			IEExamples
8	0	2,510	2			Windows Script Host
1	0	1,691	2			fork
2	0	1,230	2			Windows Script Components
1	0	270	2			cgi
2	3	11,295	1		site
1	0	11,264	2			etc
1	0	31	2			lib
0	0	0	2			bin
0	0	0	1		privsym
documents/csharp/code-007.txt · 最終更新: 2024/11/02 13:39 by k896951

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki