Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼10.03ms] Passed 4 tests
Analyzing server-side resources used by Spreadr Woocommerce Plugin - Amazon Importer for Dropshipping and Affiliate
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.77 ▼0.09 |
Dashboard /wp-admin | 3.31 ▼0.03 | 52.59 ▼20.32 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 54.39 ▼1.60 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.48 ▼16.89 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.34 ▼1.29 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Spreadr Woocommerce Plugin - Amazon Importer for Dropshipping and Affiliate
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.37 ▲0.10 | 1.64 ▼0.07 | 49.18 ▲10.55 |
Dashboard /wp-admin | 2,198 ▲21 | 5.64 ▼0.03 | 93.61 ▲0.62 | 42.18 ▼4.61 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.97 ▲0.02 | 42.71 ▲3.08 | 38.03 ▲2.61 |
Add New Post /wp-admin/post-new.php | 1,535 ▲131 | 23.01 ▲5.22 | 678.22 ▲66.21 | 60.13 ▲9.57 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.10 ▼0.09 | 97.17 ▼6.35 | 46.59 ▼7.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 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
6 plugin tags: amazon associate, amazon importing, amazon woocommerce, amazon dropshipping, amazon affiliate...
spreadr-for-woocomerce/spreadr.php 69% from 13 tests
"Spreadr Woocommerce Plugin - Amazon Importer for Dropshipping and Affiliate" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("spreadr-for-woocomerce.php" instead of "spreadr.php")
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 75 characters long)
- Description: Keep the plugin description shorter than 140 characters (currently 157 characters long)
- Requires at least: The required version number did not match the one declared in readme.txt ("2.9.1" instead of "4.4")
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
Good job! No executable or dangerous file extensions detected1,047 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 493 | 123 | 1,047 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 11 | |
▷ Static methods | 5 | 45.45% |
▷ Public methods | 6 | 54.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 45.45% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
PNG images were not found in this plugin