rastating/wordpress-exploit-framework

View on GitHub
lib/wpxf/modules/exploit/xss/reflected/events_made_easy_reflected_xss_shell_upload.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Assignment Branch Condition size for form_fields is too high. [36/15]
Open

  def form_fields
    {
      'event_status' => [1, 2, 5].sample,
      'event_contactperson_id' => -1,
      'event_seats' => 0,

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 form_fields has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def form_fields
    {
      'event_status' => [1, 2, 5].sample,
      'event_contactperson_id' => -1,
      'event_seats' => 0,

    There are no issues that match your filters.

    Category
    Status