代码统计和度量工具

CCCC - $0

CCCCis a tool which analyzes and generates a report on various metrics of the code.Metrics supported include lines of code, McCabe's complexity and metricsproposed by Chidamber & Kemerer and Henry & Kafura.

Languages: C++, Java

USC CodeCount - $0

CodeCountautomates the collection of source code sizing information. The CodeCounttoolset utilizes one of two possible source lines of code (SLOC) definitions,physical or logical. UCC is a unified and enhanced version of the CodeCounttoolset. It is a code counting and differencing tool that unifies the sourcecounting capabilities of the previous CodeCount tools and source differencingcapabilities of the Difftool (which is now replaced by UCC). It allows the userto count, compare, and collect logical differentials between two versions ofthe source code of a software product. The differencing capabilities allowusers to count the number of added/new, deleted, modified, and unmodifiedlogical SLOC of the current version in comparison with the previous version.With the counting capabilities, users can generate the physical, logical SLOCcounts, and other sizing information such as comment and keyword counts of thetarget program.

Languages: Ada, Assembly, C, C++,COBOL, Fortran, Java, JOVIAL, Pascal, PL1

USC COCOMO - $0

COCOMO (COnstructive COst MOdel), is a tool whichallows one to estimate the cost, effort, and schedule associated with aprospective software development project.

CLOC - $0

CLOCcounts blank lines, comment lines, and physical lines of source code in manyprogramming languages. Given two versions of a code base, cloc can also computechanges in blank, comment, and source lines. It is written entirely in Perlwith no dependencies outside the standard distribution of Perl v5.6 and higherand so is quite portable. cloc is known to run on many flavors of Linux, Mac OSX, AIX, Solaris, IRIX, z/OS, and Windows.

Languages: ActionScript, Ada, ASP,C++, COBOL, Fortran, Java, Javascript, Lisp, Lua, Matlab, Pascal, Perl, PHP,Python, Ruby, SQL, and Visual Basic

SLOCCount - $0

SLOCCountis a set of tools for counting physical Source Lines of Code (SLOC) in a largenumber of languages of a potentially large set of programs. SLOCCount canautomatically identify and measure many programming languages.

Languages: Ada, Assembly, awk,Bourne shell and variants, C, C++, C shell, COBOL, C#, Expect, Fortran,Haskell, Java, lex/flex, LISP/Scheme, Makefile, Modula-3, Objective-C, Pascal,Perl, PHP, Python, Ruby, sed, SQL, TCL, and Yacc/Bison.

SourceMonitor - $0

SourceMonitorlets you see inside your software source code to find out how much code youhave and to identify the relative complexity of your modules. For example, youcan use SourceMonitor to identify the code that is most likely to containdefects and thus warrants formal review. Collects metrics in a fast, singlepass through source files. Displays and prints metrics in tables and charts.

Languages: C++, C, C#, Java, Delphi,Visual Basic (VB6) or HTML

LOCC - $0

LOCCis an extensible system for producing hierarchical, incremental measurements ofwork product size that are useful for estimation, planning, and other softwareengineering activities. LOCC supports size measurement of grammar-basedlanguages through integrated support for JavaCC. LOCC produces size datacorresponding to the number of packages, the number of classes in each package,the number of methods in each class, and the number of lines of code in eachmethod.

Languages: C++, Java

NDepend - $0

NDependis a tool for .NET developers and architects. It analyses assemblies and sourcecode of .NET applications and generates reports which contain design qualitymetrics, warnings and advices and diagrams.

Languages: .NET, C#

Eclipse Metrics Plugin - $0

EclipseMetrics Plugin is a metrics calculation and dependency analyzerplugin for the Eclipse platform. Measure various metrics with average andstandard deviation and detect cycles in package and type dependencies and graphthem.

Languages: Java

Code Counter Pro - $25

Code Counter Pro is perfect for those reports youneed to send to your boss - count up all your progamming lines (SLOC, KLOC)automatically, find out your team's productivity, use as handy help formeasuring Function Points through Backfiring, measure comment percentages andmore.

Languages: ASM, COBOL, C, C++, C#,Fortran, Java, JSP, PHP, HTML, Delphi, Pascal, VB, XML

SLOC Metrics - $99

SLOCMetrics measures the size of your source code based on the PhysicalSource Lines of Code metric recommended by the Software Engineering Instituteat Carnegie Mellon University (CMU/SEI-92-TR-019). Specifically, the sourcelines that are included in the count are the lines that contain executable statements,declarations, and/or compiler directives. Comments, and blank lines areexcluded from the count. When a line or statement contains more than one type,it is classified as the type with the highest precedence. The order ofprecedence for the types is: executable, declaration, compiler directive,comment and lastly, white space.

