20.2. Element: QuickRev / Files

The Files element contains all files to be reviewed.

Name Values Description
Element Files File+ Contains all information about the files to be reviewed.
Element File UniqueShortName, URL, Revision, Delta-Revision?, NumberOfLines? Represents one file to be reviewed.
Attributes type svn | ClearCase The type of the file specifying the version control system.
contentType string The content-type of the file which is either text for source code, non-text for files which cannot be displayed in QuickRev or another string specified by a corresponding plug-in.
id string A unique identifier of the file to be referenced by the comments or files in follow-up review cycles.
Element UniqueShortName string Normally this is the filename itself. If there are two files with the same name the UniqueShortName contains the containing directory as well. If the directories have the same name than the parent directory of the directory containing the files etc.. The element is only needed to display the filename in a readable form in the stylesheet or from anywhere else without the base path.
Element URL string The url/path of the file.
Element Revision string The version to be reviewed.
Element Delta-Revision string The base version, if it is a delta review. If it is not, the element is not contained in the file.
Element NumberOfLines string Contains the number of lines in the file. If the file is not a text file this element is omitted. During creation of a new project it is not necessary to load the file content, so the lines cannot be counted and the element is not yet written to the project file. With every new load of the project file, the file content of the review files will be loaded automatically, and after saving the project again the element saved too. The sum of NumberOfLines from all files will be stored in element Metrics .
Attributes total number The total number of lines.
nonEmpty number The number of non-empty lines.
<?xml version="1.0" encoding="UTF-8"?>
<QuickRev version="1.8.0">

    <Files>
        <File type="svn" contentType="text" id="f0">
            <UniqueShortName>QuickRev.java</UniqueShortName>
            <URL>file:///.../src/net/tomse/quickRev/QuickRev.java</URL>
            <Revision>5</Revision>
            <Delta-Revision>4</Delta-Revision>
            <NumberOfLines total="1215" nonEmpty="1049"/>
        </File>
        <File type="svn" contentType="text" id="f1">
            <UniqueShortName>Comment.java</UniqueShortName>
            <URL>file:///.../src/net/tomse/quickRev/Comment.java</URL>
            <Revision>6</Revision>
            <NumberOfLines total="240" nonEmpty="202"/>
        </File>
        <File type="svn" contentType="non-text" id="f2">
            <UniqueShortName>doc.pdf</UniqueShortName>
            <URL>file:///.../doc.pdf</URL>
            <Revision>3</Revision>
        </File>
    </Files>

</QuickRev>

Get QuickRev at SourceForge.net. Fast, secure and Free Open Source software downloadsCopyright 2008 - 2016 Tom SeidelLast Update: 2016-11-5