LCOV - code coverage report
Current view: top level - src/operations - DBOperation.cpp (source / functions) Coverage Total Hit
Test: coverage.info.cleaned Lines: 62.5 % 8 5
Test Date: 2026-03-23 10:19:47 Functions: 66.7 % 3 2

            Line data    Source code
       1              : #include "DBOperation.h"
       2              : #include "../db/DB.h"
       3              : 
       4           20 : DBOperation::DBOperation(OperationManager *parent) :
       5           20 :     SyncOperation(parent)
       6              : {
       7           20 : }
       8              : 
       9          106 : QSqlDatabase DBOperation::db()
      10              : {
      11          106 :     return DB::instance()->db();
      12              : }
      13              : 
      14            0 : void DBOperation::reportSQLError(const QSqlQuery &query, const QString &errorString)
      15              : {
      16            0 :     reportError(errorString + " SQLite says: " + query.lastError().text());
      17            0 : }
        

Generated by: LCOV version 2.0-1