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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.85ms] Passed 4 tests
Server-side resources used by Inkedjoy POD Dropshipping
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.49 ▲1.16 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.30 ▼1.82 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 50.68 ▼0.26 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.48 ▼16.02 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.03 ▼1.28 |
Server storage [IO: ▲0.36MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
eprolo_pod__version |
eprolo_pod__installed |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Inkedjoy POD Dropshipping: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.29 ▼0.38 | 1.79 ▼0.02 | 42.07 ▲0.98 |
Dashboard /wp-admin | 2,206 ▲35 | 5.60 ▼0.06 | 84.54 ▼5.47 | 76.70 ▲31.12 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.02 ▼0.02 | 35.99 ▼1.85 | 37.17 ▼2.19 |
Add New Post /wp-admin/post-new.php | 1,549 ▲9 | 23.15 ▲0.07 | 720.05 ▲10.91 | 48.80 ▼11.41 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.22 ▲0.02 | 100.70 ▼7.18 | 78.63 ▲33.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- eprolo_pod__version
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- eprolo_pod__installed
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eprolo-pod-dropshipping/eprolo_pod.php:49
- > PHP Fatal error
Uncaught Error: Class 'Eprolo_Pod_Options_Manager' not found in wp-content/plugins/eprolo-pod-dropshipping/Eprolo_pod_ajax.php:6
- > PHP Fatal error
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)
Everything seems fine on the user side
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
Please fix the following attributes:
- Tags: You are using too many tags: 17 tag instead of maximum 10
eprolo-pod-dropshipping/eprolo_pod.php 85% from 13 tests
Analyzing the main PHP file in "Inkedjoy POD Dropshipping" version 1.3
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("eprolo-pod-dropshipping.php" instead of "eprolo_pod.php")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,015 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 130 | 164 | 567 |
JavaScript | 3 | 97 | 16 | 408 |
CSS | 2 | 3 | 6 | 40 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 9.80 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 35 | 72.92% |
▷ Protected methods | 13 | 27.08% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ 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
5 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logoinkedjoy.png | 28.29KB | 8.33KB | ▼ 70.54% |
images/inkedjoy.png | 5.00KB | 1.92KB | ▼ 61.50% |
images/eprolo_logo.png | 46.45KB | 25.83KB | ▼ 44.38% |
images/eprolo.png | 0.49KB | 0.33KB | ▼ 33.00% |
images/logoi.png | 1.62KB | 0.76KB | ▼ 53.22% |