cs-util-com/cscore

View on GitHub

Showing 1,140 of 1,140 total issues

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

        public static async Task TryWithExponentialBackoff(Func<Task> taskToTry,
                        Action<Exception> onError = null, int maxNrOfRetries = -1, int maxDelayInMs = -1, int initialExponent = 0) {
Severity: Minor
Found in CsCore/PlainNetClassLib/src/Plugins/CsCore/com/csutil/async/TaskV2.cs - About 35 mins to fix

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

            private static bool JsonCouldBeFullyParsed(IJsonReader reader, string path, IDictionary input, IDictionary parsed, int depth) {

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

              private Vector3[] TransposeMultSubtract(IReadOnlyList<Vector3> vectors1, IReadOnlyList<Vector4> vectors2, Vector3 vec1Centroid, Vector3 vec2Centroid, Vector3[] covariance) {

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

                private static byte[] GetColorAt(byte[] img, int x, int y, int bytesPerPixel, int width) {

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

                  public static byte[] stbi__convert_format16(byte[] data, int img_n, int req_comp, uint x, uint y)

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

                    public static async Task<T> TryWithExponentialBackoff<T>(Func<Task<T>> taskToTry,
                                    Action<Exception> onError = null, int maxNrOfRetries = -1, int maxDelayInMs = -1, int initialExponent = 0) {
            Severity: Minor
            Found in CsCore/PlainNetClassLib/src/Plugins/CsCore/com/csutil/async/TaskV2.cs - About 35 mins to fix

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

                      public static byte[] stbi__convert_format(byte[] data, int img_n, int req_comp, uint x, uint y)

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

                        public static byte[] CroppingImage(this ImageResult sourceImage, int cropX, int cropY, int cropWidth, int cropHeight) {

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

                          private static byte[] BoxFilter(byte[] img, int width, int height, int radius, int channels) {

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

                            private static byte[] GetColorAt(byte[] img, int x, int y, int bytesPerPixel, int width) {

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

                              public static T Mutate<T>(this T self, bool applyReducer, object action, StateReducer<T> reducer, ref bool changed) {

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

                                public static void CalcEntryChangesToOldState<E, K, V>(this E newState, ref E oldState, Action<KeyValuePair<K, V>> onEntryAdded, Action<KeyValuePair<K, V>, KeyValuePair<K, V>> onEntryUpdated, Action<K> onEntryRemoved) where E : IDictionary<K, V> {

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

                                  private static T NthOrderStatistic<T>(this IList<T> list, int n, int start, int end, Random rnd) where T : IComparable<T> {

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

                                    public static StopwatchV2 MethodEnteredWith(object arg1, object arg2 = null, object arg3 = null, object arg4 = null, [CallerMemberName] string n = null) {
                            Severity: Minor
                            Found in CsCore/PlainNetClassLib/src/Plugins/CsCore/com/csutil/logging/Log.cs - About 35 mins to fix

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

                                      public static Action AddStateChangeListenerDebounced<T, S>(this IDataStore<T> self, Func<T, S> getSubState, Action<S> onChanged, double delayInMs, bool triggerInstantToInit = true) {

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

                                        public static Action AddStateChangeListenerForDictionary<T, K, V>(this IDataStore<T> self, Func<T, ImmutableDictionary<K, V>> getSubState, Action<KeyValuePair<K, V>> onEntryAdded,
                                            Action<KeyValuePair<K, V>, KeyValuePair<K, V>> onEntryUpdated, Action<K> onEntryRemoved) {

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

                                          public static async Task<ProgressionSystem<FeatureFlag>> SetupWithGSheetsV2(Uri gSheetsUri, DirectoryEntry localAnalyticsFolder, IKeyValueStore cachedFlagsLocalData, IKeyValueStore gSheetsChache, IDisposableCollection disposables = null) {

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

                                            public static IDataStore<SlicedModel> NewSlicedDataStore(this IEnumerable<SlicedModel.Slice> slices, IList<Middleware<SlicedModel>> middlewares, bool addLoggingMiddleware, bool showStateDiff = true, int maxMsBudgetForLoggingChanges = 1000) {

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

                                              public static void IsInRange(double lowerBound, double value, double upperBound, string varName, params object[] args) {

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

                                                public static void CalcEntryChangesV2<K, V>(this IReadOnlyDictionary<K, V> oldState, IReadOnlyDictionary<K, V> newState, Action<KeyValuePair<K, V>> onEntryAdded, Action<KeyValuePair<K, V>> onEntryUpdated, Action<K> onEntryRemoved) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language