Benchmarks
Plugin footprint 48% 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.00MB] [CPU: ▼9.83ms] Passed 4 tests
Server-side resources used by Post Status Dashboard
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.14 ▼2.36 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.55 ▼15.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.24 ▼5.25 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.67 ▼16.25 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.91 ▼2.80 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Post Status Dashboard: 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,867 ▲121 | 13.43 ▼0.97 | 4.53 ▲2.79 | 43.93 ▼1.83 |
Dashboard /wp-admin | 2,270 ▲82 | 5.85 ▲0.98 | 100.32 ▼12.25 | 42.73 ▲3.61 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 2.06 ▲0.06 | 39.16 ▼0.08 | 33.58 ▼2.94 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 18.64 ▲0.37 | 614.40 ▼31.91 | 49.54 ▼3.26 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.20 ▲0.09 | 98.16 ▼12.76 | 41.95 ▲0.04 |
Uninstaller [IO: ▲0.03MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the followingThis plugin did not uninstall successfully, leaving 7 options in the database
- Uninstall procedure had uncaught errors
- > Error in wp-content/plugins/post-status-dashboard/post-status-dashboard.php+43
Cannot declare class postStatusDash, because the name is already in use
- The plugin did not uninstall successfully, leaving 14 files (0.03MB) in the plugin directory
- (new file) lang/post-status-dashboard-it_IT.po
- (new file) lang/post-status-dashboard-it_IT.mo
- (new file) lang/post-status-dashboard-es_ES.po
- (new file) lang/post-status-dashboard-zh_CN.mo
- (new file) lang/post-status-dashboard-fr_FR.mo
- (new file) lang/post-status-dashboard-es_ES.mo
- (new file) lang/post-status-dashboard-de_DE.po
- (new file) lang/post-status-dashboard-zh_CN.po
- (new file) lang/post-status-dashboard-de_DE.mo
- (new file) lang/post-status-dashboard-fr_FR.po
- ...
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- recovery_mode_email_last_sent
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: panel, admin, type, dash, status...
post-status-dashboard/post-status-dashboard.php Passed 13 tests
This is the main PHP file of "Post Status Dashboard" version 1.4.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
50 characters long description:
Used to display post status in the admin dashboard
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected450 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 49 | 81 | 255 |
PO File | 5 | 55 | 65 | 195 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 7.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 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 | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin