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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.95ms] Passed 4 tests
Analyzing server-side resources used by Pix para Woocommerce – OpenPix
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.84 ▼6.10 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.12 ▼6.98 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.49 ▲0.41 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.18 ▼5.03 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.25 ▼1.69 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Pix para Woocommerce – OpenPix
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.18 ▼0.17 | 1.70 ▲0.03 | 43.31 ▼4.38 |
Dashboard /wp-admin | 2,198 ▲21 | 5.60 ▲0.04 | 87.05 ▼16.67 | 40.68 ▼4.06 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.01 | 40.43 ▲3.60 | 35.03 ▼6.67 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.00 ▲0.02 | 673.89 ▼19.13 | 62.50 ▲8.39 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▲0.02 | 99.82 ▼22.98 | 43.16 ▼5.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 90% from 29 tests
readme.txt 94% 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 need to be fixed:
- License uri: Invalid URI ("")
openpix-for-woocommerce/woocommerce-openpix.php 85% from 13 tests
"Pix para Woocommerce – OpenPix" version 2.10.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("openpix-for-woocommerce.php" instead of "woocommerce-openpix.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected3,655 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 746 | 192 | 3,313 |
PO File | 2 | 104 | 136 | 260 |
CSS | 1 | 3 | 0 | 82 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 47.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 138 | |
▷ Static methods | 18 | 13.04% |
▷ Public methods | 134 | 97.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 2.90% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin