Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼1.09ms] Passed 4 tests
An overview of server-side resources used by Simple Post Series
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 48.75 ▲6.66 |
Dashboard /wp-admin | 3.60 ▲0.30 | 46.28 ▲3.77 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 46.81 ▼2.10 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.35 | 87.45 ▼11.88 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 37.72 ▲5.87 |
Series /wp-admin/edit-tags.php?taxonomy=series | 3.52 | 35.46 |
Series Bulk Edit /wp-admin/edit.php?page=series_bulk_edit_post | 3.47 | 33.27 |
Series Bulk Edit /wp-admin/edit.php?post_type=page&page=series_bulk_edit_page | 3.47 | 34.51 |
Post Series /wp-admin/options-general.php?page=series_settings | 3.47 | 31.14 |
Series /wp-admin/edit-tags.php?taxonomy=series&post_type=page | 3.52 | 34.92 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_widget_series |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
widget_widget_list_series |
series_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Post Series
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲192 | 13.75 ▼0.62 | 5.70 ▲3.79 | 38.07 ▼6.67 |
Dashboard /wp-admin | 2,233 ▲42 | 4.87 ▼1.02 | 97.12 ▼4.00 | 39.88 ▼3.22 |
Posts /wp-admin/edit.php | 2,146 ▲54 | 2.06 ▲0.02 | 36.36 ▼5.54 | 33.22 ▼2.23 |
Add New Post /wp-admin/post-new.php | 1,733 ▲211 | 23.08 ▼0.19 | 636.36 ▲50.83 | 38.84 ▼16.27 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.24 ▼0.03 | 95.25 ▲2.90 | 40.95 ▼3.18 |
Series /wp-admin/edit-tags.php?taxonomy=series | 1,289 | 2.15 | 29.36 | 30.08 |
Series Bulk Edit /wp-admin/edit.php?page=series_bulk_edit_post | 1,114 | 2.28 | 39.47 | 29.06 |
Series Bulk Edit /wp-admin/edit.php?post_type=page&page=series_bulk_edit_page | 1,101 | 2.31 | 36.91 | 28.16 |
Post Series /wp-admin/options-general.php?page=series_settings | 977 | 1.72 | 24.28 | 31.09 |
Series /wp-admin/edit-tags.php?taxonomy=series&post_type=page | 1,283 | 2.15 | 27.18 | 31.33 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- widget_widget_series
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_widget_list_series
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=series_settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=series_settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=series_settings
- > Notice in wp-content/plugins/simple-post-series/series-admin.php+435
Undefined index: auto_hide
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
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/simple-post-series/series.php:35
- > PHP Warning
require_once(SERIES_ROOT/series-edition.php): failed to open stream: No such file or directory in wp-content/plugins/simple-post-series/series-admin.php on line 2
- > PHP Warning
Use of undefined constant SERIES_ROOT - assumed 'SERIES_ROOT' (this will throw an Error in a future version of PHP) in wp-content/plugins/simple-post-series/series-admin.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/simple-post-series/template/taxonomy-series.php:10
- > PHP Fatal error
require_once(): Failed opening required 'SERIES_ROOT/series-edition.php' (include_path='.:/usr/share/php') in wp-content/plugins/simple-post-series/series-admin.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/simple-post-series/inc/tinymce-plugin-dialog.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-post-series/series-edition.php:49
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== simple-post-series ===
)
simple-post-series/series.php 85% from 13 tests
The main PHP script in "Simple Post Series" version 2.4.4 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simple-post-series.php" instead of "series.php")
- Description: Keep the plugin description shorter than 140 characters (currently 206 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected2,096 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 238 | 272 | 1,322 |
CSS | 5 | 66 | 67 | 555 |
JavaScript | 6 | 22 | 30 | 207 |
SVG | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 51 | |
▷ Named functions | 51 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
inc/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
inc/images/icon.png | 0.47KB | 0.54KB | 0.00% |
inc/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
inc/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |