78% seo-manager

Code Review | SEO Manager

WordPress plugin SEO Manager scored78%from 54 tests.

About plugin

  • Plugin page: seo-manager
  • Plugin version: 1.8
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.3.1
  • WordPress version: 6.3.1
  • First release: Apr 9, 2018
  • Latest release: Sep 5, 2023
  • Number of updates: 33
  • Update frequency: every 59.9 days
  • Top authors: india-web-developer (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /3,223 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.15MB] [CPU: ▼4.96ms] Passed 4 tests

An overview of server-side resources used by SEO Manager
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.62 ▲0.1544.35 ▲5.22
Dashboard /wp-admin3.46 ▲0.1549.77 ▼4.49
Posts /wp-admin/edit.php3.57 ▲0.2147.57 ▼4.51
Add New Post /wp-admin/post-new.php6.04 ▲0.1590.40 ▼16.07
Media Library /wp-admin/upload.php3.38 ▲0.1542.44 ▲7.53
SEO Manager /wp-admin/options-general.php?page=seo_manager3.4035.23

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for SEO Manager
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲5714.20 ▼0.431.63 ▼0.2343.51 ▼3.05
Dashboard /wp-admin2,213 ▲335.68 ▲0.0496.17 ▲10.4739.04 ▲2.44
Posts /wp-admin/edit.php2,115 ▲151.97 ▼0.0435.25 ▼1.2730.23 ▼4.71
Add New Post /wp-admin/post-new.php1,537 ▲1123.03 ▼0.14663.09 ▼40.3358.74 ▲5.05
Media Library /wp-admin/upload.php1,418 ▲184.19 ▲0.07104.76 ▼15.2645.87 ▼1.04
SEO Manager /wp-admin/options-general.php?page=seo_manager1,81010.25337.53124.75

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_post_types() in wp-content/plugins/seo-manager/lib/settings.php:7

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
    • > GET request to /wp-admin/options-general.php?page=seo_manager
    • > Javascript (severe) in unknown
    /wp-content/plugins/seo-manager/js/seom.js?ver=6.3.1 195:0 Uncaught ReferenceError: myDrop is not defined

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 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
Attributes that require attention: You can take inspiration from this readme.txt

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

This is the main PHP file of "SEO Manager" version 1.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
60 characters long description:
Very Simple "SEO Manager" plugin with all SEO Meta features.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,341 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP448166908
CSS160250
JavaScript159183

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.53
Average class complexity75.50
▷ Minimum class complexity68.00
▷ Maximum class complexity83.00
Average method complexity5.81
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods31
▷ Static methods39.68%
▷ Public methods31100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
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

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin