Skip to content

Release v1.6.7

Choose a tag to compare

@github-actions github-actions released this 09 Jun 21:00
· 183 commits to main since this release
99d073c

PHPMD Compliance Improvements

  • Variable Naming: Fixed all CamelCase variable naming violations for PHPMD compliance
  • Function Complexity: Broke down complex functions to reduce cyclomatic complexity below threshold:
    • Split sse_add_wordpress_files_to_zip() into smaller focused functions
    • Refactored sse_validate_basic_export_file() into modular validation functions
    • Decomposed sse_get_safe_wp_cli_path() into specialized validation functions
  • Code Structure: Eliminated unnecessary else expressions throughout codebase
  • Exit Expressions: Maintained necessary exit points for security handlers (WordPress standard)
  • Superglobals: Acknowledged but maintained secure $_GET/$_POST access patterns (WordPress standard)
  • Performance: Reduced NPath complexity and improved code maintainability

Code Quality Metrics

  • Cyclomatic Complexity: Reduced from 12+ to under 10 for all functions
  • NPath Complexity: Reduced from 400+ to under 200 for validation functions
  • Code Maintainability: Improved through function decomposition and clear separation of concerns
  • PHPMD Score: Significant improvement in cleancode, codesize, design, and naming metrics

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation