ndepend
DESCRIPTION
This presentation provides an introduction to the NDepend tool.TRANSCRIPT
![Page 1: NDepend](https://reader035.vdocuments.mx/reader035/viewer/2022062616/549540eab47959a1708b4606/html5/thumbnails/1.jpg)
For more information see www.bbd.co.za and www.drp.co.za
NDepend
![Page 2: NDepend](https://reader035.vdocuments.mx/reader035/viewer/2022062616/549540eab47959a1708b4606/html5/thumbnails/2.jpg)
Po
we
red
by A
TC
www.bbd.co.za
Introduction to NDepend .NET Tool
C++ and Java versions exist
Overture
![Page 3: NDepend](https://reader035.vdocuments.mx/reader035/viewer/2022062616/549540eab47959a1708b4606/html5/thumbnails/3.jpg)
Po
we
red
by A
TC
www.bbd.co.za
“Code is the truth”Unknown
“150-200 lines of code per hour”Karl Wiegers
Problem
![Page 4: NDepend](https://reader035.vdocuments.mx/reader035/viewer/2022062616/549540eab47959a1708b4606/html5/thumbnails/4.jpg)
Po
we
red
by A
TC
www.bbd.co.za
mojoPortalwww.mojoPortal.comOpen source C# CMS74166 lines of code
Just over a year to review the entire system!
Demo Code
![Page 5: NDepend](https://reader035.vdocuments.mx/reader035/viewer/2022062616/549540eab47959a1708b4606/html5/thumbnails/5.jpg)
Po
we
red
by A
TC
www.bbd.co.za
Just a software issue?Executives
Regional Heads
N. America
USA
East
Central
West
Canada
S. America MEA
WECA
S. Africa
Middle East
Europe Asia
Division Heads
Platform & Tools
Windows
Client
Server
Live Visual Studio
IDE
Languages
VSTS
Business
Dynamics
Office
SharePoint
Entertainment & Devices
Xbox
Mobile
Board of Directors
* Just a mock of the Microsoft structure
![Page 6: NDepend](https://reader035.vdocuments.mx/reader035/viewer/2022062616/549540eab47959a1708b4606/html5/thumbnails/6.jpg)
Po
we
red
by A
TC
www.bbd.co.za
Business Intelligence
How do they solve it?
![Page 7: NDepend](https://reader035.vdocuments.mx/reader035/viewer/2022062616/549540eab47959a1708b4606/html5/thumbnails/7.jpg)
Po
we
red
by A
TC
www.bbd.co.za
Business Intelligence
How do they solve it?
Code
![Page 8: NDepend](https://reader035.vdocuments.mx/reader035/viewer/2022062616/549540eab47959a1708b4606/html5/thumbnails/8.jpg)
Po
we
red
by A
TC
www.bbd.co.za
Gives us all the usual BI terms for code: Single version of the truthHighlight hot spotsDrill down
NDepend
![Page 9: NDepend](https://reader035.vdocuments.mx/reader035/viewer/2022062616/549540eab47959a1708b4606/html5/thumbnails/9.jpg)
Po
we
red
by A
TC
www.bbd.co.za
Code Query LanguageSELECT METHODS WHERE NbLinesOfCode > 30 AND IsPublicSELECT TYPES WHERE IsClass AND Implements “System.Idisposable”SELECT METHODS WHERE CodeWasChanged AND PercentageCoverage < 100
Spec: http://www.ndepend.com/CQL.htm
CQL
![Page 10: NDepend](https://reader035.vdocuments.mx/reader035/viewer/2022062616/549540eab47959a1708b4606/html5/thumbnails/10.jpg)
Po
we
red
by A
TC
www.bbd.co.za
Afferant Coupling Efferent Coupling LOCM
Brain melt stuff
![Page 11: NDepend](https://reader035.vdocuments.mx/reader035/viewer/2022062616/549540eab47959a1708b4606/html5/thumbnails/11.jpg)
Po
we
red
by A
TC
www.bbd.co.za
DEMO
![Page 12: NDepend](https://reader035.vdocuments.mx/reader035/viewer/2022062616/549540eab47959a1708b4606/html5/thumbnails/12.jpg)
Po
we
red
by A
TC
www.bbd.co.za
Q&A