84% wp-post-series

Code Review | WP Post Series

WordPress plugin WP Post Series scored84%from 54 tests.

About plugin

  • Plugin page: wp-post-series
  • Plugin version: 2.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4-5.6
  • WordPress version: 6.3.1
  • First release: Dec 30, 2013
  • Latest release: Oct 19, 2020
  • Number of updates: 10
  • Update frequency: every 248.5 days
  • Top authors: mikejolley (100%)

Code review

54 tests

User reviews

9 reviews

Install metrics

1,000+ active /12,734 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.20MB] [CPU: ▼5.63ms] Passed 4 tests

A check of server-side resources used by WP Post Series
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.2056.01 ▲12.77
Dashboard /wp-admin3.55 ▲0.2151.50 ▼12.52
Posts /wp-admin/edit.php3.61 ▲0.2553.09 ▲3.24
Add New Post /wp-admin/post-new.php6.11 ▲0.2293.80 ▼13.66
Media Library /wp-admin/upload.php3.41 ▲0.1937.89 ▲0.41
Series /wp-admin/edit-tags.php?taxonomy=post_series3.4134.26

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 134 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for WP Post Series
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,828 ▲6714.31 ▼0.042.89 ▲1.2739.67 ▼3.98
Dashboard /wp-admin2,202 ▲255.59 ▼0.0691.81 ▼8.0738.09 ▼9.39
Posts /wp-admin/edit.php2,146 ▲431.97 ▼0.0335.52 ▼0.9336.00 ▲2.18
Add New Post /wp-admin/post-new.php6,210 ▲4,68419.00 ▼4.73924.26 ▲232.0436.87 ▼17.15
Media Library /wp-admin/upload.php1,407 ▲74.21 ▲0.0198.74 ▼15.2244.21 ▼2.25
Series /wp-admin/edit-tags.php?taxonomy=post_series1,2472.1229.9930.93

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 98× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-post-series/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-post-series/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-post-series/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-post-series/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-post-series/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-post-series/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-post-series/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-post-series/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php:4
    • > PHP Fatal error
      Uncaught Error: Interface 'Composer\\Plugin\\PluginInterface' not found in wp-content/plugins/wp-post-series/vendor/composer/installers/src/Composer/Installers/Plugin.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-post-series/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

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
5 plugin tags: post series, series, organize, book, course

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

The main file in "WP Post Series" v. 2.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 149 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin3,213 lines of code in 129 files:
LanguageFilesBlank linesComment linesLines of code
PHP1165161,0222,737
JavaScript101949261
JSON100126
Sass15088
CSS1001

PHP code Passed 2 tests

Analyzing 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.29
Average class complexity2.76
▷ Minimum class complexity1.00
▷ Maximum class complexity44.00
Average method complexity2.39
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces5
Interfaces0
Traits0
Classes106
▷ Abstract classes21.89%
▷ Concrete classes10498.11%
▷ Final classes00.00%
Methods142
▷ Static methods32.11%
▷ Public methods9768.31%
▷ Protected methods3625.35%
▷ Private methods96.34%
Functions16
▷ Named functions425.00%
▷ Anonymous functions1275.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.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 were not PNG files found in your plugin