Top "Refactoring" questions

Refactoring is a disciplined technique for restructuring existing code, altering its internal structure without changing its external behavior.

any C/C++ refactoring tool based on libclang? (even simplest "toy example" )

As I've pointed out - here - it seems clang's libclang should be great for implementing the hard task that …

c++ refactoring llvm clang
is f(void) deprecated in modern C and C++

I'm currently refactoring/tidying up some old C code used in a C++ project, and regularly see functions such as: …

c++ c refactoring void
What is the reason behind JSLint saying there are "too many var statements"

JSLint (with the onevar flag turned on) is flagging some javascript code that I have with the following: Problem at …

javascript refactoring jslint
Dead code detection in PHP

I have a project with very messy code - lots of duplication and dead code here and there. Some time …

php refactoring code-coverage legacy-code
Variable renaming for plagiarism detection for C/C++

I have a couple of simple C++ homeworks and I know the students shared code. These are smart students and …

c++ refactoring plagiarism-detection
Is there a way to force OracleCommand.BindByName to be true by default for ODP.NET?

Since the System.Data.OracleClient library has been deprecated, we are in the process of migrating our code base to …

.net oracle refactoring odp.net system.data.oracleclient
Should one test internal implementation, or only test public behaviour?

Given software where ... The system consists of a few subsystems Each subsystem consists of a few components Each component is …

unit-testing refactoring automated-tests integration-testing code-coverage
Is it better to reuse SqlCommand when executing the same SQL query several times?

When querying the database with the same query but different parameters, is it better to: do it in a single …

c# refactoring readability
Any ReSharper equivalent for Xcode?

I'm a complete Xcode/Objective-C/Cocoa newbie but I'm learning fast and really starting to enjoy getting to grips with …

objective-c xcode macos refactoring
How to visualize a project structure in MATLAB?

I've come into ownership of several thousand lines of Matlab code, some as >900 line functions and a few directories …

matlab refactoring visualization