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
Install script ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▲2.07ms] Passed 4 tests
Analyzing server-side resources used by Connect Products with Shopify
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.36 | 41.11 ▼0.94 |
Dashboard /wp-admin | 3.66 ▲0.35 | 45.33 ▼7.01 |
Posts /wp-admin/edit.php | 3.77 ▲0.42 | 52.30 ▲8.22 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.51 | 89.58 ▲8.00 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 40.48 ▲8.52 |
Product Type /wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product | 3.58 | 35.85 |
Tags /wp-admin/edit-tags.php?taxonomy=product_tag&post_type=product | 3.58 | 34.84 |
Product /wp-admin/edit.php?post_type=product | 3.63 | 37.22 |
Add New /wp-admin/post-new.php?post_type=product | 6.40 | 83.61 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Connect Products with Shopify
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲61 | 14.67 ▼0.04 | 1.96 ▼0.10 | 43.45 ▲0.29 |
Dashboard /wp-admin | 2,247 ▲70 | 5.62 ▼0.06 | 91.93 ▼5.44 | 40.97 ▼4.70 |
Posts /wp-admin/edit.php | 2,152 ▲52 | 2.02 ▲0.03 | 40.57 ▲2.06 | 35.37 ▼2.23 |
Add New Post /wp-admin/post-new.php | 1,567 ▲30 | 23.26 ▼2.00 | 669.00 ▲13.05 | 52.79 ▼16.93 |
Media Library /wp-admin/upload.php | 1,446 ▲46 | 4.20 ▲0.02 | 101.00 ▲3.68 | 43.07 ▲0.25 |
Product Type /wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product | 1,323 | 2.12 | 27.89 | 31.23 |
Tags /wp-admin/edit-tags.php?taxonomy=product_tag&post_type=product | 1,320 | 2.12 | 28.63 | 31.66 |
Product /wp-admin/edit.php?post_type=product | 1,170 | 1.90 | 30.52 | 32.20 |
Add New /wp-admin/post-new.php?post_type=product | 1,603 | 17.06 | 1,014.78 | 36.43 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- 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
Congratulations! This plugin passed the SRP test
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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Donate link: Invalid url: ""
mainichi-shopify-products-connect/mainichi-shopify-products-connect.php 92% from 13 tests
Analyzing the main PHP file in "Connect Products with Shopify" version 1.1.6
It is important to fix the following:
- Requires PHP: Required version must match the one declared in readme.txt ("7.0" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected4,925 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 392 | 361 | 4,126 |
PO File | 1 | 208 | 240 | 487 |
CSS | 1 | 57 | 4 | 261 |
SVG | 3 | 0 | 3 | 51 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 2 | 100.00% |
Methods | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 3 | 27.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 72.73% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected