Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲0.49ms] Passed 4 tests
A check of server-side resources used by Integração entre Eduzz e Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 47.05 ▼0.28 |
Dashboard /wp-admin | 3.38 ▲0.08 | 51.48 ▼0.86 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 58.54 ▲9.91 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 88.27 ▼2.61 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 41.06 ▲5.69 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Integração entre Eduzz e Woocommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.25 ▼0.39 | 1.82 ▲0.11 | 43.61 ▼3.61 |
Dashboard /wp-admin | 2,211 ▲31 | 5.55 ▼0.07 | 97.37 ▼0.48 | 48.44 ▲6.26 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.97 ▼0.02 | 34.01 ▼2.19 | 36.29 ▲3.84 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.05 ▼0.10 | 680.27 ▼85.21 | 56.06 ▼11.34 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.15 ▼0.07 | 114.77 ▲4.74 | 47.26 ▼0.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: access in wp-content/plugins/integracao-entre-eduzz-e-wc-powers/admin/views/wep-settings-startview.php on line 28
- > PHP Warning
include_once(): Failed opening 'include/class-wep-eduzz.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/integracao-entre-eduzz-e-wc-powers/admin/class-wep-admin.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/integracao-entre-eduzz-e-wc-powers/admin/views/wep-settings-startview.php on line 28
- > PHP Warning
include_once(include/class-wep-eduzz.php): failed to open stream: No such file or directory in wp-content/plugins/integracao-entre-eduzz-e-wc-powers/admin/class-wep-admin.php on line 2
- > PHP Notice
Undefined variable: access in wp-content/plugins/integracao-entre-eduzz-e-wc-powers/admin/views/wep-settings-startview.php on line 29
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_url() in wp-content/plugins/integracao-entre-eduzz-e-wc-powers/admin/views/wep-settings-startview.php:39
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/integracao-entre-eduzz-e-wc-powers/admin/views/wep-settings-startview.php on line 29
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/integracao-entre-eduzz-e-wc-powers/admin/views/wep-settings-startview.php on line 27
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/integracao-entre-eduzz-e-wc-powers/include/class-wep-webhook.php:2
- > PHP Notice
Undefined variable: wep_path in wp-content/plugins/integracao-entre-eduzz-e-wc-powers/admin/class-wep-admin.php on line 2
- > PHP Notice
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 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== integracao-entre-eduzz-e-wc-powers ===
)
integracao-entre-eduzz-e-wc-powers/wep-powers.php 92% from 13 tests
The main PHP script in "Integração entre Eduzz e Woocommerce" version 1.7.5 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("integracao-entre-eduzz-e-wc-powers.php" instead of "wep-powers.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 plugin1,721 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 122 | 16 | 846 |
CSS | 1 | 60 | 1 | 761 |
JavaScript | 1 | 13 | 0 | 114 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 40.33 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 5.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 96.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin