Skip to main content

Questions tagged [refactoring]

Filter by
Sorted by
Tagged with
2 votes
0 answers
10 views

A tool to facilitate convertion of Perl code into Python - at least as a workable draft

There is a collection of Perl scripts, mostly relatively simple ones, used for infrastructure management. However, maintaining them seems challenging as Perl usage is declining. We'd like to refactor ...
vova25's user avatar
  • 21
2 votes
1 answer
74 views

Free JS/TS tool for code analysis and refactoring suggestions

Are there any free tools that would analyse the javascript/typescript code base and provide suggestions on code refactoring? Such as extracting functionally similar areas of code into separate ...
xaxa's user avatar
  • 121
2 votes
1 answer
45 views

Tool or IDE for refactoring function into class in JavaScript

I am looking for a tool or IDE that can help automatically refactor JavaScript or TypeScript function into a class. It would be nice if it can take care of this keyword in a safe way but is not a ...
mpasko256's user avatar
  • 139
1 vote
0 answers
55 views

Side Effects Detector for PHP

As a backend developer working on a legacy code, I want to know the side effects of a piece of code. For example, I want to select a method of a class and be informed of what possible interactions it ...
Ariana's user avatar
  • 11
1 vote
0 answers
35 views

Tool for counting lines in C# functions

I have inherited a C# project. One of the files has over 900 lines. Is there a tool that will list the functions in a C# file and their line count? I'm using LOC as a criteria for refactoring. ...
Thomas Matthews's user avatar
1 vote
0 answers
37 views

Tool for merging Java classes and interfaces

I'm a Java software developer and often inherit existing projects. These projects follow the convention that each class has an interface even if there is only one implementation. I would like to ...
Stefan Birkner's user avatar
4 votes
1 answer
153 views

Tool to search for dependencies of JavaScript variables and functions

I must to refactor the project in which thousands of lines of js-code. Is there a tool to search for dependencies of global variables and functions in the project javascript-files? It would be ...
qodunpob's user avatar
  • 141
1 vote
0 answers
42 views

Refactor - separate java sources and resources

I have a large project containing both sources and resources under the same directories. Something like: src |_ com |_ package |_ JavaClass.java |_ a_resource.extension I would like to ...
Elist's user avatar
  • 131
1 vote
0 answers
39 views

C++: mark classes with non-virtual destructors `final`

Do any C++ automatic-refactoring tools exist that can mark all classes with non-virtual destructors final? This could prevent bad inheritance choices which would potentially lead to undefined behavior....
Kyle Strand's user avatar
3 votes
1 answer
120 views

Tool to keep branched and refactored C++ code in sync?

I'm searching for a Windows GUI/command line tool or Visual Studio plug-in where I can automate the extraction of C++ code blocks, add some refactoring/renaming steps and insert it into some other C++ ...
Florian's user avatar
  • 221
8 votes
4 answers
1k views

Code clone detection software

I am looking for a simple tool that can identify similar parts in one or multiple files. I am working on a fairly old codebase where developers used to use copy paste a lot. Eventually we have ...
nowox's user avatar
  • 181
1 vote
0 answers
56 views

Software to change c++ naming conventions / Advanced batch renaming

I am looking for a free software that I could use to do batch renaming of class members in c++. It doesn't have to be perfect, just handle most simple cases. It is enough if it can identify class ...
akaltar's user avatar
  • 113
3 votes
3 answers
325 views

Massive/automatic VHDL refactoring

Currently I'm linting our codebase. Some coding rules where defined at the beginning of the project, unfortunately not very much of them were used ;\ Is there an automatic way to refactor the code? ...
daeda's user avatar
  • 139
6 votes
2 answers
346 views

Ruby automatic mass refactoring tools

What are the best Ruby automatic mass refactoring tools out there? For instance, I want to be able to replace double quoted strings that don't have any special content (#{}, \n, ') with single quoted ...
Ciro Santilli OurBigBook.com's user avatar
6 votes
1 answer
2k views

Program to check C and/or C++ code style

I am searching for free Linux tool that can analyze C and C++ code of my program and return style improvement suggestions. I would like to check against coding standards like variable naming, ...
BrettWatts's user avatar
11 votes
1 answer
248 views

Java Refactoring - Scope of Variable

I have to deal with some old legacy code, that unfortunately had the coding style of declaring all the variables at the beginning of a method. The code looks something like this as an example: ...
user3771686's user avatar
10 votes
1 answer
3k views

Automate #include refactoring in C++

I have a big project with hundreds of files. And as it often happens to C++ projects, #include directives are messed up. I want to refactor them to increase clarity, decrease compilation time and ...
Mikhail's user avatar
  • 330
3 votes
0 answers
156 views

Native Mac PHP IDE or Editor With Refactoring Features

I’m currently trialling PHPStorm and while I love the featureset and approach I cannot in my right mind fork over $99 for that kind of performance and UI. Does anyone know of, or even heard rumours of,...
kamera's user avatar
  • 131
8 votes
1 answer
2k views

C++ refactoring (renaming) tools for open source projects

The tool should be able to perform simple tasks like renaming a class or function. It should be usable by cross-platform open source projects, so that rules out anything Visual Studio based. However, ...
cib's user avatar
  • 181
12 votes
1 answer
186 views

A lightweight tool for Python refactorings

I've been quite happy with my purchase of Sublime Text 3 for developing and, either natively or through extensions, this piece of software covered almost all of my needs. The one thing I found myself ...
badp's user avatar
  • 418
40 votes
8 answers
2k views

C++ IDE for Windows with a rich feature set: Code completion, refactoring, etc

I'm looking for an Integrated Development Environment for C++ that should run on Windows 8. The program should ideally support the following features: Code completion/hinting Indentation assistance ...
ApproachingDarknessFish's user avatar