Skip to content

Commit 14e586d

Browse files
committed
update detekt baseline
Signed-off-by: Kyle Corry <kylecorry31@gmail.com>
1 parent 2c51e7e commit 14e586d

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

app/detekt-baseline.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
<ID>ComplexCondition:GeoJsonPointRenderer.kt:GeoJsonPointRenderer$shape == GEO_JSON_PROPERTY_MARKER_SHAPE_CIRCLE || (shape == null &amp;&amp; iconRes == null &amp;&amp; bitmap == null)</ID>
1414
<ID>ComplexCondition:GpsStatusBadgeProvider.kt:GpsStatusBadgeProvider$!gps.hasValidReading || (prefs.requiresSatellites &amp;&amp; (gps.satellites ?: 0) &lt; 4) || (gps is CustomGPS &amp;&amp; gps.isTimedOut)</ID>
1515
<ID>ComplexCondition:LineClipper.kt:LineClipper$!(start.x &lt; bounds.left &amp;&amp; end.x &lt; bounds.left || start.x &gt; bounds.right &amp;&amp; end.x &gt; bounds.right || start.y &lt; bounds.bottom &amp;&amp; end.y &lt; bounds.bottom || start.y &gt; bounds.top &amp;&amp; end.y &gt; bounds.top)</ID>
16-
<ID>ComplexCondition:MapEntity.kt:MapEntity$percentX1 != null &amp;&amp; percentY1 != null &amp;&amp; longitude1 != null &amp;&amp; latitude1 != null</ID>
17-
<ID>ComplexCondition:MapEntity.kt:MapEntity$percentX2 != null &amp;&amp; percentY2 != null &amp;&amp; longitude2 != null &amp;&amp; latitude2 != null</ID>
1816
<ID>ComplexCondition:MapLayerBackgroundTask.kt:MapLayerBackgroundTask$!isDirty &amp;&amp; !isInvalid &amp;&amp; areBoundsEqual( newBounds, lastRunBounds ?: CoordinateBounds.empty ) &amp;&amp; zoom == lastRunZoom</ID>
17+
<ID>ComplexCondition:OfflineMapListFragment.kt:OfflineMapListFragment$(isPdfMap &amp;&amp; prefs.photoMaps.autoReducePdfMaps) || (!isPdfMap &amp;&amp; prefs.photoMaps.autoReducePhotoMaps)</ID>
1918
<ID>ComplexCondition:PerspectiveCorrectionView.kt:PerspectiveCorrectionView$image == null &amp;&amp; imagePath != null &amp;&amp; width &gt; 0 &amp;&amp; height &gt; 0</ID>
20-
<ID>ComplexCondition:PhotoMapListFragment.kt:PhotoMapListFragment$(isPdfMap &amp;&amp; prefs.photoMaps.autoReducePdfMaps) || (!isPdfMap &amp;&amp; prefs.photoMaps.autoReducePhotoMaps)</ID>
19+
<ID>ComplexCondition:PhotoMapEntity.kt:PhotoMapEntity$percentX1 != null &amp;&amp; percentY1 != null &amp;&amp; longitude1 != null &amp;&amp; latitude1 != null</ID>
20+
<ID>ComplexCondition:PhotoMapEntity.kt:PhotoMapEntity$percentX2 != null &amp;&amp; percentY2 != null &amp;&amp; longitude2 != null &amp;&amp; latitude2 != null</ID>
2121
<ID>ComplexCondition:PhotoMapTileSource.kt:PhotoMapTileSource$internalSelector == null || loadPdfs != lastLoadPdfs || backgroundColor != lastBackgroundColor || featureId != lastFeatureId</ID>
2222
<ID>ComplexCondition:PixelInterpolators.kt:BilinearInterpolator$x1y1 == null || x1y2 == null || x2y1 == null || x2y2 == null || x1y1.isNaN() || x1y2.isNaN() || x2y1.isNaN() || x2y2.isNaN()</ID>
2323
<ID>ComplexCondition:SensorDetailsFragment.kt:SensorDetailsFragment$!gps.hasValidReading || (prefs.requiresSatellites &amp;&amp; (gps.satellites ?: 0) &lt; 4) || (gps is CustomGPS &amp;&amp; (gps as CustomGPS).isTimedOut)</ID>
@@ -61,6 +61,7 @@
6161
<ID>CyclomaticComplexMethod:MapLayerBackgroundTask.kt:MapLayerBackgroundTask$fun scheduleUpdate</ID>
6262
<ID>CyclomaticComplexMethod:MapLayerPreferenceManager.kt:MapLayerPreferenceManager$fun populatePreferences</ID>
6363
<ID>CyclomaticComplexMethod:NavigatorUserErrors.kt:NavigatorUserErrors$fun update</ID>
64+
<ID>CyclomaticComplexMethod:OfflineMapListFragment.kt:OfflineMapListFragment$private fun createMap</ID>
6465
<ID>CyclomaticComplexMethod:PhotoMapsFragment.kt:PhotoMapsFragment$override fun onViewCreated</ID>
6566
<ID>CyclomaticComplexMethod:PorterStemmer.kt:PorterStemmer$private fun step1b: String</ID>
6667
<ID>CyclomaticComplexMethod:SensorService.kt:SensorService$fun getAltimeter: IAltimeter</ID>
@@ -350,8 +351,6 @@
350351
<ID>ReturnCount:CameraView.kt:CameraView$fun start</ID>
351352
<ID>ReturnCount:ClimateFragment.kt:ClimateFragment$private fun formatActivity: String</ID>
352353
<ID>ReturnCount:CompassProvider.kt:CompassProvider$private fun getBaseOrientationSensor: IOrientationSensor</ID>
353-
<ID>ReturnCount:CreateOfflineMapCommand.kt:CreateOfflineMapCommand$override suspend fun execute</ID>
354-
<ID>ReturnCount:CreateOfflineMapCommand.kt:CreateOfflineMapCommand$private suspend fun save: Boolean</ID>
355354
<ID>ReturnCount:CreateTideFragment.kt:CreateTideFragment$private fun getTide: TideTable?</ID>
356355
<ID>ReturnCount:CricketsAudioStream.kt:CricketsAudioStream$private suspend fun getChirp: Double</ID>
357356
<ID>ReturnCount:CrossBoundaryPixelProvider.kt:CrossBoundaryPixelProvider$private fun getFromCache: Float?</ID>
@@ -531,13 +530,14 @@
531530
<ID>TooManyFunctions:IPathService.kt:IPathService : ICleanable</ID>
532531
<ID>TooManyFunctions:IWaypointRepo.kt:IWaypointRepo</ID>
533532
<ID>TooManyFunctions:MainActivity.kt:MainActivity : AndromedaActivity</ID>
533+
<ID>TooManyFunctions:MapRepo.kt:MapRepo</ID>
534534
<ID>TooManyFunctions:MapToolLayerManager.kt:MapToolLayerManager</ID>
535535
<ID>TooManyFunctions:MapView.kt:MapView : CanvasViewIMapView</ID>
536536
<ID>TooManyFunctions:MapViewLayerManager.kt:MapViewLayerManager</ID>
537537
<ID>TooManyFunctions:NavigationSheetView.kt:NavigationSheetView : FrameLayout</ID>
538538
<ID>TooManyFunctions:Navigator.kt:Navigator</ID>
539539
<ID>TooManyFunctions:NavigatorFragment.kt:NavigatorFragment : BoundFragment</ID>
540-
<ID>TooManyFunctions:OfflineMapListFragment.kt:OfflineMapListFragment : TrailSenseReactiveFragment</ID>
540+
<ID>TooManyFunctions:OfflineMapListFragment.kt:OfflineMapListFragment : BoundFragment</ID>
541541
<ID>TooManyFunctions:PackItemListFragment.kt:PackItemListFragment : BoundFragment</ID>
542542
<ID>TooManyFunctions:PackListFragment.kt:PackListFragment : BoundFragment</ID>
543543
<ID>TooManyFunctions:PackRepo.kt:PackRepo : IPackRepo</ID>
@@ -547,7 +547,6 @@
547547
<ID>TooManyFunctions:PermissionUtils.kt:com.kylecorry.trail_sense.shared.permissions.PermissionUtils.kt</ID>
548548
<ID>TooManyFunctions:PerspectiveCorrectionView.kt:PerspectiveCorrectionView : CanvasView</ID>
549549
<ID>TooManyFunctions:PhotoMapCalibrationFragment.kt:PhotoMapCalibrationFragment : BoundFragment</ID>
550-
<ID>TooManyFunctions:PhotoMapListFragment.kt:PhotoMapListFragment : BoundFragment</ID>
551550
<ID>TooManyFunctions:PhotoMapToolLayerManager.kt:PhotoMapToolLayerManager</ID>
552551
<ID>TooManyFunctions:PhotoMapsFragment.kt:PhotoMapsFragment : BoundFragment</ID>
553552
<ID>TooManyFunctions:PlaceBeaconFragment.kt:PlaceBeaconFragment : BoundFragment</ID>

0 commit comments

Comments
 (0)