Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.
You point flog to a file, or directory, and it provides you with a score. The higher the score, the more attention you might want to pay to it. As for how flog calculates the number, I'll let flog summarize itself again:
The reference for writing fantastic Rails applications
So, bigger is worse, but how big is bad? At what number should you take action? Thoughtbot's Ruby Science book suggests a method is long or complex with a flog score above 10. It also posits that a class is long or complex with a flog score above 50.
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Master JS - The quickest way possible
2 projects | /r/webdev | 21 Sep 2023
awesome-systematic-trading: NEW Alternative Finance - star count:1249.0
1 project | /r/algoprojects | 19 Sep 2023
From Python to Rust - Notes from a simple rust starter project
1 project | dev.to | 10 Sep 2023
Node.js is way faster than you think ft. Bun, Rust
1 project | /r/ThePrimeagenReact | 9 Sep 2023
Writing your own CLI in rust
4 projects | dev.to | 5 Sep 2023