Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.35ms] Passed 4 tests
Server-side resources used by eBanqo Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 34.96 ▼7.64 |
Dashboard /wp-admin | 3.35 ▲0.05 | 41.57 ▼7.22 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 44.10 ▼3.11 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 84.16 ▼11.43 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.32 ▲0.56 |
eBanqo /wp-admin/options-general.php?page=ebanqoio_plugin | 3.33 | 35.54 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
ebanqoio-options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for eBanqo Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.38 ▼1.03 | 1.64 ▼0.16 | 42.50 ▲2.48 |
Dashboard /wp-admin | 2,207 ▲16 | 5.82 ▲0.93 | 96.44 ▼15.13 | 38.17 ▼6.88 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▼0.04 | 37.60 ▼1.99 | 34.46 ▼3.63 |
Add New Post /wp-admin/post-new.php | 1,517 ▼3 | 17.69 ▼5.33 | 658.52 ▼39.13 | 64.83 ▲9.20 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.19 ▼0.06 | 101.46 ▼4.74 | 44.16 ▼1.32 |
eBanqo /wp-admin/options-general.php?page=ebanqoio_plugin | 1,836 | 3.90 | 91.71 | 68.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: enableWhatsApp in wp-content/plugins/ebanqo-widget/templates/widget.php on line 1
- > PHP Notice
Undefined variable: enableTwitter in wp-content/plugins/ebanqo-widget/templates/widget.php on line 1
- > PHP Notice
Undefined variable: url in wp-content/plugins/ebanqo-widget/templates/widget.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ebanqo-widget/ebanqo.php:25
- > PHP Notice
Undefined variable: enableMessenger in wp-content/plugins/ebanqo-widget/templates/widget.php on line 1
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Please fix this invalid url: ""
- Tags: You are using too many tags: 11 tag instead of maximum 10
ebanqo-widget/ebanqo.php 85% from 13 tests
This is the main PHP file of "eBanqo Widget" version 0.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 285 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("ebanqo-widget.php" instead of "ebanqo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin637 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 44 | 71 | 482 |
CSS | 1 | 23 | 0 | 129 |
JavaScript | 1 | 4 | 4 | 26 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 13 | 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 | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
13 PNG files occupy 0.57MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 41.21KB | 16.62KB | ▼ 59.66% |
assets/icon-256x256.png | 5.56KB | 2.42KB | ▼ 56.49% |
assets/banner-772x250.png | 57.17KB | 18.61KB | ▼ 67.44% |
screenshot-2.png | 19.05KB | 7.84KB | ▼ 58.82% |
screenshot-3.png | 37.41KB | 14.53KB | ▼ 61.15% |