-
741 number of properties
-
1,010 number of functions
-
103 number of classes
-
28 number of packages
-
61 number of kt files
-
24,746 lines of code (loc)
-
17,312 source lines of code (sloc)
-
13,070 logical lines of code (lloc)
-
5,059 comment lines of code (cloc)
-
2,618 cyclomatic complexity (mcc)
-
1,404 cognitive complexity
-
597 number of total code smells
-
29% comment source ratio
-
200 mcc per 1,000 lloc
-
45 code smells per 1,000 lloc
Complex conditions should be simplified and extracted into well-named methods if necessary.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/BidController.kt:73:21
This condition is too complex (4). Defined complexity threshold for conditions is set to '4'
70 val reportedWidth = details?.get("banner_width_dips")?.toInt() ?: -1
71 val reportedHeight = details?.get("banner_height_dips")?.toInt() ?: -1
72
73 if ((reportedWidth > 0 && reportedWidth > requestedWidth) ||
!! ^ error
74 (reportedHeight > 0 && reportedHeight > requestedHeight)
75 ) {
76 LogController.d(
Prefer splitting up complex methods into smaller, easier to test methods.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AdController.kt:72:17
The function load appears to be too complex based on Cyclomatic Complexity (complexity: 23). Defined complexity threshold for methods is set to '15'
69 private var rewardedImpressionDepth = 0
70 private var rewardedInterstitialImpressionDepth = 0
71
72 suspend fun load(
!! ^ error
73 context: Context,
74 adLoadParams: AdLoadParams,
75 metricsSet: MutableSet<Metrics>,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:112:9
The function setUpAdapters appears to be too complex based on Cyclomatic Complexity (complexity: 19). Defined complexity threshold for methods is set to '15'
109 * @param skippedPartnerIds A Set of partners whose initialization should be skipped as per the publisher's request.
110 * @param onPartnerInitializationComplete A callback to be invoked when the initialization is deemed complete.
111 */
112 fun setUpAdapters(
!!! ^ error
113 context: Context,
114 partnerConfigurationMap: Map<String, PartnerConfiguration>,
115 adapterClasses: Set<String>,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:347:17
The function getNextAd appears to be too complex based on Cyclomatic Complexity (complexity: 17). Defined complexity threshold for methods is set to '15'
344 /**
345 * Gets the next ad.
346 */
347 private fun getNextAd(forceRefresh: Boolean = false) {
!!! ^ error
348 if (!forceRefresh && (nextAd != null || fetchAdJob != null)) {
349 LogController.i("Already loading an ad.")
350 return
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:561:17
The function swapAd appears to be too complex based on Cyclomatic Complexity (complexity: 16). Defined complexity threshold for methods is set to '15'
558 /**
559 * Swaps the ad in.
560 */
561 private fun swapAd() {
!!! ^ error
562 val chartboostMediationBannerAd =
563 chartboostMediationBannerAdViewRef.get() ?: run {
564 LogController.d("Failed to swap ad because reference to ChartboostMediationBannerAd lost")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:408:26
The function fetchBidderInformation appears to be too complex based on Cyclomatic Complexity (complexity: 15). Defined complexity threshold for methods is set to '15'
405 *
406 * @return A Map of biddable token Strings.
407 */
408 override suspend fun fetchBidderInformation(
!!! ^ error
409 context: Context,
410 request: PreBidRequest,
411 ): Map<String, String> {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:59:22
The function getChartboostMediationError appears to be too complex based on Cyclomatic Complexity (complexity: 17). Defined complexity threshold for methods is set to '15'
56 *
57 * @return The corresponding [ChartboostMediationError].
58 */
59 internal fun getChartboostMediationError(error: CBError) =
!! ^ error
60 when (error) {
61 is StartError -> {
62 when (error.code) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:275:26
The function show appears to be too complex based on Cyclomatic Complexity (complexity: 17). Defined complexity threshold for methods is set to '15'
272 *
273 * @return Result.success(PartnerAd) if the ad was successfully shown, Result.failure(Exception) otherwise.
274 */
275 override suspend fun show(
!!! ^ error
276 activity: Activity,
277 partnerAd: PartnerAd,
278 ): Result<PartnerAd> {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:383:25
The function showFullscreenAd appears to be too complex based on Cyclomatic Complexity (complexity: 22). Defined complexity threshold for methods is set to '15'
380 *
381 * @return Result.success(PartnerAd) if the ad was successfully shown, Result.failure(Exception) otherwise.
382 */
383 private suspend fun showFullscreenAd(partnerAd: PartnerAd): Result<PartnerAd> {
!!! ^ error
384 partnerAd.ad?.let { ad ->
385 if (ad is ReferenceFullscreenAd) {
386 val listener = listeners[partnerAd.request.identifier]
One class should have one responsibility. Large classes tend to handle many things at once. Split up large classes into smaller classes that are easier to understand.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:53:7
Class PartnerController is too large. Consider splitting it into smaller pieces.
50 /**
51 * @suppress
52 */
53 class PartnerController {
!! ^ error
54 companion object {
55 /**
56 * Store adapter info (versions, names, et al.) keyed by the adapter partner IDs.
One method should have one responsibility. Long methods tend to handle many things at once. Prefer smaller methods to make them easier to understand.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ChartboostMediationInternal.kt:64:26
The function initialize is too long (75). The maximum length is 60.
61 */
62 private var ccpaConsentGranted: Boolean? = null
63
64 internal suspend fun initialize(
!! ^ error
65 context: Context,
66 appId: String,
67 options: ChartboostMediationPreinitializationConfiguration?,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AdController.kt:72:17
The function load is too long (173). The maximum length is 60.
69 private var rewardedImpressionDepth = 0
70 private var rewardedInterstitialImpressionDepth = 0
71
72 suspend fun load(
!! ^ error
73 context: Context,
74 adLoadParams: AdLoadParams,
75 metricsSet: MutableSet<Metrics>,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:112:9
The function setUpAdapters is too long (93). The maximum length is 60.
109 * @param skippedPartnerIds A Set of partners whose initialization should be skipped as per the publisher's request.
110 * @param onPartnerInitializationComplete A callback to be invoked when the initialization is deemed complete.
111 */
112 fun setUpAdapters(
!!! ^ error
113 context: Context,
114 partnerConfigurationMap: Map<String, PartnerConfiguration>,
115 adapterClasses: Set<String>,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:333:17
The function routeGetBidderInformation is too long (68). The maximum length is 60.
330 * @param context The context to use for the call.
331 * @param request The [PreBidRequest] instance containing data necessary for this operation.
332 */
333 suspend fun routeGetBidderInformation(
!!! ^ error
334 context: Context,
335 request: PreBidRequest,
336 ): Map<String, Map<String, String>> {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:423:26
The function routeLoad is too long (129). The maximum length is 60.
420 * @param isMediation True if this is a mediation request, false if it's a bidding one.
421 * @param request The [PartnerAdLoadRequest] instance containing data necessary for this operation.
422 */
423 internal suspend fun routeLoad(
!!! ^ error
424 context: Context,
425 auctionId: String,
426 lineItemId: String?,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:579:17
The function routeShow is too long (94). The maximum length is 60.
576 * @param partnerAd The [PartnerAd] to attempt to show.
577 * @param auctionIdentifier The current auction ID.
578 */
579 suspend fun routeShow(
!!! ^ error
580 activity: Activity,
581 partnerAd: PartnerAd?,
582 auctionIdentifier: String,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:347:17
The function getNextAd is too long (89). The maximum length is 60.
344 /**
345 * Gets the next ad.
346 */
347 private fun getNextAd(forceRefresh: Boolean = false) {
!!! ^ error
348 if (!forceRefresh && (nextAd != null || fetchAdJob != null)) {
349 LogController.i("Already loading an ad.")
350 return
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:561:17
The function swapAd is too long (80). The maximum length is 60.
558 /**
559 * Swaps the ad in.
560 */
561 private fun swapAd() {
!!! ^ error
562 val chartboostMediationBannerAd =
563 chartboostMediationBannerAdViewRef.get() ?: run {
564 LogController.d("Failed to swap ad because reference to ChartboostMediationBannerAd lost")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:654:38
The function onVisibilityThresholdMet is too long (80). The maximum length is 60.
651 ).also {
652 it.visibilityTrackerListener =
653 object : VisibilityTracker.VisibilityTrackerListener {
654 override fun onVisibilityThresholdMet() {
!!! ^ error
655 sendShowMetricsData(
656 startTime = System.currentTimeMillis(),
657 partnerName = partnerAd.request.partnerId,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/test/java/com/chartboost/chartboostmediationsdk/network/CBMNetworking_trackEvent_Test.kt:89:39
The function verify trackEvent for initialization with error is too long (69). The maximum length is 60.
86 Assert.assertEquals(expectedResponseHttpCode, httpCode)
87 }
88
89 fun ChartboostMediationNetworkingTest.`verify trackEvent for initialization with error`() =
!! ^ error
90 runTest {
91 val expectedResponseHttpCode = 200
92 MockResponse()
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:327:34
The function onInneractiveSuccessfulAdRequest is too long (67). The maximum length is 60.
324 }
325 }
326
327 override fun onInneractiveSuccessfulAdRequest(ad: InneractiveAdSpot?) {
!!! ^ error
328 resumeOnce(
329 if (ad != adSpot) {
330 PartnerLogController.log(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:383:25
The function showFullscreenAd is too long (81). The maximum length is 60.
380 *
381 * @return Result.success(PartnerAd) if the ad was successfully shown, Result.failure(Exception) otherwise.
382 */
383 private suspend fun showFullscreenAd(partnerAd: PartnerAd): Result<PartnerAd> {
!!! ^ error
384 partnerAd.ad?.let { ad ->
385 if (ad is ReferenceFullscreenAd) {
386 val listener = listeners[partnerAd.request.identifier]
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceFullscreenActivity.kt:158:17
The function showInterstitialAd is too long (68). The maximum length is 60.
155 * Create and show an interstitial ad.
156 */
157 @SuppressLint("ClickableViewAccessibility")
158 private fun showInterstitialAd(url: String) {
!!! ^ error
159 webView = findViewById<View>(R.id.reference_fullscreen_webview) as? WebView
160 ?: run {
161 onAdShowFailed("Failed to load WebView")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:578:25
The function showFullscreenAd is too long (63). The maximum length is 60.
575 *
576 * @return Result.success(PartnerAd) if the ad was successfully shown, Result.failure(Exception) otherwise.
577 */
578 private suspend fun showFullscreenAd(partnerAd: PartnerAd): Result<PartnerAd> {
!!! ^ error
579 return suspendCancellableCoroutine { continuation ->
580 val continuationRef = WeakReference(continuation)
581
The more parameters a function has the more complex it is. Long parameter lists are often used to control complex algorithms and violate the Single Responsibility Principle. Prefer functions with short parameter lists.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/BidController.kt:32:25
The function loadBids(context: Context, bids: Bids, bannerSize: ChartboostMediationBannerAdView.ChartboostMediationBannerSize?, adInteractionListener: AdInteractionListener, loadMetricsSet: MutableSet<Metrics>, adLoadParams: AdLoadParams) has too many parameters. The current threshold is set to 6.
29 * @param bids A collection wrapper class containing [Bid]s to load.
30 * @param adInteractionListener Necessary to forward future ad interaction events from the partner to the caller of this function.
31 */
32 suspend fun loadBids(
!! ^ error
33 context: Context,
34 bids: Bids,
35 bannerSize: ChartboostMediationBannerAdView.ChartboostMediationBannerSize?,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:423:35
The function routeLoad(context: Context, auctionId: String, lineItemId: String?, isMediation: Boolean, request: PartnerAdLoadRequest, loadMetricsSet: MutableSet<Metrics>, placementType: String?) has too many parameters. The current threshold is set to 6.
420 * @param isMediation True if this is a mediation request, false if it's a bidding one.
421 * @param request The [PartnerAdLoadRequest] instance containing data necessary for this operation.
422 */
423 internal suspend fun routeLoad(
!!! ^ error
424 context: Context,
425 auctionId: String,
426 lineItemId: String?,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/ChartboostMediationNetworking.kt:301:31
The function makeBidRequest(privacyController: PrivacyController, partnerController: PartnerController, adLoadParams: AdLoadParams, bidTokens: Map<String, Map<String, String>>, rateLimitHeaderValue: String, impressionDepth: Int) has too many parameters. The current threshold is set to 6.
298 return result
299 }
300
301 suspend fun makeBidRequest(
!!! ^ error
302 privacyController: PrivacyController,
303 partnerController: PartnerController,
304 adLoadParams: AdLoadParams,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/ChartboostMediationNetworking.kt:334:33
The function makeQueueRequest(isRunning: Boolean, placement: String, queueCapacity: Int, actualMaxQueueSize: Int?, queueDepth: Int, queueId: String) has too many parameters. The current threshold is set to 6.
331 }
332 }
333
334 suspend fun makeQueueRequest(
!!! ^ error
335 isRunning: Boolean,
336 placement: String,
337 queueCapacity: Int,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/model/MetricsRequestBody.kt:23:37
The constructor(auctionId: String?, queueId: String?, placementType: String?, size: BannerAdDimensions?, start: Long?, end: Long?, duration: Long?, backgroundDurationMs: Long?, result: String?, metrics: Set<MetricsData>, error: MetricsError?) has too many parameters. The current threshold is set to 7.
20 * @suppress
21 */
22 @Serializable
23 class MetricsRequestBody constructor(
!! ^ error
24 @SerialName("auction_id")
25 val auctionId: String? = null,
26 @SerialName("queue_id")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/model/MetricsRequestBody.kt:54:38
The constructor(networkType: String?, lineItemId: String?, partnerPlacement: String?, partner: String?, start: Long?, end: Long?, duration: Long?, isSuccess: Boolean, chartboostMediationError: String?, chartboostMediationErrorCode: String?, chartboostMediationErrorMessage: String?, partnerSdkVersion: String?, partnerAdapterVersion: String?) has too many parameters. The current threshold is set to 7.
51 * @suppress
52 */
53 @Serializable
54 class MetricsData private constructor(
!! ^ error
55 @SerialName("network_type")
56 val networkType: String? = null,
57 @SerialName("line_item_id")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceFullscreenAd.kt:83:13
The function show(onFullScreenAdImpression: () -> Unit, onFullScreenAdShowFailed: (String) -> Unit, onFullScreenAdClicked: () -> Unit, onFullScreenAdRewarded: (Int, String) -> Unit, onFullScreenAdDismissed: (ChartboostMediationAdException?) -> Unit, onFullScreenAdExpired: () -> Unit) has too many parameters. The current threshold is set to 6.
80 }
81 }
82
83 fun show(
!! ^ error
84 onFullScreenAdImpression: () -> Unit,
85 onFullScreenAdShowFailed: (String) -> Unit,
86 onFullScreenAdClicked: () -> Unit,
Excessive nesting leads to hidden complexity. Prefer extracting code to make it easier to understand.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:273:9
Function setCcpaConsent is nested too deeply.
270 * @param privacyString The CCPA privacy string.
271 * @param partnerConsents Per-partner consents.
272 */
273 fun setCcpaConsent(
!!! ^ error
274 context: Context,
275 hasGrantedCcpaConsent: Boolean?,
276 privacyString: String,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/test/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationErrorTest.kt:52:9
Function there is at least 1 error code defined per range from 1XX to 6XX is nested too deeply.
49 }
50
51 @Test
52 fun `there is at least 1 error code defined per range from 1XX to 6XX`() {
!! ^ error
53 val ranges =
54 mapOf(
55 "1XX" to 100..199,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:401:25
Function loadBannerAd is nested too deeply.
398 *
399 * @return Result.success(PartnerAd) if the ad was successfully loaded, Result.failure(Exception) otherwise.
400 */
401 private suspend fun loadBannerAd(
!!! ^ error
402 context: Context,
403 request: PartnerAdLoadRequest,
404 partnerAdListener: PartnerAdListener,
Too many functions inside a/an file/class/object/interface always indicate a violation of the single responsibility principle. Maybe the file/class/object/interface wants to manage too many things at once. Extract functionality which clearly belongs together.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ChartboostMediationSdk.kt:45:5
Object 'Companion' with '24' functions detected. Defined threshold inside objects is set to '11'
42 INITIALIZED,
43 }
44
45 companion object {
!! ^ error
46 const val CORE_MODULE_ID = "chartboost_mediation"
47
48 internal val chartboostMediationInternal = ChartboostMediationInternal()
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAd.kt:48:5
Object 'Companion' with '14' functions detected. Defined threshold inside objects is set to '11'
45 var winningBidInfo: Map<String, String> = mapOf(),
46 private val adController: AdController?,
47 ) {
48 /**
!! ^ error
49 * @suppress
50 */
51 companion object {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:53:7
Class 'PartnerController' with '17' functions detected. Defined threshold inside classes is set to '11'
50 /**
51 * @suppress
52 */
53 class PartnerController {
!! ^ error
54 companion object {
55 /**
56 * Store adapter info (versions, names, et al.) keyed by the adapter partner IDs.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:44:7
Class 'BannerController' with '20' functions detected. Defined threshold inside classes is set to '11'
41 *
42 * Handles loading and refreshing banners.
43 */
44 class BannerController(
!! ^ error
45 private val chartboostMediationBannerAdViewRef: WeakReference<ChartboostMediationBannerAdView>,
46 private val fullscreenAdShowingState: FullscreenAdShowingState? = ChartboostMediationSdk.chartboostMediationInternal.fullscreenAdShowingState,
47 private val ilrd: Ilrd? = ChartboostMediationSdk.chartboostMediationInternal.ilrd,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/ChartboostMediationNetworking.kt:43:17
Object 'ChartboostMediationNetworking' with '13' functions detected. Defined threshold inside objects is set to '11'
40 /**
41 * @suppress
42 */
43 internal object ChartboostMediationNetworking {
!! ^ error
44 const val APP_SET_ID_HEADER_KEY = "x-mediation-idfv"
45 const val AUCTION_ID_HEADER_KEY = "x-mediation-auction-id"
46 const val INIT_HASH_HEADER_KEY = "x-helium-sdk-init-hash"
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:40:7
Class 'AdMobAdapter' with '22' functions detected. Defined threshold inside classes is set to '11'
37 import java.lang.ref.WeakReference
38 import kotlin.coroutines.resume
39
40 class AdMobAdapter : PartnerAdapter {
!! ^ error
41 companion object {
42 /**
43 * Convert a given AdMob error code into a [ChartboostMediationError].
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:56:7
Class 'AmazonPublisherServicesAdapter' with '13' functions detected. Defined threshold inside classes is set to '11'
53 /**
54 * The Chartboost Mediation Amazon Publisher Services (APS) adapter.
55 */
56 class AmazonPublisherServicesAdapter : PartnerAdapter {
!! ^ error
57 interface PreBiddingListener {
58 /**
59 * Called when Chartboost Mediation is requesting a prebid from Amazon.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:28:7
Class 'AppLovinAdapter' with '16' functions detected. Defined threshold inside classes is set to '11'
25 /**
26 * The Chartboost Mediation AppLovin SDK adapter.
27 */
28 class AppLovinAdapter : PartnerAdapter {
!! ^ error
29 companion object {
30 /**
31 * The AppLovin SDK instance. Note: instances are SDK Key specific. This is set in [setUp].
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:50:7
Class 'BidMachineAdapter' with '17' functions detected. Defined threshold inside classes is set to '11'
47 /**
48 * The Chartboost Mediation BidMachine Ads SDK adapter.
49 */
50 class BidMachineAdapter : PartnerAdapter {
!! ^ error
51 companion object {
52 /**
53 * Key for parsing the BidMachine SDK source ID.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:50:7
Class 'ChartboostAdapter' with '18' functions detected. Defined threshold inside classes is set to '11'
47 /**
48 * The Chartboost Mediation Chartboost SDK adapter.
49 */
50 class ChartboostAdapter : PartnerAdapter {
!! ^ error
51 companion object {
52 /**
53 * Convert a given Chartboost error to a [ChartboostMediationError].
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:29:7
Class 'partnerSdkVersionDigitalTurbineExchangeAdapter' with '15' functions detected. Defined threshold inside classes is set to '11'
26 /**
27 * The Chartboost Mediation Digital Turbine Exchange adapter
28 */
29 class partnerSdkVersionDigitalTurbineExchangeAdapter : PartnerAdapter {
!! ^ error
30 companion object {
31 /**
32 * Key for parsing the Digital Turbine Exchange app ID.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:43:7
Class 'GoogleBiddingAdapter' with '21' functions detected. Defined threshold inside classes is set to '11'
40 import java.lang.ref.WeakReference
41 import kotlin.coroutines.resume
42
43 class GoogleBiddingAdapter : PartnerAdapter {
!! ^ error
44 companion object {
45 /**
46 * Convert a given Google Bidding error code into a [ChartboostMediationError].
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:41:7
Class 'HyprMXAdapter' with '20' functions detected. Defined threshold inside classes is set to '11'
38 /**
39 * The Chartboost Mediation HyperMX SDK adapter.
40 */
41 class HyprMXAdapter : PartnerAdapter {
!! ^ error
42 companion object {
43 /**
44 * Key for parsing the HyperMX SDK distributor ID.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:38:7
Class 'InMobiAdapter' with '16' functions detected. Defined threshold inside classes is set to '11'
35 /**
36 * The Chartboost Mediation InMobi SDK adapter.
37 */
38 class InMobiAdapter : PartnerAdapter {
!! ^ error
39 companion object {
40 /**
41 * Key for parsing the InMobi SDK account ID.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-ironsource/IronSourceAdapter/src/main/java/com/chartboost/mediation/ironsourceadapter/IronSourceAdapter.kt:30:7
Class 'IronSourceAdapter' with '14' functions detected. Defined threshold inside classes is set to '11'
27 /**
28 * The Chartboost Mediation ironSource adapter.
29 */
30 class IronSourceAdapter : PartnerAdapter {
!! ^ error
31 companion object {
32 /**
33 * Key for parsing the ironSource app key.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-ironsource/IronSourceAdapter/src/main/java/com/chartboost/mediation/ironsourceadapter/IronSourceAdapter.kt:642:19
Class 'IronSourceRouter' with '17' functions detected. Defined threshold inside classes is set to '11'
639 * Since ironSource has a singleton listener, Chartboost Mediation needs a router to sort the
640 * callbacks that result from each load/show attempt.
641 */
642 private class IronSourceRouter(val adapter: IronSourceAdapter) :
!!! ^ error
643 ISDemandOnlyInterstitialListener,
644 ISDemandOnlyRewardedVideoListener {
645 /**
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:30:7
Class 'MetaAudienceNetworkAdapter' with '22' functions detected. Defined threshold inside classes is set to '11'
27 /**
28 * The Chartboost Mediation Meta Audience Network adapter.
29 */
30 class MetaAudienceNetworkAdapter : PartnerAdapter {
!! ^ error
31 companion object {
32 /**
33 * Convert a given Meta Audience Network error code into a [ChartboostMediationError].
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:35:7
Class 'MintegralAdapter' with '18' functions detected. Defined threshold inside classes is set to '11'
32 /**
33 * The Chartboost Mediation Mintegral Adapter.
34 */
35 class MintegralAdapter : PartnerAdapter {
!! ^ error
36 companion object {
37 /**
38 * Lambda to be called for a successful Mintegral ad show.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:31:7
Class 'MobileFuseAdapter' with '14' functions detected. Defined threshold inside classes is set to '11'
28 import java.lang.ref.WeakReference
29 import kotlin.coroutines.resume
30
31 class MobileFuseAdapter : PartnerAdapter {
!! ^ error
32 companion object {
33 /**
34 * The MobileFuse bidding token key.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:31:7
Class 'PangleAdapter' with '17' functions detected. Defined threshold inside classes is set to '11'
28 /**
29 * The Chartboost Mediation Pangle SDK adapter.
30 */
31 class PangleAdapter : PartnerAdapter {
!! ^ error
32 companion object {
33 /**
34 * Key for parsing the Pangle SDK application ID.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:34:7
Class 'ReferenceAdapter' with '15' functions detected. Defined threshold inside classes is set to '11'
31 * Implementations of the Chartboost Mediation interface may roughly model their own design after this class,
32 * but do NOT call this adapter directly.
33 */
34 class ReferenceAdapter : PartnerAdapter {
!! ^ error
35 /**
36 * The Reference adapter configuration.
37 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:38:7
Class 'UnityAdsAdapter' with '17' functions detected. Defined threshold inside classes is set to '11'
35 /**
36 * The Chartboost Mediation Unity Ads Adapter.
37 */
38 class UnityAdsAdapter : PartnerAdapter {
!! ^ error
39 companion object {
40 /**
41 * Key for parsing the Unity Ads game ID.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapter.kt:39:7
Class 'VerveAdapter' with '16' functions detected. Defined threshold inside classes is set to '11'
36 /**
37 * The Chartboost Mediation Verve Adapter.
38 */
39 class VerveAdapter : PartnerAdapter {
!! ^ error
40 companion object {
41 /**
42 * Key for parsing the Verve SDK app token.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:53:7
Class 'VungleAdapter' with '15' functions detected. Defined threshold inside classes is set to '11'
50 /**
51 * The Chartboost Mediation Vungle Adapter.
52 */
53 class VungleAdapter : PartnerAdapter {
!! ^ error
54 companion object {
55 /**
56 * Key for parsing the Vungle app ID.
Empty block of code detected. As they serve no purpose they should be removed.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:953:42
This empty block of code can be removed.
950 // NO-OP
951 }
952
953 override fun onAdOpen(adView: View?) {
!!! ^ error
954 }
955
956 override fun onAdClosed(adView: View?) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:349:27
This empty block of code can be removed.
346 override fun adOpenedFullscreen(
347 ad: AppLovinAd,
348 adView: AppLovinAdView,
349 ) {}
!!! ^ error
350
351 override fun adClosedFullscreen(
352 ad: AppLovinAd,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:354:27
This empty block of code can be removed.
351 override fun adClosedFullscreen(
352 ad: AppLovinAd,
353 adView: AppLovinAdView,
354 ) {}
!!! ^ error
355
356 override fun adLeftApplication(
357 ad: AppLovinAd,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:359:27
This empty block of code can be removed.
356 override fun adLeftApplication(
357 ad: AppLovinAd,
358 adView: AppLovinAdView,
359 ) {}
!!! ^ error
360
361 override fun adFailedToDisplay(
362 ad: AppLovinAd,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:609:23
This empty block of code can be removed.
606 override fun userOverQuota(
607 appLovinAd: AppLovinAd,
608 map: Map<String, String>?,
609 ) {}
!!! ^ error
610
611 override fun userRewardRejected(
612 appLovinAd: AppLovinAd,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:633:77
This empty block of code can be removed.
630
631 val playbackListener: AppLovinAdVideoPlaybackListener =
632 object : AppLovinAdVideoPlaybackListener {
633 override fun videoPlaybackBegan(appLovinAd: AppLovinAd) {
!!! ^ error
634 }
635
636 override fun videoPlaybackEnded(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:431:76
This empty block of code can be removed.
428 }
429 }
430
431 override fun onAdRequestedToShow(event: ShowEvent) {}
!!! ^ error
432
433 override fun onAdShown(
434 event: ShowEvent,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:436:27
This empty block of code can be removed.
433 override fun onAdShown(
434 event: ShowEvent,
435 error: ShowError?,
436 ) {}
!!! ^ error
437
438 override fun onImpressionRecorded(event: ImpressionEvent) {
439 PartnerLogController.log(DID_TRACK_IMPRESSION)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:794:56
This empty block of code can be removed.
791 }
792 }
793
794 override fun onAdRequestedToShow(event: ShowEvent) {}
!!! ^ error
795
796 override fun onAdShown(
797 event: ShowEvent,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:905:56
This empty block of code can be removed.
902 }
903 }
904
905 override fun onAdRequestedToShow(event: ShowEvent) {}
!!! ^ error
906
907 override fun onAdShown(
908 event: ShowEvent,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:369:107
This empty block of code can be removed.
366 )
367 }
368
369 override fun onAdWillCloseInternalBrowser(ad: InneractiveAdSpot?) {
!!! ^ error
370 }
371
372 override fun onAdWillOpenExternalApp(ad: InneractiveAdSpot?) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:372:102
This empty block of code can be removed.
369 override fun onAdWillCloseInternalBrowser(ad: InneractiveAdSpot?) {
370 }
371
372 override fun onAdWillOpenExternalApp(ad: InneractiveAdSpot?) {
!!! ^ error
373 }
374
375 override fun onAdEnteredErrorState(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:382:91
This empty block of code can be removed.
379 PartnerLogController.log(SHOW_FAILED, "Error: $error")
380 }
381
382 override fun onAdExpanded(ad: InneractiveAdSpot?) {
!!! ^ error
383 }
384
385 override fun onAdResized(ad: InneractiveAdSpot?) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:385:90
This empty block of code can be removed.
382 override fun onAdExpanded(ad: InneractiveAdSpot?) {
383 }
384
385 override fun onAdResized(ad: InneractiveAdSpot?) {
!!! ^ error
386 }
387
388 override fun onAdCollapsed(ad: InneractiveAdSpot?) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:388:92
This empty block of code can be removed.
385 override fun onAdResized(ad: InneractiveAdSpot?) {
386 }
387
388 override fun onAdCollapsed(ad: InneractiveAdSpot?) {
!!! ^ error
389 }
390 }
391
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:584:90
This empty block of code can be removed.
581 )
582 }
583
584 override fun onAdWillCloseInternalBrowser(ad: InneractiveAdSpot) {
!!! ^ error
585 }
586
587 override fun onAdWillOpenExternalApp(ad: InneractiveAdSpot) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:587:85
This empty block of code can be removed.
584 override fun onAdWillCloseInternalBrowser(ad: InneractiveAdSpot) {
585 }
586
587 override fun onAdWillOpenExternalApp(ad: InneractiveAdSpot) {
!!! ^ error
588 }
589
590 override fun onAdEnteredErrorState(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:502:71
This empty block of code can be removed.
499 )
500 }
501
502 override fun onAdClosed(ad: HyprMXBannerView) {}
!!! ^ error
503
504 override fun onAdFailedToLoad(
505 ad: HyprMXBannerView,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:522:80
This empty block of code can be removed.
519 )
520 }
521
522 override fun onAdLeftApplication(ad: HyprMXBannerView) {}
!!! ^ error
523
524 override fun onAdLoaded(ad: HyprMXBannerView) {
525 PartnerLogController.log(LOAD_SUCCEEDED)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:537:71
This empty block of code can be removed.
534 )
535 }
536
537 override fun onAdOpened(ad: HyprMXBannerView) {}
!!! ^ error
538 }
539 loadAd()
540 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:497:58
This empty block of code can be removed.
494 resumeOnce(Result.failure(ChartboostMediationAdException(getChartboostMediationError(status.statusCode))))
495 }
496
497 override fun onAdDisplayed(ad: InMobiBanner) {}
!!! ^ error
498
499 override fun onAdDismissed(ad: InMobiBanner) {}
500
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:499:58
This empty block of code can be removed.
496
497 override fun onAdDisplayed(ad: InMobiBanner) {}
498
499 override fun onAdDismissed(ad: InMobiBanner) {}
!!! ^ error
500
501 override fun onAdClicked(
502 ad: InMobiBanner,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:470:62
This empty block of code can be removed.
467 )
468 }
469
470 override fun onLeaveApp(p0: MBridgeIds?) {
!!! ^ error
471 }
472
473 override fun showFullScreen(p0: MBridgeIds?) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:473:66
This empty block of code can be removed.
470 override fun onLeaveApp(p0: MBridgeIds?) {
471 }
472
473 override fun showFullScreen(p0: MBridgeIds?) {
!!! ^ error
474 }
475
476 override fun closeFullScreen(p0: MBridgeIds?) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:476:67
This empty block of code can be removed.
473 override fun showFullScreen(p0: MBridgeIds?) {
474 }
475
476 override fun closeFullScreen(p0: MBridgeIds?) {
!!! ^ error
477 }
478
479 override fun onCloseBanner(p0: MBridgeIds?) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:479:65
This empty block of code can be removed.
476 override fun closeFullScreen(p0: MBridgeIds?) {
477 }
478
479 override fun onCloseBanner(p0: MBridgeIds?) {
!!! ^ error
480 }
481 },
482 )
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:715:49
This empty block of code can be removed.
712 private val partnerAd: PartnerAd,
713 private val continuationRef: WeakReference<CancellableContinuation<Result<PartnerAd>>>,
714 ) : InterstitialVideoListener {
715 override fun onLoadSuccess(p0: MBridgeIds?) {
!!! ^ error
716 }
717
718 override fun onVideoLoadSuccess(p0: MBridgeIds?) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:820:49
This empty block of code can be removed.
817 }
818 }
819
820 override fun onLoadSuccess(p0: MBridgeIds?) {
!!! ^ error
821 }
822
823 override fun onVideoLoadFail(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:254:82
This empty block of code can be removed.
251 resumeOnce(Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.Unknown)))
252 }
253
254 override fun onBannerLeftApplication(bannerView: BannerView) {}
!!! ^ error
255 }
256
257 ad.load()
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:434:58
This empty block of code can be removed.
431 )
432 }
433
434 override fun onAdEnd(baseAd: BaseAd) {}
!!! ^ error
435
436 override fun onAdFailedToLoad(
437 baseAd: BaseAd,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:472:70
This empty block of code can be removed.
469 )
470 }
471
472 override fun onAdLeftApplication(baseAd: BaseAd) {}
!!! ^ error
473
474 override fun onAdLoaded(baseAd: BaseAd) {
475 PartnerLogController.log(LOAD_SUCCEEDED)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:481:60
This empty block of code can be removed.
478 )
479 }
480
481 override fun onAdStart(baseAd: BaseAd) {}
!!! ^ error
482 }
483
484 vungleBanner.load(adm)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:743:58
This empty block of code can be removed.
740 )
741 }
742
743 override fun onAdLeftApplication(baseAd: BaseAd) {}
!!! ^ error
744
745 override fun onAdLoaded(baseAd: BaseAd) {
746 PartnerLogController.log(LOAD_SUCCEEDED)
Instead of catching for a general exception type and checking for a specific exception type, use multiple catch blocks.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/ChartboostMediationNetworking.kt:396:29
Instead of catching for a general exception type and checking for a specific exception type, use multiple catch blocks.
393 code = -1,
394 headers = null,
395 error =
396 if (throwable is UnknownHostException) {
!!! ^ error
397 ChartboostMediationError.OtherError.NoConnectivity
398 } else {
399 ChartboostMediationError.OtherError.Unknown
The caught exception is swallowed. The original exception could be lost.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ChartboostMediationInternal.kt:82:22
The caught exception is swallowed. The original exception could be lost.
79 null,
80 ) ?: "",
81 )
82 } catch (iae: IllegalArgumentException) {
!! ^ error
83 null
84 }?.let {
85 LogController.serverLogLevelOverride = it
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/AppConfigStorage.kt:181:22
The caught exception is swallowed. The original exception could be lost.
178 get() =
179 try {
180 LogController.LogLevel.valueOf((appConfig.logLevelString ?: "").uppercase())
181 } catch (iae: IllegalArgumentException) {
!!! ^ error
182 null
183 }
184
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapterConfiguration.kt:63:26
The caught exception is swallowed. The original exception could be lost.
60 withContext(Dispatchers.IO) {
61 try {
62 AdvertisingIdClient.getAdvertisingIdInfo(context).id
63 } catch (e: Exception) {
!! ^ error
64 context.contentResolver.let { resolver ->
65 Settings.Secure.getString(resolver, "advertising_id")
66 }
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:389:54
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
386
387 result
388 }
389 } catch (e: Exception) {
!!! ^ error
390 metrics.end = System.currentTimeMillis()
391 metrics.isSuccess = false
392 metrics.chartboostMediationError =
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:514:46
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
511 handleLoadResult(it, metrics)
512 result = it
513 }
514 } catch (e: Exception) {
!!! ^ error
515 metrics.end = System.currentTimeMillis()
516 metrics.isSuccess = false
517 metrics.chartboostMediationError =
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:662:38
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
659 measureTimeMillis {
660 try {
661 handleShowResult(adapter.show(activity, partnerAd), metrics)
662 } catch (e: Exception) {
!!! ^ error
663 metrics.end = System.currentTimeMillis()
664 metrics.isSuccess = false
665 metrics.chartboostMediationError =
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:723:22
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
720
721 adapters[adapter.configuration.partnerId] = adapter
722 initStatuses[adapter.configuration.partnerId] = PartnerInitializationStatus.IDLE
723 } catch (exception: Exception) {
!!! ^ error
724 LogController.e(
725 "Failed to create adapter $name. Error: ${exception.message}." +
726 "The associated network will not be initialized.",
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:755:18
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
752
753 handleSetupResult(it, adapter, metrics)
754 }
755 } catch (exception: Exception) {
!!! ^ error
756 metrics.end = System.currentTimeMillis()
757 metrics.duration = metrics.end?.minus(metrics.start ?: 0) ?: 0
758 metrics.isSuccess = false
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:822:18
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
819 partnerId = adapter.configuration.partnerId,
820 partnerDisplayName = adapter.configuration.partnerDisplayName,
821 )
822 } catch (exception: Exception) {
!!! ^ error
823 LogController.e(
824 "Failed to make AdapterInfo for " + "${adapter.configuration.partnerDisplayName}. Its version data will not be available." + " Error: ${
825 (exception as? ChartboostMediationAdException)?.chartboostMediationError ?: ChartboostMediationError.InitializationError.Exception
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:320:18
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
317 getCreativeSizeFromPartnerAdDetails(it)
318 }
319 }
320 } catch (e: Exception) {
!!! ^ error
321 LogController.e("Encountered a problem getting the creative size: ${e.message}")
322 }
323
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/ChartboostMediationNetworking.kt:390:22
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
387 response = response,
388 error = NetworkErrorTransformer.transform(response),
389 )
390 } catch (throwable: Throwable) {
!!! ^ error
391 LogController.e("Error making network request: ${throwable.message}")
392 ChartboostMediationNetworkingResult.Failure(
393 code = -1,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/model/ChartboostMediationNetworkingResult.kt:77:30
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
74 error = ChartboostMediationError.OtherError.InternalError,
75 exception = serializationException,
76 )
77 } catch (throwable: Throwable) {
!! ^ error
78 Failure(
79 code = -1,
80 headers = response.headers(),
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapterConfiguration.kt:63:26
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
60 withContext(Dispatchers.IO) {
61 try {
62 AdvertisingIdClient.getAdvertisingIdInfo(context).id
63 } catch (e: Exception) {
!! ^ error
64 context.contentResolver.let { resolver ->
65 Settings.Secure.getString(resolver, "advertising_id")
66 }
A class or object name should fit the naming pattern defined in the projects configuration.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:29:7
Class and Object names should match the pattern: [A-Z][a-zA-Z0-9]*
26 /**
27 * The Chartboost Mediation Digital Turbine Exchange adapter
28 */
29 class partnerSdkVersionDigitalTurbineExchangeAdapter : PartnerAdapter {
!! ^ error
30 companion object {
31 /**
32 * Key for parsing the Digital Turbine Exchange app ID.
If a source file contains only a single non-private top-level class or object, the file name should reflect the case-sensitive name plus the .kt extension.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:29:7
The file name 'DigitalTurbineExchangeAdapter' does not match the name of the single top-level declaration 'partnerSdkVersionDigitalTurbineExchangeAdapter'.
26 /**
27 * The Chartboost Mediation Digital Turbine Exchange adapter
28 */
29 class partnerSdkVersionDigitalTurbineExchangeAdapter : PartnerAdapter {
!! ^ error
30 companion object {
31 /**
32 * Key for parsing the Digital Turbine Exchange app ID.
Declaring lambda parameters as it
is redundant.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:341:28
This explicit usage of `it` as the lambda parameter name can be omitted.
338 * @return A [Result] object containing details about the initialization result.
339 */
340 private fun getInitResult(status: AdapterStatus?): Result<Unit> {
341 return status?.let { it ->
!!! ^ error
342 if (it.initializationState == AdapterStatus.State.READY) {
343 Result.success(PartnerLogController.log(SETUP_SUCCEEDED))
344 } else {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:380:28
This explicit usage of `it` as the lambda parameter name can be omitted.
377 * @return A [Result] object containing details about the initialization result.
378 */
379 private fun getInitResult(status: AdapterStatus?): Result<Unit> {
380 return status?.let { it ->
!!! ^ error
381 if (it.initializationState == AdapterStatus.State.READY) {
382 Result.success(PartnerLogController.log(SETUP_SUCCEEDED))
383 } else {
Flags a forbidden comment.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/BidController.kt:110:13
Forbidden TODO todo marker in comment, please do the changes.
107 keywords: Keywords,
108 ): PartnerAdLoadRequest {
109 return PartnerAdLoadRequest(
110 // TODO: This is a hack forcing the Reference Adapter to load + show ads. Remove this hack once not needed.
!!! ^ error
111 partnerId = if (shouldForceReference(bid.adIdentifier.placement)) "reference" else bid.partnerName,
112 chartboostPlacement = bid.adIdentifier.placement,
113 partnerPlacement = bid.partnerPlacement,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:676:25
Forbidden TODO todo marker in comment, please do the changes.
673 if (continuation.isActive) {
674 continuation.resume(Result.success(partnerAd))
675 }
676 // TODO: HB-4119: We may need to check if the impression is recorded here.
!!! ^ error
677 }
678
679 override fun adHidden(appLovinAd: AppLovinAd) {
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdQueue.kt:145:76
This expression contains a magic number. Consider defining it to a well named constant.
142 * The time to live (TTL) value of a queued ad in milliseconds.
143 * This value is configurable via the [AppConfigStorage].
144 */
145 private var queuedAdTtlMs: Long = AppConfigStorage.queueAdTtlSeconds * 1000L
!!! ^ error
146
147 /**
148 * The maximum queue size.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdQueue.kt:170:13
This expression contains a magic number. Consider defining it to a well named constant.
167 */
168 private val delayFetchRateMs: Long
169 get() =
170 1000L *
!!! ^ error
171 max(
172 AppConfigStorage.fullscreenLoadTimeoutSeconds,
173 LoadRateLimiter().getLoadRateLimitSeconds(placement),
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdQueue.kt:443:83
This expression contains a magic number. Consider defining it to a well named constant.
440 private fun handleAdFetchLoadResultNoAd(loadResult: ChartboostMediationFullscreenAdLoadResult) {
441 LogController.w(
442 "$LOG_PREFIX $placement failed to load ad. " +
443 "The next fetch request has been delayed for ${delayFetchRateMs / 1000} " +
!!! ^ error
444 "seconds to prevent unnecessary requests from being made.",
445 )
446 LogController.i(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdQueue.kt:468:83
This expression contains a magic number. Consider defining it to a well named constant.
465 fetchAdJob = null
466 LogController.w(
467 "$LOG_PREFIX $placement encountered an error during ad fetch. " +
468 "The next fetch request has been delayed for ${delayFetchRateMs / 1000} " +
!!! ^ error
469 "seconds to prevent unnecessary requests from being made.",
470 )
471 // Start another ad fetch job.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AdController.kt:81:133
This expression contains a magic number. Consider defining it to a well named constant.
78 loadRateLimiter.millisUntilNextLoadIsAllowed(adLoadParams.adIdentifier.placement)
79 if (millisUntilNextLoadIsAllowed > 0 && AppConfigStorage.getEnableRateLimiting(context)) {
80 LogController.w(
81 "${adLoadParams.adIdentifier.placement} has been rate limited. Please try again in ${millisUntilNextLoadIsAllowed / 1000}.${millisUntilNextLoadIsAllowed % 1000} seconds",
!! ^ error
82 )
83 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.RateLimited))
84 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AdController.kt:81:172
This expression contains a magic number. Consider defining it to a well named constant.
78 loadRateLimiter.millisUntilNextLoadIsAllowed(adLoadParams.adIdentifier.placement)
79 if (millisUntilNextLoadIsAllowed > 0 && AppConfigStorage.getEnableRateLimiting(context)) {
80 LogController.w(
81 "${adLoadParams.adIdentifier.placement} has been rate limited. Please try again in ${millisUntilNextLoadIsAllowed / 1000}.${millisUntilNextLoadIsAllowed % 1000} seconds",
!! ^ error
82 )
83 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.RateLimited))
84 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AdController.kt:87:57
This expression contains a magic number. Consider defining it to a well named constant.
84 }
85
86 // height must be at least 50dp and no more than 1800dp. 0dp is the exception to this.
87 adLoadParams.bannerSize?.height?.takeIf { (it < 50 && it != 0) || it > 1800 }?.let { height ->
!! ^ error
88 LogController.w("Banner height must be at least 50 and no more than 1800. Banner height is $height.")
89 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.InvalidBannerSize))
90 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AdController.kt:87:80
This expression contains a magic number. Consider defining it to a well named constant.
84 }
85
86 // height must be at least 50dp and no more than 1800dp. 0dp is the exception to this.
87 adLoadParams.bannerSize?.height?.takeIf { (it < 50 && it != 0) || it > 1800 }?.let { height ->
!! ^ error
88 LogController.w("Banner height must be at least 50 and no more than 1800. Banner height is $height.")
89 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.InvalidBannerSize))
90 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:68:16
This expression contains a magic number. Consider defining it to a well named constant.
65 IDLE(0), // Initialization not started (the default state).
66 INITIALIZING(1), // Initialization is in progress.
67 INITIALIZED(2), // Initialization has been successfully completed.
68 FAILED(3), // Initialization has failed.
!! ^ error
69 SKIPPED(4), // Initialization deliberately skipped by the publisher.
70 }
71
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:69:17
This expression contains a magic number. Consider defining it to a well named constant.
66 INITIALIZING(1), // Initialization is in progress.
67 INITIALIZED(2), // Initialization has been successfully completed.
68 FAILED(3), // Initialization has failed.
69 SKIPPED(4), // Initialization deliberately skipped by the publisher.
!! ^ error
70 }
71
72 /**
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:101:62
This expression contains a magic number. Consider defining it to a well named constant.
98 * Compute the token fetching timeout in milliseconds.
99 */
100 private val prebidFetchTimeoutMs
101 get() = AppConfigStorage.prebidFetchTimeoutSeconds * 1000L
!!! ^ error
102
103 /**
104 * Instantiate adapters for all supplied class names, and initialize them on the main thread.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:155:79
This expression contains a magic number. Consider defining it to a well named constant.
152 // Report init completion to Chartboost Mediation once the time is up anyway, but still let the
153 // partners in question finish initialization (they are not cancelled).
154 val timer =
155 Timer().schedule(AppConfigStorage.partnerInitTimeoutSeconds * 1000L) {
!!! ^ error
156 if (!initCompletionReported) {
157 cancel()
158
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:187:82
This expression contains a magic number. Consider defining it to a well named constant.
184 adapters.remove(partnerId)
185 }
186
187 Timer().schedule(AppConfigStorage.initializationMetricsPostTimeout * 1000L) {
!!! ^ error
188 MetricsManager.postMetricsData(
189 metricsDataSet,
190 eventResult =
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:656:77
This expression contains a magic number. Consider defining it to a well named constant.
653 adapters[partnerAd.request.partnerId]?.let { adapter ->
654 metrics.auctionId = auctionIdentifier
655
656 withTimeoutOrNull(AppConfigStorage.showTimeoutSeconds * 1000L) {
!!! ^ error
657 metrics.start = System.currentTimeMillis()
658
659 measureTimeMillis {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:863:102
This expression contains a magic number. Consider defining it to a well named constant.
860 */
861 private fun getLoadTimeoutMs(format: AdFormat): Long {
862 return when (format) {
863 AdFormat.BANNER, AdFormat.ADAPTIVE_BANNER -> AppConfigStorage.bannerLoadTimeoutSeconds * 1000L
!!! ^ error
864
865 AdFormat.INTERSTITIAL, AdFormat.REWARDED, AdFormat.REWARDED_INTERSTITIAL -> AppConfigStorage.fullscreenLoadTimeoutSeconds * 1000L
866
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:865:137
This expression contains a magic number. Consider defining it to a well named constant.
862 return when (format) {
863 AdFormat.BANNER, AdFormat.ADAPTIVE_BANNER -> AppConfigStorage.bannerLoadTimeoutSeconds * 1000L
864
865 AdFormat.INTERSTITIAL, AdFormat.REWARDED, AdFormat.REWARDED_INTERSTITIAL -> AppConfigStorage.fullscreenLoadTimeoutSeconds * 1000L
!!! ^ error
866
867 else -> {
868 LogController.e("Unknown ad format: $format. Using default timeout.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:869:65
This expression contains a magic number. Consider defining it to a well named constant.
866
867 else -> {
868 LogController.e("Unknown ad format: $format. Using default timeout.")
869 AppConfigStorage.fullscreenLoadTimeoutSeconds * 1000L
!!! ^ error
870 }
871 }
872 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:59:75
This expression contains a magic number. Consider defining it to a well named constant.
56 * How long to wait between each refresh.
57 */
58 private val refreshTimeMillis
59 get() = PlacementStorage.getRefreshTime(getBannerAdPlacement()) * 1000
!! ^ error
60
61 /**
62 * How long to wait before verifying the ad size.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:70:73
This expression contains a magic number. Consider defining it to a well named constant.
67 /**
68 * The penalty time if we fail too many loads in a row.
69 */
70 private val maxRefreshTime = PlacementStorage.getMaxRefreshTime() * 1000
!! ^ error
71
72 /**
73 * How many failed loads before we go into penalty time.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/AppConfigStorage.kt:74:41
This expression contains a magic number. Consider defining it to a well named constant.
71 /**
72 * Load timeout for partner banner ad requests.
73 */
74 var bannerLoadTimeoutSeconds: Int = 15
!! ^ error
75 private set
76 get() = appConfig.bannerLoadTimeoutSeconds
77
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/AppConfigStorage.kt:81:40
This expression contains a magic number. Consider defining it to a well named constant.
78 /**
79 * Delay before checking creative size for BANNER_SIZE event
80 */
81 var bannerSizeEventDelayMs: Long = 1000L
!! ^ error
82 private set
83 get() = appConfig.bannerSizeEventDelayMs
84
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/AppConfigStorage.kt:88:45
This expression contains a magic number. Consider defining it to a well named constant.
85 /**
86 * Load timeout for partner fullscreen ad requests.
87 */
88 var fullscreenLoadTimeoutSeconds: Int = 30
!! ^ error
89 private set
90 get() = appConfig.fullscreenLoadTimeoutSeconds
91
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/AppConfigStorage.kt:95:35
This expression contains a magic number. Consider defining it to a well named constant.
92 /**
93 * Show timeout for partner interstitial and rewarded ad requests.
94 */
95 var showTimeoutSeconds: Int = 5
!! ^ error
96 private set
97 get() = appConfig.showTimeoutSeconds
98
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/AppConfigStorage.kt:103:39
This expression contains a magic number. Consider defining it to a well named constant.
100 * Timeout for partner SDK initializations. Note that this timeout is only effective prior to
101 * adapter separation (Chartboost Mediation v4.0.0).
102 */
103 var startSdkTimeoutSeconds: Int = 20
!!! ^ error
104 private set
105 get() = appConfig.startSdkTimeoutSeconds
106
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/AppConfigStorage.kt:126:43
This expression contains a magic number. Consider defining it to a well named constant.
123 /**
124 * Timeout for partner bid token computation.
125 */
126 var prebidFetchTimeoutSeconds: Long = 5
!!! ^ error
127 private set
128 get() = appConfig.prebidFetchTimeoutSeconds
129
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/AppConfigStorage.kt:188:29
This expression contains a magic number. Consider defining it to a well named constant.
185 /**
186 * Maximum queue size.
187 */
188 var maxQueueSize: Int = 5
!!! ^ error
189 private set
190 get() = appConfig.maxQueueSize
191
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/AppConfigStorage.kt:195:35
This expression contains a magic number. Consider defining it to a well named constant.
192 /**
193 * Time to live of a queued ad. The default time is one hour.
194 */
195 var queueAdTtlSeconds: Long = 3600L
!!! ^ error
196 private set
197 get() = appConfig.queueAdTtlSeconds
198
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/utils/ChartboostMediationJson.kt:58:46
This expression contains a magic number. Consider defining it to a well named constant.
55 Base64.encode(
56 "The malformed JSON is too large to include. Partial JSON: $jsonString".toByteArray(Charsets.UTF_8),
57 Base64.NO_WRAP,
58 ).copyOfRange(0, maxSize - maxSize % 4).toString(Charsets.UTF_8)
!! ^ error
59 } else {
60 Base64.encodeToString(jsonString.toByteArray(), Base64.NO_WRAP)
61 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:463:23
This expression contains a magic number. Consider defining it to a well named constant.
460
461 return size?.height?.let {
462 when {
463 it in 50 until 90 -> AdSize.BANNER
!!! ^ error
464 it in 90 until 250 -> AdSize.LEADERBOARD
465 it >= 250 -> AdSize.MEDIUM_RECTANGLE
466 else -> AdSize.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:463:32
This expression contains a magic number. Consider defining it to a well named constant.
460
461 return size?.height?.let {
462 when {
463 it in 50 until 90 -> AdSize.BANNER
!!! ^ error
464 it in 90 until 250 -> AdSize.LEADERBOARD
465 it >= 250 -> AdSize.MEDIUM_RECTANGLE
466 else -> AdSize.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:464:23
This expression contains a magic number. Consider defining it to a well named constant.
461 return size?.height?.let {
462 when {
463 it in 50 until 90 -> AdSize.BANNER
464 it in 90 until 250 -> AdSize.LEADERBOARD
!!! ^ error
465 it >= 250 -> AdSize.MEDIUM_RECTANGLE
466 else -> AdSize.BANNER
467 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:464:32
This expression contains a magic number. Consider defining it to a well named constant.
461 return size?.height?.let {
462 when {
463 it in 50 until 90 -> AdSize.BANNER
464 it in 90 until 250 -> AdSize.LEADERBOARD
!!! ^ error
465 it >= 250 -> AdSize.MEDIUM_RECTANGLE
466 else -> AdSize.BANNER
467 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:465:23
This expression contains a magic number. Consider defining it to a well named constant.
462 when {
463 it in 50 until 90 -> AdSize.BANNER
464 it in 90 until 250 -> AdSize.LEADERBOARD
465 it >= 250 -> AdSize.MEDIUM_RECTANGLE
!!! ^ error
466 else -> AdSize.BANNER
467 }
468 } ?: AdSize.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:399:23
This expression contains a magic number. Consider defining it to a well named constant.
396 private fun getAppLovinAdSize(size: Size?): AppLovinAdSize {
397 return size?.height?.let {
398 when {
399 it in 50 until 90 -> AppLovinAdSize.BANNER
!!! ^ error
400 it in 90 until 250 -> AppLovinAdSize.LEADER
401 it >= 250 -> AppLovinAdSize.MREC
402 else -> AppLovinAdSize.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:399:32
This expression contains a magic number. Consider defining it to a well named constant.
396 private fun getAppLovinAdSize(size: Size?): AppLovinAdSize {
397 return size?.height?.let {
398 when {
399 it in 50 until 90 -> AppLovinAdSize.BANNER
!!! ^ error
400 it in 90 until 250 -> AppLovinAdSize.LEADER
401 it >= 250 -> AppLovinAdSize.MREC
402 else -> AppLovinAdSize.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:400:23
This expression contains a magic number. Consider defining it to a well named constant.
397 return size?.height?.let {
398 when {
399 it in 50 until 90 -> AppLovinAdSize.BANNER
400 it in 90 until 250 -> AppLovinAdSize.LEADER
!!! ^ error
401 it >= 250 -> AppLovinAdSize.MREC
402 else -> AppLovinAdSize.BANNER
403 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:400:32
This expression contains a magic number. Consider defining it to a well named constant.
397 return size?.height?.let {
398 when {
399 it in 50 until 90 -> AppLovinAdSize.BANNER
400 it in 90 until 250 -> AppLovinAdSize.LEADER
!!! ^ error
401 it >= 250 -> AppLovinAdSize.MREC
402 else -> AppLovinAdSize.BANNER
403 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:401:23
This expression contains a magic number. Consider defining it to a well named constant.
398 when {
399 it in 50 until 90 -> AppLovinAdSize.BANNER
400 it in 90 until 250 -> AppLovinAdSize.LEADER
401 it >= 250 -> AppLovinAdSize.MREC
!!! ^ error
402 else -> AppLovinAdSize.BANNER
403 }
404 } ?: AppLovinAdSize.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:507:23
This expression contains a magic number. Consider defining it to a well named constant.
504 private fun getBidMachineBannerAdSize(size: Size?) =
505 size?.height?.let {
506 when {
507 it in 50 until 90 -> BannerSize.Size_320x50
!!! ^ error
508 it in 90 until 250 -> BannerSize.Size_728x90
509 it >= 250 -> BannerSize.Size_300x250
510 else -> BannerSize.Size_320x50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:507:32
This expression contains a magic number. Consider defining it to a well named constant.
504 private fun getBidMachineBannerAdSize(size: Size?) =
505 size?.height?.let {
506 when {
507 it in 50 until 90 -> BannerSize.Size_320x50
!!! ^ error
508 it in 90 until 250 -> BannerSize.Size_728x90
509 it >= 250 -> BannerSize.Size_300x250
510 else -> BannerSize.Size_320x50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:508:23
This expression contains a magic number. Consider defining it to a well named constant.
505 size?.height?.let {
506 when {
507 it in 50 until 90 -> BannerSize.Size_320x50
508 it in 90 until 250 -> BannerSize.Size_728x90
!!! ^ error
509 it >= 250 -> BannerSize.Size_300x250
510 else -> BannerSize.Size_320x50
511 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:508:32
This expression contains a magic number. Consider defining it to a well named constant.
505 size?.height?.let {
506 when {
507 it in 50 until 90 -> BannerSize.Size_320x50
508 it in 90 until 250 -> BannerSize.Size_728x90
!!! ^ error
509 it >= 250 -> BannerSize.Size_300x250
510 else -> BannerSize.Size_320x50
511 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:509:23
This expression contains a magic number. Consider defining it to a well named constant.
506 when {
507 it in 50 until 90 -> BannerSize.Size_320x50
508 it in 90 until 250 -> BannerSize.Size_728x90
509 it >= 250 -> BannerSize.Size_300x250
!!! ^ error
510 else -> BannerSize.Size_320x50
511 }
512 } ?: BannerSize.Size_320x50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:469:16
This expression contains a magic number. Consider defining it to a well named constant.
466 */
467 private fun getChartboostAdSize(size: Size?) =
468 when (size?.height) {
469 in 50 until 90 -> Banner.BannerSize.STANDARD
!!! ^ error
470 in 90 until 250 -> Banner.BannerSize.LEADERBOARD
471 in 250 until DisplayMetrics().heightPixels -> Banner.BannerSize.MEDIUM
472 else -> Banner.BannerSize.STANDARD
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:469:25
This expression contains a magic number. Consider defining it to a well named constant.
466 */
467 private fun getChartboostAdSize(size: Size?) =
468 when (size?.height) {
469 in 50 until 90 -> Banner.BannerSize.STANDARD
!!! ^ error
470 in 90 until 250 -> Banner.BannerSize.LEADERBOARD
471 in 250 until DisplayMetrics().heightPixels -> Banner.BannerSize.MEDIUM
472 else -> Banner.BannerSize.STANDARD
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:470:16
This expression contains a magic number. Consider defining it to a well named constant.
467 private fun getChartboostAdSize(size: Size?) =
468 when (size?.height) {
469 in 50 until 90 -> Banner.BannerSize.STANDARD
470 in 90 until 250 -> Banner.BannerSize.LEADERBOARD
!!! ^ error
471 in 250 until DisplayMetrics().heightPixels -> Banner.BannerSize.MEDIUM
472 else -> Banner.BannerSize.STANDARD
473 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:470:25
This expression contains a magic number. Consider defining it to a well named constant.
467 private fun getChartboostAdSize(size: Size?) =
468 when (size?.height) {
469 in 50 until 90 -> Banner.BannerSize.STANDARD
470 in 90 until 250 -> Banner.BannerSize.LEADERBOARD
!!! ^ error
471 in 250 until DisplayMetrics().heightPixels -> Banner.BannerSize.MEDIUM
472 else -> Banner.BannerSize.STANDARD
473 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:471:16
This expression contains a magic number. Consider defining it to a well named constant.
468 when (size?.height) {
469 in 50 until 90 -> Banner.BannerSize.STANDARD
470 in 90 until 250 -> Banner.BannerSize.LEADERBOARD
471 in 250 until DisplayMetrics().heightPixels -> Banner.BannerSize.MEDIUM
!!! ^ error
472 else -> Banner.BannerSize.STANDARD
473 }
474
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:516:23
This expression contains a magic number. Consider defining it to a well named constant.
513
514 return size?.height?.let {
515 when {
516 it in 50 until 90 -> AdSize.BANNER
!!! ^ error
517 it in 90 until 250 -> AdSize.LEADERBOARD
518 it >= 250 -> AdSize.MEDIUM_RECTANGLE
519 else -> AdSize.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:516:32
This expression contains a magic number. Consider defining it to a well named constant.
513
514 return size?.height?.let {
515 when {
516 it in 50 until 90 -> AdSize.BANNER
!!! ^ error
517 it in 90 until 250 -> AdSize.LEADERBOARD
518 it >= 250 -> AdSize.MEDIUM_RECTANGLE
519 else -> AdSize.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:517:23
This expression contains a magic number. Consider defining it to a well named constant.
514 return size?.height?.let {
515 when {
516 it in 50 until 90 -> AdSize.BANNER
517 it in 90 until 250 -> AdSize.LEADERBOARD
!!! ^ error
518 it >= 250 -> AdSize.MEDIUM_RECTANGLE
519 else -> AdSize.BANNER
520 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:517:32
This expression contains a magic number. Consider defining it to a well named constant.
514 return size?.height?.let {
515 when {
516 it in 50 until 90 -> AdSize.BANNER
517 it in 90 until 250 -> AdSize.LEADERBOARD
!!! ^ error
518 it >= 250 -> AdSize.MEDIUM_RECTANGLE
519 else -> AdSize.BANNER
520 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:518:23
This expression contains a magic number. Consider defining it to a well named constant.
515 when {
516 it in 50 until 90 -> AdSize.BANNER
517 it in 90 until 250 -> AdSize.LEADERBOARD
518 it >= 250 -> AdSize.MEDIUM_RECTANGLE
!!! ^ error
519 else -> AdSize.BANNER
520 }
521 } ?: AdSize.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:554:23
This expression contains a magic number. Consider defining it to a well named constant.
551 private fun getHyprMXBannerAdSize(size: Size?): HyprMXBannerSize {
552 return size?.height?.let {
553 when {
554 it in 50 until 90 -> HyprMXBannerSize.HyprMXAdSizeBanner
!!! ^ error
555 it in 90 until 250 -> HyprMXBannerSize.HyprMXAdSizeLeaderboard
556 it >= 250 -> HyprMXBannerSize.HyprMXAdSizeMediumRectangle
557 else -> HyprMXBannerSize.HyprMXAdSizeBanner
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:554:32
This expression contains a magic number. Consider defining it to a well named constant.
551 private fun getHyprMXBannerAdSize(size: Size?): HyprMXBannerSize {
552 return size?.height?.let {
553 when {
554 it in 50 until 90 -> HyprMXBannerSize.HyprMXAdSizeBanner
!!! ^ error
555 it in 90 until 250 -> HyprMXBannerSize.HyprMXAdSizeLeaderboard
556 it >= 250 -> HyprMXBannerSize.HyprMXAdSizeMediumRectangle
557 else -> HyprMXBannerSize.HyprMXAdSizeBanner
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:555:23
This expression contains a magic number. Consider defining it to a well named constant.
552 return size?.height?.let {
553 when {
554 it in 50 until 90 -> HyprMXBannerSize.HyprMXAdSizeBanner
555 it in 90 until 250 -> HyprMXBannerSize.HyprMXAdSizeLeaderboard
!!! ^ error
556 it >= 250 -> HyprMXBannerSize.HyprMXAdSizeMediumRectangle
557 else -> HyprMXBannerSize.HyprMXAdSizeBanner
558 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:555:32
This expression contains a magic number. Consider defining it to a well named constant.
552 return size?.height?.let {
553 when {
554 it in 50 until 90 -> HyprMXBannerSize.HyprMXAdSizeBanner
555 it in 90 until 250 -> HyprMXBannerSize.HyprMXAdSizeLeaderboard
!!! ^ error
556 it >= 250 -> HyprMXBannerSize.HyprMXAdSizeMediumRectangle
557 else -> HyprMXBannerSize.HyprMXAdSizeBanner
558 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:556:23
This expression contains a magic number. Consider defining it to a well named constant.
553 when {
554 it in 50 until 90 -> HyprMXBannerSize.HyprMXAdSizeBanner
555 it in 90 until 250 -> HyprMXBannerSize.HyprMXAdSizeLeaderboard
556 it >= 250 -> HyprMXBannerSize.HyprMXAdSizeMediumRectangle
!!! ^ error
557 else -> HyprMXBannerSize.HyprMXAdSizeBanner
558 }
559 } ?: HyprMXBannerSize.HyprMXAdSizeBanner
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:156:13
This expression contains a magic number. Consider defining it to a well named constant.
153 arrayOf("LDU")
154 },
155 1,
156 1000,
!!! ^ error
157 )
158 }
159
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:755:23
This expression contains a magic number. Consider defining it to a well named constant.
752 private fun getMetaBannerAdSize(size: Size?): AdSize {
753 return size?.height?.let {
754 when {
755 it in 50 until 90 -> AdSize.BANNER_HEIGHT_50
!!! ^ error
756 it in 90 until 250 -> AdSize.BANNER_HEIGHT_90
757 it >= 250 -> AdSize.RECTANGLE_HEIGHT_250
758 else -> AdSize.BANNER_HEIGHT_50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:755:32
This expression contains a magic number. Consider defining it to a well named constant.
752 private fun getMetaBannerAdSize(size: Size?): AdSize {
753 return size?.height?.let {
754 when {
755 it in 50 until 90 -> AdSize.BANNER_HEIGHT_50
!!! ^ error
756 it in 90 until 250 -> AdSize.BANNER_HEIGHT_90
757 it >= 250 -> AdSize.RECTANGLE_HEIGHT_250
758 else -> AdSize.BANNER_HEIGHT_50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:756:23
This expression contains a magic number. Consider defining it to a well named constant.
753 return size?.height?.let {
754 when {
755 it in 50 until 90 -> AdSize.BANNER_HEIGHT_50
756 it in 90 until 250 -> AdSize.BANNER_HEIGHT_90
!!! ^ error
757 it >= 250 -> AdSize.RECTANGLE_HEIGHT_250
758 else -> AdSize.BANNER_HEIGHT_50
759 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:756:32
This expression contains a magic number. Consider defining it to a well named constant.
753 return size?.height?.let {
754 when {
755 it in 50 until 90 -> AdSize.BANNER_HEIGHT_50
756 it in 90 until 250 -> AdSize.BANNER_HEIGHT_90
!!! ^ error
757 it >= 250 -> AdSize.RECTANGLE_HEIGHT_250
758 else -> AdSize.BANNER_HEIGHT_50
759 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:757:23
This expression contains a magic number. Consider defining it to a well named constant.
754 when {
755 it in 50 until 90 -> AdSize.BANNER_HEIGHT_50
756 it in 90 until 250 -> AdSize.BANNER_HEIGHT_90
757 it >= 250 -> AdSize.RECTANGLE_HEIGHT_250
!!! ^ error
758 else -> AdSize.BANNER_HEIGHT_50
759 }
760 } ?: AdSize.BANNER_HEIGHT_50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:502:23
This expression contains a magic number. Consider defining it to a well named constant.
499 private fun getMintegralBannerSize(size: Size?): BannerSize {
500 return size?.height?.let {
501 when {
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
!!! ^ error
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:502:32
This expression contains a magic number. Consider defining it to a well named constant.
499 private fun getMintegralBannerSize(size: Size?): BannerSize {
500 return size?.height?.let {
501 when {
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
!!! ^ error
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:502:75
This expression contains a magic number. Consider defining it to a well named constant.
499 private fun getMintegralBannerSize(size: Size?): BannerSize {
500 return size?.height?.let {
501 when {
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
!!! ^ error
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:502:80
This expression contains a magic number. Consider defining it to a well named constant.
499 private fun getMintegralBannerSize(size: Size?): BannerSize {
500 return size?.height?.let {
501 when {
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
!!! ^ error
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:503:23
This expression contains a magic number. Consider defining it to a well named constant.
500 return size?.height?.let {
501 when {
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
!!! ^ error
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
506 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:503:32
This expression contains a magic number. Consider defining it to a well named constant.
500 return size?.height?.let {
501 when {
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
!!! ^ error
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
506 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:503:75
This expression contains a magic number. Consider defining it to a well named constant.
500 return size?.height?.let {
501 when {
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
!!! ^ error
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
506 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:503:80
This expression contains a magic number. Consider defining it to a well named constant.
500 return size?.height?.let {
501 when {
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
!!! ^ error
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
506 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:504:23
This expression contains a magic number. Consider defining it to a well named constant.
501 when {
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
!!! ^ error
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
506 }
507 } ?: BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:504:65
This expression contains a magic number. Consider defining it to a well named constant.
501 when {
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
!!! ^ error
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
506 }
507 } ?: BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:504:70
This expression contains a magic number. Consider defining it to a well named constant.
501 when {
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
!!! ^ error
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
506 }
507 } ?: BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:505:62
This expression contains a magic number. Consider defining it to a well named constant.
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
!!! ^ error
506 }
507 } ?: BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
508 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:505:67
This expression contains a magic number. Consider defining it to a well named constant.
502 it in 50 until 90 -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
503 it in 90 until 250 -> BannerSize(BannerSize.DEV_SET_TYPE, 728, 90)
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
!!! ^ error
506 }
507 } ?: BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
508 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:507:51
This expression contains a magic number. Consider defining it to a well named constant.
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
506 }
507 } ?: BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
!!! ^ error
508 }
509
510 /**
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:507:56
This expression contains a magic number. Consider defining it to a well named constant.
504 it >= 250 -> BannerSize(BannerSize.MEDIUM_TYPE, 300, 250)
505 else -> BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
506 }
507 } ?: BannerSize(BannerSize.STANDARD_TYPE, 320, 50)
!!! ^ error
508 }
509
510 /**
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:471:23
This expression contains a magic number. Consider defining it to a well named constant.
468 val height = size?.height ?: return BANNER_320x50
469
470 return when {
471 height in 50 until 90 -> BANNER_320x50
!!! ^ error
472 height in 90 until 250 -> BANNER_728x90
473 height >= 250 -> BANNER_300x250
474 else -> BANNER_320x50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:471:32
This expression contains a magic number. Consider defining it to a well named constant.
468 val height = size?.height ?: return BANNER_320x50
469
470 return when {
471 height in 50 until 90 -> BANNER_320x50
!!! ^ error
472 height in 90 until 250 -> BANNER_728x90
473 height >= 250 -> BANNER_300x250
474 else -> BANNER_320x50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:472:23
This expression contains a magic number. Consider defining it to a well named constant.
469
470 return when {
471 height in 50 until 90 -> BANNER_320x50
472 height in 90 until 250 -> BANNER_728x90
!!! ^ error
473 height >= 250 -> BANNER_300x250
474 else -> BANNER_320x50
475 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:472:32
This expression contains a magic number. Consider defining it to a well named constant.
469
470 return when {
471 height in 50 until 90 -> BANNER_320x50
472 height in 90 until 250 -> BANNER_728x90
!!! ^ error
473 height >= 250 -> BANNER_300x250
474 else -> BANNER_320x50
475 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:473:23
This expression contains a magic number. Consider defining it to a well named constant.
470 return when {
471 height in 50 until 90 -> BANNER_320x50
472 height in 90 until 250 -> BANNER_728x90
473 height >= 250 -> BANNER_300x250
!!! ^ error
474 else -> BANNER_320x50
475 }
476 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:706:23
This expression contains a magic number. Consider defining it to a well named constant.
703 private fun getPangleBannerSize(size: Size?): PAGBannerSize {
704 return size?.height?.let {
705 when {
706 it in 50 until 90 -> PAGBannerSize.BANNER_W_320_H_50
!!! ^ error
707 it in 90 until 250 -> PAGBannerSize.BANNER_W_728_H_90
708 it >= 250 -> PAGBannerSize.BANNER_W_300_H_250
709 else -> PAGBannerSize.BANNER_W_320_H_50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:706:32
This expression contains a magic number. Consider defining it to a well named constant.
703 private fun getPangleBannerSize(size: Size?): PAGBannerSize {
704 return size?.height?.let {
705 when {
706 it in 50 until 90 -> PAGBannerSize.BANNER_W_320_H_50
!!! ^ error
707 it in 90 until 250 -> PAGBannerSize.BANNER_W_728_H_90
708 it >= 250 -> PAGBannerSize.BANNER_W_300_H_250
709 else -> PAGBannerSize.BANNER_W_320_H_50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:707:23
This expression contains a magic number. Consider defining it to a well named constant.
704 return size?.height?.let {
705 when {
706 it in 50 until 90 -> PAGBannerSize.BANNER_W_320_H_50
707 it in 90 until 250 -> PAGBannerSize.BANNER_W_728_H_90
!!! ^ error
708 it >= 250 -> PAGBannerSize.BANNER_W_300_H_250
709 else -> PAGBannerSize.BANNER_W_320_H_50
710 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:707:32
This expression contains a magic number. Consider defining it to a well named constant.
704 return size?.height?.let {
705 when {
706 it in 50 until 90 -> PAGBannerSize.BANNER_W_320_H_50
707 it in 90 until 250 -> PAGBannerSize.BANNER_W_728_H_90
!!! ^ error
708 it >= 250 -> PAGBannerSize.BANNER_W_300_H_250
709 else -> PAGBannerSize.BANNER_W_320_H_50
710 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:708:23
This expression contains a magic number. Consider defining it to a well named constant.
705 when {
706 it in 50 until 90 -> PAGBannerSize.BANNER_W_320_H_50
707 it in 90 until 250 -> PAGBannerSize.BANNER_W_728_H_90
708 it >= 250 -> PAGBannerSize.BANNER_W_300_H_250
!!! ^ error
709 else -> PAGBannerSize.BANNER_W_320_H_50
710 }
711 } ?: PAGBannerSize.BANNER_W_320_H_50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:89:15
This expression contains a magic number. Consider defining it to a well named constant.
86 // Save the listener for later use.
87 listeners[request.identifier] = partnerAdListener
88
89 delay(1000L)
!! ^ error
90
91 return when (request.format.key) {
92 AdFormat.BANNER.key, "adaptive_banner" -> {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:321:23
This expression contains a magic number. Consider defining it to a well named constant.
318 private fun chartboostMediationToReferenceBannerSize(size: Size?): ReferenceBanner.Size {
319 return size?.height?.let {
320 when {
321 it in 50 until 90 -> ReferenceBanner.Size.BANNER
!!! ^ error
322 it in 90 until 250 -> ReferenceBanner.Size.LEADERBOARD
323 it >= 250 -> ReferenceBanner.Size.MEDIUM_RECTANGLE
324 else -> ReferenceBanner.Size.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:321:32
This expression contains a magic number. Consider defining it to a well named constant.
318 private fun chartboostMediationToReferenceBannerSize(size: Size?): ReferenceBanner.Size {
319 return size?.height?.let {
320 when {
321 it in 50 until 90 -> ReferenceBanner.Size.BANNER
!!! ^ error
322 it in 90 until 250 -> ReferenceBanner.Size.LEADERBOARD
323 it >= 250 -> ReferenceBanner.Size.MEDIUM_RECTANGLE
324 else -> ReferenceBanner.Size.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:322:23
This expression contains a magic number. Consider defining it to a well named constant.
319 return size?.height?.let {
320 when {
321 it in 50 until 90 -> ReferenceBanner.Size.BANNER
322 it in 90 until 250 -> ReferenceBanner.Size.LEADERBOARD
!!! ^ error
323 it >= 250 -> ReferenceBanner.Size.MEDIUM_RECTANGLE
324 else -> ReferenceBanner.Size.BANNER
325 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:322:32
This expression contains a magic number. Consider defining it to a well named constant.
319 return size?.height?.let {
320 when {
321 it in 50 until 90 -> ReferenceBanner.Size.BANNER
322 it in 90 until 250 -> ReferenceBanner.Size.LEADERBOARD
!!! ^ error
323 it >= 250 -> ReferenceBanner.Size.MEDIUM_RECTANGLE
324 else -> ReferenceBanner.Size.BANNER
325 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:323:23
This expression contains a magic number. Consider defining it to a well named constant.
320 when {
321 it in 50 until 90 -> ReferenceBanner.Size.BANNER
322 it in 90 until 250 -> ReferenceBanner.Size.LEADERBOARD
323 it >= 250 -> ReferenceBanner.Size.MEDIUM_RECTANGLE
!!! ^ error
324 else -> ReferenceBanner.Size.BANNER
325 }
326 } ?: ReferenceBanner.Size.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceBanner.kt:37:13
This expression contains a magic number. Consider defining it to a well named constant.
34 ) : WebView(context) {
35 enum class Size(val width: Int, val height: Int, val resUrl: String) {
36 BANNER(
37 320,
!! ^ error
38 50,
39 "https://chartboost.s3.amazonaws.com/helium/creatives/creative-320x50.png",
40 ),
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceBanner.kt:38:13
This expression contains a magic number. Consider defining it to a well named constant.
35 enum class Size(val width: Int, val height: Int, val resUrl: String) {
36 BANNER(
37 320,
38 50,
!! ^ error
39 "https://chartboost.s3.amazonaws.com/helium/creatives/creative-320x50.png",
40 ),
41 MEDIUM_RECTANGLE(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceBanner.kt:42:13
This expression contains a magic number. Consider defining it to a well named constant.
39 "https://chartboost.s3.amazonaws.com/helium/creatives/creative-320x50.png",
40 ),
41 MEDIUM_RECTANGLE(
42 300,
!! ^ error
43 250,
44 "https://chartboost.s3.amazonaws.com/helium/creatives/creative-300x250.png",
45 ),
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceBanner.kt:43:13
This expression contains a magic number. Consider defining it to a well named constant.
40 ),
41 MEDIUM_RECTANGLE(
42 300,
43 250,
!! ^ error
44 "https://chartboost.s3.amazonaws.com/helium/creatives/creative-300x250.png",
45 ),
46 LEADERBOARD(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceBanner.kt:47:13
This expression contains a magic number. Consider defining it to a well named constant.
44 "https://chartboost.s3.amazonaws.com/helium/creatives/creative-300x250.png",
45 ),
46 LEADERBOARD(
47 728,
!! ^ error
48 90,
49 "https://chartboost.s3.amazonaws.com/helium/creatives/creative-728x90.png",
50 ),
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceBanner.kt:48:13
This expression contains a magic number. Consider defining it to a well named constant.
45 ),
46 LEADERBOARD(
47 728,
48 90,
!! ^ error
49 "https://chartboost.s3.amazonaws.com/helium/creatives/creative-728x90.png",
50 ),
51 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceFullscreenActivity.kt:81:56
This expression contains a magic number. Consider defining it to a well named constant.
78
79 private lateinit var binding: ActivityReferenceFullscreenBinding
80
81 private val rewardedInterstitialPlaybackDuration = 5000L
!! ^ error
82
83 private var clickThroughUrl = "https://www.chartboost.com/mediate/"
84 private var adType: ReferenceFullscreenAd.ReferenceFullscreenAdFormat? = null
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceFullscreenActivity.kt:202:48
This expression contains a magic number. Consider defining it to a well named constant.
199 closeButton.setOnClickListener {
200 timer?.cancel()
201
202 if (remainingTimeMillis >= 1000) {
!!! ^ error
203 AlertDialog.Builder(this@ReferenceFullscreenActivity)
204 .setTitle("Skip Ad")
205 .setMessage("Are you sure you want to skip this ad?")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceFullscreenActivity.kt:242:27
This expression contains a magic number. Consider defining it to a well named constant.
239 if (ReferenceSettings.adShowContinuationShouldResumeMoreThanOnce) {
240 CoroutineScope(Main).launch {
241 onAdShown()
242 delay(500L)
!!! ^ error
243 onAdShown()
244 }
245 } else {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceFullscreenActivity.kt:306:65
This expression contains a magic number. Consider defining it to a well named constant.
303 onAdRewarded(1, "coin")
304 }
305
306 videoPlaybackHandler?.postDelayed(this, 250)
!!! ^ error
307 }
308 },
309 )
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceFullscreenActivity.kt:336:56
This expression contains a magic number. Consider defining it to a well named constant.
333 closeButton: Button,
334 timerView: TextView,
335 ): CountDownTimer {
336 return object : CountDownTimer(millisInFuture, 1000) {
!!! ^ error
337 override fun onTick(millisUntilFinished: Long) {
338 remainingTimeMillis = millisUntilFinished
339 timerView.text =
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceFullscreenActivity.kt:342:47
This expression contains a magic number. Consider defining it to a well named constant.
339 timerView.text =
340 getString(
341 R.string.reward_interstitial_timer_text,
342 millisUntilFinished / 1000,
!!! ^ error
343 )
344
345 if (remainingTimeMillis < 1000) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceFullscreenActivity.kt:345:43
This expression contains a magic number. Consider defining it to a well named constant.
342 millisUntilFinished / 1000,
343 )
344
345 if (remainingTimeMillis < 1000) {
!!! ^ error
346 closeButton.visibility = View.GONE
347 timerView.visibility = View.GONE
348 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceFullscreenAd.kt:74:27
This expression contains a magic number. Consider defining it to a well named constant.
71 if (ReferenceSettings.adLoadContinuationShouldResumeMoreThanOnce) {
72 CoroutineScope(Main).launch {
73 onFullScreenAdLoaded()
74 delay(500L)
!! ^ error
75 onFullScreenAdLoaded()
76 }
77 } else {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:626:23
This expression contains a magic number. Consider defining it to a well named constant.
623 private fun getUnityAdsBannerSize(size: Size?): UnityBannerSize {
624 return size?.height?.let {
625 when {
626 it in 50 until 90 -> UnityBannerSize(320, 50)
!!! ^ error
627 it in 90 until 250 -> UnityBannerSize(728, 90)
628 it >= 250 -> UnityBannerSize(300, 250)
629 else -> UnityBannerSize(320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:626:32
This expression contains a magic number. Consider defining it to a well named constant.
623 private fun getUnityAdsBannerSize(size: Size?): UnityBannerSize {
624 return size?.height?.let {
625 when {
626 it in 50 until 90 -> UnityBannerSize(320, 50)
!!! ^ error
627 it in 90 until 250 -> UnityBannerSize(728, 90)
628 it >= 250 -> UnityBannerSize(300, 250)
629 else -> UnityBannerSize(320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:626:54
This expression contains a magic number. Consider defining it to a well named constant.
623 private fun getUnityAdsBannerSize(size: Size?): UnityBannerSize {
624 return size?.height?.let {
625 when {
626 it in 50 until 90 -> UnityBannerSize(320, 50)
!!! ^ error
627 it in 90 until 250 -> UnityBannerSize(728, 90)
628 it >= 250 -> UnityBannerSize(300, 250)
629 else -> UnityBannerSize(320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:626:59
This expression contains a magic number. Consider defining it to a well named constant.
623 private fun getUnityAdsBannerSize(size: Size?): UnityBannerSize {
624 return size?.height?.let {
625 when {
626 it in 50 until 90 -> UnityBannerSize(320, 50)
!!! ^ error
627 it in 90 until 250 -> UnityBannerSize(728, 90)
628 it >= 250 -> UnityBannerSize(300, 250)
629 else -> UnityBannerSize(320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:627:23
This expression contains a magic number. Consider defining it to a well named constant.
624 return size?.height?.let {
625 when {
626 it in 50 until 90 -> UnityBannerSize(320, 50)
627 it in 90 until 250 -> UnityBannerSize(728, 90)
!!! ^ error
628 it >= 250 -> UnityBannerSize(300, 250)
629 else -> UnityBannerSize(320, 50)
630 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:627:32
This expression contains a magic number. Consider defining it to a well named constant.
624 return size?.height?.let {
625 when {
626 it in 50 until 90 -> UnityBannerSize(320, 50)
627 it in 90 until 250 -> UnityBannerSize(728, 90)
!!! ^ error
628 it >= 250 -> UnityBannerSize(300, 250)
629 else -> UnityBannerSize(320, 50)
630 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:627:55
This expression contains a magic number. Consider defining it to a well named constant.
624 return size?.height?.let {
625 when {
626 it in 50 until 90 -> UnityBannerSize(320, 50)
627 it in 90 until 250 -> UnityBannerSize(728, 90)
!!! ^ error
628 it >= 250 -> UnityBannerSize(300, 250)
629 else -> UnityBannerSize(320, 50)
630 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:627:60
This expression contains a magic number. Consider defining it to a well named constant.
624 return size?.height?.let {
625 when {
626 it in 50 until 90 -> UnityBannerSize(320, 50)
627 it in 90 until 250 -> UnityBannerSize(728, 90)
!!! ^ error
628 it >= 250 -> UnityBannerSize(300, 250)
629 else -> UnityBannerSize(320, 50)
630 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:628:23
This expression contains a magic number. Consider defining it to a well named constant.
625 when {
626 it in 50 until 90 -> UnityBannerSize(320, 50)
627 it in 90 until 250 -> UnityBannerSize(728, 90)
628 it >= 250 -> UnityBannerSize(300, 250)
!!! ^ error
629 else -> UnityBannerSize(320, 50)
630 }
631 } ?: UnityBannerSize(320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:628:46
This expression contains a magic number. Consider defining it to a well named constant.
625 when {
626 it in 50 until 90 -> UnityBannerSize(320, 50)
627 it in 90 until 250 -> UnityBannerSize(728, 90)
628 it >= 250 -> UnityBannerSize(300, 250)
!!! ^ error
629 else -> UnityBannerSize(320, 50)
630 }
631 } ?: UnityBannerSize(320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:628:51
This expression contains a magic number. Consider defining it to a well named constant.
625 when {
626 it in 50 until 90 -> UnityBannerSize(320, 50)
627 it in 90 until 250 -> UnityBannerSize(728, 90)
628 it >= 250 -> UnityBannerSize(300, 250)
!!! ^ error
629 else -> UnityBannerSize(320, 50)
630 }
631 } ?: UnityBannerSize(320, 50)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:629:41
This expression contains a magic number. Consider defining it to a well named constant.
626 it in 50 until 90 -> UnityBannerSize(320, 50)
627 it in 90 until 250 -> UnityBannerSize(728, 90)
628 it >= 250 -> UnityBannerSize(300, 250)
629 else -> UnityBannerSize(320, 50)
!!! ^ error
630 }
631 } ?: UnityBannerSize(320, 50)
632 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:629:46
This expression contains a magic number. Consider defining it to a well named constant.
626 it in 50 until 90 -> UnityBannerSize(320, 50)
627 it in 90 until 250 -> UnityBannerSize(728, 90)
628 it >= 250 -> UnityBannerSize(300, 250)
629 else -> UnityBannerSize(320, 50)
!!! ^ error
630 }
631 } ?: UnityBannerSize(320, 50)
632 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:631:30
This expression contains a magic number. Consider defining it to a well named constant.
628 it >= 250 -> UnityBannerSize(300, 250)
629 else -> UnityBannerSize(320, 50)
630 }
631 } ?: UnityBannerSize(320, 50)
!!! ^ error
632 }
633
634 /**
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:631:35
This expression contains a magic number. Consider defining it to a well named constant.
628 it >= 250 -> UnityBannerSize(300, 250)
629 else -> UnityBannerSize(320, 50)
630 }
631 } ?: UnityBannerSize(320, 50)
!!! ^ error
632 }
633
634 /**
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapter.kt:399:23
This expression contains a magic number. Consider defining it to a well named constant.
396 private fun getHyBidAdSize(size: Size?): AdSize {
397 return size?.height?.let {
398 when {
399 it in 50 until 90 -> AdSize.SIZE_320x50
!!! ^ error
400 it in 90 until 250 -> AdSize.SIZE_728x90
401 it >= 250 -> AdSize.SIZE_300x250
402 else -> AdSize.SIZE_320x50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapter.kt:399:32
This expression contains a magic number. Consider defining it to a well named constant.
396 private fun getHyBidAdSize(size: Size?): AdSize {
397 return size?.height?.let {
398 when {
399 it in 50 until 90 -> AdSize.SIZE_320x50
!!! ^ error
400 it in 90 until 250 -> AdSize.SIZE_728x90
401 it >= 250 -> AdSize.SIZE_300x250
402 else -> AdSize.SIZE_320x50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapter.kt:400:23
This expression contains a magic number. Consider defining it to a well named constant.
397 return size?.height?.let {
398 when {
399 it in 50 until 90 -> AdSize.SIZE_320x50
400 it in 90 until 250 -> AdSize.SIZE_728x90
!!! ^ error
401 it >= 250 -> AdSize.SIZE_300x250
402 else -> AdSize.SIZE_320x50
403 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapter.kt:400:32
This expression contains a magic number. Consider defining it to a well named constant.
397 return size?.height?.let {
398 when {
399 it in 50 until 90 -> AdSize.SIZE_320x50
400 it in 90 until 250 -> AdSize.SIZE_728x90
!!! ^ error
401 it >= 250 -> AdSize.SIZE_300x250
402 else -> AdSize.SIZE_320x50
403 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapter.kt:401:23
This expression contains a magic number. Consider defining it to a well named constant.
398 when {
399 it in 50 until 90 -> AdSize.SIZE_320x50
400 it in 90 until 250 -> AdSize.SIZE_728x90
401 it >= 250 -> AdSize.SIZE_300x250
!!! ^ error
402 else -> AdSize.SIZE_320x50
403 }
404 } ?: AdSize.SIZE_320x50
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:498:23
This expression contains a magic number. Consider defining it to a well named constant.
495 private fun getVungleBannerSize(size: Size?): BannerAdSize {
496 return size?.height?.let {
497 when {
498 it in 50 until 90 -> BannerAdSize.BANNER
!!! ^ error
499 it in 90 until 250 -> BannerAdSize.BANNER_LEADERBOARD
500 it >= 250 -> BannerAdSize.VUNGLE_MREC
501 else -> BannerAdSize.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:498:32
This expression contains a magic number. Consider defining it to a well named constant.
495 private fun getVungleBannerSize(size: Size?): BannerAdSize {
496 return size?.height?.let {
497 when {
498 it in 50 until 90 -> BannerAdSize.BANNER
!!! ^ error
499 it in 90 until 250 -> BannerAdSize.BANNER_LEADERBOARD
500 it >= 250 -> BannerAdSize.VUNGLE_MREC
501 else -> BannerAdSize.BANNER
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:499:23
This expression contains a magic number. Consider defining it to a well named constant.
496 return size?.height?.let {
497 when {
498 it in 50 until 90 -> BannerAdSize.BANNER
499 it in 90 until 250 -> BannerAdSize.BANNER_LEADERBOARD
!!! ^ error
500 it >= 250 -> BannerAdSize.VUNGLE_MREC
501 else -> BannerAdSize.BANNER
502 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:499:32
This expression contains a magic number. Consider defining it to a well named constant.
496 return size?.height?.let {
497 when {
498 it in 50 until 90 -> BannerAdSize.BANNER
499 it in 90 until 250 -> BannerAdSize.BANNER_LEADERBOARD
!!! ^ error
500 it >= 250 -> BannerAdSize.VUNGLE_MREC
501 else -> BannerAdSize.BANNER
502 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:500:23
This expression contains a magic number. Consider defining it to a well named constant.
497 when {
498 it in 50 until 90 -> BannerAdSize.BANNER
499 it in 90 until 250 -> BannerAdSize.BANNER_LEADERBOARD
500 it >= 250 -> BannerAdSize.VUNGLE_MREC
!!! ^ error
501 else -> BannerAdSize.BANNER
502 }
503 } ?: BannerAdSize.BANNER
Line detected, which is longer than the defined maximum line length in the code style.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ChartboostMediationInternal.kt:200:1
Line detected, which is longer than the defined maximum line length in the code style.
197 }
198
199 privacyController.gdpr =
200 if (localGdprApplies) PrivacyController.PrivacySetting.TRUE.value else PrivacyController.PrivacySetting.FALSE.value
!!! ^ error
201 when (localGdprConsentStatus) {
202 GdprConsentStatus.GDPR_CONSENT_GRANTED -> privacyController.userConsent = true
203 GdprConsentStatus.GDPR_CONSENT_DENIED -> privacyController.userConsent = false
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ChartboostMediationSdk.kt:105:1
Line detected, which is longer than the defined maximum line length in the code style.
102 ) {
103 CoroutineScope(Main).launch(
104 CoroutineExceptionHandler { _, exception ->
105 chartboostMediationSdkListener?.didInitialize(Error("Failed to initialize Chartboost Mediation: $exception}"))
!!! ^ error
106 },
107 ) {
108 Environment.appContext = context.applicationContext
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ChartboostMediationSdk.kt:115:1
Line detected, which is longer than the defined maximum line length in the code style.
112 chartboostMediationSdkListener?.didInitialize(null)
113 }, {
114 LogController.e("Chartboost Mediation failed to initialize. $it")
115 if (it is ChartboostMediationAdException && it.chartboostMediationError == ChartboostMediationError.InitializationError.InProgress) {
!!! ^ error
116 chartboostMediationSdkListener?.didInitialize(Error("Start attempt already ongoing"))
117 } else {
118 chartboostMediationSdkListener?.didInitialize(Error("Failed to initialize Chartboost Mediation: $it}"))
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ChartboostMediationSdk.kt:118:1
Line detected, which is longer than the defined maximum line length in the code style.
115 if (it is ChartboostMediationAdException && it.chartboostMediationError == ChartboostMediationError.InitializationError.InProgress) {
116 chartboostMediationSdkListener?.didInitialize(Error("Start attempt already ongoing"))
117 } else {
118 chartboostMediationSdkListener?.didInitialize(Error("Failed to initialize Chartboost Mediation: $it}"))
!!! ^ error
119 }
120 })
121 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ChartboostMediationSdk.kt:151:1
Line detected, which is longer than the defined maximum line length in the code style.
148 }
149
150 /**
151 * Indicates that the GDPR-applicable user has granted consent to the collection of Personally Identifiable Information.
!!! ^ error
152 * For more information about GDPR:
153 *
154 * @param hasGivenGdprConsent True if the user has granted consent, false otherwise.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ChartboostMediationSdk.kt:164:1
Line detected, which is longer than the defined maximum line length in the code style.
161 }
162
163 /**
164 * Indicates that the CCPA-applicable user has granted consent to the collection of Personally Identifiable Information.
!!! ^ error
165 * For more information about CCPA:
166 *
167 * @param hasGivenCcpaConsent True if the user has granted consent, false otherwise.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/PartnerInitializationResults.kt:199:1
Line detected, which is longer than the defined maximum line length in the code style.
196 interface PartnerInitializationResultsObserver {
197 /**
198 * When initialization results are compiled and ready for ingestion. Note that this is not the
199 * same as the [ChartboostMediationSdk.ChartboostMediationSdkListener.didInitialize] callback, when _results_ might not
!!! ^ error
200 * yet be processed.
201 *
202 * @param data The initialization results data.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAd.kt:61:1
Line detected, which is longer than the defined maximum line length in the code style.
58 * Load a fullscreen ad. This method is designed to be called from Java.
59 *
60 * @param context The [Context] to use for loading the ad.
61 * @param request The publisher-supplied [ChartboostMediationFullscreenAdLoadRequest] containing relevant details to load the ad.
!! ^ error
62 * @param listener The [ChartboostMediationFullscreenAdListener] to notify of the ad lifecycle events.
63 * @param adLoadListener The [ChartboostMediationFullscreenAdLoadListener] to notify of the ad load event.
64 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAd.kt:82:1
Line detected, which is longer than the defined maximum line length in the code style.
79 * Load a fullscreen ad.
80 *
81 * @param context The [Context] to use for loading the ad.
82 * @param request The publisher-supplied [ChartboostMediationFullscreenAdLoadRequest] containing relevant details to load the ad.
!! ^ error
83 * @param listener The [ChartboostMediationFullscreenAdListener] to notify of ad events.
84 *
85 * @return The [ChartboostMediationFullscreenAdLoadResult] containing the result of the ad load.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAd.kt:92:1
Line detected, which is longer than the defined maximum line length in the code style.
89 request: ChartboostMediationFullscreenAdLoadRequest,
90 listener: ChartboostMediationFullscreenAdListener,
91 ): ChartboostMediationFullscreenAdLoadResult {
92 return loadFullscreenAd(context, request, ChartboostMediationSdk.chartboostMediationInternal.adController, listener)
!! ^ error
93 }
94
95 internal suspend fun loadFullscreenAd(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAd.kt:184:1
Line detected, which is longer than the defined maximum line length in the code style.
181 ) {
182 loadResult = adController?.load(context, adLoadParams, metricsSet)
183 ?: Result.failure(
184 ChartboostMediationAdException(ChartboostMediationError.LoadError.ChartboostMediationNotInitialized),
!!! ^ error
185 )
186 }.also { it.join() }
187
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAd.kt:255:1
Line detected, which is longer than the defined maximum line length in the code style.
252 partnerAd: PartnerAd,
253 error: ChartboostMediationAdException?,
254 ) {
255 ChartboostMediationSdk.chartboostMediationInternal.fullscreenAdShowingState.notifyFullscreenAdClosed()
!!! ^ error
256 ad.listener?.onAdClosed(ad, error)
257 ?: e("Unable to notify onAdClosed() because listener is null")
258
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAd.kt:294:1
Line detected, which is longer than the defined maximum line length in the code style.
291 set(value) {
292 field =
293 if (value != null && value.length > CUSTOM_DATA_MAX_CHAR) {
294 LogController.w("Failed to set custom data. It is longer than the maximum limit of $CUSTOM_DATA_MAX_CHAR characters.")
!!! ^ error
295 null
296 } else {
297 value?.also { newValue ->
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAd.kt:348:1
Line detected, which is longer than the defined maximum line length in the code style.
345 * Invalidate the ad. This should be called when the ad is no longer needed.
346 */
347 fun invalidate() {
348 // Don't invalidate if a show is in progress, as the ad still needs to fire the necessary callbacks, e.g. onAdClosed().
!!! ^ error
349 if (isShowInProgress()) {
350 d("Unable to invalidate ad because it is currently showing.")
351 return
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAd.kt:390:1
Line detected, which is longer than the defined maximum line length in the code style.
387 if (error == null) {
388 CoroutineScope(Main).launch {
389 listener?.onAdImpressionRecorded(this@ChartboostMediationFullscreenAd)
390 ChartboostMediationSdk.chartboostMediationInternal.fullscreenAdShowingState.notifyFullscreenAdShown()
!!! ^ error
391 }.also { it.join() }
392 }
393 } ?: run {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdQueue.kt:266:1
Line detected, which is longer than the defined maximum line length in the code style.
263 * Starts loading ads and append them to the queue automatically until capacity has been reached.
264 */
265 fun start() {
266 if (ChartboostMediationSdk.chartboostMediationInternal.initializationStatus != ChartboostMediationSdk.ChartboostMediationInitializationStatus.INITIALIZED) {
!!! ^ error
267 LogController.d(
268 "$LOG_PREFIX $placement the Chartboost Mediation SDK has not initialized." +
269 " Cannot start the queue. Waiting until the Chartboost Mediation SDK has started before queuing.",
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdQueue.kt:369:1
Line detected, which is longer than the defined maximum line length in the code style.
366 if (isDelayed) delay(delayFetchRateMs)
367
368 if (fullscreenAdsQueued.size >= queueCapacity) {
369 LogController.d("$LOG_PREFIX $placement already reached capacity. Waiting until the next queue job.")
!!! ^ error
370 fetchAdJob = null
371 return@launch
372 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdQueue.kt:381:1
Line detected, which is longer than the defined maximum line length in the code style.
378 // Invalidate the ad
379 loadResult.ad?.invalidate()
380 LogController.w(
381 "$LOG_PREFIX $placement already has an active queue fetch job. Discarding previously loaded ad.",
!!! ^ error
382 )
383 return@launch
384 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AdController.kt:81:1
Line detected, which is longer than the defined maximum line length in the code style.
78 loadRateLimiter.millisUntilNextLoadIsAllowed(adLoadParams.adIdentifier.placement)
79 if (millisUntilNextLoadIsAllowed > 0 && AppConfigStorage.getEnableRateLimiting(context)) {
80 LogController.w(
81 "${adLoadParams.adIdentifier.placement} has been rate limited. Please try again in ${millisUntilNextLoadIsAllowed / 1000}.${millisUntilNextLoadIsAllowed % 1000} seconds",
!! ^ error
82 )
83 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.RateLimited))
84 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AdController.kt:167:1
Line detected, which is longer than the defined maximum line length in the code style.
164 } else {
165 EventResult.AdLoadResult.AdLoadPartnerFailure(
166 MetricsError.SimpleError(
167 (partnerAdResult.exceptionOrNull() as? ChartboostMediationAdException)?.chartboostMediationError
!!! ^ error
168 ?: ChartboostMediationError.LoadError.Unknown,
169 ),
170 )
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AdController.kt:293:1
Line detected, which is longer than the defined maximum line length in the code style.
290 }
291
292 override fun onRewarded(partnerAd: PartnerAd) {
293 if (partnerAd.request.format != AdFormat.REWARDED && partnerAd.request.format != AdFormat.REWARDED_INTERSTITIAL) {
!!! ^ error
294 LogController.w("Received rewarded callback for non-rewarded placement. Ignoring.")
295 return
296 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AppConfigController.kt:118:1
Line detected, which is longer than the defined maximum line length in the code style.
115
116 when (
117 val result =
118 ChartboostMediationNetworking.getAppConfig(ChartboostMediationSdk.getAppId() ?: "", initHash, appSetId)
!!! ^ error
119 ) {
120 is ChartboostMediationNetworkingResult.Success -> {
121 if (result.body != null) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/BidController.kt:30:1
Line detected, which is longer than the defined maximum line length in the code style.
27 * Load all the bids from a given collection of [Bids].
28 *
29 * @param bids A collection wrapper class containing [Bid]s to load.
30 * @param adInteractionListener Necessary to forward future ad interaction events from the partner to the caller of this function.
!! ^ error
31 */
32 suspend fun loadBids(
33 context: Context,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/BidController.kt:52:1
Line detected, which is longer than the defined maximum line length in the code style.
49 auctionId = bids.auctionId,
50 lineItemId = activeBid.lineItemId,
51 isMediation = activeBid.isMediation,
52 request = constructAdLoadRequest(activeBid, activeBid.size, adInteractionListener, adLoadParams.keywords),
!! ^ error
53 loadMetricsSet = loadMetricsSet,
54 placementType = activeBid.adIdentifier.placementType,
55 )
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/BidController.kt:59:1
Line detected, which is longer than the defined maximum line length in the code style.
56
57 if (!partnerAdResult.isSuccess) {
58 LogController.d(
59 "Loading bid FAILED for Chartboost placement ${bids.adIdentifier} with error: ${partnerAdResult.exceptionOrNull()}",
!! ^ error
60 )
61
62 bids.incrementActiveBid()
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/BidController.kt:91:1
Line detected, which is longer than the defined maximum line length in the code style.
88 return partnerAdResult
89 }
90 }
91 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.WaterfallExhaustedNoFill))
!! ^ error
92 }
93
94 /**
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:301:1
Line detected, which is longer than the defined maximum line length in the code style.
298 }
299 // if CCPA has not been set on a per-partner basis or globally, do nothing.
300 } catch (ignored: Exception) {
301 LogController.e("Failed to route setCcpaPrivacyString to adapter ${adapter.configuration.partnerDisplayName}")
!!! ^ error
302 }
303 }
304 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:320:1
Line detected, which is longer than the defined maximum line length in the code style.
317 try {
318 adapter.setUserSubjectToCoppa(context, isSubjectToCoppa)
319 } catch (ignored: Exception) {
320 LogController.e("Failed to route setUserSubjectToCoppa to adapter ${adapter.configuration.partnerDisplayName}")
!!! ^ error
321 }
322 }
323 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:478:1
Line detected, which is longer than the defined maximum line length in the code style.
475 adapters[request.partnerId]?.let { adapter ->
476 val metrics = Metrics(adapter.configuration.partnerId, LOAD)
477
478 // Since it's possible for a Chartboost Mediation placement to consist of multiple line items
!!! ^ error
479 // at load time and we are tracking metrics data per line item, we need to batch data for
480 // the same placement in the same dataset.
481 loadMetricsSet.add(metrics)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:539:1
Line detected, which is longer than the defined maximum line length in the code style.
536 event = LOAD,
537 auctionIdentifier = auctionId,
538 chartboostMediationError = ChartboostMediationError.LoadError.AdapterNotFound,
539 chartboostMediationErrorMessage = ChartboostMediationError.LoadError.AdapterNotFound.message,
!!! ^ error
540 loadId = request.identifier,
541 placementType = placementType,
542 size = request.size?.takeIf { (placementType == "adaptive_banner") },
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:546:1
Line detected, which is longer than the defined maximum line length in the code style.
543 )
544
545 result =
546 Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.AdapterNotFound))
!!! ^ error
547 }
548 } ?: run {
549 MetricsManager.postMetricsDataForFailedEvent(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:554:1
Line detected, which is longer than the defined maximum line length in the code style.
551 event = LOAD,
552 auctionIdentifier = auctionId,
553 chartboostMediationError = ChartboostMediationError.LoadError.AdRequestTimeout,
554 chartboostMediationErrorMessage = ChartboostMediationError.LoadError.AdRequestTimeout.message,
!!! ^ error
555 loadId = request.identifier,
556 placementType = placementType,
557 size = request.size?.takeIf { (placementType == "adaptive_banner") },
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:564:1
Line detected, which is longer than the defined maximum line length in the code style.
561 )
562
563 result =
564 Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.AdRequestTimeout))
!!! ^ error
565 }
566 }
567 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/PartnerController.kt:865:1
Line detected, which is longer than the defined maximum line length in the code style.
862 return when (format) {
863 AdFormat.BANNER, AdFormat.ADAPTIVE_BANNER -> AppConfigStorage.bannerLoadTimeoutSeconds * 1000L
864
865 AdFormat.INTERSTITIAL, AdFormat.REWARDED, AdFormat.REWARDED_INTERSTITIAL -> AppConfigStorage.fullscreenLoadTimeoutSeconds * 1000L
!!! ^ error
866
867 else -> {
868 LogController.e("Unknown ad format: $format. Using default timeout.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:46:1
Line detected, which is longer than the defined maximum line length in the code style.
43 */
44 class BannerController(
45 private val chartboostMediationBannerAdViewRef: WeakReference<ChartboostMediationBannerAdView>,
46 private val fullscreenAdShowingState: FullscreenAdShowingState? = ChartboostMediationSdk.chartboostMediationInternal.fullscreenAdShowingState,
!! ^ error
47 private val ilrd: Ilrd? = ChartboostMediationSdk.chartboostMediationInternal.ilrd,
48 ) {
49 /**
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:195:1
Line detected, which is longer than the defined maximum line length in the code style.
192 isPublisherTriggeredLoad = true
193 if (fetchAdJob != null) {
194 LogController.w(
195 "${ChartboostMediationError.LoadError.LoadInProgress.message} Treating the next load as a publisher initiated load.",
!!! ^ error
196 )
197 return
198 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:212:1
Line detected, which is longer than the defined maximum line length in the code style.
209 getCreativeSizeFromPartnerAdDetails(partnerAd),
210 )
211 ?: LogController.e(
212 "The Chartboost Mediation SDK Banner listener is detached on onChartboostMediationAdLoaded for onAdCached.",
!!! ^ error
213 )
214 }
215 isPublisherTriggeredLoad = false
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:401:1
Line detected, which is longer than the defined maximum line length in the code style.
398 }
399
400 override fun onClicked(partnerAd: PartnerAd) {
401 chartboostMediationBannerAdViewRef.get()?.chartboostMediationBannerAdViewListener?.onAdClicked(
!!! ^ error
402 partnerAd.request.chartboostPlacement,
403 )
404 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:408:1
Line detected, which is longer than the defined maximum line length in the code style.
405
406 override fun onRewarded(partnerAd: PartnerAd) {
407 // This should not happen
408 LogController.e("${partnerAd.request.chartboostPlacement} Banner received rewarded callback?")
!!! ^ error
409 }
410
411 override fun onDismissed(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:416:1
Line detected, which is longer than the defined maximum line length in the code style.
413 error: ChartboostMediationAdException?,
414 ) {
415 // This should not happen
416 LogController.e("${partnerAd.request.chartboostPlacement} Banner received dismissed callback?")
!!! ^ error
417 }
418
419 override fun onExpired(partnerAd: PartnerAd) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:421:1
Line detected, which is longer than the defined maximum line length in the code style.
418
419 override fun onExpired(partnerAd: PartnerAd) {
420 // No action for now
421 LogController.e("${partnerAd.request.chartboostPlacement} Banner received expired callback?")
!!! ^ error
422 }
423 },
424 ),
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:434:1
Line detected, which is longer than the defined maximum line length in the code style.
431 loadResult?.fold({
432 if (it.partnerAd?.inlineView != null) {
433 if (forceRefresh) {
434 // if we're forcing a refresh, set the time shown to equal 1 greater than the refresh time threshold
!!! ^ error
435 shownDurationMillis = 1L + refreshTimeMillis
436 }
437 handleLoadSuccess(it, loadId)
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:574:1
Line detected, which is longer than the defined maximum line length in the code style.
571 }
572 val partnerAd =
573 nextAd.partnerAd ?: run {
574 LogController.d("Attempting to swap ad with no loaded partner ad. ${ChartboostMediationError.LoadError.NoFill}")
!!! ^ error
575 return
576 }
577 val nextBannerAdView =
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:579:1
Line detected, which is longer than the defined maximum line length in the code style.
576 }
577 val nextBannerAdView =
578 partnerAd.inlineView ?: run {
579 LogController.d("Attempting to swap ad with no loaded ad view. ${ChartboostMediationError.LoadError.NoBannerView}")
!!! ^ error
580 return
581 }
582
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:662:1
Line detected, which is longer than the defined maximum line length in the code style.
659 loadId = nextAd.loadId,
660 )
661 val placement = getBannerAdPlacement()
662 ChartboostMediationSdk.chartboostMediationInternal.adController?.incrementBannerImpressionDepth()
!!! ^ error
663 ?: LogController.e("Failed to increment banner impression depth due to no ad controller.")
664 mainHandler.post {
665 chartboostMediationBannerAdViewRef.get()?.chartboostMediationBannerAdViewListener?.onAdImpressionRecorded(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:663:1
Line detected, which is longer than the defined maximum line length in the code style.
660 )
661 val placement = getBannerAdPlacement()
662 ChartboostMediationSdk.chartboostMediationInternal.adController?.incrementBannerImpressionDepth()
663 ?: LogController.e("Failed to increment banner impression depth due to no ad controller.")
!!! ^ error
664 mainHandler.post {
665 chartboostMediationBannerAdViewRef.get()?.chartboostMediationBannerAdViewListener?.onAdImpressionRecorded(
666 placement,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:665:1
Line detected, which is longer than the defined maximum line length in the code style.
662 ChartboostMediationSdk.chartboostMediationInternal.adController?.incrementBannerImpressionDepth()
663 ?: LogController.e("Failed to increment banner impression depth due to no ad controller.")
664 mainHandler.post {
665 chartboostMediationBannerAdViewRef.get()?.chartboostMediationBannerAdViewListener?.onAdImpressionRecorded(
!!! ^ error
666 placement,
667 )
668 ?: LogController.e(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:669:1
Line detected, which is longer than the defined maximum line length in the code style.
666 placement,
667 )
668 ?: LogController.e(
669 "The Chartboost Mediation SDK Banner listener is detached on onAdImpressionRecorded.",
!!! ^ error
670 )
671 }
672 CoroutineScope(IO).launch {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/AppConfigStorage.kt:117:1
Line detected, which is longer than the defined maximum line length in the code style.
114
115 /**
116 * Timeout for sending initialization metrics data to the server. This way we can avoid waiting
117 * for a bad initialization that never completes, while also giving sufficient time for the majority of partners to finish.
!!! ^ error
118 */
119 var initializationMetricsPostTimeout: Int = 2
120 private set
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationAppConfigurationHandler.kt:26:1
Line detected, which is longer than the defined maximum line length in the code style.
23 * This class handles mediation partner configuration changes during Chartboost Mediation initialization.
24 *
25 * @param context The current [Context] with which to handle app configuration changes.
26 * @param chartboostMediationPreinitializationConfiguration Options with which to initialize Chartboost Mediation and partners.
!! ^ error
27 */
28 class ChartboostMediationAppConfigurationHandler(
29 private val context: Context?,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:68:1
Line detected, which is longer than the defined maximum line length in the code style.
65 object Unknown : InitializationError(
66 code = "CM_100",
67 cause = "There was an error that was not accounted for.",
68 resolution = "Try again. If the problem persists, contact Chartboost Mediation Support and provide your console logs.",
!! ^ error
69 )
70
71 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:75:1
Line detected, which is longer than the defined maximum line length in the code style.
72 object Aborted : InitializationError(
73 code = "CM_101",
74 cause = "The initialization process started but was aborted midway prior to completion.",
75 resolution = "Contact Chartboost Mediation Support and/or the mediation partner and provide a copy of your console logs.",
!! ^ error
76 )
77
78 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:89:1
Line detected, which is longer than the defined maximum line length in the code style.
86 object AdapterNotFound : InitializationError(
87 code = "CM_103",
88 cause = "The adapter instance responsible for initializing this partner is no longer in memory.",
89 resolution = "This is an internal error. Contact Chartboost Mediation Support and provide a copy of your console logs.",
!! ^ error
90 )
91
92 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:96:1
Line detected, which is longer than the defined maximum line length in the code style.
93 object InvalidAppConfig : InitializationError(
94 code = "CM_104",
95 cause = "Chartboost Mediation received an invalid app config payload from the ad server.",
96 resolution = "If this problem persists, reach out to the Chartboost Mediation team for further assistance. If possible, always forward us a copy of Chartboost Mediation network traffic.",
!! ^ error
97 )
98
99 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:117:1
Line detected, which is longer than the defined maximum line length in the code style.
114 object PartnerNotIntegrated : InitializationError(
115 code = "CM_107",
116 cause = "The partner adapter and/or SDK might not have been properly integrated.",
117 resolution = "Check your adapter/SDK integration. If this error persists, contact Chartboost Mediation Support and provide a minimal reproducible build.",
!!! ^ error
118 )
119
120 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:124:1
Line detected, which is longer than the defined maximum line length in the code style.
121 object Timeout : InitializationError(
122 code = "CM_108",
123 cause = "The initialization operation has taken too long to complete.",
124 resolution = "This should not be a critical error. Typically the partner can continue to finish initialization in the background. If this error persists, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
125 )
126
127 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:139:1
Line detected, which is longer than the defined maximum line length in the code style.
136 object Exception : InitializationError(
137 code = "CM_110",
138 cause = "An exception was thrown during initialization.",
139 resolution = "Check your console logs for more details. If this error persists, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
140 )
141
142 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:153:1
Line detected, which is longer than the defined maximum line length in the code style.
150 object NetworkingError : InitializationError(
151 code = "CM_112",
152 cause = "Init request failed due to a networking error.",
153 resolution = "Typically this error should resolve itself. If the error persists, contact Chartboost Mediation support and share a copy of your network traffic logs.",
!!! ^ error
154 )
155
156 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:160:1
Line detected, which is longer than the defined maximum line length in the code style.
157 object OSVersionNotSupported : InitializationError(
158 code = "CM_113",
159 cause = "The partner does not support this OS version.",
160 resolution = "This is an expected error and can be ignored. Devices running newer OS versions should work fine.",
!!! ^ error
161 )
162
163 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:167:1
Line detected, which is longer than the defined maximum line length in the code style.
164 object ServerError : InitializationError(
165 code = "CM_114",
166 cause = "The initialization request failed due to a server error.",
167 resolution = "If this problem persists, reach out to Chartboost Mediation Support and/or the mediation partner team for further assistance. If possible, always share a copy of your network traffic logs.",
!!! ^ error
168 )
169
170 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:174:1
Line detected, which is longer than the defined maximum line length in the code style.
171 object InternalError : InitializationError(
172 code = "CM_115",
173 cause = "An error occurred within the Chartboost Mediation initialization sequence.",
174 resolution = "This is an internal error. Contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
175 )
176
177 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:205:1
Line detected, which is longer than the defined maximum line length in the code style.
202 object Unknown : PrebidError(
203 "CM_200",
204 cause = "There was an error that was not accounted for.",
205 resolution = "Try again. If the problem persists, contact Chartboost Mediation Support and provide your console logs.",
!!! ^ error
206 )
207
208 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:212:1
Line detected, which is longer than the defined maximum line length in the code style.
209 object AdapterNotFound : PrebidError(
210 "CM_201",
211 cause = "The adapter instance responsible for this token fetch is no longer in memory.",
212 resolution = "This is an internal error. Contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
213 )
214
215 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:219:1
Line detected, which is longer than the defined maximum line length in the code style.
216 object InvalidArgument : PrebidError(
217 "CM_202",
218 cause = "Required data is missing.",
219 resolution = "This is an internal error. Contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
220 )
221
222 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:225:1
Line detected, which is longer than the defined maximum line length in the code style.
222 @Serializable
223 object Uninitialized : PrebidError(
224 "CM_203",
225 cause = "The partner was not able to call its bidding APIs because it was not initialized, either because you have explicitly skipped its initialization or there were issues initializing it.",
!!! ^ error
226 resolution = "If this network supports bidding and you have explicitly skipped its initialization, allow it to initialize. Otherwise, try to re-initialize it.",
227 )
228
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:226:1
Line detected, which is longer than the defined maximum line length in the code style.
223 object Uninitialized : PrebidError(
224 "CM_203",
225 cause = "The partner was not able to call its bidding APIs because it was not initialized, either because you have explicitly skipped its initialization or there were issues initializing it.",
226 resolution = "If this network supports bidding and you have explicitly skipped its initialization, allow it to initialize. Otherwise, try to re-initialize it.",
!!! ^ error
227 )
228
229 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:233:1
Line detected, which is longer than the defined maximum line length in the code style.
230 object PartnerNotIntegrated : PrebidError(
231 "CM_204",
232 cause = "The partner adapter and/or SDK might not have been properly integrated.",
233 resolution = "Check your adapter/SDK integration. If this error persists, contact Chartboost Mediation Support and provide a minimal reproducible build.",
!!! ^ error
234 )
235
236 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:240:1
Line detected, which is longer than the defined maximum line length in the code style.
237 object Timeout : PrebidError(
238 "CM_205",
239 cause = "The token fetch operation has taken too long to complete.",
240 resolution = "Try again. Typically, this issue should resolve itself. If the issue persists, contact the mediation partner and provide a copy of your console logs.",
!!! ^ error
241 )
242
243 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:247:1
Line detected, which is longer than the defined maximum line length in the code style.
244 object Exception : PrebidError(
245 "CM_206",
246 cause = "An exception was thrown during token fetch.",
247 resolution = "Check your console logs for more details. If this error persists, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
248 )
249
250 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:254:1
Line detected, which is longer than the defined maximum line length in the code style.
251 object UnsupportedOsVersion : PrebidError(
252 "CM_207",
253 cause = "The partner does not support this OS version.",
254 resolution = "This is an expected error and can be ignored. Devices running newer OS versions should work fine.",
!!! ^ error
255 )
256
257 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:261:1
Line detected, which is longer than the defined maximum line length in the code style.
258 object NetworkingError : PrebidError(
259 "CM_208",
260 cause = "Prebid request failed due to a networking error.",
261 resolution = "Typically this error should resolve by itself. If the error persists, contact Chartboost Mediation Support and/or the mediation partner team and share a copy of your network traffic logs.",
!!! ^ error
262 )
263
264 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:268:1
Line detected, which is longer than the defined maximum line length in the code style.
265 object UnsupportedAdFormat : PrebidError(
266 "CM_209",
267 cause = "The partner does not support that ad format.",
268 resolution = "Try again with a different ad format. If the ad format you are requesting for is supported by the partner, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
269 )
270 }
271
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:291:1
Line detected, which is longer than the defined maximum line length in the code style.
288 object Unknown : LoadError(
289 "CM_300",
290 cause = "There was an error that was not accounted for.",
291 resolution = "Try again. If the problem persists, contact Chartboost Mediation Support and provide your console logs.",
!!! ^ error
292 )
293
294 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:298:1
Line detected, which is longer than the defined maximum line length in the code style.
295 object Aborted : LoadError(
296 "CM_301",
297 cause = "The ad load process started but was aborted midway prior to completion.",
298 resolution = "Contact Chartboost Mediation Support and/or the mediation partner and provide a copy of your console logs.",
!!! ^ error
299 )
300
301 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:312:1
Line detected, which is longer than the defined maximum line length in the code style.
309 object AdapterNotFound : LoadError(
310 "CM_303",
311 cause = "The adapter instance responsible for this load operation is no longer in memory.",
312 resolution = "This is an internal error. Contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
313 )
314
315 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:319:1
Line detected, which is longer than the defined maximum line length in the code style.
316 object AuctionNoBid : LoadError(
317 "CM_304",
318 cause = "The auction for this ad request did not succeed.",
319 resolution = "Try again. Typically, this issue should resolve itself. If the issue persists, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
320 )
321
322 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:326:1
Line detected, which is longer than the defined maximum line length in the code style.
323 object AuctionTimeout : LoadError(
324 "CM_305",
325 cause = "The auction for this ad request has taken too long to complete.",
326 resolution = "Try again. Typically, this issue should resolve itself. If the issue persists, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
327 )
328
329 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:333:1
Line detected, which is longer than the defined maximum line length in the code style.
330 object InvalidAdMarkup : LoadError(
331 "CM_306",
332 cause = "The ad markup String is invalid.",
333 resolution = "Contact Chartboost Mediation Support and/or the mediation partner and provide a copy of your network traffic logs.",
!!! ^ error
334 )
335
336 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:340:1
Line detected, which is longer than the defined maximum line length in the code style.
337 object InvalidAdRequest : LoadError(
338 "CM_307",
339 cause = "The ad request is malformed.",
340 resolution = "Contact Chartboost Mediation Support and/or the mediation partner and provide a copy of your network traffic logs.",
!!! ^ error
341 )
342
343 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:347:1
Line detected, which is longer than the defined maximum line length in the code style.
344 object InvalidBidResponse : LoadError(
345 "CM_308",
346 cause = "The auction for this ad request succeeded but the bid response is corrupt.",
347 resolution = "Try again. Typically, this issue should resolve itself. If the issue persists, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
348 )
349
350 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:388:1
Line detected, which is longer than the defined maximum line length in the code style.
385 @Serializable
386 object PartnerNotInitialized : LoadError(
387 "CM_314",
388 cause = "The partner was not able to call its load APIs because it was not initialized, either because you have explicitly skipped its initialization or there were issues initializing it.",
!!! ^ error
389 resolution = "If you would like to load and show ads from this partner, allow it to initialize or try to re-initialize it.",
390 )
391
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:389:1
Line detected, which is longer than the defined maximum line length in the code style.
386 object PartnerNotInitialized : LoadError(
387 "CM_314",
388 cause = "The partner was not able to call its load APIs because it was not initialized, either because you have explicitly skipped its initialization or there were issues initializing it.",
389 resolution = "If you would like to load and show ads from this partner, allow it to initialize or try to re-initialize it.",
!!! ^ error
390 )
391
392 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:395:1
Line detected, which is longer than the defined maximum line length in the code style.
392 @Serializable
393 object OutOfStorage : LoadError(
394 "CM_315",
395 cause = "The ad request might have succeeded but there was not enough storage to store the ad. Therefore this is treated as a failure.",
!!! ^ error
396 resolution = "N/A.",
397 )
398
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:403:1
Line detected, which is longer than the defined maximum line length in the code style.
400 object PartnerNotIntegrated : LoadError(
401 "CM_316",
402 cause = "The partner adapter and/or SDK might not have been properly integrated.",
403 resolution = "Check your adapter/SDK integration. If this error persists, contact Chartboost Mediation Support and provide a minimal reproducible build.",
!!! ^ error
404 )
405
406 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:410:1
Line detected, which is longer than the defined maximum line length in the code style.
407 object RateLimited : LoadError(
408 "CM_317",
409 cause = "Too many ad requests have been made over a short amount of time.",
410 resolution = "Avoid continually making ad requests in a short amount of time. You may implement an exponential backoff strategy to help mitigate this issue.",
!!! ^ error
411 )
412
413 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:424:1
Line detected, which is longer than the defined maximum line length in the code style.
421 object AdRequestTimeout : LoadError(
422 "CM_319",
423 cause = "The ad request operation has taken too long to complete.",
424 resolution = "If this issue persists, contact Chartboost Mediation Support and/or the mediation partner and provide a copy of your console logs.",
!!! ^ error
425 )
426
427 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:431:1
Line detected, which is longer than the defined maximum line length in the code style.
428 object UnsupportedAdFormat : LoadError(
429 "CM_320",
430 cause = "The partner does not support that ad format.",
431 resolution = "Try again with a different ad format. If the ad format you are requesting for is supported by the partner, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
432 )
433
434 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:452:1
Line detected, which is longer than the defined maximum line length in the code style.
449 object InstanceNotFound : LoadError(
450 "CM_323",
451 cause = "The partner SDK instance is null.",
452 resolution = "Check your adapter/SDK integration. If this error persists, contact Chartboost Mediation Support and provide a minimal reproducible build.",
!!! ^ error
453 )
454
455 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:459:1
Line detected, which is longer than the defined maximum line length in the code style.
456 object MismatchedAdParams : LoadError(
457 "CM_324",
458 cause = "The partner returned an ad with different ad parameters than the one requested.",
459 resolution = "This is typically caused by a partner SDK bug. Contact the mediation partner and provide a copy of your console logs.",
!!! ^ error
460 )
461
462 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:473:1
Line detected, which is longer than the defined maximum line length in the code style.
470 object Exception : LoadError(
471 "CM_326",
472 cause = "An exception was thrown during ad load.",
473 resolution = "Check your console logs for more details. If this error persists, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
474 )
475
476 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:494:1
Line detected, which is longer than the defined maximum line length in the code style.
491 object NoBannerView : LoadError(
492 "CM_329",
493 cause = "The partner returns an ad with no banner view to show.",
494 resolution = "This is typically caused by a partner adapter bug. Contact the mediation partner and provide a copy of your console logs.",
!!! ^ error
495 )
496
497 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:501:1
Line detected, which is longer than the defined maximum line length in the code style.
498 object NetworkingError : LoadError(
499 "CM_330",
500 cause = "Ad request failed due to a networking error.",
501 resolution = "Typically this error should resolve itself. If the error persists, contact Chartboost Mediation support and share a copy of your network traffic logs.",
!!! ^ error
502 )
503
504 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:515:1
Line detected, which is longer than the defined maximum line length in the code style.
512 object OSVersionNotSupported : LoadError(
513 "CM_332",
514 cause = "The partner does not support this OS version.",
515 resolution = "This is an expected error and can be ignored. Devices running newer OS versions should work fine.",
!!! ^ error
516 )
517
518 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:522:1
Line detected, which is longer than the defined maximum line length in the code style.
519 object ServerError : LoadError(
520 "CM_333",
521 cause = "The load request failed due to a server error.",
522 resolution = "If this problem persists, reach out to Chartboost Mediation Support and/or the mediation partner team for further assistance. If possible, always share a copy of your network traffic logs.",
!!! ^ error
523 )
524
525 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:536:1
Line detected, which is longer than the defined maximum line length in the code style.
533 object WaterfallExhaustedNoFill : LoadError(
534 "CM_335",
535 cause = "All waterfall entries have resulted in an error or no fill.",
536 resolution = "Try again. If the problem persists, verify Partner settings in the Chartboost Mediation dashboard.",
!!! ^ error
537 )
538 }
539
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:559:1
Line detected, which is longer than the defined maximum line length in the code style.
556 object Unknown : ShowError(
557 "CM_400",
558 cause = "There was an error that was not accounted for.",
559 resolution = "Try again. If the problem persists, contact Chartboost Mediation Support and provide your console logs.",
!!! ^ error
560 )
561
562 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:601:1
Line detected, which is longer than the defined maximum line length in the code style.
598 object AdapterNotFound : ShowError(
599 "CM_406",
600 cause = "The adapter instance responsible for this show operation is no longer in memory.",
601 resolution = "This is an internal error. Contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
602 )
603
604 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:622:1
Line detected, which is longer than the defined maximum line length in the code style.
619 object MediaBroken : ShowError(
620 "CM_409",
621 cause = "The media associated with this ad is corrupt and cannot be rendered.",
622 resolution = "Try loading another ad. If this problem persists, contact the mediation partner and provide a copy of your console and network traffic logs.",
!!! ^ error
623 )
624
625 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:642:1
Line detected, which is longer than the defined maximum line length in the code style.
639 @Serializable
640 object NotInitialized : ShowError(
641 "CM_412",
642 cause = "The partner was not able to call its show APIs because it was not initialized, either because you have explicitly skipped its initialization or there were issues initializing it.",
!!! ^ error
643 resolution = "If you would like to load and show ads from this partner, allow it to initialize or try to re-initialize it.",
644 )
645
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:643:1
Line detected, which is longer than the defined maximum line length in the code style.
640 object NotInitialized : ShowError(
641 "CM_412",
642 cause = "The partner was not able to call its show APIs because it was not initialized, either because you have explicitly skipped its initialization or there were issues initializing it.",
643 resolution = "If you would like to load and show ads from this partner, allow it to initialize or try to re-initialize it.",
!!! ^ error
644 )
645
646 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:650:1
Line detected, which is longer than the defined maximum line length in the code style.
647 object NotIntegrated : ShowError(
648 "CM_413",
649 cause = "The partner adapter and/or SDK might not have been properly integrated.",
650 resolution = "Check your adapter/SDK integration. If this error persists, contact Chartboost Mediation Support and provide a minimal reproducible build.",
!!! ^ error
651 )
652
653 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:657:1
Line detected, which is longer than the defined maximum line length in the code style.
654 object ShowInProgress : ShowError(
655 "CM_414",
656 cause = "An ad is already showing.",
657 resolution = "You cannot show multiple fullscreen ads simultaneously. Wait until the current ad is done showing before showing another ad.",
!!! ^ error
658 )
659
660 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:664:1
Line detected, which is longer than the defined maximum line length in the code style.
661 object Timeout : ShowError(
662 "CM_415",
663 cause = "The show operation has taken too long to complete.",
664 resolution = "If this issue persists, contact Chartboost Mediation Support and/or the mediation partner and provide a copy of your console logs.",
!!! ^ error
665 )
666
667 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:671:1
Line detected, which is longer than the defined maximum line length in the code style.
668 object VideoPlayerError : ShowError(
669 "CM_416",
670 cause = "There was an error with the video player.",
671 resolution = "Contact Chartboost Mediation Support or the mediation partner and provide details of your integration.",
!!! ^ error
672 )
673
674 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:692:1
Line detected, which is longer than the defined maximum line length in the code style.
689 object WrongResourceType : ShowError(
690 "CM_419",
691 cause = "A resource was found but it doesn't match the ad type to be shown.",
692 resolution = "This is an internal error. Typically, it should resolve itself. If this issue persists, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
693 )
694
695 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:699:1
Line detected, which is longer than the defined maximum line length in the code style.
696 object UnsupportedAdFormat : ShowError(
697 "CM_420",
698 cause = "The ad format is not supported by the partner SDK.",
699 resolution = "Try again with a different ad format. If the ad format you are requesting for is supported by the partner, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
700 )
701
702 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:706:1
Line detected, which is longer than the defined maximum line length in the code style.
703 object Exception : ShowError(
704 "CM_421",
705 cause = "An exception was thrown during ad show.",
706 resolution = "Check your console logs for more details. If this error persists, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
707 )
708
709 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:713:1
Line detected, which is longer than the defined maximum line length in the code style.
710 object UnsupportedAdSize : ShowError(
711 "CM_422",
712 cause = "The ad size is not supported by the partner SDK.",
713 resolution = "If this issue persists, contact the mediation partner and provide a copy of your console log.",
!!! ^ error
714 )
715
716 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:743:1
Line detected, which is longer than the defined maximum line length in the code style.
740 object Unknown : InvalidateError(
741 "CM_500",
742 cause = "There was an error that was not accounted for.",
743 resolution = "Try again. If the problem persists, contact Chartboost Mediation Support and provide your console logs.",
!!! ^ error
744 )
745
746 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:757:1
Line detected, which is longer than the defined maximum line length in the code style.
754 object AdapterNotFound : InvalidateError(
755 "CM_502",
756 cause = "The adapter instance responsible for this show operation is no longer in memory.",
757 resolution = "This is an internal error. Contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
758 )
759
760 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:763:1
Line detected, which is longer than the defined maximum line length in the code style.
760 @Serializable
761 object NotInitialized : InvalidateError(
762 "CM_503",
763 cause = "The partner was not able to call its invalidate APIs because it was not initialized, either because you have explicitly skipped its initialization or there were issues initializing it.",
!!! ^ error
764 resolution = "If this network supports ad invalidation and you have explicitly skipped its initialization, allow it to initialize. Otherwise, try to re-initialize it.",
765 )
766
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:764:1
Line detected, which is longer than the defined maximum line length in the code style.
761 object NotInitialized : InvalidateError(
762 "CM_503",
763 cause = "The partner was not able to call its invalidate APIs because it was not initialized, either because you have explicitly skipped its initialization or there were issues initializing it.",
764 resolution = "If this network supports ad invalidation and you have explicitly skipped its initialization, allow it to initialize. Otherwise, try to re-initialize it.",
!!! ^ error
765 )
766
767 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:771:1
Line detected, which is longer than the defined maximum line length in the code style.
768 object PartnerNotIntegrated : InvalidateError(
769 "CM_504",
770 cause = "The partner adapter and/or SDK might not have been properly integrated.",
771 resolution = "Check your adapter/SDK integration. If this error persists, contact Chartboost Mediation Support and provide a minimal reproducible build.",
!!! ^ error
772 )
773
774 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:778:1
Line detected, which is longer than the defined maximum line length in the code style.
775 object Timeout : InvalidateError(
776 "CM_505",
777 cause = "The invalidate operation has taken too long to complete.",
778 resolution = "If this issue persists, contact Chartboost Mediation Support and/or the mediation partner and provide a copy of your console logs.",
!!! ^ error
779 )
780
781 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:785:1
Line detected, which is longer than the defined maximum line length in the code style.
782 object WrongResourceType : InvalidateError(
783 "CM_506",
784 cause = "A resource was found but it doesn't match the ad type to be invalidated.",
785 resolution = "This is an internal error. Typically, it should resolve itself. If this issue persists, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
786 )
787
788 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:792:1
Line detected, which is longer than the defined maximum line length in the code style.
789 object Exception : InvalidateError(
790 "CM_507",
791 cause = "An exception was thrown during ad invalidation.",
792 resolution = "Check your console logs for more details. If this error persists, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
793 )
794
795 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:799:1
Line detected, which is longer than the defined maximum line length in the code style.
796 object UnsupportedAdFormat : InvalidateError(
797 "CM_508",
798 cause = "The ad format is not supported by the partner SDK.",
799 resolution = "Try again with a different ad format. If the ad format you are requesting for is supported by the partner, contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
800 )
801 }
802
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:831:1
Line detected, which is longer than the defined maximum line length in the code style.
828 "CM_601",
829 "The partner has returned an error.",
830 "Unknown.",
831 "The Chartboost Mediation SDK does not have insights into this type of error. Contact the mediation partner and provide details of your integration.",
!!! ^ error
832 )
833
834 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:861:1
Line detected, which is longer than the defined maximum line length in the code style.
858 @Serializable
859 object InvalidArgument : OtherError(
860 "CM_605",
861 "Invalid/empty arguments were passed to the function call, which caused the function to terminate prematurely.",
!!! ^ error
862 "Unknown.",
863 "Depending on when this error occurs, it could be due to an issue in Chartboost Mediation or mediation partner(s) or your integration. Contact Chartboost Mediation Support and provide a copy of your console logs.",
864 )
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationError.kt:863:1
Line detected, which is longer than the defined maximum line length in the code style.
860 "CM_605",
861 "Invalid/empty arguments were passed to the function call, which caused the function to terminate prematurely.",
862 "Unknown.",
863 "Depending on when this error occurs, it could be due to an issue in Chartboost Mediation or mediation partner(s) or your integration. Contact Chartboost Mediation Support and provide a copy of your console logs.",
!!! ^ error
864 )
865
866 @Serializable
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/Metrics.kt:114:1
Line detected, which is longer than the defined maximum line length in the code style.
111 var isSuccess = false
112
113 /**
114 * The [ChartboostMediationError] constant name, if any, returned by the Chartboost Mediation SDK or mediation adapter.
!!! ^ error
115 *
116 * Note: When a partner times out after we have stopped collecting metrics data, we won't be able
117 * to set this value. In cases like that, retrofit the field based on the `is_success` flag.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/model/MetricsRequestBody.kt:89:1
Line detected, which is longer than the defined maximum line length in the code style.
86 partner = metrics.partner,
87 start = resolveStartTime(metrics),
88 end = if (didPartnerTimeOut(metrics.chartboostMediationError?.name)) null else metrics.end,
89 duration = if (didPartnerTimeOut(metrics.chartboostMediationError?.name) || metrics.duration?.sign != 1) null else metrics.duration,
!! ^ error
90 isSuccess = metrics.isSuccess,
91 chartboostMediationError = metrics.chartboostMediationError?.name,
92 chartboostMediationErrorCode = metrics.chartboostMediationError?.code,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/model/MetricsRequestBody.kt:139:1
Line detected, which is longer than the defined maximum line length in the code style.
136 start != null && end != null && start > end -> end
137
138 // If the start time is null, then use the last known start time as a backup.
139 // For concurrent requests, this will result in the start time being slightly off, but it's better than nothing.
!!! ^ error
140 else ->
141 startLastKnownGood.takeIf { it <= (end ?: Long.MAX_VALUE) }
142 ?: System.currentTimeMillis()
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/test/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdTest.kt:81:1
Line detected, which is longer than the defined maximum line length in the code style.
78 val mockFullscreenAdShowingState = mockk<FullscreenAdShowingState>()
79 val chartboostMediationSdkCompanion = ChartboostMediationSdk::class.companionObjectInstance
80
81 val chartboostMediationInternalField = ChartboostMediationSdk::class.java.getDeclaredField("chartboostMediationInternal")
!! ^ error
82 chartboostMediationInternalField.isAccessible = true
83 val chartboostMediationInternal = chartboostMediationInternalField.get(chartboostMediationSdkCompanion)
84
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/test/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdTest.kt:85:1
Line detected, which is longer than the defined maximum line length in the code style.
82 chartboostMediationInternalField.isAccessible = true
83 val chartboostMediationInternal = chartboostMediationInternalField.get(chartboostMediationSdkCompanion)
84
85 val fullscreenAdShowingStateField = chartboostMediationInternal.javaClass.getDeclaredField("fullscreenAdShowingState")
!! ^ error
86 fullscreenAdShowingStateField.isAccessible = true
87 fullscreenAdShowingStateField.set(chartboostMediationInternal, mockFullscreenAdShowingState)
88
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:54:1
Line detected, which is longer than the defined maximum line length in the code style.
51 AdRequest.ERROR_CODE_APP_ID_MISSING -> ChartboostMediationError.LoadError.PartnerNotInitialized
52 AdRequest.ERROR_CODE_INTERNAL_ERROR -> ChartboostMediationError.OtherError.InternalError
53 AdRequest.ERROR_CODE_INVALID_AD_STRING -> ChartboostMediationError.LoadError.InvalidAdMarkup
54 AdRequest.ERROR_CODE_INVALID_REQUEST, AdRequest.ERROR_CODE_REQUEST_ID_MISMATCH -> ChartboostMediationError.LoadError.InvalidAdRequest
!! ^ error
55 AdRequest.ERROR_CODE_NETWORK_ERROR -> ChartboostMediationError.OtherError.NoConnectivity
56 AdRequest.ERROR_CODE_NO_FILL -> ChartboostMediationError.LoadError.NoFill
57 else -> ChartboostMediationError.OtherError.PartnerError
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:276:1
Line detected, which is longer than the defined maximum line length in the code style.
273 )
274 } else {
275 PartnerLogController.log(LOAD_FAILED)
276 Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.UnsupportedAdFormat))
!!! ^ error
277 }
278 }
279 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:306:1
Line detected, which is longer than the defined maximum line length in the code style.
303 showRewardedInterstitialAd(activity, partnerAd, listener)
304 } else {
305 PartnerLogController.log(SHOW_FAILED)
306 Result.failure(ChartboostMediationAdException(ChartboostMediationError.ShowError.UnsupportedAdFormat))
!!! ^ error
307 }
308 }
309 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:419:1
Line detected, which is longer than the defined maximum line length in the code style.
416 override fun onAdFailedToLoad(adError: LoadAdError) {
417 PartnerLogController.log(LOAD_FAILED, adError.message)
418 resumeOnce(
419 Result.failure(ChartboostMediationAdException(getChartboostMediationError(adError.code))),
!!! ^ error
420 )
421 }
422
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:838:1
Line detected, which is longer than the defined maximum line length in the code style.
835 Result.success(partnerAd)
836 } else {
837 PartnerLogController.log(INVALIDATE_FAILED, "Ad is not an AdView.")
838 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InvalidateError.WrongResourceType))
!!! ^ error
839 }
840 } ?: run {
841 PartnerLogController.log(INVALIDATE_FAILED, "Ad is null.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:247:1
Line detected, which is longer than the defined maximum line length in the code style.
244 .trim()
245 .takeIf { it.isNotEmpty() }?.let { appKey ->
246 val shouldUseManagedPrebidding =
247 (partnerConfiguration.credentials as JsonObject).get(MANAGED_PREBIDDING_KEY)?.jsonPrimitive?.booleanOrNull
!!! ^ error
248 ?: false
249
250 if (shouldUseManagedPrebidding) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:273:1
Line detected, which is longer than the defined maximum line length in the code style.
270 Result.success(PartnerLogController.log(SETUP_SUCCEEDED))
271 } ?: run {
272 PartnerLogController.log(SETUP_FAILED, "Missing application ID.")
273 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.InvalidCredentials))
!!! ^ error
274 }
275 }
276
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:505:1
Line detected, which is longer than the defined maximum line length in the code style.
502 override fun onFailure(adError: AdError) {
503 PartnerLogController.log(
504 BIDDER_INFO_FETCH_FAILED,
505 "Placement: ${request.chartboostPlacement}. Error: ${adError.code}. Message: ${adError.message}",
!!! ^ error
506 )
507
508 resumeOnce(Result.failure(ChartboostMediationAdException(ChartboostMediationError.PrebidError.Exception)))
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:508:1
Line detected, which is longer than the defined maximum line length in the code style.
505 "Placement: ${request.chartboostPlacement}. Error: ${adError.code}. Message: ${adError.message}",
506 )
507
508 resumeOnce(Result.failure(ChartboostMediationAdException(ChartboostMediationError.PrebidError.Exception)))
!!! ^ error
509 }
510
511 override fun onSuccess(adResponse: DTBAdResponse) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:844:1
Line detected, which is longer than the defined maximum line length in the code style.
841 it.resume(Result.success(partnerAd))
842 }
843 } ?: run {
844 PartnerLogController.log(SHOW_FAILED, "Unable to resume continuation in onShowSuccess. Continuation is null.")
!!! ^ error
845 }
846 }
847 it.show()
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapterConfiguration.kt:39:1
Line detected, which is longer than the defined maximum line length in the code style.
36 *
37 * Chartboost Mediation.Partner.Adapter
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
!! ^ error
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
42 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapterConfiguration.kt:40:1
Line detected, which is longer than the defined maximum line length in the code style.
37 * Chartboost Mediation.Partner.Adapter
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
!! ^ error
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
42 */
43 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_APS_ADAPTER_VERSION
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapterConfiguration.kt:41:1
Line detected, which is longer than the defined maximum line length in the code style.
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
!! ^ error
42 */
43 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_APS_ADAPTER_VERSION
44
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:100:1
Line detected, which is longer than the defined maximum line length in the code style.
97 } ?: run {
98 PartnerLogController.log(SETUP_FAILED, "No SDK key found.")
99 resumeOnce(
100 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.InvalidCredentials)),
!!! ^ error
101 )
102 }
103 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:307:1
Line detected, which is longer than the defined maximum line length in the code style.
304 if (appLovinSdk == null) {
305 PartnerLogController.log(LOAD_FAILED)
306 resumeOnce(
307 Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.PartnerNotInitialized)),
!!! ^ error
308 )
309 return@suspendCancellableCoroutine
310 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:729:1
Line detected, which is longer than the defined maximum line length in the code style.
726 Result.success(partnerAd)
727 } else {
728 PartnerLogController.log(INVALIDATE_FAILED, "Ad is not an AppLovinAdView.")
729 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InvalidateError.WrongResourceType))
!!! ^ error
730 }
731 } ?: run {
732 PartnerLogController.log(INVALIDATE_FAILED, "Ad is null.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:753:1
Line detected, which is longer than the defined maximum line length in the code style.
750 AppLovinErrorCodes.INVALID_AD_TOKEN -> ChartboostMediationError.LoadError.AuctionNoBid
751 AppLovinErrorCodes.UNABLE_TO_RENDER_AD -> ChartboostMediationError.ShowError.Unknown
752 AppLovinErrorCodes.FETCH_AD_TIMEOUT -> ChartboostMediationError.LoadError.AdRequestTimeout
753 AppLovinErrorCodes.UNABLE_TO_PRECACHE_RESOURCES, AppLovinErrorCodes.UNABLE_TO_PRECACHE_VIDEO_RESOURCES, AppLovinErrorCodes.UNABLE_TO_PRECACHE_IMAGE_RESOURCES -> ChartboostMediationError.LoadError.OutOfStorage
!!! ^ error
754 AppLovinErrorCodes.INCENTIVIZED_NO_AD_PRELOADED -> ChartboostMediationError.ShowError.AdNotReady
755 AppLovinErrorCodes.INVALID_RESPONSE -> ChartboostMediationError.LoadError.InvalidBidResponse
756 AppLovinErrorCodes.INVALID_ZONE -> ChartboostMediationError.LoadError.InvalidPartnerPlacement
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapterConfiguration.kt:43:1
Line detected, which is longer than the defined maximum line length in the code style.
40 *
41 * Chartboost Mediation.Partner.Adapter
42 *
43 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
!! ^ error
44 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
45 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
46 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapterConfiguration.kt:44:1
Line detected, which is longer than the defined maximum line length in the code style.
41 * Chartboost Mediation.Partner.Adapter
42 *
43 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
44 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
!! ^ error
45 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
46 */
47 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_APPLOVIN_ADAPTER_VERSION
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapterConfiguration.kt:45:1
Line detected, which is longer than the defined maximum line length in the code style.
42 *
43 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
44 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
45 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
!! ^ error
46 */
47 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_APPLOVIN_ADAPTER_VERSION
48
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:107:1
Line detected, which is longer than the defined maximum line length in the code style.
104 PartnerLogController.log(SETUP_FAILED)
105 resumeOnce(
106 Result.failure(
107 ChartboostMediationAdException(ChartboostMediationError.InitializationError.Unknown),
!!! ^ error
108 ),
109 )
110 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:115:1
Line detected, which is longer than the defined maximum line length in the code style.
112 } ?: run {
113 PartnerLogController.log(SETUP_FAILED, "Missing source ID.")
114 resumeOnce(
115 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.InvalidCredentials)),
!!! ^ error
116 )
117 }
118 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:146:1
Line detected, which is longer than the defined maximum line length in the code style.
143 return suspendCancellableCoroutine { continuation ->
144 BidMachine.getBidToken(context, adFormat) { token ->
145 if (continuation.isActive) {
146 PartnerLogController.log(if (token.isEmpty()) BIDDER_INFO_FETCH_FAILED else BIDDER_INFO_FETCH_SUCCEEDED)
!!! ^ error
147 continuation.resume(mapOf("token" to token))
148 }
149 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:217:1
Line detected, which is longer than the defined maximum line length in the code style.
214 else -> {
215 PartnerLogController.log(LOAD_FAILED)
216 resumeOnce(
217 Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.UnsupportedAdFormat)),
!!! ^ error
218 )
219 }
220 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:807:1
Line detected, which is longer than the defined maximum line length in the code style.
804 is RewardedAd -> destroyAd(ad::destroy)
805
806 else -> {
807 PartnerLogController.log(INVALIDATE_FAILED, "Ad is not an instance of BannerView, InterstitialAd, or RewardedAd.")
!!! ^ error
808 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InvalidateError.WrongResourceType))
809 }
810 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:808:1
Line detected, which is longer than the defined maximum line length in the code style.
805
806 else -> {
807 PartnerLogController.log(INVALIDATE_FAILED, "Ad is not an instance of BannerView, InterstitialAd, or RewardedAd.")
808 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InvalidateError.WrongResourceType))
!!! ^ error
809 }
810 }
811 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapterConfiguration.kt:40:1
Line detected, which is longer than the defined maximum line length in the code style.
37 *
38 * Chartboost Mediation.Partner.Adapter
39 *
40 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
!! ^ error
41 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
42 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
43 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapterConfiguration.kt:41:1
Line detected, which is longer than the defined maximum line length in the code style.
38 * Chartboost Mediation.Partner.Adapter
39 *
40 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
41 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
!! ^ error
42 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
43 */
44 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_BIDMACHINE_ADAPTER_VERSION
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapterConfiguration.kt:42:1
Line detected, which is longer than the defined maximum line length in the code style.
39 *
40 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
41 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
42 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
!! ^ error
43 */
44 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_BIDMACHINE_ADAPTER_VERSION
45
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:63:1
Line detected, which is longer than the defined maximum line length in the code style.
60 when (error) {
61 is StartError -> {
62 when (error.code) {
63 StartError.Code.INVALID_CREDENTIALS -> ChartboostMediationError.InitializationError.InvalidCredentials
!! ^ error
64 StartError.Code.NETWORK_FAILURE -> ChartboostMediationError.OtherError.AdServerError
65 else -> ChartboostMediationError.InitializationError.Unknown
66 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:73:1
Line detected, which is longer than the defined maximum line length in the code style.
70 CacheError.Code.INTERNET_UNAVAILABLE -> ChartboostMediationError.OtherError.NoConnectivity
71 CacheError.Code.NO_AD_FOUND -> ChartboostMediationError.LoadError.NoFill
72 CacheError.Code.SESSION_NOT_STARTED -> ChartboostMediationError.InitializationError.Unknown
73 CacheError.Code.NETWORK_FAILURE, CacheError.Code.SERVER_ERROR -> ChartboostMediationError.OtherError.AdServerError
!! ^ error
74 else -> ChartboostMediationError.OtherError.PartnerError
75 }
76 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:142:1
Line detected, which is longer than the defined maximum line length in the code style.
139 if (appId.isNullOrEmpty() || appSignature.isNullOrEmpty()) {
140 PartnerLogController.log(SETUP_FAILED, "Missing app ID or app signature.")
141 resumeOnce(
142 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.InvalidCredentials)),
!!! ^ error
143 )
144 return@suspendCancellableCoroutine
145 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:558:1
Line detected, which is longer than the defined maximum line length in the code style.
555 it.resume(result)
556 }
557 } ?: run {
558 PartnerLogController.log(SHOW_FAILED, "Unable to resume continuation for show. Continuation is null.")
!!! ^ error
559 }
560 }
561 onShowSuccess = {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:609:1
Line detected, which is longer than the defined maximum line length in the code style.
606 it.resume(result)
607 }
608 } ?: run {
609 PartnerLogController.log(SHOW_FAILED, "Unable to resume continuation for show. Continuation is null.")
!!! ^ error
610 }
611 }
612
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:657:1
Line detected, which is longer than the defined maximum line length in the code style.
654 Result.success(partnerAd)
655 } else {
656 PartnerLogController.log(INVALIDATE_FAILED, "Ad is not a Chartboost Banner.")
657 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InvalidateError.WrongResourceType))
!!! ^ error
658 }
659 } ?: run {
660 PartnerLogController.log(INVALIDATE_FAILED, "Ad is null.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:87:1
Line detected, which is longer than the defined maximum line length in the code style.
84 } ?: run {
85 PartnerLogController.log(SETUP_FAILED, "Missing app ID.")
86 resumeOnce(
87 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.InvalidCredentials)),
!! ^ error
88 )
89 }
90 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:292:1
Line detected, which is longer than the defined maximum line length in the code style.
289 }
290 OnFyberMarketplaceInitializedListener.FyberInitStatus.INVALID_APP_ID -> {
291 PartnerLogController.log(SETUP_FAILED, "Invalid app ID.")
292 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.InvalidCredentials))
!!! ^ error
293 }
294 }
295 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:411:1
Line detected, which is longer than the defined maximum line length in the code style.
408 errorCode: InneractiveErrorCode?,
409 ) {
410 PartnerLogController.log(LOAD_FAILED, "$errorCode")
411 resumeOnce(Result.failure(ChartboostMediationAdException(getChartboostMediationError(errorCode))))
!!! ^ error
412 }
413 },
414 )
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:431:1
Line detected, which is longer than the defined maximum line length in the code style.
428 FrameLayout(context)
429
430 /**
431 * Attempt to load a Digital Turbine Exchange fullscreen ad. This method supports both interstitial and rewarded ads.
!!! ^ error
432 *
433 * @param request An [PartnerAdLoadRequest] instance containing relevant data for the current ad load call.
434 * @param listener A [PartnerAdListener] to notify Chartboost Mediation of ad events.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:481:1
Line detected, which is longer than the defined maximum line length in the code style.
478 errorCode: InneractiveErrorCode,
479 ) {
480 PartnerLogController.log(LOAD_FAILED, "Ad spot $adSpot. Error code: $errorCode")
481 resumeOnce(Result.failure(ChartboostMediationAdException(getChartboostMediationError(errorCode))))
!!! ^ error
482 }
483 },
484 )
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:532:1
Line detected, which is longer than the defined maximum line length in the code style.
529 (partnerAd.ad as? InneractiveAdSpot)?.let { adSpot ->
530 val controller =
531 adSpot.selectedUnitController as? InneractiveFullscreenUnitController
532 ?: return Result.failure(ChartboostMediationAdException(ChartboostMediationError.ShowError.WrongResourceType))
!!! ^ error
533
534 return suspendCancellableCoroutine { continuation ->
535 controller.eventsListener =
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:595:1
Line detected, which is longer than the defined maximum line length in the code style.
592 error: AdDisplayError,
593 ) {
594 PartnerLogController.log(SHOW_FAILED, "Error: $error")
595 resumeOnce(Result.failure(ChartboostMediationAdException(ChartboostMediationError.ShowError.Unknown)))
!!! ^ error
596
597 ad.destroy()
598 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:686:1
Line detected, which is longer than the defined maximum line length in the code style.
683 InneractiveErrorCode.SERVER_INTERNAL_ERROR -> ChartboostMediationError.OtherError.AdServerError
684 InneractiveErrorCode.SERVER_INVALID_RESPONSE -> ChartboostMediationError.LoadError.InvalidBidResponse
685 InneractiveErrorCode.LOAD_TIMEOUT -> ChartboostMediationError.LoadError.AdRequestTimeout
686 InneractiveErrorCode.ERROR_CODE_NATIVE_VIDEO_NOT_SUPPORTED -> ChartboostMediationError.LoadError.MismatchedAdFormat
!!! ^ error
687 else -> ChartboostMediationError.OtherError.PartnerError
688 }
689 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapterConfiguration.kt:39:1
Line detected, which is longer than the defined maximum line length in the code style.
36 *
37 * Chartboost Mediation.Partner.Adapter
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
!! ^ error
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
42 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapterConfiguration.kt:40:1
Line detected, which is longer than the defined maximum line length in the code style.
37 * Chartboost Mediation.Partner.Adapter
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
!! ^ error
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
42 */
43 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_DIGITAL_TURBINE_EXCHANGE_ADAPTER_VERSION
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapterConfiguration.kt:41:1
Line detected, which is longer than the defined maximum line length in the code style.
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
!! ^ error
42 */
43 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_DIGITAL_TURBINE_EXCHANGE_ADAPTER_VERSION
44
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:57:1
Line detected, which is longer than the defined maximum line length in the code style.
54 AdRequest.ERROR_CODE_APP_ID_MISSING -> ChartboostMediationError.LoadError.PartnerNotInitialized
55 AdRequest.ERROR_CODE_INTERNAL_ERROR -> ChartboostMediationError.OtherError.InternalError
56 AdRequest.ERROR_CODE_INVALID_AD_STRING -> ChartboostMediationError.LoadError.InvalidAdMarkup
57 AdRequest.ERROR_CODE_INVALID_REQUEST, AdRequest.ERROR_CODE_REQUEST_ID_MISMATCH -> ChartboostMediationError.LoadError.AdRequestTimeout
!! ^ error
58 AdRequest.ERROR_CODE_NETWORK_ERROR -> ChartboostMediationError.OtherError.NoConnectivity
59 AdRequest.ERROR_CODE_NO_FILL -> ChartboostMediationError.LoadError.NoFill
60 else -> ChartboostMediationError.OtherError.PartnerError
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:311:1
Line detected, which is longer than the defined maximum line length in the code style.
308 )
309 } else {
310 PartnerLogController.log(LOAD_FAILED)
311 Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.UnsupportedAdFormat))
!!! ^ error
312 }
313 }
314 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:345:1
Line detected, which is longer than the defined maximum line length in the code style.
342 showRewardedInterstitialAd(activity, partnerAd, listener)
343 } else {
344 PartnerLogController.log(SHOW_FAILED)
345 Result.failure(ChartboostMediationAdException(ChartboostMediationError.ShowError.UnsupportedAdFormat))
!!! ^ error
346 }
347 }
348 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:918:1
Line detected, which is longer than the defined maximum line length in the code style.
915 Result.success(partnerAd)
916 } else {
917 PartnerLogController.log(INVALIDATE_FAILED, "Ad is not an AdView.")
918 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InvalidateError.WrongResourceType))
!!! ^ error
919 }
920 } ?: run {
921 PartnerLogController.log(INVALIDATE_FAILED, "Ad is null.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapterConfiguration.kt:42:1
Line detected, which is longer than the defined maximum line length in the code style.
39 *
40 * Chartboost Mediation.Partner.Adapter
41 *
42 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
!! ^ error
43 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
44 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
45 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapterConfiguration.kt:43:1
Line detected, which is longer than the defined maximum line length in the code style.
40 * Chartboost Mediation.Partner.Adapter
41 *
42 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
43 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
!! ^ error
44 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
45 */
46 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_GOOGLE_BIDDING_ADAPTER_VERSION
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapterConfiguration.kt:44:1
Line detected, which is longer than the defined maximum line length in the code style.
41 *
42 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
43 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
44 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
!! ^ error
45 */
46 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_GOOGLE_BIDDING_ADAPTER_VERSION
47
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/build.gradle.kts:39:1
Line detected, which is longer than the defined maximum line length in the code style.
36 targetSdk = 33
37 // If you touch the following line, don't forget to update scripts/get_rc_version.zsh
38 android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "4.6.2.0.5"
39 buildConfigField("String", "CHARTBOOST_MEDIATION_HYPRMX_ADAPTER_VERSION", "\"${android.defaultConfig.versionName}\"")
!! ^ error
40
41 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
42 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:77:1
Line detected, which is longer than the defined maximum line length in the code style.
74 HyprMXErrors.INVALID_BANNER_PLACEMENT_NAME, HyprMXErrors.PLACEMENT_DOES_NOT_EXIST,
75 HyprMXErrors.PLACEMENT_NAME_NOT_SET,
76 -> ChartboostMediationError.LoadError.InvalidPartnerPlacement
77 HyprMXErrors.DISPLAY_ERROR, HyprMXErrors.AD_FAILED_TO_RENDER -> ChartboostMediationError.ShowError.MediaBroken
!! ^ error
78 HyprMXErrors.AD_SIZE_NOT_SET -> ChartboostMediationError.LoadError.InvalidBannerSize
79 else -> ChartboostMediationError.OtherError.PartnerError
80 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:253:1
Line detected, which is longer than the defined maximum line length in the code style.
250 // return an already set gamer id, otherwise generate and store one.
251 sharedPreferences.getString(HYPRMX_GAMER_ID_KEY, null) ?: run {
252 UUID.randomUUID().toString().also { gamerId ->
253 val prefsWriteSucceeded = sharedPreferences.edit().putString(HYPRMX_GAMER_ID_KEY, gamerId).commit()
!!! ^ error
254 PartnerLogController.log(
255 CUSTOM,
256 "Gamer ID ${
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:633:1
Line detected, which is longer than the defined maximum line length in the code style.
630 it.resume(result)
631 }
632 } ?: run {
633 PartnerLogController.log(SHOW_FAILED, "Unable to resume continuation once. Continuation is null.")
!!! ^ error
634 }
635 }
636
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:115:1
Line detected, which is longer than the defined maximum line length in the code style.
112 error?.let {
113 PartnerLogController.log(SETUP_FAILED, "${it.message}")
114 Result.failure(
115 ChartboostMediationAdException(ChartboostMediationError.InitializationError.Unknown),
!!! ^ error
116 )
117 } ?: run {
118 Result.success(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:129:1
Line detected, which is longer than the defined maximum line length in the code style.
126 }
127 } ?: run {
128 PartnerLogController.log(SETUP_FAILED, "Missing account ID.")
129 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.InvalidCredentials))
!!! ^ error
130 }
131 }
132
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:306:1
Line detected, which is longer than the defined maximum line length in the code style.
303 "Placement: ${partnerAd.request.partnerPlacement}",
304 )
305 resumeOnce(
306 Result.failure(ChartboostMediationAdException(ChartboostMediationError.ShowError.Unknown)),
!!! ^ error
307 )
308 }
309 ad.show()
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:410:1
Line detected, which is longer than the defined maximum line length in the code style.
407 // There should be no placement with this value.
408 if (placement == 0L) {
409 PartnerLogController.log(LOAD_FAILED)
410 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.InvalidPartnerPlacement))
!!! ^ error
411 }
412
413 (context as? Activity)?.let { activity ->
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:419:1
Line detected, which is longer than the defined maximum line length in the code style.
416 // We will check for the banner size and return a failure if the sizes are either 0.
417 if ((size.width == 0) or (size.height == 0)) {
418 PartnerLogController.log(LOAD_FAILED)
419 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.InvalidBannerSize))
!!! ^ error
420 }
421
422 return suspendCancellableCoroutine { continuation ->
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:439:1
Line detected, which is longer than the defined maximum line length in the code style.
436 }
437 } ?: run {
438 PartnerLogController.log(LOAD_FAILED, "Size can't be null.")
439 return (Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.InvalidBannerSize)))
!!! ^ error
440 }
441 } ?: run {
442 PartnerLogController.log(LOAD_FAILED, "Activity context is required.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:443:1
Line detected, which is longer than the defined maximum line length in the code style.
440 }
441 } ?: run {
442 PartnerLogController.log(LOAD_FAILED, "Activity context is required.")
443 return (Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.ActivityNotFound)))
!!! ^ error
444 }
445 } ?: run {
446 PartnerLogController.log(LOAD_FAILED, "Placement is not valid.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:447:1
Line detected, which is longer than the defined maximum line length in the code style.
444 }
445 } ?: run {
446 PartnerLogController.log(LOAD_FAILED, "Placement is not valid.")
447 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.InvalidPartnerPlacement))
!!! ^ error
448 }
449 }
450
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:494:1
Line detected, which is longer than the defined maximum line length in the code style.
491 status: InMobiAdRequestStatus,
492 ) {
493 PartnerLogController.log(LOAD_FAILED, status.message ?: "")
494 resumeOnce(Result.failure(ChartboostMediationAdException(getChartboostMediationError(status.statusCode))))
!!! ^ error
495 }
496
497 override fun onAdDisplayed(ad: InMobiBanner) {}
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:546:1
Line detected, which is longer than the defined maximum line length in the code style.
543 // There should be no placement with this value.
544 if (placement == 0L) {
545 PartnerLogController.log(LOAD_FAILED)
546 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.InvalidPartnerPlacement))
!!! ^ error
547 }
548
549 return suspendCancellableCoroutine { continuation ->
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:565:1
Line detected, which is longer than the defined maximum line length in the code style.
562 }
563 } ?: run {
564 PartnerLogController.log(LOAD_FAILED, "Placement is not valid.")
565 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.InvalidPartnerPlacement))
!!! ^ error
566 }
567 }
568
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:721:1
Line detected, which is longer than the defined maximum line length in the code style.
718 InMobiAdRequestStatus.StatusCode.AD_NO_LONGER_AVAILABLE -> ChartboostMediationError.ShowError.AdNotFound
719 InMobiAdRequestStatus.StatusCode.REQUEST_TIMED_OUT -> ChartboostMediationError.LoadError.AdRequestTimeout
720 InMobiAdRequestStatus.StatusCode.SERVER_ERROR -> ChartboostMediationError.OtherError.AdServerError
721 InMobiAdRequestStatus.StatusCode.INVALID_RESPONSE_IN_LOAD -> ChartboostMediationError.LoadError.InvalidBidResponse
!!! ^ error
722 else -> ChartboostMediationError.OtherError.PartnerError
723 }
724 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-ironsource/IronSourceAdapter/src/main/java/com/chartboost/mediation/ironsourceadapter/IronSourceAdapter.kt:91:1
Line detected, which is longer than the defined maximum line length in the code style.
88 Result.success(PartnerLogController.log(SETUP_SUCCEEDED))
89 } ?: run {
90 PartnerLogController.log(SETUP_FAILED, "Missing the app key.")
91 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.InvalidCredentials))
!! ^ error
92 }
93 }
94
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-ironsource/IronSourceAdapter/src/main/java/com/chartboost/mediation/ironsourceadapter/IronSourceAdapter.kt:215:1
Line detected, which is longer than the defined maximum line length in the code style.
212 }
213 else -> {
214 PartnerLogController.log(LOAD_FAILED)
215 Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.UnsupportedAdFormat))
!!! ^ error
216 }
217 }
218 } ?: run {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-ironsource/IronSourceAdapter/src/main/java/com/chartboost/mediation/ironsourceadapter/IronSourceAdapter.kt:368:1
Line detected, which is longer than the defined maximum line length in the code style.
365 if (router.containsInterstitialListener(request.partnerPlacement)) {
366 PartnerLogController.log(
367 LOAD_FAILED,
368 "ironSource interstitial placement ${request.partnerPlacement} is already attached to another Chartboost placement.",
!!! ^ error
369 )
370 resumeOnce(
371 Result.failure(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-ironsource/IronSourceAdapter/src/main/java/com/chartboost/mediation/ironsourceadapter/IronSourceAdapter.kt:502:1
Line detected, which is longer than the defined maximum line length in the code style.
499 if (router.containsRewardedListener(request.partnerPlacement)) {
500 PartnerLogController.log(
501 LOAD_FAILED,
502 "ironSource rewarded placement ${request.partnerPlacement} is already attached to another Chartboost placement.",
!!! ^ error
503 )
504 resumeOnce(
505 Result.failure(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-ironsource/IronSourceAdapter/src/main/java/com/chartboost/mediation/ironsourceadapter/IronSourceAdapter.kt:627:1
Line detected, which is longer than the defined maximum line length in the code style.
624 */
625 private fun getChartboostMediationError(error: IronSourceError) =
626 when (error.errorCode) {
627 ERROR_CODE_NO_ADS_TO_SHOW, ERROR_BN_LOAD_NO_FILL, ERROR_RV_LOAD_NO_FILL, ERROR_IS_LOAD_NO_FILL -> ChartboostMediationError.LoadError.NoFill
!!! ^ error
628 ERROR_NO_INTERNET_CONNECTION -> ChartboostMediationError.OtherError.NoConnectivity
629 ERROR_BN_LOAD_NO_CONFIG -> ChartboostMediationError.LoadError.InvalidAdRequest
630 ERROR_BN_INSTANCE_LOAD_AUCTION_FAILED -> ChartboostMediationError.LoadError.AuctionNoBid
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-ironsource/IronSourceAdapter/src/main/java/com/chartboost/mediation/ironsourceadapter/IronSourceAdapter.kt:633:1
Line detected, which is longer than the defined maximum line length in the code style.
630 ERROR_BN_INSTANCE_LOAD_AUCTION_FAILED -> ChartboostMediationError.LoadError.AuctionNoBid
631 ERROR_BN_INSTANCE_LOAD_EMPTY_SERVER_DATA -> ChartboostMediationError.LoadError.InvalidBidResponse
632 ERROR_RV_INIT_FAILED_TIMEOUT -> ChartboostMediationError.InitializationError.Timeout
633 ERROR_DO_IS_LOAD_TIMED_OUT, ERROR_BN_INSTANCE_LOAD_TIMEOUT, ERROR_DO_RV_LOAD_TIMED_OUT -> ChartboostMediationError.LoadError.AdRequestTimeout
!!! ^ error
634 AUCTION_ERROR_TIMED_OUT -> ChartboostMediationError.LoadError.AdRequestTimeout
635 else -> ChartboostMediationError.OtherError.PartnerError
636 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:248:1
Line detected, which is longer than the defined maximum line length in the code style.
245 )
246 } else {
247 PartnerLogController.log(LOAD_FAILED)
248 Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.UnsupportedAdFormat))
!!! ^ error
249 }
250 }
251 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:664:1
Line detected, which is longer than the defined maximum line length in the code style.
661 Result.success(partnerAd)
662 } else {
663 PartnerLogController.log(INVALIDATE_FAILED, "Ad is not an AdView.")
664 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InvalidateError.WrongResourceType))
!!! ^ error
665 }
666 } ?: run {
667 PartnerLogController.log(INVALIDATE_FAILED, "Ad is null.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:688:1
Line detected, which is longer than the defined maximum line length in the code style.
685 Result.success(partnerAd)
686 } else {
687 PartnerLogController.log(INVALIDATE_FAILED, "Ad is not an InterstitialAd.")
688 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InvalidateError.WrongResourceType))
!!! ^ error
689 }
690 } ?: run {
691 PartnerLogController.log(INVALIDATE_FAILED, "Ad is null.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:712:1
Line detected, which is longer than the defined maximum line length in the code style.
709 Result.success(partnerAd)
710 } else {
711 PartnerLogController.log(INVALIDATE_FAILED, "Ad is not a RewardedVideoAd.")
712 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InvalidateError.WrongResourceType))
!!! ^ error
713 }
714 } ?: run {
715 PartnerLogController.log(INVALIDATE_FAILED, "Ad is null.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:736:1
Line detected, which is longer than the defined maximum line length in the code style.
733 Result.success(partnerAd)
734 } else {
735 PartnerLogController.log(INVALIDATE_FAILED, "Ad is not a RewardedInterstitialAd.")
736 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InvalidateError.WrongResourceType))
!!! ^ error
737 }
738 } ?: run {
739 PartnerLogController.log(INVALIDATE_FAILED, "Ad is null.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapterConfiguration.kt:38:1
Line detected, which is longer than the defined maximum line length in the code style.
35 *
36 * Chartboost Mediation.Partner.Adapter
37 *
38 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
!! ^ error
39 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
40 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
41 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapterConfiguration.kt:39:1
Line detected, which is longer than the defined maximum line length in the code style.
36 * Chartboost Mediation.Partner.Adapter
37 *
38 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
39 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
!! ^ error
40 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
41 */
42 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_META_AUDIENCE_NETWORK_ADAPTER_VERSION
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapterConfiguration.kt:40:1
Line detected, which is longer than the defined maximum line length in the code style.
37 *
38 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
39 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
40 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
!! ^ error
41 */
42 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_META_AUDIENCE_NETWORK_ADAPTER_VERSION
43
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:90:1
Line detected, which is longer than the defined maximum line length in the code style.
87 ).trim()
88
89 if (!canInitialize(appId, appKey)) {
90 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.InvalidCredentials))
!! ^ error
91 }
92
93 return suspendCancellableCoroutine { continuation ->
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:113:1
Line detected, which is longer than the defined maximum line length in the code style.
110 override fun onInitFail(error: String?) {
111 PartnerLogController.log(SETUP_FAILED, "$error")
112 resumeOnce(
113 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.Unknown)),
!!! ^ error
114 )
115 }
116 },
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:253:1
Line detected, which is longer than the defined maximum line length in the code style.
250 val unitId = request.partnerSettings["mintegral_unit_id"] ?: request.partnerSettings["unit_id"] ?: ""
251
252 if (!canLoadAd(context, request.partnerPlacement, unitId)) {
253 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.InvalidPartnerPlacement))
!!! ^ error
254 }
255
256 return when (request.format.key) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:304:1
Line detected, which is longer than the defined maximum line length in the code style.
301
302 if (failed) {
303 PartnerLogController.log(SHOW_FAILED)
304 resumeOnce(Result.failure(ChartboostMediationAdException(ChartboostMediationError.ShowError.AdNotReady)))
!!! ^ error
305 return@suspendCancellableCoroutine
306 }
307
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:315:1
Line detected, which is longer than the defined maximum line length in the code style.
312
313 onShowFailure = {
314 PartnerLogController.log(SHOW_FAILED)
315 resumeOnce(Result.failure(ChartboostMediationAdException(ChartboostMediationError.ShowError.Unknown)))
!!! ^ error
316 }
317 }
318 } ?: run {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:448:1
Line detected, which is longer than the defined maximum line length in the code style.
445 LOAD_FAILED,
446 "Placement: ${request.partnerPlacement}. Error: $error",
447 )
448 resumeOnce(Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.Unknown)))
!!! ^ error
449 }
450
451 override fun onLoadSuccessed(p0: MBridgeIds?) {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:556:1
Line detected, which is longer than the defined maximum line length in the code style.
553 return suspendCancellableCoroutine { continuation ->
554 val ad = MBBidInterstitialVideoHandler(context, request.partnerPlacement, partnerUnitId)
555 ad.playVideoMute(
556 if (MintegralAdapterConfiguration.mute) MBridgeConstans.REWARD_VIDEO_PLAY_MUTE else MBridgeConstans.REWARD_VIDEO_PLAY_NOT_MUTE,
!!! ^ error
557 )
558 ad.setInterstitialVideoListener(
559 InterstitialAdLoadCallback(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:590:1
Line detected, which is longer than the defined maximum line length in the code style.
587 return suspendCancellableCoroutine { continuation ->
588 val ad = MBInterstitialVideoHandler(context, request.partnerPlacement, partnerUnitId)
589 ad.playVideoMute(
590 if (MintegralAdapterConfiguration.mute) MBridgeConstans.REWARD_VIDEO_PLAY_MUTE else MBridgeConstans.REWARD_VIDEO_PLAY_NOT_MUTE,
!!! ^ error
591 )
592 ad.setInterstitialVideoListener(
593 InterstitialAdLoadCallback(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:651:1
Line detected, which is longer than the defined maximum line length in the code style.
648 return suspendCancellableCoroutine { continuation ->
649 val ad = MBBidRewardVideoHandler(context, request.partnerPlacement, partnerUnitId)
650 ad.playVideoMute(
651 if (MintegralAdapterConfiguration.mute) MBridgeConstans.REWARD_VIDEO_PLAY_MUTE else MBridgeConstans.REWARD_VIDEO_PLAY_NOT_MUTE,
!!! ^ error
652 )
653 ad.setRewardVideoListener(
654 RewardedAdLoadCallback(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:685:1
Line detected, which is longer than the defined maximum line length in the code style.
682 return suspendCancellableCoroutine { continuation ->
683 val ad = MBRewardVideoHandler(context, request.partnerPlacement, partnerUnitId)
684 ad.playVideoMute(
685 if (MintegralAdapterConfiguration.mute) MBridgeConstans.REWARD_VIDEO_PLAY_MUTE else MBridgeConstans.REWARD_VIDEO_PLAY_NOT_MUTE,
!!! ^ error
686 )
687 ad.setRewardVideoListener(
688 RewardedAdLoadCallback(
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:726:1
Line detected, which is longer than the defined maximum line length in the code style.
723 it.resume(Result.success(partnerAd))
724 }
725 } ?: run {
726 PartnerLogController.log(CUSTOM, "Unable to resume continuation for onVideoLoadSuccess. Continuation is null.")
!!! ^ error
727 }
728 }
729
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:816:1
Line detected, which is longer than the defined maximum line length in the code style.
813 it.resume(Result.success(partnerAd))
814 }
815 } ?: run {
816 PartnerLogController.log(CUSTOM, "Unable to resume continuation for onVideoLoadSuccess. Continuation is null.")
!!! ^ error
817 }
818 }
819
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapterConfiguration.kt:38:1
Line detected, which is longer than the defined maximum line length in the code style.
35 *
36 * Chartboost Mediation.Partner.Adapter
37 *
38 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
!! ^ error
39 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
40 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
41 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapterConfiguration.kt:39:1
Line detected, which is longer than the defined maximum line length in the code style.
36 * Chartboost Mediation.Partner.Adapter
37 *
38 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
39 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
!! ^ error
40 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
41 */
42 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_MINTEGRAL_ADAPTER_VERSION
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapterConfiguration.kt:40:1
Line detected, which is longer than the defined maximum line length in the code style.
37 *
38 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
39 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
40 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
!! ^ error
41 */
42 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_MINTEGRAL_ADAPTER_VERSION
43
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:288:1
Line detected, which is longer than the defined maximum line length in the code style.
285 )
286 } else {
287 PartnerLogController.log(LOAD_FAILED)
288 Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.UnsupportedAdFormat))
!!! ^ error
289 }
290 }
291 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:348:1
Line detected, which is longer than the defined maximum line length in the code style.
345 showFullscreenAd(partnerAd)
346 } else {
347 PartnerLogController.log(SHOW_FAILED)
348 Result.failure(ChartboostMediationAdException(ChartboostMediationError.ShowError.UnsupportedAdFormat))
!!! ^ error
349 }
350 }
351 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:599:1
Line detected, which is longer than the defined maximum line length in the code style.
596
597 else -> {
598 PartnerLogController.log(INVALIDATE_FAILED, "Ad is not an MobileFuseBannerAd.")
599 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InvalidateError.WrongResourceType))
!!! ^ error
600 }
601 }
602 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapterConfiguration.kt:39:1
Line detected, which is longer than the defined maximum line length in the code style.
36 *
37 * Chartboost Mediation.Partner.Adapter
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
!! ^ error
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
42 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapterConfiguration.kt:40:1
Line detected, which is longer than the defined maximum line length in the code style.
37 * Chartboost Mediation.Partner.Adapter
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
!! ^ error
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
42 */
43 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_MOBILEFUSE_ADAPTER_VERSION
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapterConfiguration.kt:41:1
Line detected, which is longer than the defined maximum line length in the code style.
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
!! ^ error
42 */
43 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_MOBILEFUSE_ADAPTER_VERSION
44
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/build.gradle.kts:40:1
Line detected, which is longer than the defined maximum line length in the code style.
37 targetSdk = 33
38 // If you touch the following line, don't forget to update scripts/get_rc_version.zsh
39 android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "4.5.9.0.2.1"
40 buildConfigField("String", "CHARTBOOST_MEDIATION_PANGLE_ADAPTER_VERSION", "\"${android.defaultConfig.versionName}\"")
!! ^ error
41
42 consumerProguardFiles("proguard-rules.pro")
43
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:108:1
Line detected, which is longer than the defined maximum line length in the code style.
105 } ?: run {
106 PartnerLogController.log(SETUP_FAILED, "Missing application ID.")
107 resumeOnce(
108 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.InvalidCredentials)),
!!! ^ error
109 )
110 }
111 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:125:1
Line detected, which is longer than the defined maximum line length in the code style.
122 PAGConfig.Builder()
123 .appId(appId)
124 .supportMultiProcess(PangleAdapterConfiguration.multiProcessSupport)
125 .setUserData("[{\"name\":\"mediation\",\"value\":\"Chartboost\"},{\"name\":\"adapter_version\",\"value\":\"$adapterVersion\"}]")
!!! ^ error
126 .build()
127
128 /**
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:494:1
Line detected, which is longer than the defined maximum line length in the code style.
491 PartnerLogController.log(LOAD_FAILED)
492 resumeOnce(
493 Result.failure(
494 ChartboostMediationAdException(ChartboostMediationError.LoadError.MismatchedAdParams),
!!! ^ error
495 ),
496 )
497 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:561:1
Line detected, which is longer than the defined maximum line length in the code style.
558 PartnerLogController.log(LOAD_FAILED)
559 resumeOnce(
560 Result.failure(
561 ChartboostMediationAdException(ChartboostMediationError.LoadError.MismatchedAdParams),
!!! ^ error
562 ),
563 )
564 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapterConfiguration.kt:38:1
Line detected, which is longer than the defined maximum line length in the code style.
35 *
36 * Chartboost Mediation.Partner.Adapter
37 *
38 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
!! ^ error
39 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
40 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
41 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapterConfiguration.kt:39:1
Line detected, which is longer than the defined maximum line length in the code style.
36 * Chartboost Mediation.Partner.Adapter
37 *
38 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
39 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
!! ^ error
40 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
41 */
42 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_PANGLE_ADAPTER_VERSION
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapterConfiguration.kt:40:1
Line detected, which is longer than the defined maximum line length in the code style.
37 *
38 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
39 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
40 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
!! ^ error
41 */
42 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_PANGLE_ADAPTER_VERSION
43
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:101:1
Line detected, which is longer than the defined maximum line length in the code style.
98 loadFullscreenAd(context, request)
99 } else {
100 PartnerLogController.log(LOAD_FAILED)
101 Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.UnsupportedAdFormat))
!!! ^ error
102 }
103 }
104 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:157:1
Line detected, which is longer than the defined maximum line length in the code style.
154 showFullscreenAd(partnerAd)
155 } else {
156 PartnerLogController.log(SHOW_FAILED)
157 Result.failure(ChartboostMediationAdException(ChartboostMediationError.ShowError.UnsupportedAdFormat))
!!! ^ error
158 }
159 }
160 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:355:1
Line detected, which is longer than the defined maximum line length in the code style.
352 } else {
353 PartnerLogController.log(LOAD_FAILED)
354 return Result.failure(
355 ChartboostMediationAdException(ChartboostMediationError.LoadError.UnsupportedAdFormat),
!!! ^ error
356 )
357 }
358 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:465:1
Line detected, which is longer than the defined maximum line length in the code style.
462 }
463 } else {
464 PartnerLogController.log(SHOW_FAILED, "Ad is not a ReferenceFullscreenAd.")
465 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.ShowError.WrongResourceType))
!!! ^ error
466 }
467 } ?: run {
468 PartnerLogController.log(SHOW_FAILED, "Ad is null.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceFullscreenActivity.kt:282:1
Line detected, which is longer than the defined maximum line length in the code style.
279 // Trivial way to rule out other touch events (e.g. swiping)
280 if (System.currentTimeMillis() - startTime < ViewConfiguration.getTapTimeout()) {
281 // Deliberately terminate ad playback upon clickthrough.
282 // As such, when the user comes back from the landing page, they will also be exiting the ad experience.
!!! ^ error
283 clickthrough()
284 cleanUp()
285 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/build.gradle.kts:39:1
Line detected, which is longer than the defined maximum line length in the code style.
36 targetSdk = 33
37 // If you touch the following line, don't forget to update scripts/get_rc_version.zsh
38 android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "4.4.9.2.1"
39 buildConfigField("String", "CHARTBOOST_MEDIATION_UNITY_ADS_ADAPTER_VERSION", "\"${android.defaultConfig.versionName}\"")
!! ^ error
40
41 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
42 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:57:1
Line detected, which is longer than the defined maximum line length in the code style.
54 private val listeners = mutableMapOf<String, PartnerAdListener>()
55
56 /**
57 * Unity Ads does not have a "ready" check, so we need to manually keep track of it, keyed by the Unity placement ID.
!! ^ error
58 */
59 private var readinessTracker = mutableMapOf<String, Boolean>()
60
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:113:1
Line detected, which is longer than the defined maximum line length in the code style.
110 )
111 resumeOnce(
112 Result.failure(
113 ChartboostMediationAdException(ChartboostMediationError.InitializationError.Unknown),
!!! ^ error
114 ),
115 )
116 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:122:1
Line detected, which is longer than the defined maximum line length in the code style.
119 }
120 } ?: run {
121 PartnerLogController.log(SETUP_FAILED, "Missing game_id value.")
122 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.InvalidCredentials))
!!! ^ error
123 }
124 }
125
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:251:1
Line detected, which is longer than the defined maximum line length in the code style.
248 "Error: ${errorInfo.errorCode}. " +
249 "Message: ${errorInfo.errorMessage}",
250 )
251 resumeOnce(Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.Unknown)))
!!! ^ error
252 }
253
254 override fun onBannerLeftApplication(bannerView: BannerView) {}
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:362:1
Line detected, which is longer than the defined maximum line length in the code style.
359 listener: PartnerAdListener?,
360 ): Result<PartnerAd> {
361 if (!readyToShow(partnerAd.request.partnerPlacement)) {
362 return Result.failure(ChartboostMediationAdException(ChartboostMediationError.ShowError.InvalidPartnerPlacement))
!!! ^ error
363 }
364
365 readinessTracker[partnerAd.request.partnerPlacement] = false
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:643:1
Line detected, which is longer than the defined maximum line length in the code style.
640 */
641 private fun getChartboostMediationError(error: Any) =
642 when (error) {
643 UnityAds.UnityAdsInitializationError.AD_BLOCKER_DETECTED -> ChartboostMediationError.InitializationError.AdBlockerDetected
!!! ^ error
644 UnityAdsLoadError.NO_FILL -> ChartboostMediationError.LoadError.NoFill
645 UnityAdsLoadError.INITIALIZE_FAILED, UnityAdsShowError.NOT_INITIALIZED -> ChartboostMediationError.InitializationError.Unknown
646 UnityAdsShowError.NO_CONNECTION -> ChartboostMediationError.OtherError.NoConnectivity
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:645:1
Line detected, which is longer than the defined maximum line length in the code style.
642 when (error) {
643 UnityAds.UnityAdsInitializationError.AD_BLOCKER_DETECTED -> ChartboostMediationError.InitializationError.AdBlockerDetected
644 UnityAdsLoadError.NO_FILL -> ChartboostMediationError.LoadError.NoFill
645 UnityAdsLoadError.INITIALIZE_FAILED, UnityAdsShowError.NOT_INITIALIZED -> ChartboostMediationError.InitializationError.Unknown
!!! ^ error
646 UnityAdsShowError.NO_CONNECTION -> ChartboostMediationError.OtherError.NoConnectivity
647 UnityAdsLoadError.TIMEOUT -> ChartboostMediationError.LoadError.AdRequestTimeout
648 UnityAdsShowError.TIMEOUT -> ChartboostMediationError.ShowError.Timeout
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapterConfiguration.kt:38:1
Line detected, which is longer than the defined maximum line length in the code style.
35 *
36 * Chartboost Mediation.Partner.Adapter
37 *
38 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
!! ^ error
39 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
40 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
41 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapterConfiguration.kt:39:1
Line detected, which is longer than the defined maximum line length in the code style.
36 * Chartboost Mediation.Partner.Adapter
37 *
38 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
39 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
!! ^ error
40 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
41 */
42 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_UNITY_ADS_ADAPTER_VERSION
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapterConfiguration.kt:40:1
Line detected, which is longer than the defined maximum line length in the code style.
37 *
38 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
39 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
40 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
!! ^ error
41 */
42 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_UNITY_ADS_ADAPTER_VERSION
43
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapter.kt:93:1
Line detected, which is longer than the defined maximum line length in the code style.
90 PartnerLogController.log(SETUP_FAILED)
91 continuation.resume(
92 Result.failure(
93 ChartboostMediationAdException(ChartboostMediationError.InitializationError.Unknown),
!! ^ error
94 ),
95 )
96 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapter.kt:102:1
Line detected, which is longer than the defined maximum line length in the code style.
99 } ?: run {
100 PartnerLogController.log(SETUP_FAILED, "Missing app token.")
101 continuation.resumeWith(
102 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InitializationError.InvalidCredentials)),
!!! ^ error
103 )
104 }
105 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapter.kt:638:1
Line detected, which is longer than the defined maximum line length in the code style.
635 Result.success(partnerAd)
636 } ?: run {
637 PartnerLogController.log(INVALIDATE_FAILED, "Ad is not a HyBidAdView.")
638 Result.failure(ChartboostMediationAdException(ChartboostMediationError.InvalidateError.WrongResourceType))
!!! ^ error
639 }
640 } ?: run {
641 PartnerLogController.log(INVALIDATE_FAILED, "Ad is null.")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapterConfiguration.kt:39:1
Line detected, which is longer than the defined maximum line length in the code style.
36 *
37 * Chartboost Mediation.Partner.Adapter
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
!! ^ error
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
42 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapterConfiguration.kt:40:1
Line detected, which is longer than the defined maximum line length in the code style.
37 * Chartboost Mediation.Partner.Adapter
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
!! ^ error
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
42 */
43 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_VERVE_ADAPTER_VERSION
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapterConfiguration.kt:41:1
Line detected, which is longer than the defined maximum line length in the code style.
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
!! ^ error
42 */
43 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_VERVE_ADAPTER_VERSION
44
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapterConfiguration.kt:65:1
Line detected, which is longer than the defined maximum line length in the code style.
62 set(value) {
63 HyBid.setLogLevel(value)
64 field = value
65 PartnerLogController.log(PartnerLogController.PartnerAdapterEvents.CUSTOM, "Verve SDK log level set to $value.")
!! ^ error
66 }
67 }
68
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/build.gradle.kts:39:1
Line detected, which is longer than the defined maximum line length in the code style.
36 targetSdk = 33
37 // If you touch the following line, don't forget to update scripts/get_rc_version.zsh
38 android.defaultConfig.versionName = System.getenv("VERSION_OVERRIDE") ?: "4.7.1.0.2"
39 buildConfigField("String", "CHARTBOOST_MEDIATION_VUNGLE_ADAPTER_VERSION", "\"${android.defaultConfig.versionName}\"")
!! ^ error
40
41 consumerProguardFiles("proguard-rules.pro")
42
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:310:1
Line detected, which is longer than the defined maximum line length in the code style.
307 loadFullscreenAd(context, request, partnerAdListener)
308 } else {
309 PartnerLogController.log(LOAD_FAILED)
310 Result.failure(ChartboostMediationAdException(ChartboostMediationError.LoadError.UnsupportedAdFormat))
!!! ^ error
311 }
312 }
313 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:551:1
Line detected, which is longer than the defined maximum line length in the code style.
548 }
549
550 when (request.format) {
551 AdFormat.INTERSTITIAL -> loadVungleFullScreenAd(InterstitialAd(context, request.partnerPlacement, adConfig))
!!! ^ error
552 AdFormat.REWARDED -> loadVungleFullScreenAd(RewardedAd(context, request.partnerPlacement, adConfig))
553 else -> {
554 if (request.format.key == "rewarded_interstitial") {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapterConfiguration.kt:39:1
Line detected, which is longer than the defined maximum line length in the code style.
36 *
37 * Chartboost Mediation.Partner.Adapter
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
!! ^ error
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
42 */
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapterConfiguration.kt:40:1
Line detected, which is longer than the defined maximum line length in the code style.
37 * Chartboost Mediation.Partner.Adapter
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
!! ^ error
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
42 */
43 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_VUNGLE_ADAPTER_VERSION
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapterConfiguration.kt:41:1
Line detected, which is longer than the defined maximum line length in the code style.
38 *
39 * "Chartboost Mediation" represents the Chartboost Mediation SDK’s major version that is compatible with this adapter. This must be 1 digit.
40 * "Partner" represents the partner SDK’s major.minor.patch.x (where x is optional) version that is compatible with this adapter. This can be 3-4 digits.
41 * "Adapter" represents this adapter’s version (starting with 0), which resets to 0 when the partner SDK’s version changes. This must be 1 digit.
!! ^ error
42 */
43 override val adapterVersion = BuildConfig.CHARTBOOST_MEDIATION_VUNGLE_ADAPTER_VERSION
44
Restrict the number of return statements in methods.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAd.kt:327:17
Function show has 3 return statements which exceeds the limit of 2.
324 *
325 * @return The [ChartboostMediationAdShowResult] for the ad show event.
326 */
327 suspend fun show(activity: Activity): ChartboostMediationAdShowResult {
!!! ^ error
328 if (isShowInProgress()) {
329 return createFailureShowResult(ChartboostMediationError.ShowError.ShowInProgress)
330 }
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdQueue.kt:343:17
Function startAdFetchJob has 3 return statements which exceeds the limit of 2.
340 *
341 * @param isDelayed [Boolean] Whether or not the next fetch job is delayed (optional & false as default).
342 */
343 private fun startAdFetchJob(isDelayed: Boolean = false) {
!!! ^ error
344 if (!isRunning) {
345 LogController.d("$LOG_PREFIX $placement is no longer running. Waiting for the queue to start running.")
346 return
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AdController.kt:72:17
Function load has 6 return statements which exceeds the limit of 2.
69 private var rewardedImpressionDepth = 0
70 private var rewardedInterstitialImpressionDepth = 0
71
72 suspend fun load(
!! ^ error
73 context: Context,
74 adLoadParams: AdLoadParams,
75 metricsSet: MutableSet<Metrics>,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AdController.kt:348:17
Function show has 3 return statements which exceeds the limit of 2.
345 }
346
347 @OptIn(InternalSerializationApi::class)
348 suspend fun show(
!!! ^ error
349 activity: Activity,
350 cachedAd: CachedAd,
351 ): ChartboostMediationAdShowResult {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:187:9
Function load has 4 return statements which exceeds the limit of 2.
184 *
185 * @return The load request ID associated with this load.
186 */
187 fun load() {
!!! ^ error
188 if (isPublisherTriggeredLoad) {
189 LogController.w(ChartboostMediationError.LoadError.LoadInProgress.message)
190 return
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:561:17
Function swapAd has 4 return statements which exceeds the limit of 2.
558 /**
559 * Swaps the ad in.
560 */
561 private fun swapAd() {
!!! ^ error
562 val chartboostMediationBannerAd =
563 chartboostMediationBannerAdViewRef.get() ?: run {
564 LogController.d("Failed to swap ad because reference to ChartboostMediationBannerAd lost")
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationAppConfigurationHandler.kt:37:17
Function handleConfigurationChange has 3 return statements which exceeds the limit of 2.
34 *
35 * @param partnerController The [PartnerController] instance.
36 */
37 suspend fun handleConfigurationChange(partnerController: PartnerController): ChartboostMediationError? {
!! ^ error
38 val parsingError = AppConfigStorage.parsingError
39 val validCachedConfigExists = AppConfigStorage.validCachedConfigExists
40
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:408:26
Function fetchBidderInformation has 3 return statements which exceeds the limit of 2.
405 *
406 * @return A Map of biddable token Strings.
407 */
408 override suspend fun fetchBidderInformation(
!!! ^ error
409 context: Context,
410 request: PreBidRequest,
411 ): Map<String, String> {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:684:25
Function loadBannerAd has 3 return statements which exceeds the limit of 2.
681 *
682 * @return Result.success(PartnerAd) if the ad was successfully loaded, Result.failure(Exception) otherwise.
683 */
684 private suspend fun loadBannerAd(
!!! ^ error
685 context: Context,
686 request: PartnerAdLoadRequest,
687 partnerAdListener: PartnerAdListener,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:796:25
Function loadFullScreenAd has 3 return statements which exceeds the limit of 2.
793 *
794 * @return Result.success(PartnerAd) if the ad was successfully loaded, Result.failure(Exception) otherwise.
795 */
796 private suspend fun loadFullScreenAd(
!!! ^ error
797 context: Context,
798 request: PartnerAdLoadRequest,
799 partnerAdListener: PartnerAdListener,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:519:25
Function showFullscreenAd has 4 return statements which exceeds the limit of 2.
516 *
517 * @return Result.success(PartnerAd) if the ad was successfully shown, Result.failure(Exception) otherwise.
518 */
519 private suspend fun showFullscreenAd(
!!! ^ error
520 activity: Activity,
521 partnerAd: PartnerAd,
522 listener: PartnerAdListener?,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:401:25
Function loadBannerAd has 6 return statements which exceeds the limit of 2.
398 *
399 * @return Result.success(PartnerAd) if the ad was successfully loaded, Result.failure(Exception) otherwise.
400 */
401 private suspend fun loadBannerAd(
!!! ^ error
402 context: Context,
403 request: PartnerAdLoadRequest,
404 partnerAdListener: PartnerAdListener,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:537:25
Function loadFullScreenAd has 3 return statements which exceeds the limit of 2.
534 *
535 * @return Result.success(PartnerAd) if the ad was successfully loaded, Result.failure(Exception) otherwise.
536 */
537 private suspend fun loadFullScreenAd(
!!! ^ error
538 context: Context,
539 request: PartnerAdLoadRequest,
540 partnerAdListener: PartnerAdListener,
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-ironsource/IronSourceAdapter/src/main/java/com/chartboost/mediation/ironsourceadapter/IronSourceAdapter.kt:603:17
Function readyToShow has 3 return statements which exceeds the limit of 2.
600 *
601 * @return True if the ad is ready to be shown, false otherwise.
602 */
603 private fun readyToShow(
!!! ^ error
604 format: AdFormat,
605 placement: String,
606 ): Boolean {
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:383:25
Function showFullscreenAd has 3 return statements which exceeds the limit of 2.
380 *
381 * @return Result.success(PartnerAd) if the ad was successfully shown, Result.failure(Exception) otherwise.
382 */
383 private suspend fun showFullscreenAd(partnerAd: PartnerAd): Result<PartnerAd> {
!!! ^ error
384 partnerAd.ad?.let { ad ->
385 if (ad is ReferenceFullscreenAd) {
386 val listener = listeners[partnerAd.request.identifier]
Wildcard imports should be replaced with imports using fully qualified class names. Wildcard imports can lead to naming conflicts. A library update can introduce naming clashes with your classes which results in compilation errors.
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ChartboostMediationInternal.kt:13:1
com.chartboost.chartboostmediationsdk.controllers.* is a wildcard import. Replace it with fully qualified imports.
10 import android.app.Activity
11 import android.content.Context
12 import com.chartboost.chartboostmediationsdk.ad.ChartboostMediationFullscreenAdQueueManager
13 import com.chartboost.chartboostmediationsdk.controllers.*
!! ^ error
14 import com.chartboost.chartboostmediationsdk.domain.*
15 import com.chartboost.chartboostmediationsdk.utils.BackgroundTimeMonitor
16 import com.chartboost.chartboostmediationsdk.utils.FullscreenAdShowingState
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ChartboostMediationInternal.kt:14:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
11 import android.content.Context
12 import com.chartboost.chartboostmediationsdk.ad.ChartboostMediationFullscreenAdQueueManager
13 import com.chartboost.chartboostmediationsdk.controllers.*
14 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
15 import com.chartboost.chartboostmediationsdk.utils.BackgroundTimeMonitor
16 import com.chartboost.chartboostmediationsdk.utils.FullscreenAdShowingState
17 import com.chartboost.chartboostmediationsdk.utils.LogController
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAd.kt:14:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
11 import android.content.Context
12 import com.chartboost.chartboostmediationsdk.ChartboostMediationSdk
13 import com.chartboost.chartboostmediationsdk.controllers.AdController
14 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
15 import com.chartboost.chartboostmediationsdk.network.Endpoints
16 import com.chartboost.chartboostmediationsdk.network.model.MetricsRequestBody
17 import com.chartboost.chartboostmediationsdk.utils.ChartboostMediationJson
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAd.kt:23:1
kotlinx.coroutines.* is a wildcard import. Replace it with fully qualified imports.
20 import com.chartboost.chartboostmediationsdk.utils.LogController.e
21 import com.chartboost.chartboostmediationsdk.utils.toJSONObject
22 import com.chartboost.core.ChartboostCore
23 import kotlinx.coroutines.*
!! ^ error
24 import kotlinx.coroutines.Dispatchers.Main
25 import kotlinx.serialization.InternalSerializationApi
26 import kotlinx.serialization.json.internal.writeJson
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdQueue.kt:12:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
9
10 import android.content.Context
11 import com.chartboost.chartboostmediationsdk.ChartboostMediationSdk
12 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
13 import com.chartboost.chartboostmediationsdk.network.ChartboostMediationNetworking
14 import com.chartboost.chartboostmediationsdk.network.Endpoints
15 import com.chartboost.chartboostmediationsdk.utils.LogController
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdQueue.kt:17:1
kotlinx.coroutines.* is a wildcard import. Replace it with fully qualified imports.
14 import com.chartboost.chartboostmediationsdk.network.Endpoints
15 import com.chartboost.chartboostmediationsdk.utils.LogController
16 import com.chartboost.core.ChartboostCore
17 import kotlinx.coroutines.*
!! ^ error
18 import kotlinx.coroutines.Dispatchers.IO
19 import kotlinx.coroutines.Dispatchers.Main
20 import kotlin.math.max
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/AdController.kt:16:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
13 import androidx.lifecycle.ProcessLifecycleOwner
14 import com.chartboost.chartboostmediationsdk.Ilrd
15 import com.chartboost.chartboostmediationsdk.ad.ChartboostMediationAdShowResult
16 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
17 import com.chartboost.chartboostmediationsdk.network.ChartboostMediationNetworking
18 import com.chartboost.chartboostmediationsdk.network.ChartboostMediationNetworking.AUCTION_ID_HEADER_KEY
19 import com.chartboost.chartboostmediationsdk.network.ChartboostMediationNetworking.RATE_LIMIT_HEADER_KEY
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/BidController.kt:15:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
12 import com.chartboost.chartboostmediationsdk.ChartboostMediationSdk
13 import com.chartboost.chartboostmediationsdk.ad.ChartboostMediationBannerAdView
14 import com.chartboost.chartboostmediationsdk.controllers.AdController.Companion.adTypeToAdFormat
15 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
16 import com.chartboost.chartboostmediationsdk.utils.LogController
17
18 /**
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:23:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
20 import com.chartboost.chartboostmediationsdk.ad.ChartboostMediationBannerAdView
21 import com.chartboost.chartboostmediationsdk.ad.ChartboostMediationBannerAdView.ChartboostMediationBannerSize.Companion.STANDARD
22 import com.chartboost.chartboostmediationsdk.ad.ChartboostMediationBannerAdView.ChartboostMediationBannerSize.Companion.asSize
23 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
24 import com.chartboost.chartboostmediationsdk.domain.PartnerAdUtils.getCreativeSizeFromPartnerAdDetails
25 import com.chartboost.chartboostmediationsdk.network.ChartboostMediationNetworking
26 import com.chartboost.chartboostmediationsdk.network.Endpoints
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/controllers/banners/BannerController.kt:34:1
kotlinx.coroutines.* is a wildcard import. Replace it with fully qualified imports.
31 import com.chartboost.chartboostmediationsdk.utils.LogController
32 import com.chartboost.chartboostmediationsdk.utils.toJSONObject
33 import com.chartboost.core.ChartboostCore
34 import kotlinx.coroutines.*
!! ^ error
35 import kotlinx.coroutines.Dispatchers.IO
36 import kotlinx.coroutines.Dispatchers.Main
37 import java.lang.ref.WeakReference
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/AppConfigStorage.kt:14:1
kotlinx.serialization.json.* is a wildcard import. Replace it with fully qualified imports.
11 import com.chartboost.chartboostmediationsdk.controllers.banners.VisibilityTracker
12 import com.chartboost.chartboostmediationsdk.network.Endpoints.Sdk
13 import com.chartboost.chartboostmediationsdk.utils.LogController
14 import kotlinx.serialization.json.*
!! ^ error
15 import java.util.*
16
17 /**
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/ChartboostMediationNetworking.kt:13:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
10 import androidx.annotation.VisibleForTesting
11 import com.chartboost.chartboostmediationsdk.controllers.PartnerController
12 import com.chartboost.chartboostmediationsdk.controllers.PrivacyController
13 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
14 import com.chartboost.chartboostmediationsdk.network.Endpoints.BASE_DOMAIN
15 import com.chartboost.chartboostmediationsdk.network.Endpoints.Sdk.Event
16 import com.chartboost.chartboostmediationsdk.network.model.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/ChartboostMediationNetworking.kt:16:1
com.chartboost.chartboostmediationsdk.network.model.* is a wildcard import. Replace it with fully qualified imports.
13 import com.chartboost.chartboostmediationsdk.domain.*
14 import com.chartboost.chartboostmediationsdk.network.Endpoints.BASE_DOMAIN
15 import com.chartboost.chartboostmediationsdk.network.Endpoints.Sdk.Event
16 import com.chartboost.chartboostmediationsdk.network.model.*
!! ^ error
17 import com.chartboost.chartboostmediationsdk.network.model.ChartboostMediationHeaderMap.ChartboostBidRequestMediationHeaderMap
18 import com.chartboost.chartboostmediationsdk.network.model.ChartboostMediationHeaderMap.ChartboostMediationAdLifecycleHeaderMap
19 import com.chartboost.chartboostmediationsdk.network.model.ChartboostMediationHeaderMap.ChartboostMediationAppConfigHeaderMap
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/network/NetworkErrorTransformer.kt:12:1
java.net.HttpURLConnection.* is a wildcard import. Replace it with fully qualified imports.
9
10 import com.chartboost.chartboostmediationsdk.domain.ChartboostMediationError
11 import retrofit2.Response
12 import java.net.HttpURLConnection.*
!! ^ error
13
14 /**
15 * @suppress
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/test/java/com/chartboost/chartboostmediationsdk/ad/ChartboostMediationFullscreenAdTest.kt:18:1
io.mockk.* is a wildcard import. Replace it with fully qualified imports.
15 import com.chartboost.chartboostmediationsdk.domain.ChartboostMediationError
16 import com.chartboost.chartboostmediationsdk.domain.Keywords
17 import com.chartboost.chartboostmediationsdk.utils.FullscreenAdShowingState
18 import io.mockk.*
!! ^ error
19 import kotlinx.coroutines.Dispatchers
20 import kotlinx.coroutines.ExperimentalCoroutinesApi
21 import kotlinx.coroutines.test.StandardTestDispatcher
- /Users/cbx/actions-runner/_work/helium-android/helium-android/ChartboostMediation/src/test/java/com/chartboost/chartboostmediationsdk/domain/ChartboostMediationErrorTest.kt:10:1
org.junit.Assert.* is a wildcard import. Replace it with fully qualified imports.
7
8 package com.chartboost.chartboostmediationsdk.domain
9
10 import org.junit.Assert.*
!! ^ error
11 import org.junit.Test
12 import kotlin.reflect.full.createInstance
13
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:16:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
13 import android.util.Size
14 import android.view.View.GONE
15 import android.view.View.VISIBLE
16 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
17 import com.chartboost.chartboostmediationsdk.domain.AdFormat
18 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
19 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:19:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
16 import com.chartboost.chartboostmediationsdk.domain.*
17 import com.chartboost.chartboostmediationsdk.domain.AdFormat
18 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
19 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
20 import com.chartboost.mediation.admobadapter.AdMobAdapter.Companion.getChartboostMediationError
21 import com.google.ads.mediation.admob.AdMobAdapter
22 import com.google.android.gms.ads.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-admob/AdMobAdapter/src/main/java/com/chartboost/mediation/admobadapter/AdMobAdapter.kt:22:1
com.google.android.gms.ads.* is a wildcard import. Replace it with fully qualified imports.
19 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
20 import com.chartboost.mediation.admobadapter.AdMobAdapter.Companion.getChartboostMediationError
21 import com.google.ads.mediation.admob.AdMobAdapter
22 import com.google.android.gms.ads.*
!! ^ error
23 import com.google.android.gms.ads.initialization.AdapterStatus
24 import com.google.android.gms.ads.interstitial.InterstitialAd
25 import com.google.android.gms.ads.interstitial.InterstitialAdLoadCallback
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:13:1
com.amazon.device.ads.* is a wildcard import. Replace it with fully qualified imports.
10 import android.app.Activity
11 import android.content.Context
12 import android.view.View
13 import com.amazon.device.ads.*
!! ^ error
14 import com.chartboost.chartboostmediationsdk.domain.*
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.BIDDER_INFO_FETCH_FAILED
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:14:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
11 import android.content.Context
12 import android.view.View
13 import com.amazon.device.ads.*
14 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.BIDDER_INFO_FETCH_FAILED
17 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.BIDDER_INFO_FETCH_STARTED
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:47:1
kotlinx.coroutines.* is a wildcard import. Replace it with fully qualified imports.
44 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.SHOW_STARTED
45 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.SHOW_SUCCEEDED
46 import com.chartboost.mediation.amazonpublisherservicesadapter.AmazonPublisherServicesAdapter.Companion.onShowSuccess
47 import kotlinx.coroutines.*
!! ^ error
48 import kotlinx.coroutines.Dispatchers.Main
49 import kotlinx.serialization.json.*
50 import java.lang.ref.WeakReference
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-amazon-publisher-services/AmazonPublisherServicesAdapter/src/main/java/com/chartboost/mediation/amazonpublisherservicesadapter/AmazonPublisherServicesAdapter.kt:49:1
kotlinx.serialization.json.* is a wildcard import. Replace it with fully qualified imports.
46 import com.chartboost.mediation.amazonpublisherservicesadapter.AmazonPublisherServicesAdapter.Companion.onShowSuccess
47 import kotlinx.coroutines.*
48 import kotlinx.coroutines.Dispatchers.Main
49 import kotlinx.serialization.json.*
!! ^ error
50 import java.lang.ref.WeakReference
51 import kotlin.coroutines.resume
52
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:14:1
com.applovin.adview.* is a wildcard import. Replace it with fully qualified imports.
11 import android.content.Context
12 import android.util.Size
13 import android.view.View.GONE
14 import com.applovin.adview.*
!! ^ error
15 import com.applovin.sdk.*
16 import com.chartboost.chartboostmediationsdk.domain.*
17 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:15:1
com.applovin.sdk.* is a wildcard import. Replace it with fully qualified imports.
12 import android.util.Size
13 import android.view.View.GONE
14 import com.applovin.adview.*
15 import com.applovin.sdk.*
!! ^ error
16 import com.chartboost.chartboostmediationsdk.domain.*
17 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
18 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:16:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
13 import android.view.View.GONE
14 import com.applovin.adview.*
15 import com.applovin.sdk.*
16 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
17 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
18 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
19 import kotlinx.coroutines.suspendCancellableCoroutine
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-applovin/AppLovinAdapter/src/main/java/com/chartboost/mediation/applovinadapter/AppLovinAdapter.kt:18:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
15 import com.applovin.sdk.*
16 import com.chartboost.chartboostmediationsdk.domain.*
17 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
18 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
19 import kotlinx.coroutines.suspendCancellableCoroutine
20 import kotlinx.serialization.json.Json
21 import kotlinx.serialization.json.JsonObject
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-bidmachine/BidMachineAdapter/src/main/java/com/chartboost/mediation/bidmachineadapter/BidMachineAdapter.kt:25:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
22 import com.chartboost.chartboostmediationsdk.domain.PartnerConfiguration
23 import com.chartboost.chartboostmediationsdk.domain.PreBidRequest
24 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
25 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
26 import io.bidmachine.AdsFormat
27 import io.bidmachine.BidMachine
28 import io.bidmachine.banner.BannerListener
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:15:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
12 import android.util.DisplayMetrics
13 import android.util.Size
14 import com.chartboost.chartboostmediationsdk.ChartboostMediationSdk
15 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
17 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
18 import com.chartboost.mediation.chartboostadapter.ChartboostAdapter.Companion.getChartboostMediationError
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:17:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
14 import com.chartboost.chartboostmediationsdk.ChartboostMediationSdk
15 import com.chartboost.chartboostmediationsdk.domain.*
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
17 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
18 import com.chartboost.mediation.chartboostadapter.ChartboostAdapter.Companion.getChartboostMediationError
19 import com.chartboost.mediation.chartboostadapter.ChartboostAdapter.Companion.onShowError
20 import com.chartboost.mediation.chartboostadapter.ChartboostAdapter.Companion.onShowSuccess
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-chartboost/ChartboostAdapter/src/main/java/com/chartboost/mediation/chartboostadapter/ChartboostAdapter.kt:30:1
com.chartboost.sdk.events.* is a wildcard import. Replace it with fully qualified imports.
27 import com.chartboost.sdk.callbacks.BannerCallback
28 import com.chartboost.sdk.callbacks.InterstitialCallback
29 import com.chartboost.sdk.callbacks.RewardedCallback
30 import com.chartboost.sdk.events.*
!! ^ error
31 import com.chartboost.sdk.privacy.model.CCPA
32 import com.chartboost.sdk.privacy.model.COPPA
33 import com.chartboost.sdk.privacy.model.GDPR
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:14:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
11 import android.content.Context
12 import android.widget.FrameLayout
13 import com.chartboost.chartboostmediationsdk.ChartboostMediationSdk
14 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
17 import com.fyber.inneractive.sdk.external.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:16:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
13 import com.chartboost.chartboostmediationsdk.ChartboostMediationSdk
14 import com.chartboost.chartboostmediationsdk.domain.*
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
17 import com.fyber.inneractive.sdk.external.*
18 import com.fyber.inneractive.sdk.external.InneractiveAdSpot.RequestListener
19 import com.fyber.inneractive.sdk.external.InneractiveUnitController.AdDisplayError
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-digital-turbine-exchange/DigitalTurbineExchangeAdapter/src/main/java/com/chartboost/mediation/digitalturbineexchangeadapter/DigitalTurbineExchangeAdapter.kt:17:1
com.fyber.inneractive.sdk.external.* is a wildcard import. Replace it with fully qualified imports.
14 import com.chartboost.chartboostmediationsdk.domain.*
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
17 import com.fyber.inneractive.sdk.external.*
!! ^ error
18 import com.fyber.inneractive.sdk.external.InneractiveAdSpot.RequestListener
19 import com.fyber.inneractive.sdk.external.InneractiveUnitController.AdDisplayError
20 import kotlinx.coroutines.suspendCancellableCoroutine
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:16:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
13 import android.text.TextUtils
14 import android.util.Size
15 import android.view.View.GONE
16 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
17 import com.chartboost.chartboostmediationsdk.domain.AdFormat
18 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
19 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:19:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
16 import com.chartboost.chartboostmediationsdk.domain.*
17 import com.chartboost.chartboostmediationsdk.domain.AdFormat
18 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
19 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
20 import com.chartboost.mediation.googlebiddingadapter.GoogleBiddingAdapter.Companion.getChartboostMediationError
21 import com.google.ads.mediation.admob.AdMobAdapter
22 import com.google.android.gms.ads.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-google-bidding/GoogleBiddingAdapter/src/main/java/com/chartboost/mediation/googlebiddingadapter/GoogleBiddingAdapter.kt:22:1
com.google.android.gms.ads.* is a wildcard import. Replace it with fully qualified imports.
19 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
20 import com.chartboost.mediation.googlebiddingadapter.GoogleBiddingAdapter.Companion.getChartboostMediationError
21 import com.google.ads.mediation.admob.AdMobAdapter
22 import com.google.android.gms.ads.*
!! ^ error
23 import com.google.android.gms.ads.initialization.AdapterStatus
24 import com.google.android.gms.ads.interstitial.InterstitialAd
25 import com.google.android.gms.ads.interstitial.InterstitialAdLoadCallback
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:14:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
11 import android.content.Context
12 import android.util.Size
13 import com.chartboost.chartboostmediationsdk.ChartboostMediationSdk
14 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
17 import com.hyprmx.android.sdk.banner.HyprMXBannerListener
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-hyprmx/HyprMXAdapter/src/main/java/com/chartboost/mediation/hyprmxadapter/HyprMXAdapter.kt:16:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
13 import com.chartboost.chartboostmediationsdk.ChartboostMediationSdk
14 import com.chartboost.chartboostmediationsdk.domain.*
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
17 import com.hyprmx.android.sdk.banner.HyprMXBannerListener
18 import com.hyprmx.android.sdk.banner.HyprMXBannerSize
19 import com.hyprmx.android.sdk.banner.HyprMXBannerView
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:12:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
9
10 import android.app.Activity
11 import android.content.Context
12 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
13 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
14 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
15 import com.inmobi.ads.AdMetaInfo
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-inmobi/InMobiAdapter/src/main/java/com/chartboost/mediation/inmobiadapter/InMobiAdapter.kt:14:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
11 import android.content.Context
12 import com.chartboost.chartboostmediationsdk.domain.*
13 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
14 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
15 import com.inmobi.ads.AdMetaInfo
16 import com.inmobi.ads.InMobiAdRequestStatus
17 import com.inmobi.ads.InMobiBanner
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-ironsource/IronSourceAdapter/src/main/java/com/chartboost/mediation/ironsourceadapter/IronSourceAdapter.kt:12:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
9
10 import android.app.Activity
11 import android.content.Context
12 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
13 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
14 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
15 import com.ironsource.mediationsdk.IronSource
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-ironsource/IronSourceAdapter/src/main/java/com/chartboost/mediation/ironsourceadapter/IronSourceAdapter.kt:14:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
11 import android.content.Context
12 import com.chartboost.chartboostmediationsdk.domain.*
13 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
14 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
15 import com.ironsource.mediationsdk.IronSource
16 import com.ironsource.mediationsdk.IronSource.AD_UNIT
17 import com.ironsource.mediationsdk.demandOnly.ISDemandOnlyInterstitialListener
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-ironsource/IronSourceAdapter/src/main/java/com/chartboost/mediation/ironsourceadapter/IronSourceAdapter.kt:20:1
com.ironsource.mediationsdk.logger.IronSourceError.* is a wildcard import. Replace it with fully qualified imports.
17 import com.ironsource.mediationsdk.demandOnly.ISDemandOnlyInterstitialListener
18 import com.ironsource.mediationsdk.demandOnly.ISDemandOnlyRewardedVideoListener
19 import com.ironsource.mediationsdk.logger.IronSourceError
20 import com.ironsource.mediationsdk.logger.IronSourceError.*
!! ^ error
21 import kotlinx.coroutines.suspendCancellableCoroutine
22 import kotlinx.serialization.json.Json
23 import kotlinx.serialization.json.JsonObject
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:14:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
11 import android.content.Context
12 import android.util.Size
13 import android.view.View
14 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
17 import com.facebook.ads.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:16:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
13 import android.view.View
14 import com.chartboost.chartboostmediationsdk.domain.*
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
17 import com.facebook.ads.*
18 import com.facebook.ads.Ad
19 import kotlinx.coroutines.CancellableContinuation
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-meta-audience-network/MetaAudienceNetworkAdapter/src/main/java/com/chartboost/mediation/metaaudiencenetworkadapter/MetaAudienceNetworkAdapter.kt:17:1
com.facebook.ads.* is a wildcard import. Replace it with fully qualified imports.
14 import com.chartboost.chartboostmediationsdk.domain.*
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
17 import com.facebook.ads.*
!! ^ error
18 import com.facebook.ads.Ad
19 import kotlinx.coroutines.CancellableContinuation
20 import kotlinx.coroutines.Dispatchers.IO
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:14:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
11 import android.content.Context
12 import android.util.Size
13 import android.widget.FrameLayout
14 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
17 import com.chartboost.mediation.mintegraladapter.MintegralAdapter.Companion.onShowFailure
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:16:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
13 import android.widget.FrameLayout
14 import com.chartboost.chartboostmediationsdk.domain.*
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
17 import com.chartboost.mediation.mintegraladapter.MintegralAdapter.Companion.onShowFailure
18 import com.chartboost.mediation.mintegraladapter.MintegralAdapter.Companion.onShowSuccess
19 import com.mbridge.msdk.MBridgeConstans
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mintegral/MintegralAdapter/src/main/java/com/chartboost/mediation/mintegraladapter/MintegralAdapter.kt:24:1
com.mbridge.msdk.out.* is a wildcard import. Replace it with fully qualified imports.
21 import com.mbridge.msdk.interstitialvideo.out.MBBidInterstitialVideoHandler
22 import com.mbridge.msdk.interstitialvideo.out.MBInterstitialVideoHandler
23 import com.mbridge.msdk.mbbid.out.BidManager
24 import com.mbridge.msdk.out.*
!! ^ error
25 import kotlinx.coroutines.CancellableContinuation
26 import kotlinx.coroutines.suspendCancellableCoroutine
27 import kotlinx.serialization.json.Json
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:13:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
10 import android.app.Activity
11 import android.content.Context
12 import android.util.Size
13 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
14 import com.chartboost.chartboostmediationsdk.domain.ChartboostMediationError.LoadError.NoFill
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:16:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
13 import com.chartboost.chartboostmediationsdk.domain.*
14 import com.chartboost.chartboostmediationsdk.domain.ChartboostMediationError.LoadError.NoFill
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
17 import com.mobilefuse.sdk.*
18 import com.mobilefuse.sdk.AdError.*
19 import com.mobilefuse.sdk.MobileFuseBannerAd.AdSize
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:17:1
com.mobilefuse.sdk.* is a wildcard import. Replace it with fully qualified imports.
14 import com.chartboost.chartboostmediationsdk.domain.ChartboostMediationError.LoadError.NoFill
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
17 import com.mobilefuse.sdk.*
!! ^ error
18 import com.mobilefuse.sdk.AdError.*
19 import com.mobilefuse.sdk.MobileFuseBannerAd.AdSize
20 import com.mobilefuse.sdk.MobileFuseBannerAd.AdSize.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:18:1
com.mobilefuse.sdk.AdError.* is a wildcard import. Replace it with fully qualified imports.
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
17 import com.mobilefuse.sdk.*
18 import com.mobilefuse.sdk.AdError.*
!! ^ error
19 import com.mobilefuse.sdk.MobileFuseBannerAd.AdSize
20 import com.mobilefuse.sdk.MobileFuseBannerAd.AdSize.*
21 import com.mobilefuse.sdk.MobileFuseBannerAd.Listener
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-mobilefuse/MobileFuseAdapter/src/main/java/com/chartboost/mediation/mobilefuseadapter/MobileFuseAdapter.kt:20:1
com.mobilefuse.sdk.MobileFuseBannerAd.AdSize.* is a wildcard import. Replace it with fully qualified imports.
17 import com.mobilefuse.sdk.*
18 import com.mobilefuse.sdk.AdError.*
19 import com.mobilefuse.sdk.MobileFuseBannerAd.AdSize
20 import com.mobilefuse.sdk.MobileFuseBannerAd.AdSize.*
!! ^ error
21 import com.mobilefuse.sdk.MobileFuseBannerAd.Listener
22 import com.mobilefuse.sdk.internal.MobileFuseBiddingTokenProvider
23 import com.mobilefuse.sdk.internal.MobileFuseBiddingTokenRequest
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:14:1
com.bytedance.sdk.openadsdk.api.banner.* is a wildcard import. Replace it with fully qualified imports.
11 import android.content.Context
12 import android.util.Size
13 import com.bytedance.sdk.openadsdk.api.PAGConstant
14 import com.bytedance.sdk.openadsdk.api.banner.*
!! ^ error
15 import com.bytedance.sdk.openadsdk.api.init.*
16 import com.bytedance.sdk.openadsdk.api.interstitial.*
17 import com.bytedance.sdk.openadsdk.api.reward.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:15:1
com.bytedance.sdk.openadsdk.api.init.* is a wildcard import. Replace it with fully qualified imports.
12 import android.util.Size
13 import com.bytedance.sdk.openadsdk.api.PAGConstant
14 import com.bytedance.sdk.openadsdk.api.banner.*
15 import com.bytedance.sdk.openadsdk.api.init.*
!! ^ error
16 import com.bytedance.sdk.openadsdk.api.interstitial.*
17 import com.bytedance.sdk.openadsdk.api.reward.*
18 import com.chartboost.chartboostmediationsdk.domain.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:16:1
com.bytedance.sdk.openadsdk.api.interstitial.* is a wildcard import. Replace it with fully qualified imports.
13 import com.bytedance.sdk.openadsdk.api.PAGConstant
14 import com.bytedance.sdk.openadsdk.api.banner.*
15 import com.bytedance.sdk.openadsdk.api.init.*
16 import com.bytedance.sdk.openadsdk.api.interstitial.*
!! ^ error
17 import com.bytedance.sdk.openadsdk.api.reward.*
18 import com.chartboost.chartboostmediationsdk.domain.*
19 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:17:1
com.bytedance.sdk.openadsdk.api.reward.* is a wildcard import. Replace it with fully qualified imports.
14 import com.bytedance.sdk.openadsdk.api.banner.*
15 import com.bytedance.sdk.openadsdk.api.init.*
16 import com.bytedance.sdk.openadsdk.api.interstitial.*
17 import com.bytedance.sdk.openadsdk.api.reward.*
!! ^ error
18 import com.chartboost.chartboostmediationsdk.domain.*
19 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
20 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:18:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
15 import com.bytedance.sdk.openadsdk.api.init.*
16 import com.bytedance.sdk.openadsdk.api.interstitial.*
17 import com.bytedance.sdk.openadsdk.api.reward.*
18 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
19 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
20 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
21 import com.chartboost.mediation.pangleadapter.PangleAdapterConfiguration.adapterVersion
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-pangle/PangleAdapter/src/main/java/com/chartboost/mediation/pangleadapter/PangleAdapter.kt:20:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
17 import com.bytedance.sdk.openadsdk.api.reward.*
18 import com.chartboost.chartboostmediationsdk.domain.*
19 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
20 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
21 import com.chartboost.mediation.pangleadapter.PangleAdapterConfiguration.adapterVersion
22 import kotlinx.coroutines.suspendCancellableCoroutine
23 import kotlinx.serialization.json.Json
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:13:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
10 import android.app.Activity
11 import android.content.Context
12 import android.util.Size
13 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
14 import com.chartboost.chartboostmediationsdk.utils.LogController
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:16:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
13 import com.chartboost.chartboostmediationsdk.domain.*
14 import com.chartboost.chartboostmediationsdk.utils.LogController
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
17 import com.chartboost.mediation.referenceadapter.sdk.ReferenceBanner
18 import com.chartboost.mediation.referenceadapter.sdk.ReferenceFullscreenAd
19 import com.chartboost.mediation.referenceadapter.sdk.ReferenceFullscreenAd.ReferenceFullscreenAdFormat.*
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/adapter/ReferenceAdapter.kt:19:1
com.chartboost.mediation.referenceadapter.sdk.ReferenceFullscreenAd.ReferenceFullscreenAdFormat.* is a wildcard import. Replace it with fully qualified imports.
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
17 import com.chartboost.mediation.referenceadapter.sdk.ReferenceBanner
18 import com.chartboost.mediation.referenceadapter.sdk.ReferenceFullscreenAd
19 import com.chartboost.mediation.referenceadapter.sdk.ReferenceFullscreenAd.ReferenceFullscreenAdFormat.*
!! ^ error
20 import com.chartboost.mediation.referenceadapter.sdk.ReferenceSdk
21 import kotlinx.coroutines.delay
22 import kotlinx.coroutines.suspendCancellableCoroutine
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-reference/ReferenceAdapter/src/main/java/com/chartboost/mediation/referenceadapter/sdk/ReferenceFullscreenAd.kt:17:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
14 import com.chartboost.chartboostmediationsdk.domain.ChartboostMediationAdException
15 import com.chartboost.chartboostmediationsdk.domain.ChartboostMediationError
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
17 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
18 import kotlinx.coroutines.CoroutineExceptionHandler
19 import kotlinx.coroutines.CoroutineScope
20 import kotlinx.coroutines.Dispatchers.Main
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:14:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
11 import android.content.Context
12 import android.util.Size
13 import com.chartboost.chartboostmediationsdk.ChartboostMediationSdk
14 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
17 import com.chartboost.mediation.unityadsadapter.UnityAdsAdapterConfiguration.adapterVersion
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-unity-ads/UnityAdsAdapter/src/main/java/com/chartboost/mediation/unityadsadapter/UnityAdsAdapter.kt:16:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
13 import com.chartboost.chartboostmediationsdk.ChartboostMediationSdk
14 import com.chartboost.chartboostmediationsdk.domain.*
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
17 import com.chartboost.mediation.unityadsadapter.UnityAdsAdapterConfiguration.adapterVersion
18 import com.unity3d.ads.IUnityAdsInitializationListener
19 import com.unity3d.ads.IUnityAdsLoadListener
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapter.kt:14:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
11 import android.app.Application
12 import android.content.Context
13 import android.util.Size
14 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
17 import kotlinx.coroutines.Dispatchers
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-verve/VerveAdapter/src/main/java/com/chartboost/mediation/verveadapter/VerveAdapter.kt:16:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
13 import android.util.Size
14 import com.chartboost.chartboostmediationsdk.domain.*
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
16 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
17 import kotlinx.coroutines.Dispatchers
18 import kotlinx.coroutines.isActive
19 import kotlinx.coroutines.suspendCancellableCoroutine
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:13:1
com.chartboost.chartboostmediationsdk.domain.* is a wildcard import. Replace it with fully qualified imports.
10 import android.app.Activity
11 import android.content.Context
12 import android.util.Size
13 import com.chartboost.chartboostmediationsdk.domain.*
!! ^ error
14 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
16 import com.chartboost.mediation.vungleadapter.VungleAdapterConfiguration.adOrientation
- /Users/cbx/actions-runner/_work/helium-android/helium-android/chartboost-mediation-android-adapter-vungle/VungleAdapter/src/main/java/com/chartboost/mediation/vungleadapter/VungleAdapter.kt:15:1
com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.* is a wildcard import. Replace it with fully qualified imports.
12 import android.util.Size
13 import com.chartboost.chartboostmediationsdk.domain.*
14 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController
15 import com.chartboost.chartboostmediationsdk.utils.PartnerLogController.PartnerAdapterEvents.*
!! ^ error
16 import com.chartboost.mediation.vungleadapter.VungleAdapterConfiguration.adOrientation
17 import com.chartboost.mediation.vungleadapter.VungleAdapterConfiguration.adapterVersion
18 import com.chartboost.mediation.vungleadapter.VungleAdapterConfiguration.backBtnImmediatelyEnabled
generated with detekt version 1.23.5 on 2024-05-17 16:02:53 UTC