rastating/wordpress-exploit-framework

View on GitHub
lib/wpxf/wordpress/comments.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method _register_comment_options has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def _register_comment_options
    register_options([
      StringOption.new(
        name: 'comment_author',
        desc: 'The author name to use when posting a comment',
Severity: Minor
Found in lib/wpxf/wordpress/comments.rb - About 1 hr to fix

    Method post_wordpress_comment has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      def post_wordpress_comment(post_id, content, author, email, website)
    Severity: Minor
    Found in lib/wpxf/wordpress/comments.rb - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status