Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
1Activity
×
0 of .
Results for:
No results containing your search query
P. 1
Example of Method with Cyclomatic Complexity 202

Example of Method with Cyclomatic Complexity 202

Ratings: (0)|Views: 253|Likes:
Published by Zarko Acimovic

The method 'commandAction' has a Cyclomatic Complexity of 202. The complexity is measured by the number of if, while, do, for, ?:, catch, switch, case statements, and operators && and || (plus one) in the body of a constructor, method, static initializer, or instance initializer. It is a measure of the minimum number of possible paths through the source and therefore the number of required tests. Generally 1-4 is considered good, 5-7 ok, 8-10 consider re-factoring, and 11+ re-factor now!

The method 'commandAction' has a Cyclomatic Complexity of 202. The complexity is measured by the number of if, while, do, for, ?:, catch, switch, case statements, and operators && and || (plus one) in the body of a constructor, method, static initializer, or instance initializer. It is a measure of the minimum number of possible paths through the source and therefore the number of required tests. Generally 1-4 is considered good, 5-7 ok, 8-10 consider re-factoring, and 11+ re-factor now!

More info:

categoriesTypes, School Work
Published by: Zarko Acimovic on Dec 05, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

09/17/2013

pdf

text

original

 

;;'5

#*  '#*  ?(+ #*  )7;80< #*  )7=8*1*(5< #*  ,%#$# #*  =/!/"$$7:$0$8#*  =>$??1.#*  =#*  E#50 #*  
%;1;'
$0  "''$0  ''.$2  
%;1;'
$2  "''$2  
%;1;'
$5  "''$5  
%;1;'
$+  "''$+  
%;1;'
$*  "''$*  ''.(0  ''.(#  =*5  =*+  =**  ''.* ''.# #00  =>$??1.#00  =>$??1.#0#  !$ #0# %&!#0+ %&!##$ %&!=##2 %&!=##5 %&
 

;;'5

'/3/G #$ '/3/G #$ 3..4')#$ '"''J #(2  !J#(2 %&!)#2$ %&!)#2( %&=#5-  =#5 !)#-+ %&!H#-- %&!H#-%&!H)## %&!H#$ %&!#* %&)#+5 $0#  ,#$# $0#  '$02  =78,##( $02  
=FF-G(($
(($  )3(+$  '(+-  "#$# (+-  )-#(+-  ,)'+ (+-  ,)(0 (+-  ,*#+ (+-  //(+-  //(+-  =//"$0$(+-  =78,5((+-  '.(*0  K784(*0  K784(*#  K784(*#  K784(*2  K784(*2  '( 
!7184'?"
( %&'"2#(  
 

;;'<5

'"2$$  '.2$$  )'/./2$-  )'/./2(2  )'//250  )'//25#  )'//25+  =''25+ >'2+-  2+-  '2* 
!7184'?"
2* %&=''55# >'5+(  5+(  '5*2  
!7184'?"
5*2 %&5 '.+2(  '.+22  '"+*0  '"+5  '.4*00  '.4*(5  3..4')*++  '.4**5  '.4*-+  '.4-$-  3..4')--#  3..4')--#  #0$( %&=>$??1.#0$-  J78::07J78I:08.?78 #02  J78::07J78I:08.?78 ##05  "## ##0  )-* ##0  ,)'* ##0  ,)#+ ##0  ,*( ##0  =//"#*##0  
E!!718

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->