Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.79MB] [CPU: ▲1,045.44ms] 50% from 4 tests
Server-side resources used by WP Last Updated Date
Please take the time to fix the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 1,271.06ms on /wp-admin/admin.php?page=post-modified-date-recommended-plugins)
- Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 1,045.44ms on /wp-admin/admin.php?page=post-modified-date-recommended-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.29 ▲0.82 | 601.41 ▲558.84 |
Dashboard /wp-admin | 4.23 ▲0.89 | 1,469.17 ▲1,405.85 |
Posts /wp-admin/edit.php | 4.17 ▲0.81 | 1,237.72 ▲1,182.92 |
Add New Post /wp-admin/post-new.php | 6.63 ▲0.75 | 1,243.14 ▲1,154.32 |
Media Library /wp-admin/upload.php | 4.01 ▲0.78 | 1,327.17 ▲1,285.69 |
Post Update Date /wp-admin/options-general.php?page=jwt_pmd | 3.98 | 1,227.50 |
Recommended /wp-admin/admin.php?page=post-modified-date-recommended-plugins | 3.98 | 1,271.06 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 43 new files
Database: no new tables, 13 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
jltpmd_notice_what_we_collect |
widget_recent-posts |
jltpmd_sheet_promo_data_hash |
post_modified_date_version |
jltpmd_sheet_promo_data |
jltpmd_activation_time |
jltpmd_notice_subscribe |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Last Updated Date
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲140 | 14.39 ▲0.20 | 1.68 ▼0.48 | 38.38 ▼5.87 |
Dashboard /wp-admin | 2,333 ▲156 | 5.60 ▲0.00 | 94.68 ▼1.88 | 40.49 ▼0.39 |
Posts /wp-admin/edit.php | 2,193 ▲93 | 2.04 ▲0.00 | 39.50 ▼3.14 | 34.59 ▼0.92 |
Add New Post /wp-admin/post-new.php | 1,610 ▲82 | 21.04 ▼1.85 | 639.04 ▼35.77 | 52.01 ▼3.82 |
Media Library /wp-admin/upload.php | 1,487 ▲84 | 4.25 ▲0.05 | 111.83 ▼2.27 | 43.95 ▼6.30 |
Post Update Date /wp-admin/options-general.php?page=jwt_pmd | 914 | 1.70 | 32.03 | 25.43 |
Recommended /wp-admin/admin.php?page=post-modified-date-recommended-plugins | 1,270 | 1.73 | 31.06 | 28.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 13 options
- post_modified_date_version
- jltpmd_activation_time
- widget_recent-posts
- jltpmd_sheet_promo_data_hash
- widget_recent-comments
- jltpmd_notice_ask_for_rating
- jltpmd_notice_what_we_collect
- db_upgraded
- jltpmd_notice_subscribe
- theysaidso_admin_options
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Almost there! Just fix the following items
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'JLTPMD\\Libs\\Recommended' not found in wp-content/plugins/post-modified-date/Inc/Classes/Recommended_Plugins.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTPMD\\Libs\\Upgrader' not found in wp-content/plugins/post-modified-date/Inc/Classes/Upgrade_Plugin.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTPMD\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/post-modified-date/Inc/Classes/Notifications/Subscribe.php:13
- > PHP Fatal error
Uncaught Error: Class 'JLTPMD\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/post-modified-date/Inc/Classes/Notifications/What_We_Collect.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/post-modified-date/post-modified-date.php:21
- > PHP Fatal error
Uncaught Error: Class 'JLTPMD\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/post-modified-date/Inc/Classes/Notifications/Ask_For_Rating.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTPMD\\Libs\\RowLinks' not found in wp-content/plugins/post-modified-date/Inc/Classes/Row_Links.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTPMD\\Inc\\Classes\otifications\\Model\\Popup' not found in wp-content/plugins/post-modified-date/Inc/Classes/Notifications/Upgrade_Notice.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=post-modified-date-recommended-plugins
- > Network (severe)
https://ps.w.org/ultimate-blocks-for-gutenberg/assets/icon-128x128.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: post updated date, updated, last update, post, last modified date...
post-modified-date/post-modified-date.php 85% from 13 tests
The main PHP file in "WP Last Updated Date" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path must begin with a forward slash character ("/languages/")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected3,777 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 745 | 1,419 | 3,017 |
CSS | 3 | 118 | 14 | 606 |
JavaScript | 2 | 15 | 9 | 154 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 26 | |
▷ Abstract classes | 4 | 15.38% |
▷ Concrete classes | 22 | 84.62% |
▷ Final classes | 1 | 4.55% |
Methods | 193 | |
▷ Static methods | 33 | 17.10% |
▷ Public methods | 190 | 98.45% |
▷ Protected methods | 1 | 0.52% |
▷ Private methods | 2 | 1.04% |
Functions | 9 | |
▷ Named functions | 5 | 55.56% |
▷ Anonymous functions | 4 | 44.44% |
Constants | 16 | |
▷ Global constants | 15 | 93.75% |
▷ Class constants | 1 | 6.25% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected