Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.63ms] Passed 4 tests
An overview of server-side resources used by Push Update Messages To Old Posts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.15 ▼3.66 |
Dashboard /wp-admin | 3.38 ▲0.07 | 49.23 ▼7.76 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.98 ▼4.82 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 98.18 ▼6.29 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.33 ▼0.01 |
Tags /wp-admin/edit-tags.php?taxonomy=guaven_update_push_tag&post_type=gf_up_push | 3.29 | 33.62 |
Update push for old posts /wp-admin/edit.php?post_type=gf_up_push | 3.34 | 36.31 |
Push Update Boxes To Old Content /wp-admin/options-general.php?page=update-messages-for-old-posts/functions.php | 3.27 | 33.89 |
Add New /wp-admin/post-new.php?post_type=gf_up_push | 3.43 | 47.90 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Push Update Messages To Old Posts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.21 ▼1.17 | 1.76 ▼0.33 | 43.33 ▼9.25 |
Dashboard /wp-admin | 2,238 ▲50 | 5.87 ▲0.99 | 97.32 ▼25.23 | 35.93 ▼8.35 |
Posts /wp-admin/edit.php | 2,124 ▲32 | 2.00 ▼0.04 | 36.34 ▼8.30 | 32.90 ▼4.15 |
Add New Post /wp-admin/post-new.php | 1,559 ▲30 | 18.46 ▼0.10 | 636.19 ▲4.52 | 54.44 ▼4.42 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.23 ▼0.06 | 96.37 ▼4.75 | 43.31 ▼1.70 |
Tags /wp-admin/edit-tags.php?taxonomy=guaven_update_push_tag&post_type=gf_up_push | 1,274 | 2.14 | 28.60 | 28.94 |
Update push for old posts /wp-admin/edit.php?post_type=gf_up_push | 1,087 | 2.00 | 34.55 | 33.11 |
Push Update Boxes To Old Content /wp-admin/options-general.php?page=update-messages-for-old-posts/functions.php | 797 | 2.03 | 24.34 | 25.56 |
Add New /wp-admin/post-new.php?post_type=gf_up_push | 2,522 | 7.83 | 176.62 | 64.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/update-messages-for-old-posts/functions.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% 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
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Screenshot 1), #2 (Screenshot 2), #3 (Screenshot 3), #4 (Screenshot 4), #5 (Screenshot 5), #6 (Screenshot 6)
update-messages-for-old-posts/guaven_updatepusher.php 77% from 13 tests
The main file in "Push Update Messages To Old Posts" v. 1.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:
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("update-messages-for-old-posts.php" instead of "guaven_updatepusher.php")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,419 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 43 | 43 | 1,151 |
PHP | 4 | 80 | 22 | 268 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.57MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 70.83KB | 29.13KB | ▼ 58.88% |
icons.png | 6.91KB | 4.18KB | ▼ 39.44% |
screenshot-2.png | 119.56KB | 44.14KB | ▼ 63.08% |
screenshot-3.png | 106.93KB | 41.54KB | ▼ 61.15% |
screenshot-6.png | 55.84KB | 23.12KB | ▼ 58.61% |