Sloc count tool


















The CodeCount toolset is provided in source code only, and may be used as is, modified or further distributed subject to certain limitations. The tools in the collection are supplied in C source code only.

You are responsible for compiling and building executable versions. The Instructions provide installation and execution directions. New in v1. Create your own file types and comment types. Virtually unlimited file types supported.

Easily define each file type's comment and count them all. Smart Comment feature - knows which comment types are used by each language and counts accordingly. Save and load count profiles - no need to enter the same information over and over for the same source files to count. Sortable results grid - sort by total lines, total comments, total blank lines, total source code only lines, ascending or descending order. Export to CSV file or cut and paste into spreadsheet i.

Excel for more detailed analysis. CLOC Exists as a single, self-contained file that requires minimal installation effortjust download the file and run it.

Can read language comment definitions from a file and thus potentially work with computer languages that do not yet exist. Allows results from multiple runs to be summed together by language and by project.

Can count code within compressed archives tar balls, Zip files, Java. Has numerous troubleshooting options. Handles file and directory names with spaces and other unusual characters.

Has no dependencies outside the standard Perl distribution. The unique ability of RSM to support virtually any operating system provides your enterprise with the ability to standardize the measurement of source code quality and metrics throughout your organization. RSM provides the fastest, most flexible and easy-to-use tool to assist in the measurement of code quality and metrics.

EZ-Metrix supports software development estimates, productivity measurement, schedule forecasting and quality analysis. With an easy Internet-based interface, multiple language support and flexible licensing features, you will be up and running in minutes with EZ-Metrix. Measure source code size from virtually all text-based languages and from any platform or operating system with the same utility. McCabe IQ enables you to deliver better, more reliable software to your end-users, and is known worldwide as the gold standard for the analysis, comprehension, testing, and reengineering of new software and legacy systems.

McCabe IQ uses advanced software metrics to identify, objectively measure, and report on the complexity and quality of your code at the application and enterprise level.

You must be logged in to post a comment. You would end up with messy trend graph because they name programming languages differently. Delete all affected builds and rebuild the job in such case to fix the issue.

If you uses sloccount for multiple jobs sometimes two jobs end at the same time and sloccount is executed simultaneously. Either change sloccount to not use a temp data directory or change the setup explanation so novice users like me are explained to use the --datadir option in order to get a datadir per hudson job.

The converted paths are passed as environment variables to Cygwin. You may have to adjust the paths used in the snippet, if your Jenkins workspace is on another drive than C.

You need also a whatever tool for XML transformations xsltproc used or you can try clokins tool not tested at all. Copy-paste the script below and store it to cloc2sloccount. If you are using master and slave machines, store the script to all slaves where the jobs are executed. Change configuration of your job to execute the following shell script. Update the path to the directory where your source files are stored and optionally pass additional parameters to cloc.

View these issues in Jira. Jenkins What is CDF? Jenkins X Tekton Spinnaker. Parsing of reports generated by cloc tool. Configuration of the files to scan after a build.

Trend reports showing the number of lines per language.



0コメント

  • 1000 / 1000