90% post-series-manager

Code Review | Post Series Manager

WordPress plugin Post Series Manager scored90%from 54 tests.

About plugin

  • Plugin page: post-series-manager
  • Plugin version: 1.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.9.2
  • WordPress version: 6.3.1
  • First release: Mar 19, 2015
  • Latest release: Jan 24, 2018
  • Number of updates: 22
  • Update frequency: every 47.4 days
  • Top authors: Cheffheid (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

50+ active /3,232 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼8.23ms] Passed 4 tests

A check of server-side resources used by Post Series Manager
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0342.54 ▼1.46
Dashboard /wp-admin3.33 ▲0.0348.54 ▼0.57
Posts /wp-admin/edit.php3.38 ▲0.0250.46 ▼1.40
Add New Post /wp-admin/post-new.php5.94 ▲0.0685.83 ▼28.31
Media Library /wp-admin/upload.php3.25 ▲0.0238.70 ▼1.75
Post Series /wp-admin/edit-tags.php?taxonomy=post-series3.2434.13

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Post Series Manager
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.31 ▼0.222.02 ▲0.2944.24 ▲4.11
Dashboard /wp-admin2,199 ▲255.50 ▼0.0789.00 ▼2.4142.91 ▼1.10
Posts /wp-admin/edit.php2,133 ▲302.04 ▲0.0534.49 ▼2.8834.62 ▼3.68
Add New Post /wp-admin/post-new.php1,529 ▲123.15 ▲0.02689.93 ▲36.3353.95 ▲0.63
Media Library /wp-admin/upload.php1,404 ▲44.14 ▼0.09109.81 ▲0.1548.44 ▲2.24
Post Series /wp-admin/edit-tags.php?taxonomy=post-series1,2502.1228.9230.93

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 did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
1 plugin tags: post

post-series-manager/post-series-manager.php 92% from 13 tests

The main PHP file in "Post Series Manager" ver. 1.2.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 147 characters long)

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
There were no executable files found in this plugin217 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP351164168
PO File1192249

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity16.00
▷ Minimum class complexity16.00
▷ Maximum class complexity16.00
Average method complexity2.25
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.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

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin