ArtOfCode-/qpixel

View on GitHub
scripts/import/database_import.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method run has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def run
    # We only want questions and answers; nuke anything that isn't
    query "DELETE FROM #{table 'posts'} WHERE #{column 'post_type_id'} NOT IN (1, 2)"

    # Change post user IDs to SE account IDs so we can re-associate them with users later
Severity: Minor
Found in scripts/import/database_import.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status