dotnetomaniak.pl - Artykuły z tagiem static code analysis

Dzisiaj chciałbym podzielić się zestawem reguł, który w różnych projektach stosuję od lat. Pod to stworzyłem repozytorium https://github.com/kmorcinek/dotnet-tools-settings Korzystam ze StyleCopa od ładnych kilku lat. Jest to niezbędne narzędzie gdy stosuje się Code Review. Po prostu szkoda czasu i ludzkiej cierpliwości, żeby ręcznie wytykać komuś coś, co może wychwycić narzędzie.

[StyleCop] od jakiego zestawu reguł wystartować – Show me the code

Narzędzia 2039 dni, 19 godzin, 17 minut temu https://krzysztofmorcinek.w... 100 źrodło rozwiń

Static analysis is a powerful feature of Visual Studio that helps us to spot syntax and semantic errors in our code. It works very well on currently edited file and runs on the whole solution as one of the compilation stages. But it would be a waste of time to run compilation every time you make changes that affect code outside currently edited file, only to check that you didn't cause any compilation errors. Luckily, Resharper comes to the rescue with...

Źródło: demonbox.pl
Dziel się z innymi:
[EN] DemonBox - Hunt your bugs in design time

Narzędzia 3107 dni, 12 godzin, 43 minuty temu cezarypiatek 78 źrodło rozwiń

In 1994 Robert “Uncle Bob” Martin proposed a group of object-oriented metrics that are popular until now. Those metrics, unlike other object-oriented ones don’t represent the full set of attributes to assess individual object-oriented design, they only focus on the relationship between packages in the project.

[EN] Object-oriented metrics by Robert Martin | Future Processing

Inne 3403 dni, 18 godzin, 22 minuty temu FutureProcessing 183 źrodło rozwiń

One can ask why we need to think of CR practices at all. Review of code written by another team member can be done without any preparation or introduction. It is true, but there are some aspects that we need to think of. In my opinion, we especially need to support the following values:Quality – Code Review should be done in the same way, no matter if you are hurrying, bored or it’s your 3rd hour of doing CR,Motivation – team has to see value in Code Review, and this value shouldn’t be lost because of ne...

[EN] Yet Another Code Review Best Practices | Future Processing

Sztuka programowania 3578 dni, 11 godzin, 2 minuty temu FutureProcessing 188 źrodło rozwiń

There are a lot of aspects to be considered while developing real world applications. Maintainability, Understandability, Clarity, Dependency are just a few of them. We have to work hard to maintain our code and make it self-commenting, preserve it from cyclic dependencies between assemblies or simply, to provide its good quality. There are a lot of tools that may help to achieve these goals e.g. Sonar, ReSharper, JustCode or NDepend. This article explains how to analyse the quality of code with the use ...

Dziel się z innymi:
[EN] Analysing the quality of code with NDepend | Future Processing

Narzędzia 3702 dni, 19 godzin, 8 minut temu FutureProcessing 92 źrodło rozwiń