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.90MB] [CPU: ▼305.16ms] Passed 4 tests
Server-side resources used by Web4pro NoIE
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 34.72 ▲0.88 |
Dashboard /wp-admin | 2.75 ▼0.30 | 19.95 ▼19.62 |
Posts /wp-admin/edit.php | 2.75 ▼0.35 | 22.63 ▼22.48 |
Add New Post /wp-admin/post-new.php | 2.75 ▼2.68 | 20.48 ▼1,158.47 |
Media Library /wp-admin/upload.php | 2.75 ▼0.26 | 17.98 ▼20.05 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Web4pro NoIE
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,722 ▲140 | 15.90 ▲0.33 | 7.86 ▲0.27 | 46.82 ▼2.86 |
Dashboard /wp-admin | 2,976 ▲123 | 6.17 ▲0.30 | 147.53 ▲10.40 | 102.95 ▲2.18 |
Posts /wp-admin/edit.php | 2,723 ▲20 | 2.69 ▼0.00 | 66.26 ▼7.44 | 94.03 ▲4.41 |
Add New Post /wp-admin/post-new.php | 1,666 ▼187 | 18.80 ▲0.01 | 350.01 ▼8.50 | 102.81 ▼10.72 |
Media Library /wp-admin/upload.php | 1,792 ▲17 | 5.02 ▲0.03 | 153.59 ▲8.46 | 105.09 ▼7.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/web4pro-no-internet-explorer/noie_template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/web4pro-no-internet-explorer/w4p_noie.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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:
- Screenshots: Please add images for these screenshots: #1 (Web4pro NoIE settings page), #2 (Page which user can view when opens a site with Web4pro NoIE plugin from Internet Explorer 6 or 7.)
- Tested up to: Version format is invalid
web4pro-no-internet-explorer/w4p_noie.php 92% from 13 tests
The principal PHP file in "Web4pro NoIE" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("web4pro-no-internet-explorer.php" instead of "w4p_noie.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected194 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 21 | 8 | 163 |
CSS | 1 | 1 | 0 | 31 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 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 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.28MB with 0.19MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Screenshot-1.png | 16.96KB | 6.80KB | ▼ 59.89% |
Screenshot-2.png | 274.19KB | 77.20KB | ▼ 71.84% |