84% seo-editor

Code Review | SEO Editor

WordPress plugin SEO Editor scored84%from 54 tests.

About plugin

  • Plugin page: seo-editor
  • Plugin version: 1.0.7
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.4
  • WordPress version: 6.3.1
  • First release: Apr 13, 2015
  • Latest release: Apr 6, 2020
  • Number of updates: 35
  • Update frequency: every 52.1 days
  • Top authors: wetpaintweb (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

600+ active /10,503 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.13MB] [CPU: ▼0.35ms] Passed 4 tests

Analyzing server-side resources used by SEO Editor
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1436.74 ▼9.15
Dashboard /wp-admin3.43 ▲0.1353.52 ▲1.40
Posts /wp-admin/edit.php3.55 ▲0.1951.52 ▲3.13
Add New Post /wp-admin/post-new.php6.01 ▲0.1391.62 ▲3.23
Media Library /wp-admin/upload.php3.36 ▲0.1337.82 ▲3.69

Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for SEO Editor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.32 ▼0.851.82 ▲0.1944.69 ▲0.18
Dashboard /wp-admin2,206 ▲184.84 ▼0.10104.91 ▼15.9842.23 ▼4.37
Posts /wp-admin/edit.php2,089 ▼02.04 ▼0.0137.18 ▼1.2933.87 ▼4.18
Add New Post /wp-admin/post-new.php1,533 ▼1323.22 ▲5.00651.51 ▼17.2055.68 ▼5.80
Media Library /wp-admin/upload.php1,385 ▼04.22 ▲0.0293.99 ▼7.7242.46 ▼3.86

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/seo-editor/admin/class-seo-editor-taxonomy-editor.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/seo-editor/admin/class-seo-editor-post-editor.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/seo-editor/admin/class-seo-editor-user-editor.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: seo bulk editor, seo editor, seo

seo-editor/seo-editor.php Passed 13 tests

The entry point to "SEO Editor" version 1.0.7 is a PHP file that has certain tags in its header comment area
35 characters long description:
Edit SEO data in bulk to save time.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,902 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP116021,1301,670
JavaScript14661161
CSS1261871

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity30.88
▷ Minimum class complexity1.00
▷ Maximum class complexity88.00
Average method complexity3.30
▷ Minimum method complexity1.00
▷ Maximum method complexity30.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods104
▷ Static methods43.85%
▷ Public methods7673.08%
▷ Protected methods2423.08%
▷ Private methods43.85%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin