User Profile
Collapse
-
Thank you, but tell me what about the automated analysis of the code itself? -
How to start code refactoring?
What is the best way to start refactoring the code so as not to harm it? And is it worth doing analysis before refactoring? -
What is the best way to start refactoring?
Here is a poorly written function to change the price of a product that takes into account many different conditions. You need to refactor, since the function itself is terribly unreadable. Where to start refactoring or what methods to use to start refactoring?
Code:function changePrice($this = null) { if ($this == null) { var rel_price = $('.all_colors_preview.active#rel_colors').find('.item.active .price').attr('data-price'),
-
HarrySto replied to How to create a 3D snake game with Javascript (attached source code and game link)in JavascriptBy the way, a little off-topic, but it may be useful. There are good resources for code review and analysis - AppRefactoring and Code SceneLeave a comment:
-
The whole part of this code does not work and is highlighted in red, the description of the error is missing...Leave a comment:
-
How to set file refactoring on commits?
How can you do code refactoring when committing to git?
In order for the git to look at the format of writing code, that spaces are indented, not tabs, the names of variables and classes, etc...
How can I do that? -
Error in a variable, how to analyze the code?
I started creating applications for the phone, and I’m just starting to learn how to write code on my own, for this reason I take the code partly from the Internet. Now I have one theme of two applications and I looked at both codes and realized that they are more similar … Who knows how to avoid this? What would be the code for each unique?
Looking for a solution on the Internet, I found such a service, it seems to help, but maybe someone... -
I can't find an error in the Java code
I wrote the source code for a new application on IOS, when writing there were no errors, but when I ran the code, an error appeared in this place:
Code:var t = readLine()! var s = readLine()! var len_s = s.count var t_lis = Set(t) var c_s = Counter(s) var c_t = Counter(t_lis[len_s]) var c_res = [String: String]() var summ = 0 for e in c_s{ c_res[e] = [c_s[e], min( c_s[e], c_t[e]
-
How to analyze the code to fix its work
I am writing code for the “Time Tracker” application and one of the functions does not work, namely the display of the image. What’s wrong?
And yet, I want to analyze the entire code, maybe there are still errors that I don’t see. Is there some kind of automatic code analysis?Code:private void initPanel() { panel = new JPanel();{ }
-
It is necessary that the code displays all objects
I wrote the code, but it displays only one object when loading, with the rest there is difficulty. Who faced similar situations, how did you solve similar situations?
And I also want to conduct a full code analysis in order to see all the errors at once, and not when loading the application into work. Are there any services?
Code:public Bean inject(Bean obj) { File file = new File("src/main/resources/data.properties");
No activity results to display
Show More
Leave a comment: