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
Install script ran successfully
Server metrics [RAM: ▼0.48MB] [CPU: ▼25.29ms] Passed 4 tests
Server-side resources used by WP Last Modified
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▼0.62 | 18.96 ▼25.32 |
Dashboard /wp-admin | 3.32 ▼0.02 | 40.56 ▼20.67 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.50 ▲7.46 |
Add New Post /wp-admin/post-new.php | 4.61 ▼1.28 | 38.32 ▼57.10 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.92 ▲1.92 |
WP Last Modified /wp-admin/options-general.php?page=wp-last-modified/includes/admin.php | 3.19 | 32.83 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Last Modified
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲95 | 15.06 ▲0.47 | 1.70 ▼0.13 | 40.55 ▼2.72 |
Dashboard /wp-admin | 2,247 ▲56 | 7.03 ▲1.12 | 175.96 ▲71.69 | 44.90 ▲7.12 |
Posts /wp-admin/edit.php | 2,102 ▲10 | 3.83 ▲1.84 | 66.76 ▲26.01 | 28.57 ▼8.38 |
Add New Post /wp-admin/post-new.php | 6,504 ▲4,976 | 26.60 ▲8.42 | 942.63 ▲297.98 | 35.66 ▼16.38 |
Media Library /wp-admin/upload.php | 1,448 ▲57 | 6.22 ▲2.01 | 149.33 ▲48.61 | 49.65 ▲4.99 |
WP Last Modified /wp-admin/options-general.php?page=wp-last-modified/includes/admin.php | 1,113 | 5.41 | 117.01 | 37.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-last-modified/includes/admin.php
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wp-last-modified/includes/admin.php
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 17 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-last-modified/includes/admin.php
- > Notice in wp-content/plugins/wp-last-modified/includes/admin.php+70
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-last-modified/wp-last-modified.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-last-modified/includes/admin.php:38
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=wp-last-modified/includes/admin.php
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
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: tag, last, revised, modified, updated...
wp-last-modified/wp-last-modified.php Passed 13 tests
"WP Last Modified" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
110 characters long description:
Display Last updated / Last modified date & time in WordPress Posts and Pages. Also supports Meta Revised tag.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin233 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 29 | 68 | 233 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 19 | |
▷ Named functions | 19 | 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
There are no PNG files in this plugin