Represents the results of an audit for a specific file.
Definition audit_result.hpp:6
void setColumn(int columnNumber)
Sets the column number for this audit result.
Definition audit_result.cpp:44
int endColumn
Definition audit_result.hpp:37
QList< QString > issues
Definition audit_result.hpp:33
void setRuleId(const QString &id)
Sets the rule ID for this audit result.
Definition audit_result.cpp:80
QString message
Definition audit_result.hpp:38
QString getMessage() const
Definition audit_result.hpp:24
QString fileName
Definition audit_result.hpp:30
int line
Definition audit_result.hpp:34
QString ruleId
Definition audit_result.hpp:32
int getLine() const
Definition audit_result.hpp:20
int getEndLine() const
Definition audit_result.hpp:22
void setEndColumn(int endColumnNumber)
Sets the end column number for this audit result.
Definition audit_result.cpp:62
bool hasLocationInfo() const
Definition audit_result.hpp:27
QString getFilePath() const
Retrieves the full file path associated with this audit result.
Definition audit_result.cpp:111
int getColumn() const
Definition audit_result.hpp:21
QString getSummary() const
Generates a summary of the audit result.
Definition audit_result.cpp:93
void setFilePath(const QString &path)
Sets the file path for this audit result.
Definition audit_result.cpp:71
void addIssue(const QString &issue)
Adds an issue to the audit result.
Definition audit_result.cpp:24
int column
Definition audit_result.hpp:35
void setLine(int lineNumber)
Sets the line number for this audit result.
Definition audit_result.cpp:35
int endLine
Definition audit_result.hpp:36
int getEndColumn() const
Definition audit_result.hpp:23
QList< QString > getIssues() const
Retrieves the list of issues identified during the audit.
Definition audit_result.cpp:120
void setEndLine(int endLineNumber)
Sets the end line number for this audit result.
Definition audit_result.cpp:53
QString getRuleId() const
Definition audit_result.hpp:25
QString getFileName() const
Retrieves the name of the file associated with this audit result.
Definition audit_result.cpp:102
QString filePath
Definition audit_result.hpp:31