Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
Code Review

Questions tagged [cyclomatic-complexity]

Ask Question

Cyclomatic Complexity is a metric of the complexity of a program or a section of a program.

61 questions
Filter by
Sorted by
Tagged with
2votes
1answer
118views

The following implements a relatively generic and modular data loading utility. It loads images from a local storage given a lookup table. The data loader is parametrized via dependency injection to ...
1vote
1answer
576views

From the following script, the "similarity" function should be callable to compare two sets of lists and return a certain similarity score. The elements of the lists represent intervals, so [...
1vote
2answers
217views

I added thegetCValue method to reduce the cyclomatic complexity, but the cyclomatic complexity still persists. How can I reduce it? Can I change this code using ...
3votes
2answers
160views

There is now a Follow up question to this question.AbstractThe VBA solution didn't work on the clients computer because Office 2010 Starter Edition doesn't support VBA. I decided to try a C# ...
pacmaninbw's user avatar
  • 26.2k
3votes
2answers
128views

I have a comparison function for comparing two points in 2 (or more) dimensions based on the angle of each point in standard polar coordinates. In other words, a point ...
0votes
2answers
340views

I have a method where I fetch user input, check if certain values exist, and based on that build my own custom input object that I would use to search in a database. The code for the search method is ...
5votes
1answer
151views

This review is presented in 3 questions due to the amount of code:Part A contains the Lexical Analyzer and the main portion of the unit test code.Part B contains the lower level unit tests called ...
4votes
1answer
103views

This review is presented in 3 questions due to the amount of code:Part A contains the Lexical Analyzer and the main portion of the unit test code.Part B (this question) contains the lower level ...
9votes
2answers
369views

This code review is presented in 3 questions due to the amount of code:Part A (this question) contains the Lexical Analyzer and the main portion of the unit test code.Part B contains the lower ...
1vote
2answers
127views

I'm parsing a file made up of various sections. I have acurrent_section variable that tracks which portion of the file I'm currently processing and the following<...
0votes
1answer
215views

I'm trying to recreate the method inject (Works like Reduce) from ruby Enumerable Module.Using Rubocop (A Linter) I got the error:...
Sevila's user avatar
4votes
1answer
185views

I have this code which is a callback for Filter in WPFICollectionView. When I run code analysis, the cyclometic complexity is reported to be 11. I consider this ...
Code Name Jack's user avatar
1vote
2answers
96views

My code is working correctly, but is resulting in a "Assignment branch condition too high" warning with a score of 12.08 on CodeBeat. Codebeat is an automated code review utility that helps ...
6votes
2answers
21kviews

I have a classLoanAccount that contains an attributescreationDate andloanAmount. I ...
14votes
2answers
806views

This is code, written by our dev team, and SonarQube tells me that the Cognitive Complexity is too high: 21, and the current (default, out of the box) metric limit is 15. I've had a go at reducing the ...

153050per page
1
2345

Hot Network Questions

more hot questions
Newest cyclomatic-complexity questions feed

[8]ページ先頭

©2009-2025 Movatter.jp