Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.05ms] Passed 4 tests
Analyzing server-side resources used by Easy Post Series
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 44.17 ▲2.19 |
Dashboard /wp-admin | 3.36 ▲0.02 | 47.36 ▼18.97 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.75 ▲4.39 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.05 | 81.76 ▼15.81 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 37.35 ▲4.95 |
Series /wp-admin/edit-tags.php?taxonomy=series | 3.28 | 33.26 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Post Series
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲166 | 14.07 ▼0.51 | 5.35 ▲3.64 | 39.29 ▼3.31 |
Dashboard /wp-admin | 2,210 ▲22 | 5.83 ▲0.92 | 92.12 ▼23.31 | 39.41 ▼7.97 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.01 ▼0.05 | 33.27 ▼6.66 | 35.08 ▼1.36 |
Add New Post /wp-admin/post-new.php | 1,536 ▼7 | 23.12 ▲4.61 | 645.46 ▲26.61 | 47.34 ▼0.96 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▼0.06 | 95.74 ▲1.76 | 41.96 ▼1.09 |
Series /wp-admin/edit-tags.php?taxonomy=series | 1,238 | 2.26 | 25.30 | 28.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Add a series to a post), #2 (Posts navigation on a series post)
easy-post-series/easy-post-series.php 85% from 13 tests
The primary PHP file in "Easy Post Series" version 1.1.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
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
Good job! No executable or dangerous file extensions detected202 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 128 | 151 |
JavaScript | 1 | 2 | 0 | 26 |
CSS | 1 | 4 | 0 | 25 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.52MB with 0.30MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 530.09KB | 143.50KB | ▼ 72.93% |
screenshot-1.png | 3.81KB | 2.16KB | ▼ 43.36% |