Overview Service

@Service
open class OverviewService

The OverviewHelper class is useful to manage all the overview database operations

Author

N7ghtm4r3 - Tecknobit

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
private class ProjectsAnalyzer
The ProjectsAnalyzer class is useful to analyze the projects data and discover the best and to-improve project both for personal and group side

Properties

Link copied to clipboard
private val HUNDRED_PERCENT_VALUE: Double = 100.0
HUNDRED_PERCENT_VALUE constant for 100.
Link copied to clipboard
@Autowired
private open var projectsRepository: ProjectsRepository
projectsRepository instance for the projects repository

Functions

Link copied to clipboard
Method to calculate the stats about the average number of the development days
Link copied to clipboard
Method to calculate the stats about the total number of the development days
Link copied to clipboard
open fun getOverview(userId: String): Overview
Method to get the overview analysis for the requested user
Link copied to clipboard
Method to calculate the stats about the projects of the user
Link copied to clipboard
Method to calculate the stats about the number of the updates in the projects of the user
Link copied to clipboard
private open fun getUpdatesStats(userId: String, projects: List<Project>, status: UpdateStatus): Overview.OverviewFullStatsItem
Method to calculate the stats about the updates in the projects of the user