NDepends on How Good Your Code Is

Topics covered
Popular Clips
Questions from this episode
- Asked by 18 people
Episode Highlights
Metrics & Refactoring
Metrics play a crucial role in guiding code refactoring, as discussed by Michael Outlaw. He highlights the potential of NDpend to integrate with source code history to identify problematic areas needing refactoring, especially by analyzing bug fix histories 1. Allen Underwood sees NDpend as invaluable for maintaining large codebases, offering snapshots of improvements and trends over time 2. This tool is particularly beneficial for those aiming to enhance code quality and maintainability, providing insights into code trends and areas for improvement 3.
  Â
Dependency Visualization
The dependency visualization features of NDpend offer profound insights into code structure. Allen Underwood describes the dependency matrix, which visually represents the relationships between namespaces, allowing users to explore dependencies without leaving the matrix view 4. Joe Zack appreciates the dynamic nature of the dependency graph, which provides detailed information on code components and their interconnections 5. This visualization aids developers in understanding complex codebases and identifying areas that require attention, enhancing overall code comprehension 6.
  Â
Cyclomatic Complexity
Cyclomatic complexity is a key metric in assessing code quality, as explained by Allen Underwood. He notes that NDpend's complexity reports highlight methods with high execution paths, indicating areas needing refactoring 7. Michael Outlaw finds these reports useful for prioritizing code improvements and justifying the time required for complex refactoring tasks 8. This feature helps developers manage code complexity effectively, ensuring maintainable and efficient codebases.
Related Episodes
ASP.NET 5 - It's Basically Java
Answers 383 questionsYou Asked For It
Answers 383 questionsClean Code - How to Write Amazing Functions
Answers 383 questionsHow to be a Programmer
Answers 383 questionsAll Your Database Are Belong to Us
Answers 383 questionsHow to be an Intermediate Programmer
Answers 383 questionsThe Twelve-Factor App: Codebase, Dependencies, and Config
Answers 383 questions

Clean Code - How to Build Maintainable Systems
Answers 383 questions

Clean Code - How to Write Classes the Right Way
Answers 383 questionsClean Code - Formatting Matters
Answers 383 questionsDesigning Data-Intensive Applications – Scalability
Answers 383 questionsCaching in the Application Framework
Answers 383 questionsHow to be an Advanced Programmer
Answers 383 questionsDesign Patterns Part 1
Answers 383 questionsDesign Patterns Part 3
Answers 383 questions
