π Hi, Iβm @koviubi56
π« Contact me using Keybase or with email
Peer to peer socket network
License: GNU Lesser General Public License v3.0
π Hi, Iβm @koviubi56
π« Contact me using Keybase or with email
β Β Merging this PR will decrease code quality in the affected files by 2.19%.
Quality metrics | Before | After | Change |
---|---|---|---|
Complexity | 4.76 β | 5.77 β | 1.01 π |
Method Length | 63.96 π | 63.31 π | -0.65 π |
Working memory | 7.73 π | 8.02 π | 0.29 π |
Quality | 67.69% π | 65.50% π | -2.19% π |
Other metrics | Before | After | Change |
---|---|---|---|
Lines | 594 | 692 | 98 |
Changed files | Quality Before | Quality After | Quality Change |
---|---|---|---|
src/p2sn/init.py | 65.59% π | 63.52% π | -2.07% π |
tests/test_p2sn.py | 94.41% β | 93.68% β | -0.73% π |
Here are some functions in these files that still need a tune-up:
File | Function | Complexity | Length | Working Memory | Quality | Recommendation |
---|---|---|---|---|---|---|
src/p2sn/init.py | Server._handle | 18 π | 191 π | 13 π | 37.48% π | Try splitting into smaller methods. Extract out complex expressions |
src/p2sn/init.py | Server._handle_pubkey | 5 β | 227 β | 12 π | 47.97% π | Try splitting into smaller methods. Extract out complex expressions |
src/p2sn/init.py | Client.init | 5 β | 291 β | 7 π | 55.17% π | Try splitting into smaller methods |
src/p2sn/init.py | Request.__init__ | 10 π | 134 π | 9 π | 57.04% π | Try splitting into smaller methods |
src/p2sn/init.py | Server._recv_msg | 7 β | 137 π | 9 π | 59.51% π | Try splitting into smaller methods |
The emojis denote the absolute quality of the code:
The π and π indicate whether the quality has improved or gotten worse with this pull request.
Please see our documentation here for details on how these metrics are calculated.
We are actively working on this report - lots more documentation and extra metrics to come!
Help us improve this quality report!
Originally posted by @sourcery-ai[bot] in #5 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.