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 had errors
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
Server metrics [RAM: ▼1.97MB] [CPU: ▼53.85ms] Passed 4 tests
An overview of server-side resources used by WebisOnline
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.51 ▼34.67 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.81 ▼56.97 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.04 ▼39.32 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.69 ▼84.43 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.25 ▼28.94 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
webisonline_site_id |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WebisOnline
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.35 ▼0.24 | 1.76 ▲0.07 | 44.16 ▼0.13 |
Dashboard /wp-admin | 2,207 ▲30 | 5.64 ▲0.04 | 79.71 ▼22.08 | 81.41 ▲36.11 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.98 ▼0.01 | 33.74 ▼6.44 | 31.48 ▼4.26 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.03 ▼0.55 | 660.80 ▼12.40 | 61.88 ▼2.08 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.18 ▲0.00 | 100.54 ▲1.12 | 63.35 ▲16.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- webisonline_site_id
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/webisonline/templates/script.php
- > /wp-content/plugins/webisonline/webisonline.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: site_id in wp-content/plugins/webisonline/templates/script.php on line 2
- > PHP Notice
Undefined variable: error in wp-content/plugins/webisonline/templates/error.php on line 7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/webisonline/templates/page.php:8
- > PHP Notice
Undefined variable: error in wp-content/plugins/webisonline/templates/page.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/webisonline/templates/error.php:9
- > PHP Notice
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)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Too many tags (24 tag instead of maximum 10); only the first 5 tags are used in your directory listing
webisonline/webisonline.php 77% from 13 tests
The entry point to "WebisOnline" version 2.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: Prefix the domain path with a forward slash character ("//")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 279 characters long)
- Domain Path: Use only dashes and lowercase characters for the domain path ("/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin508 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 59 | 28 | 337 |
PO File | 1 | 38 | 135 | 140 |
CSS | 1 | 2 | 0 | 31 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 10 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 28.57% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/success.png | 2.42KB | 1.12KB | ▼ 53.58% |
img/logo.png | 7.47KB | 3.64KB | ▼ 51.27% |
img/icon.png | 0.70KB | 0.76KB | 0.00% |