Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/nomoreie6please/nomoreie6please.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; NoMoreIE6Please has a deprecated constructor
Server metrics [RAM: ▼2.10MB] [CPU: ▼61.22ms] Passed 4 tests
A check of server-side resources used by NoMoreIE6Please
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.55 | 4.87 ▼42.62 |
Dashboard /wp-admin | 2.20 ▼1.43 | 6.00 ▼59.05 |
Posts /wp-admin/edit.php | 2.20 ▼1.48 | 8.50 ▼41.16 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.95 | 7.10 ▼102.05 |
Media Library /wp-admin/upload.php | 2.20 ▼1.29 | 6.23 ▼32.75 |
Server storage [IO: ▲0.10MB] [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: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_nomoreie6please |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by NoMoreIE6Please
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.38 ▲0.36 | 1.80 ▼0.23 | 43.50 ▼1.09 |
Dashboard /wp-admin | 2,198 ▲21 | 5.66 ▼0.03 | 93.35 ▲5.88 | 40.49 ▼0.02 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.04 ▲0.03 | 39.34 ▼1.28 | 35.62 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 17.66 ▲0.21 | 654.58 ▲51.07 | 49.90 ▼1.02 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.24 ▼0.00 | 99.93 ▼20.89 | 41.90 ▼5.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/nomoreie6please/nomoreie6please.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; NoMoreIE6Please has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_nomoreie6please
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/nomoreie6please/nomoreie6please.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Widget after inserting into the sidebar), #2 (Widget at work)
nomoreie6please/nomoreie6please.php Passed 13 tests
The main PHP file in "NoMoreIE6Please" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
103 characters long description:
This widget gives e custom warning to a user with any old Browser and kindly asks to update it a.s.a.p.
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
Good job! No executable or dangerous file extensions detected297 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 37 | 297 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 8.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
17 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/24_opera.png | 4.06KB | 1.41KB | ▼ 65.34% |
screenshot-1.png | 13.56KB | 6.44KB | ▼ 52.49% |
images/16_opera.png | 3.38KB | 0.78KB | ▼ 76.93% |
images/24_ie.png | 4.22KB | 1.43KB | ▼ 66.20% |
images/16_chrome.png | 3.57KB | 0.98KB | ▼ 72.64% |