Coverage Summary for Class: OnlineCharacter (com.galarzaa.tibiakt.core.section.community.world.model)

Class Method, % Branch, % Line, % Instruction, %
OnlineCharacter 100% (2/2) 0% (0/2) 100% (5/5) 81.4% (70/86)
OnlineCharacter$Companion 0% (0/1) 0% (0/1) 0% (0/2)
Total 66.7% (2/3) 0% (0/2) 83.3% (5/6) 79.5% (70/88)


 /*
  * Copyright © 2025 Allan Galarza
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 
 package com.galarzaa.tibiakt.core.section.community.world.model
 
 import com.galarzaa.tibiakt.core.domain.character.BaseCharacter
 import com.galarzaa.tibiakt.core.domain.character.LevelAware
 import com.galarzaa.tibiakt.core.domain.character.Vocation
 import kotlinx.serialization.Serializable
 
 /**
  * An online character.
  *
  * @property level The level of the character
  * @property vocation The vocation of the character
  */
 @Serializable
 public data class OnlineCharacter(
     override val name: String,
     override val level: Int,
     val vocation: Vocation,
 ) : BaseCharacter, LevelAware