Repository navigation
v0.8.0
Splitting code into units was rebuilt together with language parsers.
See the new README section "How code is split into units" for current logic.
Impact
- The database schema was updated, so an old
slopo.dbshould be removed. - Multiple changes affected results, so now they are different.
- Some configuration properties and default values were changed.
- Forks with custom additional languages may need to reimplement them to follow the new convention. Parsers are more complex because they extract more with higher precision.
Main changes
- Code blocks inside conditionals, loops, etc. are extracted.
- The function signature is excluded from a code being compared.
- Code parser tests were rebuilt. Now they are stronger, cleaner and can act as documentation.
- Separate threshold configurations for the
analyzeandreviewcommands. - Default
body_node_count_thresholdwas increased 2x.