DrawYourPath/DrawYourPath

View on GitHub

Showing 2 of 20 total issues

Method onBindViewHolder has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    override fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int) {
        val message = messages[position]
        // Fill the holder view with appropriate data based on the type of view
        when (holder.itemViewType) {
            VIEW_TYPE_TEXT_INCOMING, VIEW_TYPE_TEXT_OUTGOING -> {

    Method insertAll has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        fun insertAll(user: UserEntity, dailyGoals: List<DailyGoalEntity>, milestones: List<MilestoneEntity>, runs: List<RunEntity>, points: List<PointsEntity>) {
    Severity: Minor
    Found in app/src/main/java/com/epfl/drawyourpath/userProfile/cache/UserDao.kt - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language