Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.20ms] Passed 4 tests
Server-side resources used by Syncee - Global Dropshipping
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.15 ▼6.04 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.22 ▼4.21 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 49.38 ▼1.19 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.67 ▼5.37 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.58 ▲3.13 |
Server storage [IO: ▲1.59MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Syncee - Global Dropshipping
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲84 | 13.63 ▼0.59 | 1.60 ▼0.57 | 43.08 ▼7.11 |
Dashboard /wp-admin | 2,250 ▲59 | 4.88 ▼1.00 | 104.49 ▼11.90 | 39.83 ▼2.98 |
Posts /wp-admin/edit.php | 2,137 ▲45 | 2.01 ▼0.04 | 41.24 ▲6.70 | 34.82 ▼0.52 |
Add New Post /wp-admin/post-new.php | 1,524 ▲10 | 17.66 ▲0.17 | 657.65 ▼28.46 | 52.74 ▼1.11 |
Media Library /wp-admin/upload.php | 1,432 ▲41 | 4.28 ▲0.03 | 94.66 ▼6.10 | 41.38 ▼1.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/syncee-global-dropshipping/View/index.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/syncee-global-dropshipping/Syncee.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/syncee-global-dropshipping/includes/RestForSyncee.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Contributors: Plugin contributors field is missing
syncee-global-dropshipping/plugin.php 85% from 13 tests
The main PHP file in "Syncee - Global Dropshipping" ver. 1.0.17 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 178 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("syncee-global-dropshipping.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected804 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 135 | 95 | 533 |
JavaScript | 2 | 70 | 12 | 212 |
CSS | 2 | 8 | 8 | 48 |
SVG | 1 | 1 | 0 | 11 |
PHP code Passed 2 tests
An short overview of 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 | 9.67 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 9 | 26.47% |
▷ Public methods | 31 | 91.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 8.82% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
13 PNG files occupy 1.37MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-5.png | 633.20KB | 248.29KB | ▼ 60.79% |
img/syncee_18x18.png | 0.61KB | 0.58KB | ▼ 6.05% |
img/syncee_logo.png | 2.31KB | 1.95KB | ▼ 15.53% |
(invalid) assets/screenshot-4.png | 0.00KB | 0.00KB | 0.00% |
img/syncee_icon_blue.png | 0.65KB | 0.52KB | ▼ 19.34% |