Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/post-timer/includes/timer.php+366
Undefined offset: 1
Server metrics [RAM: ▼1.88MB] [CPU: ▼56.37ms] Passed 4 tests
This is a short check of server-side resources used by Post Timer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.12 ▼1.34 | 4.45 ▼36.26 |
Dashboard /wp-admin | 2.14 ▼1.21 | 6.12 ▼57.60 |
Posts /wp-admin/edit.php | 2.14 ▼1.22 | 7.87 ▼41.25 |
Add New Post /wp-admin/post-new.php | 2.14 ▼3.75 | 6.27 ▼90.36 |
Media Library /wp-admin/upload.php | 2.14 ▼1.09 | 6.82 ▼32.05 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
post-timer |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Post Timer: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,972 ▲225 | 15.03 ▲0.81 | 1.78 ▼0.04 | 40.74 ▼3.75 |
Dashboard /wp-admin | 2,374 ▲196 | 6.45 ▲0.79 | 120.59 ▲12.21 | 42.09 ▼3.24 |
Posts /wp-admin/edit.php | 2,302 ▲202 | 3.58 ▲1.64 | 55.10 ▲16.86 | 36.22 ▼3.00 |
Add New Post /wp-admin/post-new.php | 1,584 ▲58 | 23.49 ▲0.17 | 624.40 ▼79.89 | 39.12 ▼14.51 |
Media Library /wp-admin/upload.php | 1,439 ▲42 | 4.28 ▲0.11 | 88.38 ▼11.96 | 43.03 ▲0.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/post-timer/includes/timer.php+366
Undefined offset: 1
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/post-timer/includes/timer.php
- > /wp-content/plugins/post-timer/includes/admin.php
- > /wp-content/plugins/post-timer/includes/plugin-setting-page.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: clock, timer popup, custom post timer, popup, timer...
post-timer/post_timer.php 85% from 13 tests
This is the main PHP file of "Post Timer" version 4.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("post-timer.php" instead of "post_timer.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 178 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin2,748 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 9 | 4 | 6 | 1,024 |
PHP | 5 | 148 | 190 | 921 |
CSS | 3 | 166 | 41 | 798 |
JavaScript | 2 | 0 | 4 | 5 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 3 | 9.68% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wewp-ad-plugin-400.png | 15.32KB | 8.89KB | ▼ 42.00% |
images/addweb-logo.png | 11.75KB | 4.57KB | ▼ 61.12% |
assets/images/wewp-logo1.png | 51.70KB | 21.03KB | ▼ 59.33% |
assets/images/addweb-logo.png | 11.75KB | 4.57KB | ▼ 61.12% |
assets/images/wewp-logo.png | 39.91KB | 20.18KB | ▼ 49.44% |