Showing 2 of 2 total issues
Class Buffer
has 49 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Buffer
# Constant for binary string encoding.
BINARY = "BINARY"
Method benchmark!
has 110 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def benchmark!
Benchmark.bm do |bench|
bench.report("Protocop::Buffer#write_boolean -->") do
1_000_000.times do |n|