satya
Mon Apr 29 2024
find your rails code smells by using a gem called
then run
it will print the flog score for the all files that has score more than or equal to 10. Generally we should make sure flog score should be less than 10.
Note: The more the flog score , the more pain the code is in.
#rails #code-smells #flog
flog
. Flog finds the most tortured code in your codebase.
gem install flog
then run
flog app lib
it will print the flog score for the all files that has score more than or equal to 10. Generally we should make sure flog score should be less than 10.
Note: The more the flog score , the more pain the code is in.
#rails #code-smells #flog