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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.62ms] Passed 4 tests
Analyzing server-side resources used by Mango ssl
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 34.24 ▼5.96 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.36 ▲2.58 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 43.96 ▼3.82 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 82.29 ▼6.52 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 33.77 ▼2.18 |
Mango setup /wp-admin/options-general.php?page=sub-page | 3.25 | 28.96 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Mango ssl
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.72 ▲0.17 | 1.89 ▼0.02 | 36.92 ▼7.27 |
Dashboard /wp-admin | 2,204 ▲33 | 5.56 ▼0.03 | 96.18 ▼4.76 | 45.09 ▼2.77 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 2.15 ▲0.16 | 34.86 ▼5.15 | 33.43 ▼3.13 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.10 ▼4.96 | 622.55 ▼8.30 | 80.28 ▲30.61 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.38 ▲0.18 | 101.99 ▼3.73 | 42.38 ▼1.64 |
Mango setup /wp-admin/options-general.php?page=sub-page | 806 | 2.00 | 23.64 | 26.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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 fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mango-ssl/mango-ssl_order.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mango-ssl/mango-ssl_order.php:13
- > 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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Donate link: Invalid url: "www.mangossl.com"
- Screenshots: Screenshot #1 (Screenshot of the setup menu to authenticate mango user:) image not found
mango-ssl/mango-ssl.php Passed 13 tests
The main PHP file in "Mango ssl" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
137 characters long description:
Mango ssl plugin sends all the order changes entered in WooCommerce to mango(www.mangossl.com) to avoid reentering those orders manually.
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
No dangerous file extensions were detected371 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 118 | 45 | 366 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 4.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 40.17KB | 16.50KB | ▼ 58.92% |