summaryrefslogtreecommitdiffstats
path: root/tester/covoar/ReportsBase.cc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix _mkdir parameter error.zhengxiaojun2022-11-281-1/+1
| | | | | | fix _mkdir parameter error. Signed-off-by: zhengxiaojun <jameszxj at gmail.com>
* ReportsBase: Change raw pointer to unique_ptrRyan Long2021-12-221-41/+36
| | | | | | | | Replaced raw pointer used with ReportsBase-derived classes to make code cleaner and make it to where pointers do not have to be manually deleted. Closes #4376
* ReportsBase.cc: Add assert for member variablesRyan Long2021-10-071-0/+5
| | | | | | | | | | | The uncoveredRanges and uncoveredBranch member variables are allocated as a pair. They are both either NULL or not NULL. Coverity does not know this though, so this assert is added to ensure they are not NULL before being dereferenced. CID 1503710: Dereference after null check Closes #4428
* Remove app_common and all references to itRyan Long2021-08-031-1/+0
| | | | | | - Removed the includes of app_common.h - Removed app_common references in build infrastructure - Removed app_common.cc and app_common.h
* Remove BranchInfoAvailable global variableRyan Long2021-08-031-10/+17
| | | | | | - Removed BranchInfoAvailable from app_common - Created member variable in CoverageReaderBase and ReportsBase and a function to get the value of the member variable
* Remove SymbolsToAnalyze global variableRyan Long2021-08-031-44/+54
| | | | | | | | | - Removed SymbolsToAnalyze from app_common and replaced it with the symbolsToAnalyze_m member variable in DesiredSymbols, GcovData, and ObjdumpProcessor - Added a parameter to constructors to initialize symbolsToAnalyze_m - Moved the definition of objdumpLine_t out of ObjdumpProcessor to make it work with DesiredSymbols
* Remove outputDirectory global variableRyan Long2021-08-031-15/+26
| | | | | | | | - Replaced outputDirectory in app_common with a local variable in covoar() - Created the outputDirectory_m member variable - Added parameters to Reports* constructors to initialize outputDirectory_m and non member functions
* Remove projectName global variableRyan Long2021-08-031-5/+18
| | | | | | | | - Replaced projectName in app_common with a local variable in covoar() - Changed datatype to string - Changed conditionals to reflect this - Created projectName_m member variable for ReportsBase - Added parameter to Reports* constructors to initialize projectName_m
* Remove Verbose global variableRyan Long2021-08-031-7/+8
| | | | | Replaced Verbose in app_common with local variables that are passed as a parameter into numerous functions
* Remove AllExplanations global variableRyan Long2021-08-031-7/+14
| | | | | | | | | - Replaced AllExplanations in app_common with a local variable in covoar() - Added the allExplanations_m member variable to ReportsBase - Added a parameter to ReportsBase and its derived classes' constructors to initialize allExplanations_m - Added parameter to GenerateReports() to pass the variable from covoar() to the constructors for Reports*
* ReportsBase.cc: Fix formattingRyan Long2021-07-191-149/+156
|
* Reports: Convert to C++Ryan Long2021-07-141-151/+138
|
* ReportsBase.cc: Remove possible division by zeroRyan Long2021-06-291-3/+5
| | | | | | CID 1503709: Division or modulo by float zero Closes #4415
* ReportsBase.cc: Fix Resource leakRyan Long2021-06-041-0/+2
| | | | | | CID 1503711: Resource leak in WriteSummaryReport(). Closes #4422
* covoar: Use range-based for loops in ReportsBaseAlex White2021-04-071-52/+35
| | | | | | | | Some of the loops in the ReportsBase::Write* methods contained both regular and range-based for loops. This changes them to use only range- based for loops. Closes #4374
* covoar: Split symbols by symbol setAlex White2021-04-061-83/+98
| | | | | | | | | | | | | This changes the way covoar organizes the symbols. Instead of treating all symbols as one set, covoar is now aware of multiple symbol sets and tracks statistics for each set. It now also generates reports for each symbol set. This change relieves the caller of covoar of the reponsibility of managing the symbol sets. As a result, covoar can minimize the work done for each symbol set, yielding a significant speedup. Updates #4374
* covoar/Reports: Fix empty branch reportAlex White2021-03-301-9/+3
| | | | | This makes the branch report more consistent with the other reports when there is no branch information found.
* coverage/reports: Improve formatting and clarityAlex White2021-03-301-1/+20
| | | | | | | The coverage reports contain places where they display incorrect or vague information particularly when some statistic is unavailable. This has been fixed. The formatting and wording of various things has been improved as well.
* covoar/reports: Add new statistics to summaryAlex White2021-03-301-8/+38
| | | | | | The following new statistics have been added to the summary report: number of unreferenced symbols, total branch paths found, number of branch paths not executed, and percentage of branch paths covered.
* covoar: Add function defs to fix Windows build errors.Cillian O'Donnell2017-09-141-2/+2
| | | | Closes #3129
* covoar: Fix buffer overflow and fix br tag in html report.Hermann Felbinger2017-08-291-5/+6
| | | | Co-Author: Krzysztof Miesowicz <krzysztof.miesowicz@gmail.com>
* Update the Windows header to direct.h for _mkdir per the MSDN.Chris Johns2015-02-161-1/+1
|
* Fix covoar so it builds for Windows.Chris Johns2015-01-201-8/+16
|
* covoar: Merger the covoar source from rtems-testing.git.Chris Johns2014-06-181-0/+578
Use waf to build covoar.