84% orbisius-seo-editor

Code Review | Orbisius SEO Editor

WordPress plugin Orbisius SEO Editor scored84%from 54 tests.

About plugin

  • Plugin page: orbisius-seo-editor
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1
  • WordPress version: 6.3.1
  • First release: Dec 8, 2022
  • Latest release: Feb 15, 2023
  • Number of updates: 7
  • Update frequency: every 9.9 days
  • Top authors: lordspace (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /588 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

This is a short check of server-side resources used by Orbisius SEO Editor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.23 ▼7.33
Dashboard /wp-admin3.83 ▲0.4852.27 ▼10.22
Posts /wp-admin/edit.php3.88 ▲0.5253.59 ▲6.56
Add New Post /wp-admin/post-new.php6.36 ▲0.4886.63 ▼9.64
Media Library /wp-admin/upload.php3.69 ▲0.4641.43 ▲3.55
Orbisius SEO Editor /wp-admin/tools.php?page=orbisius_seo_editor_action_page3.8739.46
Orbisius SEO Editor /wp-admin/options-general.php?page=orbisius-seo-editor/orbisius-seo-editor.php3.7939.71

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Orbisius SEO Editor
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,862 ▲11613.49 ▼1.261.83 ▼0.3241.59 ▼2.68
Dashboard /wp-admin2,240 ▲615.06 ▼0.79106.93 ▼0.6938.78 ▼3.28
Posts /wp-admin/edit.php2,126 ▲372.55 ▲0.4241.59 ▲5.0634.81 ▲3.84
Add New Post /wp-admin/post-new.php1,543 ▲1523.39 ▲4.83671.80 ▲67.9162.28 ▲7.49
Media Library /wp-admin/upload.php1,419 ▲284.52 ▲0.3299.62 ▼0.5343.40 ▼5.48
Orbisius SEO Editor /wp-admin/tools.php?page=orbisius_seo_editor_action_page1,7804.32106.6441.63
Orbisius SEO Editor /wp-admin/options-general.php?page=orbisius-seo-editor/orbisius-seo-editor.php1,91911.27402.0475.87

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 9× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/orbisius-seo-editor/admin/tabs/support.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'Orbisius_SEO_Editor_Plugin_Addon_wpseo' not found in wp-content/plugins/orbisius-seo-editor/admin/addons/wp_seo.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Orbisius_SEO_Editor_Plugin_Addon_autodescription' not found in wp-content/plugins/orbisius-seo-editor/admin/addons/autodescription.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Orbisius_SEO_Editor_Request' not found in wp-content/plugins/orbisius-seo-editor/admin/tabs/import.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Orbisius_SEO_Editor_Plugin_Addon_rank_math' not found in wp-content/plugins/orbisius-seo-editor/admin/addons/rank_math.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Orbisius_SEO_Editor_Plugin_Addon_all_in_one_seo_pack' not found in wp-content/plugins/orbisius-seo-editor/admin/addons/all_in_one_seo_pack.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/orbisius-seo-editor/orbisius-seo-editor.php:40
    • > PHP Fatal error
      Uncaught Error: Class 'Orbisius_SEO_Editor_Util' not found in wp-content/plugins/orbisius-seo-editor/admin/tabs/seo_editor.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/orbisius-seo-editor/admin/tabs/about.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
Please take inspiration from this readme.txt

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

"Orbisius SEO Editor" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
100 characters long description:
Allows you to bulk update meta titles, descriptions summary of pages, posts and WooCommerce products

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected4,193 lines of code in 26 files:
LanguageFilesBlank linesComment linesLines of code
PHP221,1091,3774,100
JavaScript2243383
HTML1109
CSS1001

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity41.81
▷ Minimum class complexity1.00
▷ Maximum class complexity168.00
Average method complexity5.16
▷ Minimum method complexity1.00
▷ Maximum method complexity45.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes16
▷ Abstract classes00.00%
▷ Concrete classes16100.00%
▷ Final classes00.00%
Methods157
▷ Static methods5434.39%
▷ Public methods15498.09%
▷ Protected methods00.00%
▷ Private methods31.91%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants54
▷ Global constants59.26%
▷ Class constants4990.74%
▷ Public constants49100.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 are no PNG files in this plugin