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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.09ms] Passed 4 tests
An overview of server-side resources used by Transportadora Zapex for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.19 ▼2.11 |
Dashboard /wp-admin | 3.33 ▼0.02 | 44.17 ▼18.43 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.70 ▼3.05 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.73 ▼4.77 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.51 ▲1.14 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Transportadora Zapex for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.46 ▼0.30 | 1.68 ▼0.42 | 38.61 ▼5.47 |
Dashboard /wp-admin | 2,206 ▲18 | 5.89 ▲0.07 | 108.04 ▼11.41 | 43.57 ▼0.87 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.01 | 40.28 ▲4.68 | 34.44 ▲0.64 |
Add New Post /wp-admin/post-new.php | 1,519 ▼14 | 23.18 ▲0.47 | 596.71 ▼53.44 | 46.50 ▼6.69 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.29 ▲0.11 | 99.04 ▼1.64 | 44.32 ▼1.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: delivery, zapex, shipping, woocommerce
transportadora-zapex-woocommerce/zapex-woocommerce.php 85% from 13 tests
The primary PHP file in "Transportadora Zapex for WooCommerce" version 1.2.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "3.8.0")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("transportadora-zapex-woocommerce.php" instead of "zapex-woocommerce.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
No dangerous file extensions were detected147 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 30 | 147 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 57.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 42.86% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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