When QualityAssistant Meets Pharo: Enforced Code Critiques Motivate More Valuable Rules
1. @yuriy_tymchuk
When QualityAssistant Meets Pharo
Enforced Code Critiques Motivate
More Valuable Rules
, Mohammad Ghafari, Oscar Nierstrasz
Software Composition Group @ University of Bern
31. Removed
Probably missing ‘; yourself’
Non-blocks in special messages
References an abstract class
size = 1 ifTrue: ’:’ ifFalse: ’s:’
32. Removed
Probably missing ‘; yourself’
Non-blocks in special messages
References an abstract class
String new
size = 1 ifTrue: ’:’ ifFalse: ’s:’
33. Removed
Probably missing ‘; yourself’
Non-blocks in special messages
References an abstract class
String new
size = 1 ifTrue: ’:’ ifFalse: ’s:’
Educational
43. Added
b := RTMondrian new.
b edges connectFrom: #superclass.
b nodes: RTShape withAllSubclasses.
44. Added
b := RTMondrian new.
b edges connectFrom: #superclass.
b nodes: RTShape withAllSubclasses.
b := RTMondrian new.
b edges connectFrom: #superclass.
b nodes: RTShape withAllSubclasses.
45. Added
b := RTMondrian new.
b edges connectFrom: #superclass.
b nodes: RTShape withAllSubclasses.
Invocation order
b := RTMondrian new.
b edges connectFrom: #superclass.
b nodes: RTShape withAllSubclasses.
46. Added
b := RTMondrian new.
b edges connectFrom: #superclass.
b nodes: RTShape withAllSubclasses.
Recipe:
initialize
super initialize.
self add: #edges requiresPreSend: #nodes:.
Invocation Order
b := RTMondrian new.
b edges connectFrom: #superclass.
b nodes: RTShape withAllSubclasses.
65. @yuriy_tymchuk
When QualityAssistant Meets Pharo
Enforced Code Critiques Motivate
More Valuable Rules
, Mohammad Ghafari, Oscar Nierstrasz
Software Composition Group @ University of Bern
66. @yuriy_tymchuk
When QualityAssistant Meets Pharo
Enforced Code Critiques Motivate
More Valuable Rules
, Mohammad Ghafari, Oscar Nierstrasz
Software Composition Group @ University of Bern
Important
Fixes
67. @yuriy_tymchuk
When QualityAssistant Meets Pharo
Enforced Code Critiques Motivate
More Valuable Rules
, Mohammad Ghafari, Oscar Nierstrasz
Software Composition Group @ University of Bern
Important
Fixes
Educational
Rules Removed
68. @yuriy_tymchuk
When QualityAssistant Meets Pharo
Enforced Code Critiques Motivate
More Valuable Rules
, Mohammad Ghafari, Oscar Nierstrasz
Software Composition Group @ University of Bern
Important
Fixes
Educational
Rules Removed
Domain Rules
Added
69. @yuriy_tymchuk
When QualityAssistant Meets Pharo
Enforced Code Critiques Motivate
More Valuable Rules
, Mohammad Ghafari, Oscar Nierstrasz
Software Composition Group @ University of Bern
Important
Fixes
Educational
Rules Removed
Domain Rules
Added
Migration
70. @yuriy_tymchuk
When QualityAssistant Meets Pharo
Enforced Code Critiques Motivate
More Valuable Rules
, Mohammad Ghafari, Oscar Nierstrasz
Software Composition Group @ University of Bern
Important
Fixes
Educational
Rules Removed
Domain Rules
Added
Migration
Private access
71. @yuriy_tymchuk
When QualityAssistant Meets Pharo
Enforced Code Critiques Motivate
More Valuable Rules
, Mohammad Ghafari, Oscar Nierstrasz
Software Composition Group @ University of Bern
Important
Fixes
Educational
Rules Removed
Domain Rules
Added
Migration
Private access
Invocation order
72. @yuriy_tymchuk
When QualityAssistant Meets Pharo
Enforced Code Critiques Motivate
More Valuable Rules
, Mohammad Ghafari, Oscar Nierstrasz
Software Composition Group @ University of Bern
Important
Fixes
Educational
Rules Removed
Domain Rules
Added
Migration
Private access
Invocation order
Class structure
73. @yuriy_tymchuk
When QualityAssistant Meets Pharo
Enforced Code Critiques Motivate
More Valuable Rules
, Mohammad Ghafari, Oscar Nierstrasz
Software Composition Group @ University of Bern
Important
Fixes
Educational
Rules Removed
Domain Rules
Added
Migration
Private access
Invocation order
Class structure
Lazy evaluation