Coverage Report

Created: 2025-04-11 06:56

/src/unrar/uisilent.cpp
Line
Count
Source (jump to first uncovered line)
1
// Purely user interface function. Gets and returns user input.
2
UIASKREP_RESULT uiAskReplace(std::wstring &Name,int64 FileSize,RarTime *FileTime,uint Flags)
3
12.1k
{
4
12.1k
  return UIASKREP_R_REPLACE;
5
12.1k
}
6
7
8
9
10
void uiStartArchiveExtract(bool Extract,const std::wstring &ArcName)
11
11.5k
{
12
11.5k
}
13
14
15
bool uiStartFileExtract(const std::wstring &FileName,bool Extract,bool Test,bool Skip)
16
84.3k
{
17
84.3k
  return true;
18
84.3k
}
19
20
21
void uiExtractProgress(int64 CurFileSize,int64 TotalFileSize,int64 CurSize,int64 TotalSize)
22
25.9k
{
23
25.9k
}
24
25
26
void uiProcessProgress(const char *Command,int64 CurSize,int64 TotalSize)
27
0
{
28
0
}
29
30
31
void uiMsgStore::Msg()
32
276k
{
33
276k
}
34
35
36
bool uiGetPassword(UIPASSWORD_TYPE Type,const std::wstring &FileName,
37
                   SecPassword *Password,CheckPassword *CheckPwd)
38
11.9k
{
39
11.9k
  return false;
40
11.9k
}
41
42
43
bool uiIsGlobalPasswordSet()
44
11.5k
{
45
11.5k
  return false;
46
11.5k
}
47
48
49
void uiAlarm(UIALARM_TYPE Type)
50
2.26k
{
51
2.26k
}
52
53
54
bool uiIsAborted()
55
0
{
56
0
  return false;
57
0
}
58
59
60
void uiGiveTick()
61
0
{
62
0
}
63
64
65
bool uiDictLimit(CommandData *Cmd,const std::wstring &FileName,uint64 DictSize,uint64 MaxDictSize)
66
22
{
67
22
#ifdef RARDLL
68
22
  if (Cmd->Callback!=nullptr &&
69
22
      Cmd->Callback(UCM_LARGEDICT,Cmd->UserData,(LPARAM)(DictSize/1024),(LPARAM)(MaxDictSize/1024))==1)
70
0
    return true; // Continue extracting if unrar.dll callback permits it.
71
22
#endif
72
22
  return false; // Stop extracting.
73
22
}
74
75
76
#ifndef SFX_MODULE
77
const wchar *uiGetMonthName(uint Month)
78
0
{
79
0
  return L"";
80
0
}
81
#endif
82
83
84
void uiEolAfterMsg()
85
0
{
86
0
}