74% export-simple-301-redirects-to-csv

Code Review | Export Simple 301 Redirects to CSV

WordPress plugin Export Simple 301 Redirects to CSV scored74%from 54 tests.

About plugin

  • Plugin page: export-simple-301...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3.1-4.3.1
  • WordPress version: 6.3.1
  • First release: Dec 8, 2015
  • Latest release: Dec 9, 2015
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: noblestudios (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

60+ active /2,749 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.91MB] [CPU: ▼34.83ms] Passed 4 tests

Server-side resources used by Export Simple 301 Redirects to CSV
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0139.90 ▼8.04
Dashboard /wp-admin3.04 ▼0.2728.21 ▼28.41
Posts /wp-admin/edit.php3.04 ▼0.3229.03 ▼21.88
Add New Post /wp-admin/post-new.php3.04 ▼2.8526.46 ▼76.56
Media Library /wp-admin/upload.php3.04 ▼0.2027.16 ▼12.45

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] 67% from 3 tests

Filesystem and database footprint
Please try to fix the following items
  • Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/export-simple-301-redirects-to-csv/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Export Simple 301 Redirects to CSV
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲2914.80 ▲0.431.93 ▼0.2042.76 ▼2.76
Dashboard /wp-admin2,218 ▲155.83 ▼0.0198.62 ▲0.0141.06 ▲3.99
Posts /wp-admin/edit.php2,100 ▼02.00 ▼0.0239.76 ▲3.9235.46 ▲1.38
Add New Post /wp-admin/post-new.php1,526 ▼1917.87 ▼5.41645.32 ▼83.8264.98 ▼3.20
Media Library /wp-admin/upload.php1,400 ▲34.21 ▼0.0095.83 ▼42.9545.50 ▼15.17

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • Uninstall procedure validation failed for this plugin
    • > Notice in wp-content/plugins/export-simple-301-redirects-to-csv/export-simple-301-redirects-to-csv.php+59
    Undefined index: export-simple-301-redirects
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function WordPress\\Plugins\obleStudios\\ExportSimpe301Redirects\\add_filter() in wp-content/plugins/export-simple-301-redirects-to-csv/export-simple-301-redirects-to-csv.php:21

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: csv, export, redirects

export-simple-301-redirects-to-csv/export-simple-301-redirects-to-csv.php Passed 13 tests

The main file in "Export Simple 301 Redirects to CSV" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
66 characters long description:
Exports the contents of Simple 301 Redirects plugin to a CSV file.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin47 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP192134
Markdown28013

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin