File Fragmentation Reports

Every time you run a disk analysis, defragmentation or optimization, UltraDefrag produces the file fragmentation report with a full list of fragmented files located on the disk.

UltraDefrag saves file fragmentation reports in the LuaReport format. This raw format is used then to generate HTML and plain text reports from. You can configure the generated report type through the udreportopts.lua file described below. Plain text reports are used to ensure that the report will be accessible even on machines without any web browser installed.

UltraDefrag saves all reports to the root directories of the processed disks. To open LuaReport click the fraglist.luar file in Explorer or simply click the Report button in the UltraDefrag GUI after a disk processing/analysis job has completed.

To distinguish between old and new reports, the date and time is included in the header of the report.

When you are opening the LuaReport a single HTML page or plain text file is generated and opened in your default web browser or text editor. It contains the list of fragmented files. The meaning of the columns is described below.

By default, all files are sorted by number of fragments in descending order. To change the sorting click the column heading by which to sort the list. The sorting is a slow process (~350 lines/sec on 1.8GHz CPU). However, being implemented in JavaScript, it is very reliable.

Note
Reports never contain files excluded from the processing, because only files affecting system performance should get our attention.

Columns

Fragments
The number of fragments.
Filesize
The size of the file.
Comment
[OVR] for files above the size threshold, [DIR] for directories and [CMP] for NTFS compressed files
Status
This is the reason the file is still fragmented. The following states are displayed:
locked, move failed, invalid (the file system needs to be checked - run CHKDSK {Driveletter} /F /R)
If no reason is specified the file simply requires more continuous free space in order to be processed.
Filename
This is the full path of the file.

Configuring

All options related to file fragmentation reports are contained in the udreportopts.lua file inside the /options sub-folder of the program's directory.

To open this file for editing click its icon in Explorer or simply select Settings => Reports from the UltraDefrag GUI menu.

The udreportopts.lua file contains parameter-value pairs and comments (they are starting with double dashes). However this file is a real program written in the Lua programming language.

The following configuration is used by default:

-------------------------------------------------------------------------------
-- Ultra Defragmenter report options (default).
-- Save your personal preferences as udreportopts-custom.lua
-- to ensure that they will not be overwritten on upgrade.
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
-- Set this parameter to zero to disable HTML reports generation.
-------------------------------------------------------------------------------
produce_html_report = 1

-------------------------------------------------------------------------------
-- Set this parameter to 1 to enable generation of plain text reports.
-------------------------------------------------------------------------------
produce_plain_text_report = 0

-------------------------------------------------------------------------------
-- All the following options were primarily designed to achieve better
-- compatibility with old web browsers.
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
-- Set enable_sorting to zero if your web browser is too old
-- and you have error messages about invalid javascript code.
-------------------------------------------------------------------------------
enable_sorting = 1

-------------------------------------------------------------------------------
-- Set this parameter to 1 if you prefer to look at filenames split
-- into few short lines. If you prefer to use fullscreen mode of your
-- web browser then set this parameter to zero.
-------------------------------------------------------------------------------
split_long_names = 0

-------------------------------------------------------------------------------
-- Set here maximum number of characters per line in filename cells.
-------------------------------------------------------------------------------
max_chars_per_line = 50

-------------------------------------------------------------------------------
-- The web page style can be set through udreport.css style sheet.
-------------------------------------------------------------------------------

If you have problems editing configuration files, use the Tools > Folder options > File types menu in Explorer to associate the lua extension with your preferred text editor.


Previous: Boot Time Defragmentation Next: Tips and Tricks