Languages: ASP, C, C++, C#, Java,HTML, Perl, Visual Basic

Resource Standard Metrics - $200

ResourceStandard Metrics, or RSM, is a source code metrics and qualityanalysis tool unlike any other on the market. The unique ability of RSM tosupport virtually any operating system provides your enterprise with theability to standardize the measurement of source code quality and metricsthroughout your organization. RSM provides the fastest, most flexible andeasy-to-use tool to assist in the measurement of code quality and metrics.

Languages: C, C++, C#, Java

SD C# Metrics - $250

Semantic Designs C# Metrics tool computes anumber of useful metrics for C# program source code suites. Metrics computed atmodule level: Source Lines of Code (SLOC), Noncommented Source Lines of Code,Comment Lines, Number of Methods, Decision Density, Cyclomatic Complexity,Maximum loop nesting, Maximum conditional nesting, Halstead measures (volume,difficulty, effort, operators and operands), Software Engineering Institute(SEI) Maintainability Index, and Class and File counts.

Languages: C#

Understand for C++ - $495

Understand for C++ is a reverse engineering,documentation and metrics tool for C and C++ source code. It offers codenavigation using a detailed cross reference, a syntax colorizing"smart" editor, and a variety of graphical reverse engineering views.Understand for C++ is an interactive development environment (IDE) designed tohelp maintain and understand large amounts of legacy or newly created sourcecode.

Languages: C, C++

EZ-Metrix - $495

EZ-Metrix supports software developmentestimates, productivity measurement, schedule forecasting and quality analysis.With an easy Internet-based interface, multiple language support and flexiblelicensing features, you will be up and running in minutes with EZ-Metrix.Measure source code size from virtually all text-based languages and from anyplatform or operating system with the same utility. Size data may be stored inEZ-Metrix's internal database or may be exported for further analysis.

Languages: Ada, ALGOL, antlr, asp,Assembly, awk, bash, BASIC, bison, C, C#, C++, ColdFusion, Delphi, Forth, FORTRAN,Haskell, HTML, Java, Javascript, JOVIAL, jsp, lex, lisp, Makefile, MUMPS,Pascal, Perl, PHP, PL/SQL, PL1, PowerBuilder, ps, Python, Ruby, sdl, sed, SGML,shell, SQL, Visual Basic, XML, Yacc

CMT++ Complexity Measures Tool - $1200

CMT++Complexity Measures Tool gives estimates how error prone the programsource code is due to its complexity, how long it will take to understand thecode, what is the logical volume of the code, etc. The code complexity is knownto correlate with the defect rate and robustness of the application program.

Languages: C, C++

McCabe IQ - $ unknown

McCabe IQenables you to deliver better, more reliable software to your end-users, and isknown worldwide as the gold standard for the analysis, comprehension, testing,and reengineering of new software and legacy systems. McCabe IQ uses advancedsoftware metrics to identify, objectively measure, and report on the complexityand quality of your code at the application and enterprise level.

Languages: Ada, ASM86, C, C#,C++.NET, C++, COBOL, FORTRAN, Java, JSP, Perl, PL1, VB, VB.NET

Semantic Designs - $ unknown

Semantic Designs provides extremely generalizedcompiler technology and services that can be used, for arbitrary mixes ofcomputer languages, to implement: 1) Software Enhancement and Reengineering:Legacy System Migration, Legacy Modernization, Legacy Language Parsers,Software Transformation Tools, Massive Regular Change to Sources, SoftwareReengineering Tools 2) Source Code Documentation: Source Code Formatters,Source Code Obfuscators, Source Code Browsers, Hyperlinked System CrossReference, 3) Software Quality Assessment: Software Metrics Tools, CodingStandards Checkers, Software Quality Analyzers, Test Coverage Tools,Performance Profiling Tools, Source Code Instrumentation, Fact Extraction,Custom Code Analyzers 4) Software Quality Improvement: Redundant Code Detectionand Removal, Dead Code Detection and Removal, Source Code Restructuring Tools,Refactoring Tools, HTML analysis and transformation tools, XML analysis andoptimization tools, Code Optimization Tools, Specification Language Analyzers,5) Code Generation Automated Code Generation, Specification LanguageTranslators, Custom Compilers for Legacy Languages, Domain-Specific LanguageCompilers, Parallel Programming Tools and Languages, 6) Hardware DescriptionLanguages Custom HDL Analyzers, Custom HDL Transformers, Intellectual PropertyProtection, Co-design Tools