Patrick Smacchia [MVP C#]

Patrick Smacchia [MVP C#]

Sponsors

The Lounge

Advertisement

  • Fighting Fabricated Complexity

    Normal 0 21 false false false FR X-NONE X-NONE During my interview on Code Metrics by Scott Hanselman’s on Software Metrics , Scott had a particularly relevant remark. Basically, while I was explaining that long and complex methods are killing quality and should be split into smaller methods, Scott...
  • Agile Behavior: Nurture Knowledge Database

    Normal 0 false false false EN-US X-NONE X-NONE Code Query Language (CQL) can be used to write all sorts of code convention. I’ve described some CQL range of usage , and as an illustration I also exposed some CQL rules dedicated to the .NET Framework usage . We discovered a weird issue in our last...
  • CppDepend Beta now available

    Normal 0 21 false false false FR X-NONE X-NONE A few months ago I was happy to announce the Java version of NDepend: XDepend . Actually a third brother was under development and today, I am glad to announce CppDepend , aka NDepend for C++. A beta version is freely downloadable . You can use it right...
  • I love 100% coverage!

    Last week I wrote a post about non-trivial reasons why 100% coverage is useful anyway. Yesterday, my quest for 100% coverage saved me one more time from some code written too quickly. Code written too quickly, not 100% covered: Code fixed 100% covered: I am not sure that a proper code review would have...
  • High Test Coverage Ratio is a good thing, Anyway!

    Normal 0 21 false false false FR X-NONE X-NONE I heard several times that high test coverage ratio, and ultimately 100% test coverage, is an illusion of quality . The underlying reason is that when a portion of code is executed by tests , it doesn’t mean that the validity of the results produced...
  • Analyze and explore the evolution of .NET Framework by yourself

    Normal 0 21 false false false FR X-NONE X-NONE I got some requests from NDepend users that wish to… Analyze the .NET Framework code base Compare .NET Framework versions …by themselves, as I did for .NET Fx v4.0 beta1 and .NET Fx 3.5 SP1 . For example David Morton recently compared with...
  • Interviewed by Scott Hanselman on Software Metrics

    I had the chance to discuss Software Metrics with Scott Hanselman. You can find the Scott's post here and download the whole mp3 file here (35 minutes, 25.1 MB). I think that Scott's intentions is to show that Software Metrics is something that can help real-world developers. It is an opportunity...
  • A quick analyze of the .NET Fx v4.0 Beta1

    Normal 0 21 false false false FR X-NONE X-NONE Let’s have a look to see what the tool NDepend shows when comparing .NET Fx v4.0 beta1 assemblies with v3.5 SP1 ones. I will use a few CQL Queries to get fact from the code base of the Framework. A view of the work achieved SELECT METHODS WHERE CodeWasChanged...
  • Book Review: Code Leader by Patrick Cauldwell (+ a digression on contracts)

    I remember when, about a decade ago, I was for the first time the lead developer of a team. It was really exciting to be in charge of an entire application, with the unique chance to start it from scratch. With the experience I got within the last years, now I can see that what I was missing the most...
  • Calling private methods from Unit Tests

    A classical problem with unit tests is the need for calling non-public methods of the code to test. Indeed, we generally prefer isolating unit tests code in dedicated tests assemblies. And non-public code cannot be called from outer assemblies. We can distinguish between internal and private methods...
  • Can we avoid tooling to prevent spaghetti code?

    Normal 0 21 false false false FR X-NONE X-NONE Recently, Jeremy D. Miller wrote on twitter : I still think NDepend is more important in strange codebases. I know where the coupling pain points are in my own code. I read Jeremy’s blog and think it is an excellent point to improve developer skills...
  • The big picture of the SharpDevelop code base

    I wanted to see what NDepend had to say about the code of SharpDevelop 3.0 . SharpDevelop is an Integrated Development Environment (IDE) for C#, VB.NET and Boo projects. It is compatible with VisualStudio 2008 project and solution files. You can then easily switch from VisualStudio to SharpDevelop forth...
  • NDepend and the quality of the Cruise Control .NET code base

    A few weeks ago, I used NDepend to analyze the CruiseControl .NET code base and see what kind of good things and flaws could be spotted. Analyzing the code base of CruiseControl.NET . Hopefully, for the CC.NET team leaded by Craig Sutherland , it was an opportunity to discover how NDepend could help...
  • Do we need Micro-Optimization?

    I just posted some micro-optimization tricks I found efficient and I got the following question: Khaja Minhajuddin Great article and very good tips. However, do you think we really need to invest our time in micro optimizations when throwing some more memory and CPU cycles would have the same effect...
  • Micro- optimization tips to increase performance

    In a previous post Lesson learned from a real-world focus on performance , I explained how we increased the NDepend static analysis process performances with a 4 factor. The post quantified performance gain, and interestingly enough 25% came from micro-optimizations. Basically the lesson learned was...
1 2 3 4 5 Next > ... Last »