Files
cinema-ticket-management-sy…/artifacts/cccc/SessionsRepositoryInterface.html
T

154 lines
7.9 KiB
HTML
Raw Normal View History

2026-07-12 14:34:52 +04:00
<HTML><HEAD><TITLE>
Detailed report on module SessionsRepositoryInterface
</TITLE>
</HEAD>
<BODY>
<H1><A NAME="summary">Detailed report on module SessionsRepositoryInterface</A></H1>
<TABLE BORDER WIDTH=100%>
<TR>
<TH BGCOLOR="AQUA" WIDTH=70%>Metric</TH><TH BGCOLOR="AQUA" WIDTH=10%>Tag</TH><TH BGCOLOR="AQUA" WIDTH=10%>Overall</TH><TH BGCOLOR="AQUA" WIDTH=10%>Per Function</TH></TR>
<TR>
<TD>Lines of Code</TD><TD>LOC</TD><TD ALIGN=RIGHT> 15</TD><TD ALIGN=RIGHT> 3</TD></TR>
<TR>
<TD>McCabe's Cyclomatic Number</TD><TD>MVG</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT> 0</TD></TR>
<TR>
<TD>Lines of Comment</TD><TD>COM</TD><TD ALIGN=RIGHT> 7</TD><TD ALIGN=RIGHT> 1.400</TD></TR>
<TR>
<TD>LOC/COM</TD><TD>L_C</TD><TD ALIGN=RIGHT>------</TD><TD>&nbsp;</TD></TR>
<TR>
<TD>MVG/COM</TD><TD>M_C</TD><TD ALIGN=RIGHT>------</TD><TD>&nbsp;</TD></TR>
<TR>
<TD>Weighted Methods per Class ( &nbsp;weighting = unity&nbsp;)</TD><TD>WMC1</TD><TD ALIGN=RIGHT> 5</TD><TD>&nbsp;</TD></TR>
<TR>
<TD>Weighted Methods per Class ( &nbsp;weighting = visible&nbsp;)</TD><TD>WMCv</TD><TD ALIGN=RIGHT> 5</TD><TD>&nbsp;</TD></TR>
<TR>
<TD>Depth of Inheritance Tree</TD><TD>DIT</TD><TD ALIGN=RIGHT> 1</TD><TD>&nbsp;</TD></TR>
<TR>
<TD>Number of Children</TD><TD>NOC</TD><TD ALIGN=RIGHT> 1</TD><TD>&nbsp;</TD></TR>
<TR>
<TD>Coupling between objects</TD><TD>CBO</TD><TD ALIGN=RIGHT> 9</TD><TD>&nbsp;</TD></TR>
<TR>
<TD>Information Flow measure ( &nbsp;inclusive&nbsp;)</TD><TD>IF4</TD><TD ALIGN=RIGHT BGCOLOR="YELLOW"><EM> 324</EM></TD><TD ALIGN=RIGHT> 64.800</TD></TR>
<TR>
<TD>Information Flow measure ( &nbsp;visible&nbsp;)</TD><TD>IF4v</TD><TD ALIGN=RIGHT BGCOLOR="YELLOW"><EM> 36</EM></TD><TD ALIGN=RIGHT> 7.200</TD></TR>
<TR>
<TD>Information Flow measure ( &nbsp;concrete&nbsp;)</TD><TD>IF4c</TD><TD ALIGN=RIGHT> 4</TD><TD ALIGN=RIGHT> 0.800</TD></TR>
</TABLE>
<H2><A NAME="modext">Definitions and Declarations</A></H2>
<TABLE BORDER WIDTH=100%><TR>
<TD WIDTH=50%>Description</TD><TH BGCOLOR="AQUA" WIDTH=10%>LOC</TH><TH BGCOLOR="AQUA" WIDTH=10%>MVG</TH><TH BGCOLOR="AQUA" WIDTH=10%>COM</TH><TH BGCOLOR="AQUA" WIDTH=10%>L_C</TH><TH BGCOLOR="AQUA" WIDTH=10%>M_C</TH><TR>
<TD>declaration &nbsp;
<CODE><A HREF="cccc_src.html#./core/services/ticket_generator.h: 14">./core/services/ticket_generator.h:14</A></CODE><BR>
</TD>
<TD ALIGN=RIGHT> 1</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT>------</TD><TD ALIGN=RIGHT>------</TD></TR>
<TR>
<TD>declaration &nbsp;
<CODE><A HREF="cccc_src.html#./core/services/session_generator.h: 13">./core/services/session_generator.h:13</A></CODE><BR>
</TD>
<TD ALIGN=RIGHT> 1</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT> 1</TD><TD ALIGN=RIGHT>------</TD><TD ALIGN=RIGHT>------</TD></TR>
<TR>
<TD>definition &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 15">./core/repositories/sessions_repository_interface.h:15</A></CODE><BR>
</TD>
<TD ALIGN=RIGHT> 6</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT> 4</TD><TD ALIGN=RIGHT>------</TD><TD ALIGN=RIGHT>------</TD></TR>
<TR>
<TD>declaration &nbsp;
<CODE><A HREF="cccc_src.html#./ui/widgets/session_management_widget.h: 9">./ui/widgets/session_management_widget.h:9</A></CODE><BR>
</TD>
<TD ALIGN=RIGHT> 1</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT>------</TD><TD ALIGN=RIGHT>------</TD></TR>
<TR><TD HEIGHT=12 COLSPAN=6></TD></TR>
</TR></TABLE>
<H2><A NAME="proc">Functions</A></H2>
<TABLE BORDER WIDTH=100%><TR>
<TD WIDTH=50%>Function prototype</TD><TH BGCOLOR="AQUA" WIDTH=10%>LOC</TH><TH BGCOLOR="AQUA" WIDTH=10%>MVG</TH><TH BGCOLOR="AQUA" WIDTH=10%>COM</TH><TH BGCOLOR="AQUA" WIDTH=10%>L_C</TH><TH BGCOLOR="AQUA" WIDTH=10%>M_C</TH><TR>
<TD>createSession( &nbsp;const CreateSessionRequest &amp;&nbsp;)<BR>
declaration &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 19">./core/repositories/sessions_repository_interface.h:19</A></CODE><BR>
<BR>
</TD><TD ALIGN=RIGHT> 1</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT>------</TD><TD ALIGN=RIGHT>------</TD></TR>
<TR>
<TD>deleteSessionById( &nbsp;qint32&nbsp;)<BR>
declaration &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 34">./core/repositories/sessions_repository_interface.h:34</A></CODE><BR>
<BR>
</TD><TD ALIGN=RIGHT> 1</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT> 1</TD><TD ALIGN=RIGHT>------</TD><TD ALIGN=RIGHT>------</TD></TR>
<TR>
<TD>getAllSessions( &nbsp;QVector &amp;&nbsp;)<BR>
declaration &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 27">./core/repositories/sessions_repository_interface.h:27</A></CODE><BR>
<BR>
</TD><TD ALIGN=RIGHT> 1</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT>------</TD><TD ALIGN=RIGHT>------</TD></TR>
<TR>
<TD>getSessionById( &nbsp;qint32, &nbsp;SessionDTO &amp;&nbsp;)<BR>
declaration &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 22">./core/repositories/sessions_repository_interface.h:22</A></CODE><BR>
<BR>
</TD><TD ALIGN=RIGHT> 2</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT> 1</TD><TD ALIGN=RIGHT>------</TD><TD ALIGN=RIGHT>------</TD></TR>
<TR>
<TD>updateSession( &nbsp;const UpdateSessionRequest &amp;&nbsp;)<BR>
declaration &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 31">./core/repositories/sessions_repository_interface.h:31</A></CODE><BR>
<BR>
</TD><TD ALIGN=RIGHT> 1</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT> 0</TD><TD ALIGN=RIGHT>------</TD><TD ALIGN=RIGHT>------</TD></TR>
<TR><TD HEIGHT=12 COLSPAN=6></TD></TR>
</TR></TABLE>
<H2><A NAME="structdet">Relationships</A></H2>
<TABLE BORDER WIDTH=100%>
<TR><TH WIDTH=50%>Clients</TH><TH WIDTH=50%>Suppliers</TH></TR>
<TR>
<TD WIDTH=50%>
SessionGenerator <BR>
has by reference &nbsp;
<CODE><A HREF="cccc_src.html#./core/services/session_generator.h: 38">./core/services/session_generator.h:38</A></CODE><BR>
<BR>
<BR>
SessionsRepository [CV] <BR>
inheritance &nbsp;
<CODE><A HREF="cccc_src.html#./data/sql/sessions_repository.h: 9">./data/sql/sessions_repository.h:9</A></CODE><BR>
<BR>
<BR>
TicketGenerator <BR>
has by reference &nbsp;
<CODE><A HREF="cccc_src.html#./core/services/ticket_generator.h: 39">./core/services/ticket_generator.h:39</A></CODE><BR>
<BR>
<BR>
&nbsp;
</TD>
<TD WIDTH=50%>
CreateSessionRequest [V] <BR>
pass by reference &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 19">./core/repositories/sessions_repository_interface.h:19</A></CODE><BR>
<BR>
<BR>
QVector [V] <BR>
pass by reference &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 27">./core/repositories/sessions_repository_interface.h:27</A></CODE><BR>
<BR>
<BR>
RepositoryInterface [CV] <BR>
inheritance &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 15">./core/repositories/sessions_repository_interface.h:15</A></CODE><BR>
<BR>
<BR>
SessionDTO [V] <BR>
pass by reference &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 23">./core/repositories/sessions_repository_interface.h:23</A></CODE><BR>
<BR>
<BR>
UpdateSessionRequest [V] <BR>
pass by reference &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 31">./core/repositories/sessions_repository_interface.h:31</A></CODE><BR>
<BR>
<BR>
qint32 [CV] <BR>
pass by value &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 22">./core/repositories/sessions_repository_interface.h:22</A></CODE><BR>
pass by value &nbsp;
<CODE><A HREF="cccc_src.html#./core/repositories/sessions_repository_interface.h: 34">./core/repositories/sessions_repository_interface.h:34</A></CODE><BR>
<BR>
<BR>
&nbsp;
</TD>
</TR></TABLE>
</BODY></HTML>