Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼10.18ms] Passed 4 tests
Analyzing server-side resources used by Boost site performance with Reverse Proxy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 43.27 ▼2.10 |
Dashboard /wp-admin | 3.42 ▲0.07 | 54.04 ▼7.73 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 49.34 ▼6.67 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 86.20 ▼24.20 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 40.23 ▲3.02 |
Server storage [IO: ▲1.95MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 28 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-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Boost site performance with Reverse Proxy
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.39 ▲0.01 | 1.85 ▼0.26 | 44.02 ▲1.62 |
Dashboard /wp-admin | 2,198 ▲24 | 5.66 ▲0.03 | 83.09 ▼8.15 | 74.43 ▲34.25 |
Posts /wp-admin/edit.php | 2,118 ▲21 | 2.00 ▼0.05 | 34.91 ▼4.74 | 31.54 ▼4.22 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.26 ▲5.81 | 759.83 ▲62.58 | 64.82 ▲6.35 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.11 ▼0.15 | 99.57 ▼20.83 | 86.09 ▲36.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reverse-proxy/class-mo-reverse-proxy-loader.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: url rewriting, file restriction, ip restriction, cors, boost site speed...
reverse-proxy/miniorange-reverse-proxy.php 85% from 13 tests
"Boost site performance with Reverse Proxy" version 1.1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 174 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("reverse-proxy.php" instead of "miniorange-reverse-proxy.php")
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
Success! There were no dangerous files found in this plugin6,338 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 2,046 | 34 | 4,833 |
PHP | 5 | 111 | 25 | 818 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 2 | 0 | 14 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 96.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.85% |
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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 PNG files occupy 0.68MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/images/miniorange.png | 0.44KB | 0.35KB | ▼ 18.61% |
resources/images/ip_restriction.png | 96.52KB | 36.37KB | ▼ 62.32% |
resources/images/cors.png | 98.32KB | 36.87KB | ▼ 62.50% |
resources/images/flags16.png | 61.80KB | 19.90KB | ▼ 67.79% |
resources/images/logo.png | 2.84KB | 1.59KB | ▼ 44.03% |