Showing 7 of 10 total issues
Class App
has 39 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Mumuki::Classroom::App < Sinatra::Application
configure do
enable :cross_origin
set :allow_methods, [:get, :put, :post, :options, :delete]
set :show_exceptions, false
Class App
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Mumuki::Classroom::App < Sinatra::Application
Mumukit::Platform.map_organization_routes!(self) do
namespace '/api/courses/:course/massive' do
Class Assignment
has 22 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Mumuki::Classroom::Assignment < Mumuki::Classroom::Document
include Mongoid::Timestamps
field :guide, type: Hash
field :student, type: Hash
Method massive_response
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def massive_response(processed, unprocessed, errored, errored_msg, hash = {})
Method pipeline
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.pipeline(query, sorting, ordering, searching, projection)
Method aggregate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.aggregate(collection, query, paginated_params, query_params, projection)
Method build_pipeline
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.build_pipeline(collection, query, paginated_params, query_params, projection)