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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.20ms] Passed 4 tests
Analyzing server-side resources used by EAN for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.55 ▼5.86 |
Dashboard /wp-admin | 3.32 ▼0.02 | 46.50 ▼14.04 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.82 ▲1.04 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.06 ▼14.88 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 31.87 ▼2.00 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by EAN for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲18 | 14.70 ▲0.37 | 1.85 ▼0.22 | 43.22 ▲1.47 |
Dashboard /wp-admin | 2,198 ▲21 | 5.58 ▼0.01 | 93.24 ▲5.97 | 43.76 ▲3.88 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.96 ▼0.05 | 39.51 ▼0.45 | 33.70 ▼3.87 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.23 ▼0.29 | 589.73 ▼70.02 | 50.10 ▼0.56 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.23 ▲0.02 | 95.29 ▼0.26 | 44.03 ▲2.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (EAN for WooCommerce - Backend - Simple product), #2 (EAN for WooCommerce - Backend - Variable product), #3 (EAN for WooCommerce - Frontend - Variable product), #4 (EAN for WooCommerce - Admin settings), #5 (EAN for WooCommerce - Tools)
ean-for-woocommerce/ean-for-woocommerce.php Passed 13 tests
The main file in "EAN for WooCommerce" v. 4.8.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
71 characters long description:
Manage product GTIN (EAN, UPC, ISBN, etc.) in WooCommerce. Beautifully.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin5,531 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 672 | 2,105 | 5,452 |
JavaScript | 2 | 7 | 34 | 40 |
PO File | 1 | 13 | 15 | 39 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 24.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 4.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 1 | 3.57% |
Methods | 208 | |
▷ Static methods | 6 | 2.88% |
▷ Public methods | 208 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin