K. Cassell | 16 Sep 2010 05:07
Picon
Favicon

Merge classes refactoring tool?

Is anybody aware of a tool or plug-in that can be used to merge Java classes?

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    refactoring-digest <at> yahoogroups.com 
    refactoring-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    refactoring-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Adam Sroka | 16 Sep 2010 06:31
Picon
Gravatar

Re: Merge classes refactoring tool?

What do you mean by "merge classes?" If you mean what I think you mean then
I can think of several ways to do it. The simplest way would be to just move
all the members from one class to the other and then delete the empty class.
All of the major Java IDEs can do this.

On Wed, Sep 15, 2010 at 8:07 PM, K. Cassell <kcassell2001 <at> yahoo.com> wrote:

>
>
> Is anybody aware of a tool or plug-in that can be used to merge Java
> classes?
>
>  
>

[Non-text portions of this message have been removed]

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)
(Continue reading)

K. Cassell | 20 Sep 2010 23:30
Picon
Favicon

Open source Extract Class refactoring tool

As part of my thesis work, I've been working on a tool to help programmers refactor large classes.  ExtC
(http://code.google.com/p/ext-c/) is an Eclipse plug-in that is useful for locating large,
noncohesive classes and for recommending how to split them into smaller, more cohesive classes. Its GUI
enables querying a metrics database, displaying the dependency graphs of classes, and clustering a
class's members. These clusters can form the basis of the proposed classes. 

While it's not production-level code, it provides some useful capabilities.  There is some documentation
at http://code.google.com/p/ext-c/w/list.  If you're interested in using it or working on it, let me
know.  It's a work in progress.

Cheers,
Keith

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    refactoring-digest <at> yahoogroups.com 
    refactoring-fullfeatured <at> yahoogroups.com
(Continue reading)

Joshua Kerievsky | 20 Sep 2010 23:44
Gravatar

Re: Open source Extract Class refactoring tool

On Mon, Sep 20, 2010 at 2:30 PM, K. Cassell <kcassell2001 <at> yahoo.com> wrote:

> As part of my thesis work, I've been working on a tool to help programmers
> refactor large classes.  ExtC (http://code.google.com/p/ext-c/) is an
> Eclipse plug-in that is useful for locating large, noncohesive classes and
> for recommending how to split them into smaller, more cohesive classes. Its
> GUI enables querying a metrics database, displaying the dependency graphs of
> classes, and clustering a class's members. These clusters can form the basis
> of the proposed classes.
>
> While it's not production-level code, it provides some useful capabilities.
>  There is some documentation at http://code.google.com/p/ext-c/w/list.  If
> you're interested in using it or working on it, let me know.  It's a work in
> progress.
>

Sounds like a great project Keith, thanks for letting us know about it.

--

-- 
best,
jk

--
Joshua Kerievsky
Founder, CEO
Industrial Logic, Inc.
Web: http://industriallogic.com
Twitter:  <at> JoshuaKerievsky,  <at> IndustrialLogic

Amplify Your Agility
(Continue reading)

Richard | 20 Sep 2010 23:46
Favicon
Gravatar

Re: Open source Extract Class refactoring tool


Looks very interesting, thanks for the heads up!
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
 <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

      Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    refactoring-digest <at> yahoogroups.com 
    refactoring-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    refactoring-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
(Continue reading)

Richard | 21 Sep 2010 00:32
Favicon
Gravatar

Re: Open source Extract Class refactoring tool


I printed out the paper to read later.  Since this is for Eclipse,
should I assume that it only works for Java?
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
 <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

      Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    refactoring-digest <at> yahoogroups.com 
    refactoring-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    refactoring-unsubscribe <at> yahoogroups.com

(Continue reading)

Richard | 21 Sep 2010 05:21
Favicon
Gravatar

Re: Open source Extract Class refactoring tool

OK, I read the paper linked from the google code web site.  I like
this approach to visualizing code metadata.

It got me thinking about refactoring procedural code into objects.  I
have an open source project that is C code with lots of global data.
I wonder what this clustering visualization would look like on that
sort of code base.  Would it give me a good idea of how to break up
this monolithic pile of global data and functions into objects and
methods?
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
 <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

      Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
(Continue reading)

Dave Rooney | 21 Sep 2010 15:08
Picon
Favicon

Tools for C/C++

  Hi folks,

I have a client who is doing C/C++ development in Linux, and is in 
desperate need of automated refactoring tools.  Precisely none of the 
developers are using Eclipse but rather flavours of Emacs or VIM.

I've been able to find a few open source plugins for VIM, and one 
commercial tool for Emacs (XRefactory), but not much else.

I would appreciate any suggestions for tools, and any stories about your 
hands-on use with them.

Thanks!
--

-- 
Dave Rooney
Westboro Systems
Web: http://www.WestboroSystems.com
Blog: http://practicalagility.blogspot.com
Twitter: daverooneyca

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

(Continue reading)

Michael New | 21 Sep 2010 15:40
Favicon

Re: Tools for C/C++

I think Eclipse for Linux/C++ must have refactoring tools, no?

On Tue, Sep 21, 2010 at 9:08 AM, Dave Rooney <dave.rooney <at> mayford.ca> wrote:

>
>
> Hi folks,
>
> I have a client who is doing C/C++ development in Linux, and is in
> desperate need of automated refactoring tools. Precisely none of the
> developers are using Eclipse but rather flavours of Emacs or VIM.
>
> I've been able to find a few open source plugins for VIM, and one
> commercial tool for Emacs (XRefactory), but not much else.
>
> I would appreciate any suggestions for tools, and any stories about your
> hands-on use with them.
>
> Thanks!
> --
> Dave Rooney
> Westboro Systems
> Web: http://www.WestboroSystems.com
> Blog: http://practicalagility.blogspot.com
> Twitter: daverooneyca
>  
>

--

-- 
----------------------_/ /\/\ /\/ -----------------------
(Continue reading)

Dave Rooney | 21 Sep 2010 15:47
Picon
Favicon

Re: Tools for C/C++

  Hi Mike,

Yes, it does.  I'm using it right now to set up for a Code Smells & 
Refactoring demo later today.

My issue is that not a single developer at this client uses Eclipse.  
Have you ever tried to tell 200+ developers to change their code editor? :)

Thanks!

Dave...
--

-- 
Dave Rooney
Westboro Systems
Web: http://www.WestboroSystems.com
Blog: http://practicalagility.blogspot.com
Twitter: daverooneyca

On 21/09/2010 9:40 AM, Michael New wrote:
> I think Eclipse for Linux/C++ must have refactoring tools, no?
>
> On Tue, Sep 21, 2010 at 9:08 AM, Dave Rooney<dave.rooney <at> mayford.ca>  wrote:
>
>>
>> Hi folks,
>>
>> I have a client who is doing C/C++ development in Linux, and is in
>> desperate need of automated refactoring tools. Precisely none of the
>> developers are using Eclipse but rather flavours of Emacs or VIM.
>>
(Continue reading)


Gmane