Block has too many lines. [77/25] Open
describe 'peer review testing' do
before(:each) do
create(:assignment, name: 'TestAssignment', directory_path: 'test_assignment')
create_list(:participant, 3)
create(:assignment_node)
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.
Assignment Branch Condition size for load_questionnaire is too high. [26/15] Open
def load_questionnaire
login_as('student2064')
expect(page).to have_content 'User: student2064'
expect(page).to have_content 'TestAssignment'
- Read upRead up
- Exclude checks
This cop checks that the ABC size of methods is not higher than the configured maximum. The ABC size is based on assignments, branches (method calls), and conditions. See http://c2.com/cgi/wiki?AbcMetric
Method has too many lines. [11/10] Open
def load_questionnaire
login_as('student2064')
expect(page).to have_content 'User: student2064'
expect(page).to have_content 'TestAssignment'
- Read upRead up
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.
Block has too many lines. [26/25] Open
before(:each) do
create(:assignment, name: 'TestAssignment', directory_path: 'test_assignment')
create_list(:participant, 3)
create(:assignment_node)
create(:deadline_type, name: 'submission')
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.