Statistics

Top  Previous  Next

 VS   VB6   VBA 

The Statistics feature allows you to generate a number of statistics about each file of your source code. These include:

  • The number and percentage of code lines.
  • The number and percentage of comment lines.
  • The number and percentage of blank lines.
  • The total number of lines.
  • The number of classes, modules, methods, properties, enums, etc.

MZ-Tools offers the following ways to generate statistics:

  • The MZ-Tools | Other Utilities | Statistics menu.
  • The Statistics button on the MZ-Tools - Other Utilities toolbar.
  • In Visual Studio 2015 and higher, the keyboard shortcut associated with the MZTools.Statistics command.
  • In Visual Studio 2013 and lower, the keyboard shortcut associated with the MZTools8.Statistics command.
  • In VB6 / VBA, the keyboard shortcut associated with the Statistics feature.

The statistics are shown in the Statistics window:

Statistics

You can sort the statistics on any column, export them to a text file (tab delimited) or copy them to the clipboard so that they may be pasted into another document such as a Microsoft Excel, for example.

If your source code files are grouped in folders, there is also a button on the toolbar that allows you whether or not to include partial statistics for the folders in the hierarchy of results.

See Also:

Keyboard Shortcuts Options