Upload
robert-maclean
View
1.540
Download
0
Tags:
Embed Size (px)
DESCRIPTION
This presentation provides an introduction to the NDepend tool.
Citation preview
For more information see www.bbd.co.za and www.drp.co.za
NDepend
Po
we
red
by A
TC
www.bbd.co.za
Introduction to NDepend .NET Tool
C++ and Java versions exist
Overture
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
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
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
Po
we
red
by A
TC
www.bbd.co.za
Business Intelligence
How do they solve it?
Po
we
red
by A
TC
www.bbd.co.za
Business Intelligence
How do they solve it?
Code
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
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
Po
we
red
by A
TC
www.bbd.co.za
Afferant Coupling Efferent Coupling LOCM
Brain melt stuff
Po
we
red
by A
TC
www.bbd.co.za
DEMO
Po
we
red
by A
TC
www.bbd.co.za
Q&A