83% simple-series

Code Review | Simple Post Series with SEO!

WordPress plugin Simple Post Series with SEO! scored83%from 54 tests.

About plugin

  • Plugin page: simple-series
  • Plugin version: 1.4.7
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.9.8
  • WordPress version: 6.3.1
  • First release: Jan 27, 2012
  • Latest release: Aug 8, 2018
  • Number of updates: 58
  • Update frequency: every 41.1 days
  • Top authors: MakerBlock (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /4,151 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼9.14ms] Passed 4 tests

Analyzing server-side resources used by Simple Post Series with SEO!
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0150.63 ▲8.68
Dashboard /wp-admin3.31 ▲0.0149.85 ▼7.03
Posts /wp-admin/edit.php3.36 ▲0.0150.81 ▼0.81
Add New Post /wp-admin/post-new.php5.90 ▲0.0189.99 ▼24.12
Media Library /wp-admin/upload.php3.24 ▲0.0137.00 ▼4.60

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Simple Post Series with SEO!
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲3414.35 ▲0.011.79 ▲0.1146.86 ▲3.14
Dashboard /wp-admin2,201 ▲215.57 ▼0.0785.99 ▼9.2541.14 ▼3.24
Posts /wp-admin/edit.php2,106 ▲62.01 ▼0.0235.58 ▼4.9334.69 ▲0.04
Add New Post /wp-admin/post-new.php1,529 ▲323.21 ▲0.44649.64 ▼74.4558.12 ▲4.45
Media Library /wp-admin/upload.php1,403 ▲34.17 ▲0.07105.91 ▼9.7947.03 ▲0.88

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
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 fix 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_filter() in wp-content/plugins/simple-series/simpleseries.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 81% 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 require attention:
  • Tags: Please delete some tags, you are using 18 tag instead of maximum 10
  • Plugin Name: Please specify the plugin name on the first line ( === simple-series === )
  • Screenshots: Please add images for these screenshots: #1 (An example of the shortcode as it appears in the post editor), #2 (The same shortcode from the same post, as it appears to someone reading the post), #3 (The same shortcode from the same post, with CSS formatting as suggested in the FAQ)
You can look at the official readme.txt

simple-series/simpleseries.php 92% from 13 tests

The entry point to "Simple Post Series with SEO!" version 1.4.7 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("simple-series.php" instead of "simpleseries.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin117 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12739117

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.17
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-3.png35.30KB12.75KB▼ 63.90%
screenshot-2.png26.77KB10.82KB▼ 59.59%
screenshot-1.png51.37KB24.41KB▼ 52.48%