dotnetomaniak.pl - Artykuły z tagiem static-code-analysisdotnetomaniak.pl - Artykuły z tagiem static-code-analysis2024-03-29T09:27:37Zhttps://dotnetomaniak.pl/Tags/static-code-analysisCopyright (c) dotnetomaniak.pldotnetomaniak.pl Atom Generatordotnetomaniak.pl webmasteradmin@dotnetomaniak.plhttps://dotnetomaniak.pl/Assets/Images/fav.icohttps://dotnetomaniak.pl/Assets/Images/dotnetomaniak_logo-negatyw_small.png5025https://dotnetomaniak.pl/StyleCop-od-jakiego-zestawu-regul-wystartowac-Show-me-the-code[StyleCop] od jakiego zestawu reguł wystartować – Show me the code2019-04-09T10:00:33Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_8msRaIRoakuLzUR7aKtklA.png"/></div><div>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.</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/StyleCop-od-jakiego-zestawu-regul-wystartowac-Show-me-the-code"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fkrzysztofmorcinek.wordpress.com%2f2019%2f04%2f09%2fstylecop-od-jakiego-zestawu-regul-wystartowac%2f" style="border:0px"/></a></div></div>https://krzysztofmorcinek.wordpress.com/https://dotnetomaniak.pl/Users/IllqPwOuB0Saw6IEhk9-aQ2019-04-10T06:22:41Zhttps://dotnetomaniak.pl/StyleCop-od-jakiego-zestawu-regul-wystartowac-Show-me-the-code4970Dzisiaj 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.https://krzysztofmorcinek.wordpress.com/2019/04/09/stylecop-od-jakiego-zestawu-regul-wystartowac/http://dotnetomaniak.pl/Data/Thumbnails/small_8msRaIRoakuLzUR7aKtklA.pnghttps://dotnetomaniak.pl/DemonBox-Hunt-your-bugs-in-design-time[EN] DemonBox - Hunt your bugs in design time2016-05-03T14:43:16Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_b8PD2-Yr1UuBRYWOFJXrSA.png"/></div><div>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...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/DemonBox-Hunt-your-bugs-in-design-time"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=http%3a%2f%2fdemonbox.pl%2fhunt-your-bugs-in-design-time" style="border:0px"/></a></div></div>cezarypiatekhttps://dotnetomaniak.pl/Users/OxvLOFvDMk2cm_fdr4hd-Q2016-05-07T12:56:17Zhttps://dotnetomaniak.pl/DemonBox-Hunt-your-bugs-in-design-time1760Static 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...http://demonbox.pl/hunt-your-bugs-in-design-timehttp://dotnetomaniak.pl/Data/Thumbnails/small_b8PD2-Yr1UuBRYWOFJXrSA.pnghttps://dotnetomaniak.pl/Object-oriented-metrics-by-Robert-Martin-Future-Processing[EN] Object-oriented metrics by Robert Martin | Future Processing2015-07-07T07:41:44Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_Viv8aLQzOUG8LzKqG8RqdQ.png"/></div><div>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.</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Object-oriented-metrics-by-Robert-Martin-Future-Processing"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=http%3a%2f%2fwww.future-processing.pl%2fblog%2fobject-oriented-metrics-by-robert-martin%2f" style="border:0px"/></a></div></div>FutureProcessinghttps://dotnetomaniak.pl/Users/qF1OiEOjOkOlFWP9r9AHQA2015-07-16T07:16:53Zhttps://dotnetomaniak.pl/Object-oriented-metrics-by-Robert-Martin-Future-Processing11830In 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.http://www.future-processing.pl/blog/object-oriented-metrics-by-robert-martin/http://dotnetomaniak.pl/Data/Thumbnails/small_Viv8aLQzOUG8LzKqG8RqdQ.pnghttps://dotnetomaniak.pl/Yet-Another-Code-Review-Best-Practices-Future-Processing[EN] Yet Another Code Review Best Practices | Future Processing2015-01-14T13:34:33Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_M3_UTTR-0kqVkuBoUChDPg.png"/></div><div>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...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Yet-Another-Code-Review-Best-Practices-Future-Processing"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=http%3a%2f%2fwww.future-processing.pl%2fblog%2fanother-code-review-best-practices%2f" style="border:0px"/></a></div></div>FutureProcessinghttps://dotnetomaniak.pl/Users/qF1OiEOjOkOlFWP9r9AHQA2015-01-22T14:37:49Zhttps://dotnetomaniak.pl/Yet-Another-Code-Review-Best-Practices-Future-Processing11870One 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...http://www.future-processing.pl/blog/another-code-review-best-practices/http://dotnetomaniak.pl/Data/Thumbnails/small_M3_UTTR-0kqVkuBoUChDPg.pnghttps://dotnetomaniak.pl/Analysing-the-quality-of-code-with-NDepend-Future-Processing[EN] Analysing the quality of code with NDepend | Future Processing2014-09-11T12:36:37Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_s63xXqjhWkG8baYc6vrC1A.png"/></div><div>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 of NDepend.</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Analysing-the-quality-of-code-with-NDepend-Future-Processing"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=http%3a%2f%2fwww.future-processing.pl%2fanalysing-the-quality-of-code-with-ndepend%2f" style="border:0px"/></a></div></div>FutureProcessinghttps://dotnetomaniak.pl/Users/qF1OiEOjOkOlFWP9r9AHQA2014-09-20T06:30:52Zhttps://dotnetomaniak.pl/Analysing-the-quality-of-code-with-NDepend-Future-Processing1910There 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 of NDepend.http://www.future-processing.pl/analysing-the-quality-of-code-with-ndepend/http://dotnetomaniak.pl/Data/Thumbnails/small_s63xXqjhWkG8baYc6vrC1A.png