Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.77ms] Passed 4 tests
A check of server-side resources used by Publish Confirm Message
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.46 ▼1.47 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.35 ▼3.08 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.65 ▲0.30 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.87 ▼22.82 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.20 ▲3.79 |
Publish Confirm Message /wp-admin/options-general.php?page=publish-confirm-message/core/admin/adminpage.php | 3.23 | 33.79 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Publish Confirm Message
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.35 ▼0.31 | 2.69 ▲0.87 | 55.31 ▲10.99 |
Dashboard /wp-admin | 2,201 ▲24 | 5.62 ▲0.10 | 81.47 ▼11.60 | 38.90 ▼6.45 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.98 ▼0.01 | 34.30 ▼6.12 | 29.66 ▼3.21 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.14 ▼5.45 | 621.72 ▼17.02 | 67.84 ▲15.94 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.20 ▲0.04 | 103.09 ▼0.44 | 47.50 ▲1.90 |
Publish Confirm Message /wp-admin/options-general.php?page=publish-confirm-message/core/admin/adminpage.php | 810 | 2.03 | 26.65 | 38.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/publish-confirm-message/core/apj-functions.php
- > /wp-content/plugins/publish-confirm-message/core/admin/adminpage.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Contributors: Plugin contributors not specified
publish-confirm-message/publish-confirm-message.php Passed 13 tests
The main PHP file in "Publish Confirm Message" ver. 1.3.1 adds more information about the plugin and also serves as the entry point for this plugin
85 characters long description:
An extra confirmation dialogue for the publish button to avoid accidental publishing.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin153 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 21 | 90 | 153 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
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 | 11 | 100.00% |
▷ Public methods | 9 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 18.18% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin