Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Nove métricas de qualidade para você controlar ...
Search
Alberto Luiz Souza
October 01, 2023
70
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Nove métricas de qualidade para você controlar a complexidade do código
Alberto Luiz Souza
October 01, 2023
Transcript
17 slides
NOVE MÉTRICAS DE QUALIDADE PARA VOCÊ ACOMPANHAR
COUPLING BETWEEN OBJECTS + NUMBER OF FIELDS + NUMBER OF
METHODS
ALERTA DE RESPONSABILIDADE
FAN-IN
SERÁ QUE MUITA GENTE DEPENDE DE MIM? MAIS UM ALERTA
DE EXAGERO DE RESPONSABILIDADE
NUMBER OF CHILDREN(NOC)
PODE TE DIZER O QUÃO ARRISCADO É MEXER NESSA CLASSE
RFC(RESPONSE FOR A CLASS)
SERÁ QUE VOCÊ ESTÁ DEPENDENDO DE MUITAS COMPORTAMENTOS DE OUTRA
CLASSE? VAZOU ENCAPSULAMENTO?
SE VOCÊ DEPENDE MUITO POUCO DA OUTRA CLASSE, SERÁ QUE
NÃO DÁ PARA APLICAR UM ISP PARA MELHORAR TESTABILIDADE?
WMC (WEIGHT METHOD CLASS)
A SUPOSIÇÃO É QUE DIFICULTA O ENTENDIMENTO DO CÓDIGO... AO
MESMO TEMPO PODE SER APENAS PARTE DA LÓGICA...
LOC
CORRELAÇÃO COM COMPLEXIDADE... DIFICILMENTE UM ARQUIVO COM MUITAS LINHAS NÃO
VAI TER OS PIORES NÚMEROS
LCOM
MEDIDA DE COESÃO. QUANTO MELHOR AQUI, TEORICAMENTE, MAIS TESTÁVEL É
SEU SOFTWARE, MAIS SENTIDO TEM A CLASSE ETC
QUANTAS EU USO PARA ACOMPANHAR A COMPLEXIDADE?
More Decks by Alberto Luiz Souza
See All by Alberto Luiz Souza
Os três pilares para escrever código de excelente qualidade
asouza
1
55
O impacto da qualidade do código em empresas e carreiras
asouza
0
72
Escrevo o código em inglês, português, Chinês ou tudo misturado?
asouza
0
54
DDD: benefícios e pontos de atenção com bounded contexts
asouza
0
84
Curso de DDD: A importância da construção e evolução da Linguagem Ubíqua
asouza
0
120
Medir não é suficiente para controlar complexidade, é necessário uma forma de avaliar
asouza
1
100
O mito da zona de conforto
asouza
4
250
Teoria da aprendizagem e design de código
asouza
3
410
Featured
See All Featured
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
610
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
340
Claude Code のすすめ
schroneko
67
230k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
990
Optimising Largest Contentful Paint
csswizardry
37
4k
Ethics towards AI in product and experience design
skipperchong
2
470
Producing Creativity
orderedlist
PRO
348
41k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
BBQ
matthewcrist
90
10k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
6
940
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k