# Optimization

**URL:** <https://www.ruby-forum.com/t/optimization/106692>\
**Category:** Rails\
**Created:** [June 13, 2007, 10:41am UTC](https://www.ruby-forum.com/t/optimization/106692 "2007-06-13T10:41:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [June 13, 2007, 10:41am UTC](https://www.ruby-forum.com/t/optimization/106692/1 "2007-06-13T10:41:46Z")

</div>

Just attempting to do some optimization of my code.

Does anyone know any code coverage tools that will identify any code /  
methods that are not used by my app?

Cheers  
Mark

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [June 13, 2007, 2:39pm UTC](https://www.ruby-forum.com/t/optimization/106692/2 "2007-06-13T14:39:01Z")

</div>

MArk wrote:

> Just attempting to do some optimization of my code.
> 
> Does anyone know any code coverage tools that will identify any code /  
> methods that are not used by my app?

rcov is the only coverage tool I know of for Ruby. Of course it will not  
simply point to code and say “You’re not using this”, it requires  
programs that exercise the code, f.ex. tests.

–  
Cheers,

- Jacob A.
