Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.96ms] Passed 4 tests
Analyzing server-side resources used by Datadev - Total Express for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.32 ▼2.83 |
Dashboard /wp-admin | 3.32 ▲0.02 | 52.00 ▼0.44 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.63 ▼1.11 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.41 ▼15.47 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.33 ▲4.04 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Datadev - Total Express for WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲15 | 14.37 ▲0.00 | 1.77 ▼0.55 | 44.98 ▼0.48 |
Dashboard /wp-admin | 2,207 ▲29 | 5.51 ▼0.14 | 88.83 ▼28.56 | 41.04 ▼0.87 |
Posts /wp-admin/edit.php | 2,113 ▲10 | 2.01 ▲0.03 | 36.41 ▲1.39 | 38.72 ▲1.75 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 23.21 ▲0.02 | 659.88 ▼13.58 | 59.46 ▼5.82 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.28 ▲0.06 | 104.09 ▼15.54 | 43.32 ▼3.96 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
4 plugin tags: shipping, woocommerce, total express, delivery
datadev-total-express-for-woocommerce/datadev-total-express-for-woocommerce.php 92% from 13 tests
"Datadev - Total Express for WooCommerce" version 1.1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("5.2" instead of "3.8.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,025 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 220 | 647 | 856 |
PO File | 1 | 58 | 65 | 158 |
JavaScript | 2 | 1 | 0 | 11 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 8.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 9 | 13.43% |
▷ Public methods | 51 | 76.12% |
▷ Protected methods | 14 | 20.90% |
▷ Private methods | 2 | 2.99% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin