Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.90MB] [CPU: ▲10.92ms] Passed 4 tests
An overview of server-side resources used by Ultrapress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.36 ▲0.90 | 50.37 ▲12.39 |
Dashboard /wp-admin | 4.21 ▲0.91 | 59.37 ▲7.47 |
Posts /wp-admin/edit.php | 4.32 ▲0.97 | 53.26 ▲10.49 |
Add New Post /wp-admin/post-new.php | 6.79 ▲0.90 | 125.43 ▲32.62 |
Media Library /wp-admin/upload.php | 4.13 ▲0.90 | 47.07 ▲13.33 |
components /wp-admin/admin.php?page=ultrapress/components.php | 4.11 | 38.39 |
add new /wp-admin/admin.php?page=ultrapress/add.php | 4.11 | 39.05 |
packages /wp-admin/admin.php?page=ultrapress/packages.php | 4.13 | 38.45 |
circuits /wp-admin/admin.php?page=ultrapress/circuits.php | 4.11 | 41.95 |
Ultrapress /wp-admin/admin.php?page=ultrapress | 4.19 | 40.73 |
Dashboard /wp-admin/admin.php?page=ultrapress/dashboard.php | 4.07 | 37.82 |
Server storage [IO: ▲1.60MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 112 new files
Database: no new tables, 10 new options
New WordPress options |
---|
ultrapress |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
sssss |
theysaidso_admin_options |
ultrapress_activate_circuits |
llllllll |
Browser metrics Passed 4 tests
Ultrapress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲93 | 13.69 ▼0.90 | 1.95 ▼0.09 | 42.37 ▼0.61 |
Dashboard /wp-admin | 2,242 ▲54 | 5.81 ▲0.93 | 99.95 ▼17.23 | 39.89 ▼4.91 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.01 ▲0.01 | 35.54 ▼1.00 | 35.51 ▲1.02 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 23.26 ▲0.17 | 653.83 ▲13.63 | 51.75 ▼11.54 |
Media Library /wp-admin/upload.php | 1,424 ▲39 | 4.19 ▲0.00 | 98.23 ▼1.29 | 43.40 ▼0.97 |
components /wp-admin/admin.php?page=ultrapress/components.php | 1,317 | 3.55 | 58.38 | 54.76 |
add new /wp-admin/admin.php?page=ultrapress/add.php | 995 | 3.30 | 51.23 | 28.66 |
packages /wp-admin/admin.php?page=ultrapress/packages.php | 930 | 2.99 | 40.76 | 29.64 |
circuits /wp-admin/admin.php?page=ultrapress/circuits.php | 958 | 3.08 | 43.40 | 32.35 |
Ultrapress /wp-admin/admin.php?page=ultrapress | 2,796 | 5.64 | 162.87 | 40.93 |
Dashboard /wp-admin/admin.php?page=ultrapress/dashboard.php | 895 | 2.81 | 37.18 | 21.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 10 options in the database
- db_upgraded
- can_compress_scripts
- ultrapress
- llllllll
- widget_recent-posts
- sssss
- ultrapress_activate_circuits
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=ultrapress/dashboard.php
- > Warning in wp-content/plugins/ultrapress/admin/class-ultrapress-admin.php+216
include_once(partials/ultrapress-admin-display-dashboard.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=ultrapress/dashboard.php
- > Warning in wp-content/plugins/ultrapress/admin/class-ultrapress-admin.php+216
include_once(): Failed opening 'partials/ultrapress-admin-display-dashboard.php' for inclusion (include_path='.:/usr/share/php')
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultrapress/admin/partials/ultrapress-admin-display-packages-template.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/ultrapress/admin/partials/ultrapress-admin-display-circuits.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/ultrapress/admin/partials/ultrapress-admin-display-components.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/ultrapress/admin/partials/ultrapress-admin-display.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/ultrapress/admin/partials/ultrapress-admin-display-packages.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultrapress/admin/partials/ultrapress-admin-sidebar.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/ultrapress/admin/partials/ultrapress-admin-display-add-new.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultrapress/admin/partials/ultrapress-admin-dialogs.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultrapress/admin/partials/ultrapress-admin-display-add-circuits-comps.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/ultrapress/admin/partials/ultrapress-admin-svg.php:29
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=ultrapress/add.php
- > Network (severe)
https://ultra-press.com/wp-admin/admin-ajax.php - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2 in ultrapress/assets to your readme.txt
ultrapress/ultrapress.php Passed 13 tests
The main file in "Ultrapress" v. 0.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
60 characters long description:
Build and connect features and plugins with visual scripting
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected8,669 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 1,246 | 4,558 | 5,803 |
JavaScript | 4 | 268 | 116 | 1,663 |
CSS | 3 | 47 | 60 | 1,202 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 18.62 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 106.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 249 | |
▷ Static methods | 72 | 28.92% |
▷ Public methods | 225 | 90.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 24 | 9.64% |
Functions | 16 | |
▷ Named functions | 3 | 18.75% |
▷ Anonymous functions | 13 | 81.25% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
49 PNG files occupy 0.84MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
components/ultra-node/img/Number-1-icon.png | 23.65KB | 10.03KB | ▼ 57.61% |
components/ultra-update-option/img/Button-Delete-icon.png | 25.98KB | 11.58KB | ▼ 55.44% |
components/ultra-notify-admin-by-email/img/success-icon.png | 8.36KB | 4.66KB | ▼ 44.30% |
components/ultra-add-page/img/add_page.png | 17.51KB | 7.08KB | ▼ 59.56% |
templates/component/img/fail-icon.png | 25.98KB | 11.58KB | ▼ 55.44% |