Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲1.50MB] [CPU: ▲3.27ms] Passed 4 tests
An overview of server-side resources used by WP Last Modified Info
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.86 ▲1.40 | 47.41 ▲5.92 |
Dashboard /wp-admin | 4.85 ▲1.51 | 55.95 ▼2.11 |
Posts /wp-admin/edit.php | 4.96 ▲1.61 | 57.30 ▲8.38 |
Add New Post /wp-admin/post-new.php | 7.45 ▲1.56 | 93.83 ▲0.89 |
Media Library /wp-admin/upload.php | 4.77 ▲1.54 | 47.66 ▲11.02 |
WP Last Modified Info /wp-admin/options-general.php?page=wp-last-modified-info | 4.83 | 44.53 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 96 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
wplmi_plugin_api_data |
wplmi_plugin_installed_time |
db_upgraded |
can_compress_scripts |
wplmi_site_global_update_info |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP Last Modified Info: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲118 | 13.65 ▼0.65 | 4.80 ▲2.94 | 43.62 ▲2.35 |
Dashboard /wp-admin | 2,263 ▲81 | 4.88 ▼0.03 | 107.15 ▼7.35 | 39.83 ▼2.25 |
Posts /wp-admin/edit.php | 2,428 ▲336 | 2.13 ▲0.03 | 42.75 ▲2.47 | 35.02 ▼0.15 |
Add New Post /wp-admin/post-new.php | 6,362 ▲4,829 | 28.68 ▲5.49 | 903.31 ▲225.16 | 41.89 ▼8.09 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.18 ▲0.00 | 94.10 ▼2.01 | 38.67 ▼0.85 |
WP Last Modified Info /wp-admin/options-general.php?page=wp-last-modified-info | 2,953 | 5.29 | 140.34 | 119.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- wplmi_site_global_update_info
- wplmi_plugin_api_data
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-last-modified-info/vendor/deliciousbrains/wp-background-processing/wp-background-processing.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wp-last-modified-info/templates/admin.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/wp-last-modified-info/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: last modified, modified time, timestamp, date, time...
wp-last-modified-info/wp-last-modified-info.php 92% from 13 tests
The main PHP file in "WP Last Modified Info" ver. 1.8.8 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 193 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin5,427 lines of code in 88 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 68 | 1,187 | 2,560 | 5,091 |
JSON | 4 | 0 | 0 | 201 |
SVG | 1 | 0 | 0 | 99 |
JavaScript | 9 | 0 | 28 | 21 |
XML | 1 | 0 | 0 | 10 |
CSS | 5 | 0 | 27 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 14.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 0 | |
Traits | 5 | |
Classes | 43 | |
▷ Abstract classes | 2 | 4.65% |
▷ Concrete classes | 41 | 95.35% |
▷ Final classes | 2 | 4.88% |
Methods | 341 | |
▷ Static methods | 25 | 7.33% |
▷ Public methods | 250 | 73.31% |
▷ Protected methods | 62 | 18.18% |
▷ Private methods | 29 | 8.50% |
Functions | 13 | |
▷ Named functions | 4 | 30.77% |
▷ Anonymous functions | 9 | 69.23% |
Constants | 7 | |
▷ Global constants | 5 | 71.43% |
▷ Class constants | 2 | 28.57% |
▷ Public constants | 2 | 100.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 are no PNG files in this plugin