84% wp-simple-seo-meta

Code Review | WP Simple SEO Meta

WordPress plugin WP Simple SEO Meta scored84%from 54 tests.

About plugin

  • Plugin page: wp-simple-seo-meta
  • Plugin version: 1.1.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4.0-5.2.1
  • WordPress version: 6.3.1
  • First release: Jun 2, 2019
  • Latest release: Jun 2, 2019
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: epigrade (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /768 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.10MB] [CPU: ▼1.42ms] Passed 4 tests

A check of server-side resources used by WP Simple SEO Meta
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1138.56 ▼6.31
Dashboard /wp-admin3.40 ▲0.1050.70 ▲1.27
Posts /wp-admin/edit.php3.45 ▲0.1051.02 ▲2.63
Add New Post /wp-admin/post-new.php5.99 ▲0.1194.32 ▼3.25
Media Library /wp-admin/upload.php3.33 ▲0.1039.62 ▲4.77

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

WP Simple SEO Meta: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.35 ▼0.031.87 ▼0.1443.69 ▼0.70
Dashboard /wp-admin2,198 ▲215.59 ▲0.0292.34 ▼0.4341.52 ▲0.51
Posts /wp-admin/edit.php2,100 ▼01.94 ▼0.0235.35 ▼1.5732.24 ▼6.55
Add New Post /wp-admin/post-new.php6,259 ▲4,73118.92 ▼4.27870.84 ▲189.9067.13 ▲18.84
Media Library /wp-admin/upload.php1,403 ▲64.15 ▼0.1596.37 ▼3.4044.43 ▼3.47

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-simple-seo-meta/wp-simple-seo-meta.php:51

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% 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
6 plugin tags: meta robots, meta, meta keywords, page title, seo...

wp-simple-seo-meta/wp-simple-seo-meta.php 85% from 13 tests

This is the main PHP file of "WP Simple SEO Meta" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Description: Please don't use more than 140 characters for the plugin description (currently 285 characters long)
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected369 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP154123369

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.60
Average class complexity72.00
▷ Minimum class complexity72.00
▷ Maximum class complexity72.00
Average method complexity5.73
▷ Minimum method complexity1.00
▷ Maximum method complexity20.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods15
▷ Static methods16.67%
▷ Public methods15100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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
PNG images were not found in this plugin