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 gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼7.65ms] Passed 4 tests
Server-side resources used by Connect WooCommerce and WordPress to Canva, Figma and Adobe
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.53 ▼3.42 |
Dashboard /wp-admin | 3.45 ▲0.10 | 48.96 ▼20.82 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 97.76 ▲44.06 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 98.60 ▼10.07 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 39.51 ▲3.71 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
datapocket_token |
datapocket_version |
can_compress_scripts |
datapocket_wp_token |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Connect WooCommerce and WordPress to Canva, Figma and Adobe: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.37 ▼0.05 | 1.58 ▼0.41 | 47.46 ▲4.28 |
Dashboard /wp-admin | 2,213 ▲33 | 5.59 ▼0.01 | 85.20 ▼18.80 | 97.06 ▲52.23 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.11 ▲0.09 | 33.91 ▼2.71 | 34.35 ▼2.01 |
Add New Post /wp-admin/post-new.php | 1,539 ▼7 | 23.23 ▲2.13 | 676.19 ▲24.66 | 62.68 ▲3.93 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.22 ▲0.02 | 105.10 ▲8.53 | 64.32 ▲19.05 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- can_compress_scripts
- datapocket_wp_token
- datapocket_version
- widget_theysaidso_widget
- datapocket_token
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/datapocket/includes/admin/views/html-admin-page.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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 to be fixed:
- Screenshots: Please add images for these screenshots: #1 (DataPocket plugin.), #2 (Activate plugin.), #3 (Copy key from DataPocket Settings.), #4 (Paste in your DataPocket account.), #5 (The sync will start in a blink.)
datapocket/datapocket.php Passed 13 tests
The entry point to "Connect WooCommerce and WordPress to Canva, Figma and Adobe" version 1.2.9 is a PHP file that has certain tags in its header comment area
59 characters long description:
Connect WooCommerce and WordPress to Canva, Figma and Adobe
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
Success! There were no dangerous files found in this plugin676 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 180 | 456 | 614 |
CSS | 2 | 9 | 6 | 61 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 45 | |
▷ Static methods | 29 | 64.44% |
▷ Public methods | 42 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.67% |
Functions | 17 | |
▷ Named functions | 5 | 29.41% |
▷ Anonymous functions | 12 | 70.59% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/menu-icon.png | 0.62KB | 0.65KB | 0.00% |