GMainWindowClass
0
0
1148
683
Unified Code Counter (UCC)
:/images/gucc.png:/images/gucc.png
-
Qt::Horizontal
-
-
Files/Folders To Count:
-
Qt::CustomContextMenu
QAbstractItemView::ExtendedSelection
-
-
Qt::Horizontal
40
20
-
Add File
:/images/plus_sign.png:/images/plus_sign.png
22
22
-
Add File
-
true
Remove File
:/images/minus_sign.png:/images/minus_sign.png
22
22
-
Remove File
-
Add Folder
:/images/add_folder.png:/images/add_folder.png
22
22
-
Add Folder
-
Qt::Horizontal
40
20
-
-
File Set B to Differentiate:
-
Qt::CustomContextMenu
QAbstractItemView::ExtendedSelection
-
-
Qt::Horizontal
40
20
-
Add File
:/images/plus_sign.png:/images/plus_sign.png
22
22
-
Add File
-
true
Remove File
:/images/minus_sign.png:/images/minus_sign.png
22
22
-
Remove File
-
Add Folder
:/images/add_folder.png:/images/add_folder.png
22
22
-
Add Folder
-
Qt::Horizontal
40
20
-
-
Filter Extensions:
-
QAbstractItemView::ExtendedSelection
-
-
Qt::Horizontal
40
20
-
Clear Extension Selection
:/images/minus_sign.png:/images/minus_sign.png
22
22
-
Clear Selection
-
Qt::Horizontal
40
20
-
500
200
Program Options
10
230
151
21
<html><head/><body><p><span style=" font-weight:600;">Duplicate Threshold (</span><span style=" font-weight:600; font-style:italic;">-tdup <#></span><span style=" font-weight:600;">)</span></p><p>Specifies the percentage of logical source lines of code (LSLOC) that have changed between two files of the same name in order to determine whether the files are duplicates. If the percentage of common LSLOC between two files is less than or equal to the specified threshold, the files are considered duplicates. This method compares LSLOC similar to the differencing function and ignores formatting including blank lines and comments. Note that files of different names may be checked for an exact physical match. The valid range is 0 to 100 and defaults to 0.</p></body></html>
Duplicate Threshold
10
97
111
17
<html><head/><body><p><span style=" font-weight:600;">Differencing (</span><span style=" font-weight:600; font-style:italic;">-d</span><span style=" font-weight:600;">)</span></p><p>Enables the differencing function. If not specified, only the counting functions will execute.</p></body></html>
Differencing
false
10
121
151
17
<html><head/><body><p><span style=" font-weight:600;">Modified Threshold (</span><span style=" font-weight:600; font-style:italic;">-t <#></span><span style=" font-weight:600;">)</span></p><p>Specifies the percentage of common characters between two lines of code that are being compared in order to determine whether the line is modified or replaced. If the percentage of common characters between the compared lines is greater than the specified threshold, the line is considered replaced and will be counted as one line deleted and one line added. Otherwise, it will be counted as one modified line. The valid range is 0 to 100 and defaults to 60.</p></body></html>
Modified Threshold
false
180
120
81
20
0
0
60
10
254
111
20
<html><head/><body><p><span style=" font-weight:600;">Line Truncate (</span><span style=" font-weight:600; font-style:italic;">-trunc <#></span><span style=" font-weight:600;">)</span></p><p>Specifies the maximum number of characters allowed in a logical source line of code (LSLOC). Any characters beyond the specified threshold will be truncated and ignored when compared. If the truncation is disabled by setting the threshold to 0 or the threshold is set too high, very long LSLOC may significantly degrade performance.</p></body></html>
Line Truncate
10
147
191
17
Visual Differencing Result
false
175
253
91
20
0
0
10000
false
175
228
91
21
0
0
0
460
100
161
91
Processing
-
<html><head/><body><p><span style=" font-weight:600;">Process Duplicates (</span><span style=" font-weight:600; font-style:italic;">inverse -nodup</span><span style=" font-weight:600;">)</span></p><p>Enables separate processing of duplicate files. Disabling this avoids extra processing time to determine the presence of duplicate files within each baseline. When disabled, all files will be counted and reported together, regardless of whether they are duplicates. Otherwise, file within a baseline will be checked for duplicates and results will be reported separately. Please see the user manual for details.</p></body></html>
Process Duplicates?
true
-
<html><head/><body><p><span style=" font-weight:600;">Process Complexity (</span><span style=" font-weight:600; font-style:italic;">inverse -nocomplex</span><span style=" font-weight:600;">)</span></p><p>Enables printing of keyword counts and processing of complexity metrics. Disabling this can reduce processing time and limit reports.</p></body></html>
Process Complexity?
true
-
<html><head/><body><p><span style=" font-family:'Calibri';">If this is set then no warning messages will show on the user interface. Warning messages will still be in the log files.</span></p></body></html>
No Warnings
300
100
141
142
Output Format
-
<html><head/><body><p><span style=" font-weight:600;">Comma Separated (</span><span style=" font-weight:600; font-style:italic;">default</span><span style=" font-weight:600;">)</span></p><p>Prints CSV (*.csv) report files instead of ASCII text (*.txt) files. The content of the CSV format is identical to the ASCII format.</p></body></html>
Comma Separated
true
-
<html><head/><body><p><span style=" font-weight:600;">Plain Text (</span><span style=" font-weight:600; font-style:italic;">-ascii</span><span style=" font-weight:600;">)</span></p><p>Prints ASCII text (*.txt) report files instead of CSV (*.csv) files. The content of the ASCII format is identical to the CSV format.</p></body></html>
Plain Text
-
<html><head/><body><p><span style=" font-weight:600;">Legacy Text (</span><span style=" font-weight:600; font-style:italic;">-legacy</span><span style=" font-weight:600;">)</span></p><p>Prints legacy formatted ASCII text report files instead of the current format of the CSV or ASCII text files. The purpose of this option is to maintain backward compatibility with some older UCC results post-processing software systems. This options is rarely required.</p></body></html>
Legacy Text
-
<html><head/><body><p><span style=" font-weight:600;">Unified Output (</span><span style=" font-weight:600; font-style:italic;">-unified</span><span style=" font-weight:600;">)</span></p><p>Prints language report files to a single unified report file. The results are written to 'TOTAL_outfile.csv' or 'TOTAL_outfile.txt'. In the absence of this option, results for each language are written to separate files.</p></body></html>
Unified Output
-
CC4 Enable
10
200
161
21
<html><head/><body><p><span style=" font-family:'Calibri';">Tell UCC what is a reasonable RAM limit to use to decide if a warning is needed about estimated minimum RAM use. # may be 1 (default is 5 if not specified) up to 5120. Each number above zero represents an increment of 100 Mbytes. So 10 is approximately 1 Gbyte and 5120 is exactly 500 Gbytes.</span></p></body></html>
Ram Limit: 1 to 5120
false
175
200
91
21
0
0
20
10
170
131
20
<html><head/><body><p><span style=" font-family:'Calibri';">Tell UCC to use extra worker Threads for faster processing. You should probably not use more than 3 times the number of CPU cores available.</span></p></body></html>
Threads: 2 to 80
180
170
81
20
<html><head/><body><p>Tell UCC that you want to use extra worker threads for faster processing. No extra worker threads will be used if this is not checked. You probably should not use more than 3 times the actual number of CPU cores.</p></body></html>
2
10
23
751
78
-
false
-
<html><head/><body><p><span style=" font-weight:600;">Working Directory</span></p><p>Specifies the directory where any intermediate files will be written. The output files will be written to the working directory by default unless an Output Directory is specified.</p></body></html>
Output Directory
-
-
<html><head/><body><p>Browse the file system for the Working Directory.</p></body></html>
:/images/open.png:/images/open.png
22
22
-
<html><head/><body><p><span style=" font-weight:600;">Extension File (</span><span style=" font-weight:600; font-style:italic;">-extfile <filePath></span><span style=" font-weight:600;">)</span></p><p>Specifies a file containing user specified file extensions for any of the available language counters. Any language counter specified within this file will have its associated extensions replaced. If a language is specified with no extensions, the language counter will be disabled. The file format contains a single line entry for each language. Single or multi-line comments may be included with square brackets []. For example:</p><p>C_CPP = *.cpp, *.h [C/C++ extensions]</p></body></html>
Extension File
-
false
<html><head/><body><p>Browse the file system for the Extension File.</p></body></html>
:/images/open.png:/images/open.png
22
22
640
160
161
17
<html><head/><body><p><span style=" font-weight:600;">Follow Links (</span><span style=" font-weight:600; font-style:italic;">inverse -nolinks</span><span style=" font-weight:600;">)</span></p><p>Enables following symbolic links to directories and counting of links to files on Unix systems. Disabling this can prevent duplicate file counts.</p></body></html>
Follow Links?
640
116
161
21
<html><head/><body><p><span style=" font-weight:600;">Clear Case Files (</span><span style=" font-weight:600; font-style:italic;">-cf</span><span style=" font-weight:600;">)</span></p><p>Indicates that the target files were retrieved from IBM Rational ClearCase. ClearCase appends information at the end of file names beginning with '@@'. Use of this option strips all characters after the last '@@' sequence from the file name.</p></body></html>
Clear Case Files
640
140
161
17
<html><head/><body><p><span style=" font-family:'Calibri';">If this is set then there will be no Uncounted file message for either the user interface or the log files. Not recommended except for experienced users.</span></p></body></html>
No Uncounted File Message
460
190
671
81
Custom Header
10
20
161
21
No Header
540
32
121
31
Add Header File
10
40
521
20
110
90
201
31
<html><head/><body><p><span style=" font-weight:600;">Differencing (</span><span style=" font-weight:600; font-style:italic;">-d</span><span style=" font-weight:600;">)</span></p><p>Enables the differencing function. If not specified, only the counting functions will execute.</p></body></html>
Function Level Differencing
gbxHeader
chkDupThreshold
chkDifferencing
chkModThreshold
txtModThreshold
chkTruncThreshold
chkVisualDiffResult
txtTruncThreshold
txtDupThreshold
grpbProcessing
grpbOutputFormat
chkRamLimit
txtRamLimit
chkThreads
txtThreads
layoutWidget
chkProcLinks
chkClearCaseFiles
chkUncounted
chkFuncDifferencing
-
-
-
<html><head/><body><p>Starts the execution of counting and/or comparison based on the current selections.</p></body></html>
Start
:/images/start.png:/images/start.png
-
false
<html><head/><body><p>Stops the currently running counting operation.</p></body></html>
Stop
:/images/stop.png:/images/stop.png
-
false
0
0
16777215
80
Consolas
true
:/images/open.png:/images/open.png
Open File
Open File
:/images/close.png:/images/close.png
Exit
:/images/help.png:/images/help.png
User Manual
About
:/images/edit.png:/images/edit.png
View/Edit Extensions
View/Edit Extensions
Release Notes
Release Notes
License
lwFileListA
btnAddFileA
btnRemoveFileA
btnAddFolderA
lwFileListB
btnAddFileB
btnRemoveFileB
btnAddFolderB
lwExtensionList
btnClearSelExt
txtOutputDir
btnBrowseOutputDir
chkExtensionFile
txtExtensionFile
btnBrowseExtensionFile
chkDifferencing
chkModThreshold
txtModThreshold
chkTruncThreshold
txtTruncThreshold
rdoCSVOutput
rdoAsciiOutput
rdoLegacyOutput
chkUnifiedOut
btnStart
btnStop
txtMessages