84% seo-simple-pack

Code Review | SEO SIMPLE PACK

WordPress plugin SEO SIMPLE PACK scored84%from 54 tests.

About plugin

  • Plugin page: seo-simple-pack
  • Plugin version: 3.2.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.4
  • WordPress version: 6.3.1
  • First release: Jul 14, 2018
  • Latest release: Nov 7, 2023
  • Number of updates: 64
  • Update frequency: every 30.3 days
  • Top authors: looswebstudio (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

90,000+ active /566,719 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.40MB] [CPU: ▼3.56ms] Passed 4 tests

This is a short check of server-side resources used by SEO SIMPLE PACK
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.90 ▲0.4341.82 ▼2.62
Dashboard /wp-admin3.73 ▲0.4247.35 ▼0.45
Posts /wp-admin/edit.php3.78 ▲0.4253.17 ▲1.21
Add New Post /wp-admin/post-new.php6.27 ▲0.3894.90 ▼12.39
Media Library /wp-admin/upload.php3.59 ▲0.3640.60 ▲4.37
General settings /wp-admin/admin.php?page=ssp_main_setting3.6341.75
OGP settings /wp-admin/admin.php?page=ssp_ogp_setting3.5943.47
HELP /wp-admin/admin.php?page=ssp_help3.6038.05

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 9 new options
New WordPress options
db_upgraded
theysaidso_admin_options
can_compress_scripts
ssp_installed
widget_theysaidso_widget
ssp_ogp
ssp_settings
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for SEO SIMPLE PACK
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,843 ▲8114.34 ▼0.011.72 ▲0.0138.58 ▼7.21
Dashboard /wp-admin2,226 ▲525.64 ▲0.1192.21 ▼6.8242.25 ▼3.79
Posts /wp-admin/edit.php2,132 ▲291.95 ▼0.0340.11 ▼1.0036.51 ▼1.61
Add New Post /wp-admin/post-new.php6,432 ▲4,90626.14 ▲2.90868.58 ▲172.5877.15 ▲15.62
Media Library /wp-admin/upload.php1,432 ▲384.18 ▼0.0599.62 ▼3.1842.06 ▼2.64
General settings /wp-admin/admin.php?page=ssp_main_setting2,8903.0448.4957.41
OGP settings /wp-admin/admin.php?page=ssp_ogp_setting1,2853.1042.3728.87
HELP /wp-admin/admin.php?page=ssp_help1,2463.1741.5131.49

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget

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 | 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
  • 15× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/seo-simple-pack/inc/tab/top_webmaster.php:7
    • > PHP Fatal error
      Trait 'SSP\\Field' not found in wp-content/plugins/seo-simple-pack/class/metabox.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/seo-simple-pack/inc/page_help.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/seo-simple-pack/inc/tab/top_post_type.php:7
    • > PHP Fatal error
      Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/seo-simple-pack/inc/tab/ogp_twitter.php:5
    • > PHP Fatal error
      Trait 'SSP\\Field' not found in wp-content/plugins/seo-simple-pack/class/menu.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/seo-simple-pack/inc/page_ogp.php:25
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/seo-simple-pack/inc/page_top.php:25
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/seo-simple-pack/inc/tab/top_taxonomy.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'SSP_Data' not found in wp-content/plugins/seo-simple-pack/class/update_action.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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: seo, analytics, meta, wsebmaster, meta tag...

seo-simple-pack/seo-simple-pack.php 92% from 13 tests

The main PHP file in "SEO SIMPLE PACK" ver. 3.2.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin3,416 lines of code in 49 files:
LanguageFilesBlank linesComment linesLines of code
PHP245445962,371
Sass1212915497
PO File1153168355
JavaScript74444161
JSON10028
CSS4004

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity28.33
▷ Minimum class complexity1.00
▷ Maximum class complexity201.00
Average method complexity5.10
▷ Minimum method complexity1.00
▷ Maximum method complexity39.00
Code structure
Namespaces2
Interfaces0
Traits1
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
Methods81
▷ Static methods7086.42%
▷ Public methods5770.37%
▷ Protected methods00.00%
▷ Private methods2429.63%
Functions3
▷ Named functions00.00%
▷ Anonymous functions3100.00%
Constants9
▷ Global constants333.33%
▷ Class constants666.67%
▷ Public constants6100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin