Closed (fixed)
Project:
Coder Plus
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
22 Aug 2013 at 07:26 UTC
Updated:
15 Apr 2014 at 10:10 UTC
Jump to comment: Most recent
This module will give developer an ability to find cyclomatic complexity for all functions within a module. A developer can choose module out of list of all enabled module can can get list of all functions along with complexity present in different files within module directory.
Also, admin can set up a threshold value for complexity to highlight functions with high cyclomatic complexity.
Direct link to git repository
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/pgautam/2054327.git sn_coder_plus
Project Page Link
https://drupal.org/sandbox/pgautam/2054327
Comments
Comment #1
madhusudanmca commentedHi,
I had a quick review of this module and found following:
1) After installing this module and trying to check Cyclomatic Complexity
of one of module, I got following error:
"Notice: Undefined variable: table in sn_coder_plus_prepare_table_of_complexity() (line 242 of D:\xampp\htdocs\dev7\sites\all\modules\sn_coder_plus\sn_coder_plus.module)."
2) $table variable at line 166 in sn_coder_plus\sn_coder_plus.module should be checked before return.
Thanks
Comment #2
madhusudanmca commentedChanging status
Comment #3
pgautam commentedResolved in branch 7.x-1.1
Comment #4
madhusudanmca commentedResolved - Thanks!!