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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▲2.79ms] Passed 4 tests
An overview of server-side resources used by Extended Post Status
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 42.73 ▲4.48 |
Dashboard /wp-admin | 3.48 ▲0.17 | 53.06 ▲4.86 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 51.32 ▲1.34 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 103.40 ▲5.73 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 38.83 ▲0.48 |
Extended Post Status /wp-admin/options-general.php?page=extended-post-status-taxonomy | 3.25 | 27.20 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Extended Post Status
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.20 ▼1.53 | 1.64 ▼0.12 | 42.24 ▲2.25 |
Dashboard /wp-admin | 2,207 ▲16 | 5.81 ▼0.09 | 97.26 ▼8.79 | 36.56 ▼5.35 |
Posts /wp-admin/edit.php | 2,147 ▲58 | 2.01 ▲0.03 | 40.71 ▼0.77 | 37.19 ▼0.22 |
Add New Post /wp-admin/post-new.php | 6,317 ▲4,797 | 19.68 ▼3.44 | 855.08 ▲170.08 | 58.63 ▲8.32 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.28 ▲0.09 | 95.60 ▼5.63 | 41.94 ▼0.97 |
Extended Post Status /wp-admin/options-general.php?page=extended-post-status-taxonomy | 1,300 | 2.14 | 28.09 | 28.78 |
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_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=extended-post-status-taxonomy
- > Javascript (severe) in unknown
/wp-admin/edit-tags.php?taxonomy=status 381:16 Uncaught ReferenceError: wp is not defined
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: post type, post, extended, status, page...
extended-post-status/extended-post-status.php Passed 13 tests
The main PHP file in "Extended Post Status" ver. 1.0.20 adds more information about the plugin and also serves as the entry point for this plugin
26 characters long description:
Add new post status types.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected774 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 80 | 545 | 683 |
PO File | 1 | 36 | 41 | 88 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 10 | 21.74% |
▷ Public methods | 41 | 89.13% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.87% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin