72% simplicy-seo

Code Review | Simplicy SEO

WordPress plugin Simplicy SEO scored 72% from 54 tests.

About plugin

  • Plugin page: simplicy-seo
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.7.0
  • WordPress version: 6.3.1
  • First release: Feb 21, 2013
  • Latest release: Apr 24, 2014
  • Number of updates: 12
  • Update frequency: every 35.6 days
  • Top authors: fred91 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active / 6,070 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

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

Analyzing server-side resources used by Simplicy SEO
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1441.58 ▲0.72
Dashboard /wp-admin3.43 ▲0.1342.70 ▼3.48
Posts /wp-admin/edit.php3.48 ▲0.1249.51 ▲1.33
Add New Post /wp-admin/post-new.php6.03 ▲0.1596.52 ▲2.54
Media Library /wp-admin/upload.php3.35 ▲0.1234.19 ▼1.34
Page accueil /wp-admin/admin.php?page=simplicy-seo/simplicy-seo.php3.3230.34
Avancé /wp-admin/admin.php?page=simplicy_seo3.3236.62

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Simplicy SEO
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,905 ▲17013.55 ▼0.8213.00 ▲11.2236.91 ▼5.48
Dashboard /wp-admin2,240 ▲555.85 ▼0.03114.70 ▲10.0193.43 ▲53.37
Posts /wp-admin/edit.php2,140 ▲512.28 ▲0.2439.99 ▲0.4637.26 ▲5.09
Add New Post /wp-admin/post-new.php6,703 ▲5,18920.01 ▲2.49908.08 ▲256.3951.46 ▼4.48
Media Library /wp-admin/upload.php1,432 ▲444.17 ▼0.0197.94 ▼18.0578.65 ▲24.89
Page accueil /wp-admin/admin.php?page=simplicy-seo/simplicy-seo.php9851.8035.7839.80
Avancé /wp-admin/admin.php?page=simplicy_seo1,4021.8128.1261.13

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
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 25% 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 0% 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
Almost there! Just fix the following items
  • 6× PHP files output text when accessed directly:
    • > /wp-content/plugins/simplicy-seo/inc/seo_archives.php
    • > /wp-content/plugins/simplicy-seo/inc/help/seo_robots_help.php
    • > /wp-content/plugins/simplicy-seo/inc/help/facebook_help.php
    • > /wp-content/plugins/simplicy-seo/inc/help/geotag_help.php
    • > /wp-content/plugins/simplicy-seo/inc/help/seo_help.php
    • > /wp-content/plugins/simplicy-seo/inc/help/meta_creation_help.php
  • 8× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simplicy-seo/inc/seo_category.php:217
    • > PHP Notice
      Undefined variable: homedescription in wp-content/plugins/simplicy-seo/inc/seo_archives.php on line 6
    • > PHP Notice
      Undefined variable: homefollow in wp-content/plugins/simplicy-seo/inc/seo_archives.php on line 9
    • > PHP Notice
      Undefined variable: homeindex in wp-content/plugins/simplicy-seo/inc/seo_archives.php on line 8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simplicy-seo/inc/post_options-seo.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/simplicy-seo/simplicy-seo.php:27
    • > PHP Notice
      Undefined variable: homekeywords in wp-content/plugins/simplicy-seo/inc/seo_archives.php on line 7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/simplicy-seo/inc/seo.php:4

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=simplicy_seo
    • > Javascript (severe) in unknown
    /wp-content/plugins/simplicy-seo/js/reveal.js?ver=6.3.1 19:24 Uncaught TypeError: $(...).live is not a function
    • > GET request to /wp-admin/admin.php?page=simplicy_seo
    • > Network (severe)
    wp-content/plugins/simplicy-seo/css/modal-gloss.png - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (SEO Advanced options.), #2 (SEO Post and Page.)
  • Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

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

The principal PHP file in "Simplicy SEO" v. 1.0.4 is loaded by WordPress automatically on each request
103 characters long description:
Plugins SEO solution for WordPress, including on-page and post content analytics, Facebook open graph .

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
There were no executable files found in this plugin1,488 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP11171851,225
JavaScript43750166
CSS17597

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
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
Namespaces0
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%
Functions20
▷ Named functions20100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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
8 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
inc/images/fb.png1.04KB0.98KB▼ 6.00%
images/seo-icon.png0.42KB0.45KB0.00%
images/help.png2.34KB1.38KB▼ 41.24%
images/logo.png2.53KB1.48KB▼ 41.38%
inc/images/user.png1.29KB0.62KB▼ 51.78%