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 gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.50ms] Passed 4 tests
A check of server-side resources used by Plugin Installer from public URL
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 46.95 ▲3.49 |
Dashboard /wp-admin | 3.34 ▲0.03 | 52.87 ▼29.39 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.16 ▲1.19 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.91 ▼7.53 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.90 ▲1.75 |
Install from URL /wp-admin/plugins.php?page=plgf_pipu01_page | 3.32 | 42.16 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Plugin Installer from public URL
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲15 | 13.22 ▲0.01 | 1.72 ▼0.02 | 40.73 ▼3.36 |
Dashboard /wp-admin | 2,204 ▲1 | 5.84 ▲0.96 | 100.94 ▼16.54 | 40.58 ▼2.86 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▼0.01 | 43.10 ▲2.43 | 34.60 ▲1.28 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.19 ▲4.78 | 725.15 ▼29.92 | 72.15 ▲2.04 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▼0.03 | 98.62 ▼11.13 | 40.88 ▼5.19 |
Install from URL /wp-admin/plugins.php?page=plgf_pipu01_page | 762 | 2.03 | 26.18 | 25.59 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- plgf_pipu01_deactivation_redirect
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% 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 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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/plugin-installer-from-public-url/plugin-installer-from-public-url.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in plugin-installer-from-public-url/assets to your readme.txt
plugin-installer-from-public-url/plugin-installer-from-public-url.php 92% from 13 tests
Analyzing the main PHP file in "Plugin Installer from public URL" version 0.2
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 176 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected176 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 50 | 10 | 172 |
HTML | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
help.png | 49.83KB | 19.67KB | ▼ 60.52% |