3 METHODS TO FIND THE CYCLOMATIC COMPLEXITY - Software Engineering

  Рет қаралды 141,839

SAMIYA SIDDIQUI

SAMIYA SIDDIQUI

5 жыл бұрын

This approach is to find the number of independent paths through a program.
NOTE: If there are more than two outgoing edges,the structure is required to be changed in order to have only two outgoing edges. If it is not possible, then this formula (π+1) is not applicable.
"Lower the Program's cyclomatic complexity, lower the risk to modify and easier to understand".
Thanks to my teacher Dr Himani Maheshwari☺
Please check my website:-
www.sharpen.online

Пікірлер: 112
@ahmedelsabagh6990
@ahmedelsabagh6990 3 жыл бұрын
Although you are talking in a Mix of Indian language and English, and I don't understand Indian language, but you are very cleaver teacher and trying to understand your Indian words into my mind really helped me to understand the topic 100%. You are great, thanks a lot.
@gunasiya826
@gunasiya826 Жыл бұрын
Last
@champion5946
@champion5946 Жыл бұрын
abe lauvde uduru
@cooltop1
@cooltop1 Жыл бұрын
Cyclomatic Complexity is a software metric used to measure the complexity of a program. It is also known as structural complexity as it provides an internal view of the code. The metric was developed by Thomas J. McCabe in 1976. There are multiple ways to calculate cyclomatic complexity, and it is often based on the control flow graph of the program. The control flow graph represents the flow of control between different statements and decision points in the code. Here are the three formulas commonly used: V(G) = e - n + 2P: V(G) represents the cyclomatic complexity. e is the number of edges (transitions) in the control flow graph. n is the number of nodes (statements) in the control flow graph. P represents the number of connected components or regions (bounded areas) in the graph. For a single program, P is typically 1 or for subroutines. V(G) = pi + 1: V(G) represents the cyclomatic complexity. pi represents the number of predicated nodes, which are decision points with multiple possible outcomes. Predicated nodes are often associated with conditional statements, such as if-else or switch-case statements. The formula adds 1 to the count of predicated nodes. Calculation based on regions: Regions refer to the bounded areas or sections within the control flow graph. A region is created when there is a single entry point and a single exit point in a portion of the control flow graph. The cyclomatic complexity can be calculated by counting the number of regions and adding 1 to the count. By calculating the cyclomatic complexity of a program using these formulas, developers can assess its complexity, maintainability, and testability. A higher cyclomatic complexity value suggests a more complex program structure, which may indicate areas that are more error-prone, harder to test, or difficult to maintain. It's important to note that cyclomatic complexity is just one aspect of code quality and should be used in conjunction with other metrics and best practices for a comprehensive evaluation of software systems.
@shivam637q
@shivam637q 7 ай бұрын
LEGEND bc
@cooltop1
@cooltop1 7 ай бұрын
@@shivam637q cheers 🥂
@Wizard-dl9zo
@Wizard-dl9zo Ай бұрын
Classification: We are highly confident the above text was AI generated Nonetheless Thanks 😄
@samiyasiddiqui1059
@samiyasiddiqui1059 3 жыл бұрын
Thanks for your support❤
@BastfastaComa2015
@BastfastaComa2015 2 жыл бұрын
Even though I don't understand This language but I manage to understand what is she saying. Thanks for the explanation
@vaibhavsinha3228
@vaibhavsinha3228 3 жыл бұрын
Awesome explanation ....Thank you so much ma'am. Please don't call closed space as a cycle as it is creating confusion.
@adityachavan4059
@adityachavan4059 3 ай бұрын
Thanks A Lot Helpul Videos. I Am Watching This Day Before My Exam And Got It Very Clear❤
@Singineer06
@Singineer06 2 жыл бұрын
Very well explained!! Thank you ma'am
@bilalazam5725
@bilalazam5725 8 ай бұрын
really maam you made my day :) you make my concept clear thanks a lot Allah paak aapko khoob taarqqi de
@HowdyDynamo
@HowdyDynamo 2 ай бұрын
Amazing Explanation, Thanks
@abbasqureshi8931
@abbasqureshi8931 5 ай бұрын
thank you for such an easy way you just taught
@awaisbashirvlogs
@awaisbashirvlogs 2 жыл бұрын
Best Explanation so far!!!
@nasiksami2351
@nasiksami2351 3 жыл бұрын
Easiest explanation ever!
@saravanant5950
@saravanant5950 Жыл бұрын
Dam, nice teaching . I haven't learnt like this ever.
@appleinc.2325
@appleinc.2325 Жыл бұрын
very easy and clear explanation. Thanks ma'am.
@shreedharchavan7033
@shreedharchavan7033 2 жыл бұрын
Excellent explanation 🔥
@gautamagarwal9761
@gautamagarwal9761 2 жыл бұрын
Excellent vide!!
@mohammeduzairshaik470
@mohammeduzairshaik470 3 жыл бұрын
Thank you mam very good explanation
@GayathriJangala
@GayathriJangala 3 жыл бұрын
Superb explanation thank you
@Asli_coding
@Asli_coding 7 ай бұрын
Awesome explanation Ma'am
@rohitsingla7681
@rohitsingla7681 Жыл бұрын
These teachers need to be in college , not that professors who are boring.
@kirankumbar2812
@kirankumbar2812 2 жыл бұрын
Well explained 🔥🙏
@vikassingh-jm2ex
@vikassingh-jm2ex 2 жыл бұрын
Thnks Samya, very helpful.
@SaifKhan-wm9db
@SaifKhan-wm9db 4 жыл бұрын
thanks a lot easily understand!!
@SunnySharma-mo6kp
@SunnySharma-mo6kp 4 жыл бұрын
Tqq soo much it's very helpful ❤️❤️
@adithya2646
@adithya2646 Жыл бұрын
Thanks it helped me..bcz tomorrow I have exam...
@exoticme4760
@exoticme4760 4 жыл бұрын
thnk u , so in pi formula we only see node with 2 outgoing edge, what about node with 3 outgoing edge?
@ArkabrataDatta11
@ArkabrataDatta11 4 жыл бұрын
nice. easy explanation.
@ilmauramal6853
@ilmauramal6853 3 жыл бұрын
Well explained Didi 🔥🔥
@Prateek03
@Prateek03 2 жыл бұрын
Thank you ma'am ❤️
@DriveDineExplore
@DriveDineExplore 3 жыл бұрын
Very well expalined
@ganeshjaggineni4097
@ganeshjaggineni4097 Жыл бұрын
NICE SUPER EXCELLENT MOTIVATED
@khanriyaz24
@khanriyaz24 3 жыл бұрын
Thank you.
@WhatTheFunTelugu1
@WhatTheFunTelugu1 Жыл бұрын
Thanks😍
@prashantrajput5107
@prashantrajput5107 2 жыл бұрын
Well explained mam✨
@Garry68459
@Garry68459 2 ай бұрын
Ma’am thank you so much you saved my time …..tomorrow’s my exam
@alishamirza326
@alishamirza326 4 жыл бұрын
Thankyou
@monojitsaha7371
@monojitsaha7371 3 жыл бұрын
Thank you
@manthanpatel8409
@manthanpatel8409 Жыл бұрын
Thanks a lot 💖
@Vishnuram-007
@Vishnuram-007 2 жыл бұрын
Super explanation mam Thank you mam and try to speak english !!! It will help full to all !!
@user-bd6gt6ct9o
@user-bd6gt6ct9o 8 ай бұрын
thank you
@KaranKumar-bq4gr
@KaranKumar-bq4gr Жыл бұрын
Well explained sis ❤
@krishnakhapare3666
@krishnakhapare3666 7 ай бұрын
thank you so much
@vikkydhdhdjdj
@vikkydhdhdjdj 2 жыл бұрын
Thank you mam 😊💖
@KaranKumar-bq4gr
@KaranKumar-bq4gr Жыл бұрын
Do more vdos on different subjects... Like rbdms, os... Are d difficult one
@allvideoinworld88
@allvideoinworld88 2 ай бұрын
13-10+2=1❤
@justacannoli5162
@justacannoli5162 Жыл бұрын
Thanks
@ABUBAKAR-dy2hq
@ABUBAKAR-dy2hq 4 жыл бұрын
simple the best
@Doctor.Fortnite
@Doctor.Fortnite 3 жыл бұрын
Wow, amazing. Mein 3 din say idhar udhar say notes parhi jar rha tha kuch smajh nhe aa rhe thi. Jazak Allah
@samiyasiddiqui1059
@samiyasiddiqui1059 3 жыл бұрын
Thank you
@romesh1832
@romesh1832 Жыл бұрын
thanks
@alek0585
@alek0585 4 ай бұрын
Do we need to have websarvar for it?
@GulfamOfficial
@GulfamOfficial 5 жыл бұрын
Good Job.....
@samiyasiddiqui1059
@samiyasiddiqui1059 5 жыл бұрын
thanku
@sonukumarnirala6896
@sonukumarnirala6896 3 ай бұрын
Nice explanation
@exoticme4760
@exoticme4760 4 жыл бұрын
thnkx
@vanshajgoel8783
@vanshajgoel8783 3 жыл бұрын
Thank you aunti ji
@wideoedits4u800
@wideoedits4u800 5 жыл бұрын
Ty ☺️
@ritusaini2040
@ritusaini2040 4 жыл бұрын
Thank you so much You explained nicely
@tanishkaverma2745
@tanishkaverma2745 5 жыл бұрын
Thanku Samiya for this
@samiyasiddiqui1059
@samiyasiddiqui1059 5 жыл бұрын
❤❤❤
@RaiyanMonsur
@RaiyanMonsur 4 жыл бұрын
thanks :)
@erfaizulislamsiddiqui3265
@erfaizulislamsiddiqui3265 5 жыл бұрын
👌👌
@originalmartialartsmovies2314
@originalmartialartsmovies2314 Жыл бұрын
please madam give more examples of cyclomatic complxity
@farooqrizvi3126
@farooqrizvi3126 5 жыл бұрын
Good
@DeepakKumar2105
@DeepakKumar2105 4 жыл бұрын
what is use of cyclomatic complexity ?.Can anyone tell me.
@comrade270
@comrade270 3 жыл бұрын
Thanks ma'am 😍 from J M I
@sakthi4272
@sakthi4272 4 жыл бұрын
Should connect end node and starting node... Thank you ✌
@mouhcineelhafir6089
@mouhcineelhafir6089 3 жыл бұрын
exactly so the formula is V = e-n+1
@UTube1805
@UTube1805 Жыл бұрын
Mam p is always 1???? 3:00 In our book formula is e-n+2 And p+1 But ans is difference
@QuantumGaming149
@QuantumGaming149 2 жыл бұрын
👍
@NoobMaster69_
@NoobMaster69_ 4 жыл бұрын
Who dislike the video I think no one can teach them
@bhanulaur0
@bhanulaur0 2 жыл бұрын
filmigo ,very good
@Rahulsingh-cc8pn
@Rahulsingh-cc8pn 2 жыл бұрын
U are best 👍, I like you
@amankharemedia
@amankharemedia Жыл бұрын
@sukruthr8993
@sukruthr8993 4 жыл бұрын
what is the ans for this Determine the cyclomatic complexity for the following code: Accept year if(year mod 4=0 and year mod 100!=0) or(year mod 400 =0) print year is leap else print year is not leap end if.
@dipakghodekar5971
@dipakghodekar5971 3 жыл бұрын
CC= E - N + P
@ProfessorSauvaje
@ProfessorSauvaje 3 жыл бұрын
why do you change languages? :))
@samiyasiddiqui1059
@samiyasiddiqui1059 3 жыл бұрын
so that everyone can understand😊
@MaheshAswale
@MaheshAswale Жыл бұрын
@@samiyasiddiqui1059 correct
@olakunlearowosegbe2921
@olakunlearowosegbe2921 Жыл бұрын
@SAMIYA SIDDIQUI how now
@morningstar2728
@morningstar2728 3 жыл бұрын
We solve the equation by bodmas method, so why you subtract first instead of adding?
@samiyasiddiqui1059
@samiyasiddiqui1059 3 жыл бұрын
you can do either addition first or subtraction as both r of same priority...its ur choice until or unless they r not in brackets(if brackets r there, then solve brackets first)...
@shamim_noyon
@shamim_noyon 3 жыл бұрын
i love u mam!!
@sagarbangade
@sagarbangade 2 жыл бұрын
1:08 😕 why you changed your language
@DriveDineExplore
@DriveDineExplore 3 жыл бұрын
I m liking this video
@samiyasiddiqui1059
@samiyasiddiqui1059 3 жыл бұрын
Thanks
@ManishChauhan-zo1uo
@ManishChauhan-zo1uo 2 жыл бұрын
13-10+2=5 lol
@matthayden1979
@matthayden1979 4 жыл бұрын
13-10+2=5? or it should be (13-10)+2=5?
@samiyasiddiqui1059
@samiyasiddiqui1059 4 жыл бұрын
both are correct ways. 13-10+2=(13-10)+2=13-(10-2)
@matthayden1979
@matthayden1979 4 жыл бұрын
@@samiyasiddiqui1059 There is something known as BODMAS rule. That doesn't apply here?
@uttejdesu8620
@uttejdesu8620 3 жыл бұрын
@@matthayden1979 it applies but its same ans in both ways since there is no * or / symbol here...
@uttejdesu8620
@uttejdesu8620 3 жыл бұрын
If that 2 Symbols are present..u may find the use of BODMAS rule
@matthayden1979
@matthayden1979 3 жыл бұрын
@@uttejdesu8620 ok thanks
@pak-china-girl376
@pak-china-girl376 2 жыл бұрын
42k views
@ahsan9669
@ahsan9669 3 жыл бұрын
Jo main cheez hai us pr vhe english ki line boldi jo har jaga likhi hai, WHAT IS P EXPLAIN
@samiyasiddiqui1059
@samiyasiddiqui1059 3 жыл бұрын
to find P, u can see the number of exit points or end nodes
@NitinSharma-qx4ff
@NitinSharma-qx4ff 3 ай бұрын
complaaaaaaaaaaaaaaxity used to meeeeezar complaaaaxity
@soumyasahu9742
@soumyasahu9742 3 жыл бұрын
should speak in hindi it would be much better
@AdityaSingh-xv4vb
@AdityaSingh-xv4vb Жыл бұрын
Accent 🙃🤧🤧
@gaziogamer
@gaziogamer 2 ай бұрын
annti panka cooler band karo awaj ari
@samiyasiddiqui1059
@samiyasiddiqui1059 17 күн бұрын
Ok beta
@subartachandra7581
@subartachandra7581 3 жыл бұрын
Please correct your pronunciation for complexity
@wedadiriba7372
@wedadiriba7372 2 ай бұрын
please use english beacuse worldwide student flow you
@stevekahungura5432
@stevekahungura5432 8 ай бұрын
Don't bother if you don't know hindi. Look for another channel
@showraveyay8709
@showraveyay8709 Жыл бұрын
Thanks
@Anishshivdikar
@Anishshivdikar 4 жыл бұрын
Thank you
@besunshine9172
@besunshine9172 5 жыл бұрын
thank you
Cyclomatic complexity and the impact on testing
3:10
iProcess Consulting
Рет қаралды 9 М.
Cyclomatic Complexity using four methods
13:42
KUNDRA CLASSES
Рет қаралды 16 М.
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 92 МЛН
OMG🤪 #tiktok #shorts #potapova_blog
00:50
Potapova_blog
Рет қаралды 18 МЛН
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 8 МЛН
Heartwarming: Stranger Saves Puppy from Hot Car #shorts
00:22
Fabiosa Best Lifehacks
Рет қаралды 18 МЛН
Question on Cyclomatic Complexity | Software Engg.
11:04
Gate Smashers
Рет қаралды 290 М.
SE 43 : Black Box Testing | Techniques with Examples
9:19
CS & IT Tutorials by Vrushali 👩‍🎓
Рет қаралды 69 М.
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 766 М.
Software Engineering- Basis path testing(White box testing type)
8:40
K.S Easy Solutions
Рет қаралды 59 М.
#19 C Arrays | C Programming For Beginners
13:27
Programiz
Рет қаралды 227 М.
Software Testing | Tutorial #1| Boundary Value Check (BVC)
8:15
Lec-28: What is Control Flow Graph | Basic Blocks
10:09
Gate Smashers
Рет қаралды 271 М.
Infix to Postfix | Expression evaluation | C-Programming | Gate Applied Course
19:20
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 92 МЛН