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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.50ms] Passed 4 tests
Analyzing server-side resources used by WP Last Modified
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.79 ▼1.22 |
Dashboard /wp-admin | 3.35 ▲0.04 | 51.15 ▼3.16 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.06 ▼4.65 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.81 ▼13.62 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.24 ▼4.55 |
WP Last Modified Settings /wp-admin/options-general.php?page=wp-open-last-modified/open_last_modified.php | 3.24 | 36.10 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Last Modified
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.22 ▼0.99 | 1.86 ▼0.08 | 42.99 ▼4.82 |
Dashboard /wp-admin | 2,207 ▲19 | 5.86 ▲0.96 | 108.54 ▼1.65 | 42.77 ▲5.47 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.06 | 33.66 ▼2.29 | 35.33 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.34 ▲0.78 | 628.08 ▼44.57 | 49.82 ▼18.18 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.24 ▼0.01 | 102.74 ▲4.03 | 42.19 ▼0.48 |
WP Last Modified Settings /wp-admin/options-general.php?page=wp-open-last-modified/open_last_modified.php | 983 | 8.15 | 151.29 | 34.10 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
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
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-open-last-modified/open_last_modified.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=wp-open-last-modified/open_last_modified.php
- > Network (severe)
https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-4632643185412075&output=html&h=280&slotname=8151786874&adk=3972669584&adf=4055310249&pi=t.ma~as.8151786874&w=729&fwrn=4&fwrnh=100&lmt=1697108638&rafmt=1&format=729x280&url=http%3A%2F%2Fwp.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Dwp-open-last-modified%252Fopen_last_modified.php&ea=0&fwr=0&fwrattr=true&rpe=1&resp_fmts=3&wgl=1&dt=1697108638723&bpp=4&bdt=218&idt=256&shv=r20231004&mjsv=m202310040101&ptt=9&saldr=aa&abxe=1&correlator=2751959616983&frm=20&pv=2&ga_vid=2049118128.1697108639&ga_sid=1697108639&ga_hid=429031050&ga_fc=0&u_tz=180&u_his=14&u_h=600&u_w=800&u_ah=600&u_aw=800&u_cd=24&u_sd=1&adx=56&ady=120&biw=785&bih=585&scr_x=0&scr_y=0&eid=44759927%2C44759876%2C31077328%2C31078658%2C42532335%2C44804782%2C44805098%2C44804939&oid=2&pvsid=2179955589008143&tmod=531866322&uas=0&nvt=1&fc=896&brdim=0%2C0%2C0%2C0%2C800%2C0%2C800%2C600%2C800%2C600&vis=1&rsz=o%7Co%7CpeE%7C&abl=NS&pfx=0&fu=1152&bc=23&ifi=1&uci=a!1&fsb=1&dtd=277 - Failed to load resource: the server responded with a status of 403 ()
- > GET request to /wp-admin/options-general.php?page=wp-open-last-modified/open_last_modified.php
- > Network (severe)
https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-4632643185412075&output=html&h=280&slotname=7055818315&adk=2745236103&adf=683767716&pi=t.ma~as.7055818315&w=729&fwrn=4&fwrnh=100&lmt=1697108639&rafmt=1&format=729x280&url=http%3A%2F%2Fwp.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Dwp-open-last-modified%252Fopen_last_modified.php&ea=0&fwr=0&fwrattr=true&rpe=1&resp_fmts=3&wgl=1&dt=1697108638727&bpp=1&bdt=222&idt=282&shv=r20231004&mjsv=m202310040101&ptt=9&saldr=aa&abxe=1&prev_fmts=729x280&correlator=2751959616983&frm=20&pv=1&ga_vid=2049118128.1697108639&ga_sid=1697108639&ga_hid=429031050&ga_fc=0&u_tz=180&u_his=14&u_h=600&u_w=800&u_ah=600&u_aw=800&u_cd=24&u_sd=1&adx=56&ady=1025&biw=785&bih=585&scr_x=0&scr_y=0&eid=44759927%2C44759876%2C31077328%2C31078658%2C42532335%2C44804782%2C44805098%2C44804939&oid=2&pvsid=2179955589008143&tmod=531866322&uas=0&nvt=1&fc=896&brdim=0%2C0%2C0%2C0%2C800%2C0%2C800%2C600%2C800%2C600&vis=1&rsz=o%7Co%7CpeEbr%7C&abl=NS&pfx=0&fu=1152&bc=23&ifi=2&uci=a!2&btvi=1&fsb=1&dtd=287 - Failed to load resource: the server responded with a status of 403 ()
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Contributors: The plugin contributors field is missing
wp-open-last-modified/open_last_modified.php 85% from 13 tests
"WP Last Modified" version 1.4.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-open-last-modified.php" instead of "open_last_modified.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 533 characters long)
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
There were no executable files found in this plugin326 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 46 | 137 | 268 |
PO File | 1 | 17 | 60 | 58 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected