Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.62ms] Passed 4 tests
Analyzing server-side resources used by mklasen's Post Edit Status
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 40.05 ▲0.75 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.52 ▲1.90 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.82 ▼4.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.33 ▼15.48 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.83 ▲1.09 |
Post Edit Status /wp-admin/options-general.php?page=mklasens-post-edit-status | 3.20 | 31.40 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for mklasen's Post Edit Status
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.74 ▲0.36 | 2.00 ▲0.23 | 44.43 ▼0.32 |
Dashboard /wp-admin | 2,213 ▲22 | 4.83 ▼0.05 | 110.72 ▲4.27 | 42.23 ▼1.69 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.13 ▲0.02 | 35.20 ▼2.46 | 32.70 ▼2.73 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 23.67 ▲6.15 | 635.85 ▼15.16 | 59.86 ▼3.55 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.27 ▲0.02 | 95.40 ▼6.83 | 43.98 ▼0.57 |
Post Edit Status /wp-admin/options-general.php?page=mklasens-post-edit-status | 782 | 2.06 | 25.17 | 26.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mklasens-post-edit-status/mklasens-post-edit-status.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% 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
5 plugin tags: front-end, locked, post edit, check post lock, edit status
mklasens-post-edit-status/mklasens-post-edit-status.php 92% from 13 tests
The primary PHP file in "mklasen's Post Edit Status" version 1.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please improve your description making it at least 10 characters long (currently 0 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected56 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 34 | 56 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 6 | |
▷ Named functions | 6 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin