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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.80ms] Passed 4 tests
A check of server-side resources used by EPROLO Dropshipping
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 36.55 ▼7.15 |
Dashboard /wp-admin | 3.40 ▲0.10 | 51.44 ▼1.09 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 56.58 ▲3.26 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 93.69 ▼15.47 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.92 ▲0.50 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 8 new options
New WordPress options |
---|
eprolo__version |
eprolo__installed |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for EPROLO Dropshipping
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.53 ▼0.65 | 1.78 ▼0.18 | 41.44 ▼0.30 |
Dashboard /wp-admin | 2,220 ▲32 | 4.87 ▼1.06 | 99.02 ▼5.64 | 91.25 ▲49.82 |
Posts /wp-admin/edit.php | 2,106 ▲14 | 1.99 ▼0.04 | 39.43 ▼0.26 | 36.71 ▼4.23 |
Add New Post /wp-admin/post-new.php | 1,687 ▲173 | 24.63 ▲6.80 | 652.39 ▼38.86 | 60.60 ▼2.24 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.13 ▼0.12 | 101.19 ▼1.82 | 79.75 ▲34.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- eprolo__installed
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- eprolo__version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Eprolo_OptionsManager' not found in wp-content/plugins/eprolo-dropshipping/Eprolo_AJAX.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eprolo-dropshipping/eprolo.php:47
- > 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 uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 20 tag instead of maximum 10
eprolo-dropshipping/eprolo.php 85% from 13 tests
Analyzing the main PHP file in "EPROLO Dropshipping" version 1.7.0
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("eprolo-dropshipping.php" instead of "eprolo.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin867 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 119 | 181 | 458 |
JavaScript | 3 | 97 | 17 | 393 |
CSS | 2 | 11 | 6 | 16 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 8.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 47 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 34 | 72.34% |
▷ Protected methods | 13 | 27.66% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/eprolo.png | 1.29KB | 0.65KB | ▼ 49.32% |
images/eprolo_logo.png | 46.45KB | 25.83KB | ▼ 44.38% |