Rating | Name | Duplication | Size | Complexity | CRAP |
---|---|---|---|---|---|
B | content_hash.__main__.main() | 0 | 31 | 5 | 30 |
A | content_hash.profiles.Profile.__init__() | 0 | 11 | 5 | 30 |
A | content_hash.__main__.handle_encode() | 0 | 9 | 2 | 6 |
A | content_hash.utils.raw_cid_value() | 0 | 3 | 1 | 2 |
A | content_hash.decodes.hex_multi_hash.decode() | 0 | 2 | 1 | 2 |
A | content_hash.profiles.get_profile() | 0 | 2 | 1 | 2 |
A | content_hash.encode() | 0 | 3 | 1 | 2 |
A | content_hash.decodes.get_decode() | 0 | 5 | 2 | 6 |
A | content_hash.get_codec() | 0 | 3 | 1 | 2 |
A | content_hash.__main__.handle_get_codec() | 0 | 8 | 2 | 6 |
A | content_hash.decodes.b58_multi_hash.decode() | 0 | 2 | 1 | 2 |
A | content_hash.profiles.Profile.encode() | 0 | 3 | 1 | 2 |
A | content_hash.decode() | 0 | 4 | 1 | 2 |
A | content_hash.__main__.handle_decode() | 0 | 8 | 2 | 6 |
A | content_hash.encodes.get_encode() | 0 | 5 | 2 | 6 |