Cyclomatic Compexity

Hi, does anybody know about package/code in Smalltalk that computes cyclomatic complexity of a Smalltalk method? Thanks, Jan

Hapao computes cyclomatic complexity of a method and uses it in its blueprint. http://hapao.dcc.uchile.cl/ I hope it is what you are looking for. Cheers, Pablo El 28-07-2013, a las 13:49, Jan Vrany <jan.vrany@fit.cvut.cz> escribió:
Hi,
does anybody know about package/code in Smalltalk that computes cyclomatic complexity of a Smalltalk method?
Thanks, Jan
_______________________________________________ Esug-list mailing list Esug-list@lists.esug.org http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org

If Moose is loaded, you can do for example: ((MoosePharoImporterTask new addClasses: {Morph}; run) allClasses entityNamed: Morph mooseName) weightedMethodCount http://www.humane-assessment.com/blog/computing-metrics-for-one-pharo-class-... Cheers, Doru On Sun, Jul 28, 2013 at 7:54 PM, Pablo Estefó <pestefo@gmail.com> wrote:
Hapao computes cyclomatic complexity of a method and uses it in its blueprint.
I hope it is what you are looking for.
Cheers, Pablo
El 28-07-2013, a las 13:49, Jan Vrany <jan.vrany@fit.cvut.cz> escribió:
Hi,
does anybody know about package/code in Smalltalk that computes cyclomatic complexity of a Smalltalk method?
Thanks, Jan
_______________________________________________ Esug-list mailing list Esug-list@lists.esug.org http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
_______________________________________________ Esug-list mailing list Esug-list@lists.esug.org http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
-- www.tudorgirba.com "Every thing has its own flow"

Thanks guys, I'll have a look. Best, Jan On 28/07/13 18:59, Tudor Girba wrote:
If Moose is loaded, you can do for example:
((MoosePharoImporterTask new addClasses: {Morph}; run) allClasses entityNamed: Morph mooseName) weightedMethodCount
http://www.humane-assessment.com/blog/computing-metrics-for-one-pharo-class-...
Cheers, Doru
On Sun, Jul 28, 2013 at 7:54 PM, Pablo Estefó <pestefo@gmail.com <mailto:pestefo@gmail.com>> wrote:
Hapao computes cyclomatic complexity of a method and uses it in its blueprint.
I hope it is what you are looking for.
Cheers, Pablo
El 28-07-2013, a las 13:49, Jan Vrany <jan.vrany@fit.cvut.cz <mailto:jan.vrany@fit.cvut.cz>> escribió:
Hi,
does anybody know about package/code in Smalltalk that computes cyclomatic complexity of a Smalltalk method?
Thanks, Jan
_______________________________________________ Esug-list mailing list Esug-list@lists.esug.org <mailto:Esug-list@lists.esug.org> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
_______________________________________________ Esug-list mailing list Esug-list@lists.esug.org <mailto:Esug-list@lists.esug.org> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
-- www.tudorgirba.com <http://www.tudorgirba.com>
"Every thing has its own flow"
participants (3)
-
Jan Vrany
-
Pablo Estefó
-
Tudor Girba