Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲6.41MB] [CPU: ▲40.76ms] 50% from 4 tests
This is a short check of server-side resources used by jav's - WooCommerce and Trello integration WooTrello
Please take the time to fix the following items
- RAM: Total memory usage should be kept under 10MB (currently 10.41MB on /wp-admin/admin.php?page=freemius)
- Extra RAM: Extra memory usage must be kept under 5MB (currently 6.41MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.39 ▲6.93 | 96.77 ▲54.11 |
Dashboard /wp-admin | 10.41 ▲7.11 | 103.60 ▲49.77 |
Posts /wp-admin/edit.php | 10.41 ▲7.06 | 93.00 ▲42.65 |
Add New Post /wp-admin/post-new.php | 10.41 ▲4.53 | 129.09 ▲24.97 |
Media Library /wp-admin/upload.php | 10.41 ▲7.18 | 85.69 ▲45.65 |
Freemius Debug [v.2.5.9] /wp-admin/admin.php?page=freemius | 10.41 | 84.12 |
Server storage [IO: ▲6.50MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 202 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
fs_debug_mode |
widget_recent-comments |
wootrello_installed |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
fs_accounts |
fs_active_plugins |
Browser metrics Passed 4 tests
A check of browser resources used by jav's - WooCommerce and Trello integration WooTrello
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,956 ▲195 | 13.58 ▼1.01 | 8.84 ▲7.14 | 33.34 ▼9.71 |
Dashboard /wp-admin | 2,254 ▲54 | 4.95 ▼0.95 | 104.00 ▲3.18 | 42.54 ▼3.48 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.02 ▲0.04 | 35.54 ▼7.30 | 32.72 ▼4.99 |
Add New Post /wp-admin/post-new.php | 1,544 ▲13 | 20.98 ▼2.00 | 674.29 ▼13.49 | 55.07 ▼10.25 |
Media Library /wp-admin/upload.php | 1,433 ▲36 | 4.25 ▲0.03 | 104.21 ▼13.22 | 48.38 ▼1.21 |
Freemius Debug [v.2.5.9] /wp-admin/admin.php?page=freemius | 1,112 | 1.73 | 25.19 | 28.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 without warnings or errors
- > Notice in wp-content/plugins/wootrello/includes/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 10 options
- widget_recent-comments
- fs_debug_mode
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- wootrello_installed
- fs_active_plugins
- fs_accounts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wootrello/public/partials/wootrello-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/wootrello/admin/partials/wootrello-settings-display.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 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
5 plugin tags: woocommerce and trello, woocommerce, automation, trello, woocommerce integration with trello
wootrello/wootrello.php Passed 13 tests
The main PHP script in "jav's - WooCommerce and Trello integration WooTrello" version 3.2.5 is automatically included on every request by WordPress
45 characters long description:
WooCommerce order information to Trello card.
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin35,355 lines of code in 151 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 129 | 8,253 | 18,040 | 34,924 |
JavaScript | 6 | 39 | 110 | 310 |
CSS | 15 | 19 | 5 | 115 |
INI | 1 | 0 | 0 | 6 |
PHP code 0% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
The following items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,079)
- Method cyclomatic complexity should be reduced to less than 100 (currently 173)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 94.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,079.00 |
Average method complexity | 5.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 173.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 2 | 3.64% |
▷ Concrete classes | 53 | 96.36% |
▷ Final classes | 0 | 0.00% |
Methods | 1,306 | |
▷ Static methods | 199 | 15.24% |
▷ Public methods | 912 | 69.83% |
▷ Protected methods | 17 | 1.30% |
▷ Private methods | 377 | 28.87% |
Functions | 96 | |
▷ Named functions | 96 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 146 | |
▷ Global constants | 99 | 67.81% |
▷ Class constants | 47 | 32.19% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
includes/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
includes/freemius/assets/img/wootrello.png | 22.71KB | 3.69KB | ▼ 83.77% |