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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼11.27ms] Passed 4 tests
An overview of server-side resources used by IE6 Upgrade Option
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 43.28 ▼2.39 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.40 ▼18.79 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.93 ▼5.46 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.20 ▼18.44 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.20 ▼0.15 |
Server storage [IO: ▲0.09MB] [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: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for IE6 Upgrade Option
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▲0.17 | 1.95 ▲0.28 | 48.31 ▲2.16 |
Dashboard /wp-admin | 2,192 ▲15 | 5.61 ▼0.08 | 84.84 ▼5.79 | 38.82 ▲0.01 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.99 ▲0.00 | 34.43 ▼3.67 | 37.17 ▲0.54 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.21 ▼4.86 | 632.51 ▼55.16 | 67.92 ▲14.58 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▲0.04 | 104.20 ▼16.78 | 43.39 ▼5.73 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 | 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 take a closer look at the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined index: HTTP_USER_AGENT in wp-content/plugins/ie6-upgrade-option/ie6-upgrade-option.php on line 140
- > PHP Notice
Undefined index: HTTP_USER_AGENT in wp-content/plugins/ie6-upgrade-option/ie6-upgrade-option.php on line 33
- > PHP Notice
Undefined index: HTTP_USER_AGENT in wp-content/plugins/ie6-upgrade-option/ie6-upgrade-option.php on line 33
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ie6-upgrade-option/multi-browser/ie6-upgrade-option.php:32
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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 to be fixed:
- Tags: Too many tags (24 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ie6-upgrade-option/ie6-upgrade-option.php Passed 13 tests
"IE6 Upgrade Option" version 3.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
88 characters long description:
Generates an optional IE6 upgrade message as a plugin with output only for MSIE browsers
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin889 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 1 | 5 | 414 |
CSS | 1 | 41 | 7 | 221 |
JSON | 9 | 0 | 0 | 162 |
PHP | 2 | 51 | 117 | 92 |
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.17 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected